/*
Theme Name: Astra Child
Template: astra
Version: 1.0.0
*/

/* ============================================
   Top Bar
   ============================================ */
.top-bar-outer {
    background-color: #1a2e5a;
}

.top-bar {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 8px 20px !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px !important;
    color: #fff;
    background: transparent;
    box-sizing: border-box;
}

.top-bar a {
    color: #fff !important;
    text-decoration: none !important;
    font-size: 12px !important;
}

.top-bar-left,
.top-bar-right {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.top-bar-right a::before {
    content: none !important;
}

.top-bar-icon {
    display: none !important;
}

@media (max-width: 768px) {
    .top-bar {
        flex-direction: column !important;
        gap: 2px !important;
        text-align: center !important;
        font-size: 11px !important;
    }
}

/* ============================================
   Header
   ============================================ */
#masthead,
.ast-primary-header-bar {
    background-color: #fff !important;
    box-shadow: none !important;
    border-bottom: 1px solid #eee !important;
}

#masthead .main-navigation .menu-item a[href*="appraisal"],
#masthead .main-navigation .menu-item a[href*="Appraisal"],
#masthead .main-navigation .menu-item a[href*="request"] {
    background-color: #1a2e5a !important;
    color: #fff !important;
    border-radius: 20px !important;
    padding: 8px 16px !important;
    margin-left: 8px !important;
    font-size: 13px !important;
    line-height: 1 !important;
    display: inline-block !important;
    height: auto !important;
}

#masthead .main-navigation .menu-item a[href*="appraisal"]:hover,
#masthead .main-navigation .menu-item a[href*="Appraisal"]:hover {
    background-color: #f59e0b !important;
    color: #fff !important;
}

/* ============================================
   Body Background
   ============================================ */
body,
.ast-page-builder-template,
#page,
.site {
    background-color: #fff !important;
}

/* ============================================
   Hero Section
   ============================================ */
#home-hero {
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
}

.hero-wrapper {
    position: relative;
    padding: 0 !important;
}

.hero-wrapper img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
}

.hero-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    max-width: 100% !important;
    background: rgba(0, 0, 0, 0.45);
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

.hero-text {
    max-width: 1200px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
}

.hero-text h1 {
    color: #fff !important;
    font-size: 42px !important;
    font-weight: 700 !important;
    margin-bottom: 8px !important;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.hero-text h2 {
    color: #fff !important;
    font-size: 28px !important;
    font-weight: 400 !important;
    margin-bottom: 24px !important;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.btn-hero-primary {
    background-color: #1a2e5a;
    color: #fff !important;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
}

.btn-hero-outline {
    background-color: transparent;
    color: #fff !important;
    padding: 12px 28px;
    border-radius: 4px;
    border: 2px solid #fff;
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
}

.btn-hero-primary:hover {
    background-color: #f59e0b;
    color: #fff !important;
}

.btn-hero-outline:hover {
    background-color: #fff;
    color: #1a2e5a !important;
}

#home-icons {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
}

#home-icons .column img {
    height: 80px;
    width: auto;
}

@media (max-width: 768px) {
    .hero-wrapper img {
        height: 300px;
    }
    .hero-text h1 {
        font-size: 26px !important;
    }
    .hero-text h2 {
        font-size: 18px !important;
    }
    #home-icons {
        display: none;
    }
}

/* ============================================
   Listing Header
   ============================================ */
#listing-header {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
                url('/wp-content/uploads/2023/11/Ashmore-Palms-Holiday-Village-Gold-Coast-Australia.jpg') center/cover no-repeat;
    padding: 80px 20px;
    text-align: center;
}

#listing-header h1 {
    color: #fff;
    font-size: 36px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

/* ============================================
   Home Page - Property Sections
   ============================================ */
#home-listings,
#home-listings-rent {
    padding: 40px 0;
    background: #fff;
}

#home-listings-rent {
    background: #f9f9f9;
}

#home-listings .container,
#home-listings-rent .container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 24px;
}

.section-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1a2e5a;
    margin: 0;
}

.view-all-link {
    font-size: 13px;
    color: #1a2e5a;
    text-decoration: none;
    white-space: nowrap;
}

.view-all-link:hover {
    color: #f59e0b;
}

/* ============================================
   Property Grid (shared - all pages)
   ============================================ */
.property-grid-home {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 0;
    padding: 0;
    align-items: start;
}

.listings-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 40px 20px !important;
    box-sizing: border-box !important;
}

.prop-card {
    background: #fff;
    border-radius: 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.2s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.prop-card:hover {
    transform: translateY(-4px);
}

.prop-photo {
    position: relative;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}

.prop-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.price-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #f59e0b;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    z-index: 1;
}

.price-tag span {
    font-weight: 400;
    font-size: 11px;
}

.tag-sold   { background: #dc2626 !important; }
.tag-leased { background: #7c3aed !important; }

.prop-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.prop-price {
    font-size: 20px;
    font-weight: 700;
    color: #1a2e5a;
    margin-bottom: 6px;
}

.prop-price .pw {
    font-size: 13px;
    font-weight: 400;
    color: #666;
}

.prop-addr {
    font-size: 13px;
    color: #555;
    margin-bottom: 10px;
    line-height: 1.4;
    flex: 1;
}

.prop-sold-date {
    font-size: 12px;
    color: #f59e0b;
    margin-bottom: 8px;
    font-weight: 600;
}

.prop-features {
    display: flex;
    gap: 12px;
    font-size: 13px;
    color: #666;
    margin-bottom: 14px;
}

.btn-view-details {
    display: block;
    width: 100%;
    background: #1a2e5a;
    color: #fff !important;
    text-align: center;
    padding: 10px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background 0.2s;
    margin-top: auto;
}

.btn-view-details:hover {
    background: #f59e0b;
}

.pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #1a2e5a;
    text-decoration: none;
    font-size: 13px;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background: #1a2e5a;
    color: #fff;
    border-color: #1a2e5a;
}

@media (max-width: 1024px) {
    .property-grid-home {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .property-grid-home {
        grid-template-columns: 1fr;
    }
    .section-header {
        flex-direction: column;
        gap: 6px;
    }
}

/* ============================================
   Meet Jerry Section
   ============================================ */
#home-meet-jerry {
    background: #f7f7f7;
    padding: 60px 0;
}

#home-meet-jerry .container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
}

#home-meet-jerry .text-inner {
    max-width: 860px;
    margin: 0 auto;
    padding: 40px;
    background: #fff;
    border-radius: 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

#home-meet-jerry h2 {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #1a2e5a !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    margin-bottom: 12px !important;
}

#home-meet-jerry .lead {
    font-size: 22px !important;
    font-weight: 400 !important;
    color: #333 !important;
    margin-bottom: 20px !important;
    line-height: 1.4 !important;
}

#home-meet-jerry p {
    font-size: 15px !important;
    color: #555 !important;
    line-height: 1.8 !important;
    margin-bottom: 16px !important;
}

/* ============================================
   Reviews Section
   ============================================ */
#home-rma-sales,
#home-rma-rent {
    padding: 50px 0;
    background: #fff;
}

#home-rma-rent {
    background: #f7f7f7;
}

#home-rma-sales .container,
#home-rma-rent .container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
}

#home-rma-sales h2,
#home-rma-rent h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1a2e5a;
    margin-bottom: 24px;
}

.rma-link-back {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
}

.rma-powered-by {
    font-size: 13px;
    color: #555;
}

/* ============================================
   Single Property Page
   ============================================ */
#single-property {
    background: #f7f7f7;
    min-height: 100vh;
}

.single-gallery-wrap {
    background: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    width: 100%;
    overflow: hidden;
}

.single-gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: flex-start;
    box-sizing: border-box;
}

.single-main-image {
    flex: 1;
    min-width: 0;
    position: relative;
    overflow: hidden;
}

.single-main-image img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
}

.single-thumbnails {
    width:  20%;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 480px;
    overflow-y: auto;
}

.single-status-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #f59e0b;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.single-status-tag.sold   { background: #dc2626; }
.single-status-tag.leased { background: #7c3aed; }
.single-status-tag.rent   { background: #16a34a; }
.single-status-tag.sale   { background: #f59e0b; }

.single-thumb {
    border-radius: 0;
    cursor: pointer;
    border: 0;
    transition: border-color 0.2s;
}

.single-thumb:hover,
.single-thumb.active {
    border-color: #1a2e5a;
}

.single-thumb img {
    width: 100%;
    object-fit: cover;
    display: block;
}

.single-details-wrap {
    padding: 40px 0;
}

.single-details-container {
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    box-sizing: border-box;
}

.single-address {
    font-size: 26px !important;
    font-weight: 700 !important;
    color: #1a2e5a !important;
    margin-bottom: 12px !important;
}

.single-features {
    display: flex;
    gap: 16px;
    font-size: 15px;
    color: #555;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.single-features span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.feat-type {
    font-size: 12px !important;
    background: #f0f0f0;
    padding: 3px 10px;
    border-radius: 20px;
    color: #555 !important;
    font-weight: 600;
}

.single-price {
    font-size: 32px;
    font-weight: 700;
    color: #1a2e5a;
    margin-bottom: 8px;
}

.single-price .pw {
    font-size: 16px;
    font-weight: 400;
    color: #666;
}

.single-sold-date {
    font-size: 14px;
    color: #f59e0b;
    font-weight: 600;
    margin-bottom: 8px;
}

.single-divider {
    border: none;
    border-top: 1px solid #eee;
    margin: 24px 0;
}

.single-description {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
}

.single-description p {
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .single-gallery-container {
        flex-direction: column;
    }
    .single-thumbnails {
        width: 100%;
        flex-direction: row;
        max-height: none;
        overflow-x: auto;
        overflow-y: visible;
    }
    .single-thumb {
        min-width: 80px;
    }
    .single-thumb img {
        height: 70px;
    }
    .single-main-image img {
        height: 280px;
    }
    .single-details-container {
        padding: 24px 16px;
    }
    .single-address {
        font-size: 20px !important;
    }
    .single-price {
        font-size: 24px;
    }
}

/* ============================================
   Footer
   ============================================ */
#site-footer {
    margin-top: 0;
}

.footer-cta {
    background: #1a2e5a;
    padding: 20px 0;
}

.footer-cta-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-cta-inner span {
    color: #fff;
    font-size: 16px;
}

.footer-cta-btn {
    background: transparent;
    color: #fff !important;
    border: 2px solid #fff;
    padding: 10px 24px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background 0.2s;
}

.footer-cta-btn:hover {
    background: #fff;
    color: #1a2e5a !important;
}

.footer-main {
    background: #f7f7f7;
    padding: 50px 0 30px;
    border-top: 1px solid #e5e5e5;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.footer-col {
    flex: 1;
}

.footer-about {
    flex: 1.5;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 16px;
}

.footer-about p {
    font-size: 13px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 8px;
}

.footer-copy {
    font-size: 12px !important;
    color: #999 !important;
    margin-top: 16px !important;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 13px;
    font-weight: 700;
    color: #1a2e5a;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    font-size: 13px;
    color: #555;
    text-decoration: none;
}

.footer-links ul li a:hover {
    color: #1a2e5a;
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 13px;
    color: #555;
}

.footer-contact ul li a {
    color: #555;
    text-decoration: none;
}

.footer-contact ul li a:hover {
    color: #1a2e5a;
}

.footer-icon {
    font-size: 14px;
    margin-top: 2px;
}

@media (max-width: 768px) {
    .footer-cta-inner {
        flex-direction: column;
        text-align: center;
    }
    .footer-container {
        flex-direction: column;
        gap: 30px;
    }
    .footer-about {
        flex: 1;
    }
}

/* ============================================
   Contact Page
   ============================================ */
.contact-hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
                url('/wp-content/uploads/2023/11/Ashmore-Palms-Holiday-Village-Gold-Coast-Australia.jpg') center/cover no-repeat;
    padding: 80px 20px;
    text-align: center;
}

.contact-hero h1 {
    color: #fff !important;
    font-size: 42px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 !important;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.contact-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    box-sizing: border-box;
}

/* Info Cards */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.contact-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform 0.2s;
}

.contact-card:hover {
    transform: translateY(-4px);
}

.contact-card-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.contact-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1a2e5a;
    margin-bottom: 8px;
}

.contact-card p {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.contact-card a {
    color: #555;
    text-decoration: none;
}

.contact-card a:hover {
    color: #1a2e5a;
}

/* Form */
.contact-form-wrap {
    background: #fff;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    margin-bottom: 40px;
}

.contact-form-wrap h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1a2e5a;
    margin-bottom: 24px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    background: #f9f9f9;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #1a2e5a;
    background: #fff;
}

.contact-form textarea {
    resize: vertical;
    margin-bottom: 16px;
}

.contact-submit {
    background: #1a2e5a;
    color: #fff;
    border: none;
    padding: 14px 40px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.contact-submit:hover {
    background: #f59e0b;
}

/* Map */
.contact-map {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

@media (max-width: 1024px) {
    .contact-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .contact-cards {
        grid-template-columns: 1fr;
    }
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
    .contact-form-wrap {
        padding: 24px 16px;
    }
    .contact-hero h1 {
        font-size: 28px !important;
    }
}

/* ============================================
   Our Teams Page
   ============================================ */

.services-page .content-wrap,
.teams-page .content-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* ── Teams Hero ── */
.teams-hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
                url('/wp-content/uploads/2023/11/Ashmore-Palms-Holiday-Village-Gold-Coast-Australia.jpg') center / cover no-repeat;
    padding: 80px 20px;
    text-align: center;
}

.teams-hero h1 {
    color: #fff;
    font-size: 2.8rem;
    margin-bottom: 10px;
}

.teams-hero p {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    margin: 0;
}

/* ── Team Member Card Grid ── */
.teams-page .team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 36px;
    margin-bottom: 60px;
}

.teams-page .team-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    padding: 32px 24px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.teams-page .team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.13);
}

.teams-page .team-card img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #1a3c6e;
    margin-bottom: 16px;
}

.teams-page .team-card h2 {
    font-size: 1.15rem;
    color: #1a1a1a;
    margin: 0 0 6px;
}

.teams-page .team-card .team-role {
    font-size: 0.85rem;
    color: #1a3c6e;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

/* ── Contact links inside card ── */
.teams-page .team-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.teams-page .team-card ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.88rem;
    color: #555;
    text-decoration: none;
    transition: color 0.2s;
}

.teams-page .team-card ul li a:hover {
    color: #1a3c6e;
}

.teams-page .team-card ul li a svg {
    width: 14px;
    height: 14px;
    fill: #1a3c6e;
    flex-shrink: 0;
}

/* ── Team Features (bullet list at bottom) ── */
.teams-page .team-features {
    background: #f8f6f2;
    border-radius: 8px;
    padding: 40px;
    margin-top: 20px;
}

.teams-page .team-features h2 {
    font-size: 1.5rem;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.teams-page .team-features ul,
.services-page .services-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 14px;
}

.team-features ul li,
.services-features ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    color: #444;
    line-height: 1.5;
    list-style: none;
}

.team-features ul li svg,
.services-features ul li svg {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px;
    fill: #1a3c6e;
    flex-shrink: 0;
    margin-top: 3px;
}

/* ── Responsive ── */
@media (max-width: 600px) {
    .teams-page .team-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .teams-page .team-features {
        padding: 24px 16px;
    }

    .teams-page .team-features ul {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 400px) {
    .teams-page .team-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Our Services Page
   ============================================ */

.services-hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
                url('/wp-content/uploads/2023/11/Ashmore-Palms-Holiday-Village-Gold-Coast-Australia.jpg') center / cover no-repeat;
    padding: 80px 20px;
    text-align: center;
}

.services-hero h1 {
    color: #fff;
    font-size: 2.8rem;
    margin-bottom: 10px;
}

.services-hero p {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    margin: 0;
}

/* ── Intro ── */
.services-intro {
    max-width: 780px;
    margin: 0 auto 50px;
    text-align: center;
    color: #555;
    font-size: 1rem;
    line-height: 1.8;
}

.services-intro .services-tagline {
    color: #1a3c6e;
    font-size: 1.1rem;
    margin-top: 12px;
}

/* ── Service Cards Grid ── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.service-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.13);
}

/* Two images side by side at top of card */
.service-card__images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 200px;
    overflow: hidden;
}

.service-card__images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.service-card:hover .service-card__images img {
    transform: scale(1.05);
}

/* Card body */
.service-card__body {
    padding: 20px 24px 24px;
}

.service-card__body h2 {
    font-size: 1.1rem;
    color: #1a3c6e;
    margin: 0 0 10px;
    border-left: 3px solid #1a3c6e;
    padding-left: 10px;
}

.service-card__body p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.7;
    margin: 0;
}

/* ── Reuse team-features styles, override title ── */
.services-features h2 {
    font-size: 1.5rem;
    color: #1a3c6e;
	margin-bottom: 20px;
}

/* ── Responsive ── */
@media (max-width: 680px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card__images {
        height: 160px;
    }
}

/* ── No Listings Message ── */
.no-listings-wrap {
    padding: 60px 20px;
    text-align: center;
}

.no-listings-msg svg {
    width: 64px !important;
    height: 64px !important;
    display: block;
    margin: 0 auto 20px;
}

.no-listings-msg h2 {
    font-size: 1.8rem;
    color: #1a3c6e;
    margin-bottom: 12px;
}

.no-listings-msg p {
    font-size: 1rem;
    color: #555;
    max-width: 520px;
    margin: 0 auto 24px;
    line-height: 1.7;
}

.no-listings-msg .btn-primary {
    display: inline-block;
    background: #1a3c6e;
    color: #fff;
    padding: 12px 32px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
}

.no-listings-msg .btn-primary:hover {
    background: #152f58;
}

/* ── Recent Sold fallback — max 3 cards ── */
.recent-sold-section {
    padding: 40px 0 60px;
    border-top: 1px solid #e8e8e8;
    text-align: center;
}

.recent-sold-section h3 {
    font-size: 1.5rem;
    color: #1a3c6e;
    margin-bottom: 6px;
}

.recent-sold-sub {
    color: #888;
    font-size: 0.95rem;
    margin-bottom: 32px;
}

/* Force 3-column, limit width */
.recent-sold-section .property-grid-home {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.sold-cta {
    margin-top: 32px;
}

.btn-secondary {
    display: inline-block;
    color: #1a3c6e;
    border: 2px solid #1a3c6e;
    padding: 10px 28px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s, color 0.2s;
}

.btn-secondary:hover {
    background: #1a3c6e;
    color: #fff;
}

@media (max-width: 768px) {
    .recent-sold-section .property-grid-home {
        grid-template-columns: 1fr;
    }
}

/* ── Gallery Page ── */
.gallery-hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
                url('/wp-content/uploads/2023/11/Ashmore-Palms-Holiday-Village-Gold-Coast-Australia.jpg') center / cover no-repeat;
    padding: 80px 20px;
    text-align: center;
}

.gallery-hero h1 {
    color: #fff;
    font-size: 2.8rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.gallery-hero p {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    margin: 0;
}

.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

/* 16:9 responsive iframe */
.video-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 0;
    box-shadow: 0 2px 16px rgba(0,0,0,0.1);
}

.video-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
}

@media (max-width: 680px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    #masthead .main-navigation .menu-item a[href*="appraisal"],
    #masthead .main-navigation .menu-item a[href*="Appraisal"],
    #masthead .main-navigation .menu-item a[href*="request"] {
        display: block !important;
        width: calc(100% - 32px) !important;
        box-sizing: border-box !important;
    }
}

/* top-bar phone icon */
.top-bar-right a::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 6px;
    vertical-align: middle;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath fill='white' d='M97.333 506.966c-129.874-129.874-129.681-340.252 0-469.933 5.698-5.698 14.527-6.632 21.263-2.422l64.817 40.513a17.187 17.187 0 0 1 6.849 20.958l-32.408 81.021a17.188 17.188 0 0 1-17.669 10.719l-55.81-5.58c-21.051 58.261-20.612 122.471 0 179.515l55.811-5.581a17.188 17.188 0 0 1 17.669 10.719l32.408 81.022a17.188 17.188 0 0 1-6.849 20.958l-64.817 40.513a17.19 17.19 0 0 1-21.264-2.422z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

@media (max-width: 560px) {
	.hero-buttons {
		display: flex;
		flex-direction: row;
		gap: 16px;
		justify-content: left;
		flex-wrap: nowrap;
	}

	.btn-hero-primary,
	.btn-hero-outline {
		white-space: nowrap;
	}

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}

.service-card__images {
    height: 220px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.service-card__images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.service-card__images a {
    display: block;
    height: 100%;
}

.service-card:hover .service-card__images img {
    transform: scale(1.05);
}

/* card body 用 ul 代替 p */
.service-card__body ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.service-card__body ul li {
    padding-left: 18px;
    position: relative;
    font-size: 0.88rem;
    color: #555;
    line-height: 1.5;
}

.service-card__body ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #1a3c6e;
    font-weight: bold;
}

.service-card__images {
    display: block;
    height: 220px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.service-card__images a {
    display: block;
    width: 100%;
    height: 100%;
}

.service-card__images img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
}