/* International property listings: property-type, property-list and country pages (cards come from property_card()) */
.pt-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; color: var(--theme-primary-color); font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; }
.pt-eyebrow::before { content: ''; width: 30px; height: 2px; background: currentColor; }

/* Hero (brand image: the logo sits on the right, so the text stays left) */
.pt-hero { position: relative; padding: 70px 0 130px; background: #12171f url(../../images/background/bg-home1.webp) center right / cover no-repeat; color: #fff; }
.pt-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 14, 18, .9) 0%, rgba(12, 14, 18, .6) 55%, rgba(12, 14, 18, .15) 100%); }
.pt-hero .container { position: relative; z-index: 1; }
.pt-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 46px; padding: 0; list-style: none; font-size: 14px; }
.pt-crumbs li { color: rgba(255, 255, 255, .6); }
.pt-crumbs li + li::before { content: '/'; margin-right: 8px; color: rgba(255, 255, 255, .35); }
.pt-crumbs a { color: rgba(255, 255, 255, .8); }
.pt-crumbs a:hover, .pt-crumbs li:last-child { color: #d4b07a; }
.pt-hero .pt-eyebrow { color: #d4b07a; }
.pt-hero h1 { max-width: 640px; margin: 0 0 16px; color: #fff; font-size: 48px; line-height: 1.15; }
.pt-lead { max-width: 580px; margin: 0; color: rgba(255, 255, 255, .8); font-size: 17px; line-height: 1.75; }
.pt-stats { display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 34px 0 0; padding: 0; list-style: none; }
.pt-stats li { color: rgba(255, 255, 255, .7); font-size: 14px; letter-spacing: .3px; }
.pt-stats strong { display: block; margin-bottom: 2px; color: #fff; font-size: 30px; line-height: 1.2; font-weight: 600; }

/* Country hero: text left, the country's promo banner (admin image) right */
.pt-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); align-items: center; gap: 40px 60px; }
.pt-hero-grid .pt-eyebrow i { font-size: 12px; }
/* the banners are PNGs with a transparent background and dark text, so the card stays white */
.pt-offer { display: block; padding: 14px 14px 6px; border-radius: 20px; background: #fff; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); transition: transform .3s, box-shadow .3s; }
.pt-offer:hover { transform: translateY(-4px); box-shadow: 0 30px 70px rgba(0, 0, 0, .45); }
.pt-offer img { display: block; width: 100%; height: auto; }
.pt-offer span { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; padding: 12px 8px 8px; border-top: 1px solid #f1ece4; color: var(--theme-dark-color); font-size: 14px; font-weight: 600; }
.pt-offer span i { color: var(--theme-primary-color); }
.pt-offer:hover span { color: var(--theme-primary-color); }

/* List (toolbar pulled up over the hero) */
.pt-list { padding: 0 0 90px; background: #f6f3ee; }
.pt-list .container { position: relative; z-index: 2; top: -60px; margin-bottom: -60px; }
.pt-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 20px; margin-bottom: 34px; padding: 20px 22px; border-radius: 18px; background: #fff; box-shadow: 0 24px 60px rgba(18, 23, 31, .12); }
.pt-toolbar .qe-field { flex: 1 1 320px; margin: 0; }
.pt-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pt-filter { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; flex-basis: 100%; }
.pt-filter-label { flex: 0 0 auto; min-width: 64px; color: #9a9ea3; font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.pt-shown { margin-left: auto; color: var(--theme-general-color); font-size: 14px; }
.pt-shown strong { color: var(--theme-dark-color); }
.pt-chip { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px; border: 1px solid #e6e0d6; border-radius: 30px; background: #fff; color: var(--theme-dark-color); font-size: 14px; font-weight: 600; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.pt-chip:hover { border-color: var(--theme-primary-color); color: var(--theme-dark-color); }
.pt-chip.active { border-color: var(--theme-primary-color); background: var(--theme-primary-color); color: #fff; }
.pt-chip span { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: rgba(170, 132, 83, .12); color: var(--theme-primary-color); font-size: 12px; }
.pt-chip.active span { background: rgba(255, 255, 255, .22); color: #fff; }
.pt-chip i { color: var(--theme-primary-color); }

/* Property cards (same look as the home page cards) */
.pt-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.pt-card { display: flex; flex-direction: column; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 10px 30px rgba(18, 23, 31, .06); transition: box-shadow .3s, transform .3s; }
.pt-card:hover { box-shadow: 0 22px 44px rgba(18, 23, 31, .12); transform: translateY(-6px); }
.pt-card[hidden] { display: none; }
.pt-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #e9e4dc; }
.pt-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.pt-card:hover .pt-media img { transform: scale(1.06); }
.pt-media::after { content: ''; position: absolute; inset: 50% 0 0; background: linear-gradient(180deg, rgba(18, 23, 31, 0) 0%, rgba(18, 23, 31, .65) 100%); pointer-events: none; }
.pt-badge { position: absolute; z-index: 1; top: 16px; left: 16px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 30px; background: rgba(255, 255, 255, .92); color: var(--theme-dark-color); font-size: 11px; line-height: 1.4; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; }
.pt-badge i { color: var(--theme-primary-color); }
.pt-price { position: absolute; z-index: 1; left: 16px; bottom: 16px; padding: 8px 16px; border-radius: 10px; background: var(--theme-primary-color); color: #fff; font-size: 17px; font-weight: 600; box-shadow: 0 8px 18px rgba(18, 23, 31, .25); }
.pt-body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.pt-title { margin: 0 0 10px; font-size: 19px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pt-title a { color: var(--theme-dark-color); }
.pt-title a:hover { color: var(--theme-primary-color); }
.pt-loc { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 20px; font-size: 15px; line-height: 1.5; }
.pt-loc i { margin-top: 4px; color: var(--theme-primary-color); }
.pt-specs { display: flex; margin: 0 0 22px; padding: 14px 0; list-style: none; border-top: 1px solid #f1ece4; border-bottom: 1px solid #f1ece4; }
.pt-specs:empty { display: none; }
.pt-specs li { display: flex; flex: 1 1 0; align-items: center; gap: 10px; min-width: 0; padding: 0 10px; color: var(--theme-dark-color); font-size: 14px; font-weight: 500; }
.pt-specs li:first-child { padding-left: 0; }
.pt-specs li:last-child { flex-grow: 1.5; }
.pt-specs li + li { border-left: 1px solid #f1ece4; }
.pt-specs li i { flex: 0 0 auto; color: var(--theme-primary-color); }
.pt-specs li span { min-width: 0; line-height: 1.35; overflow-wrap: anywhere; }
.pt-specs small { display: block; white-space: nowrap; color: #9a9ea3; font-size: 11px; letter-spacing: .5px; text-transform: uppercase; }
.pt-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.pt-more { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; color: var(--theme-dark-color); font-weight: 600; }
.pt-more i { color: var(--theme-primary-color); font-size: 13px; transition: transform .2s; }
.pt-more:hover { color: var(--theme-primary-color); }
.pt-more:hover i { transform: translateX(4px); }
.pt-enquire { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; padding: 11px 20px; border-radius: 10px; background: rgba(170, 132, 83, .12); color: var(--theme-primary-color); font-weight: 600; transition: background-color .2s, color .2s; }
.pt-enquire:hover { background: var(--theme-primary-color); color: #fff; }

.pt-none { margin: 10px 0 0; padding: 40px 20px; border-radius: 18px; background: #fff; text-align: center; font-size: 16px; }
.pt-empty { padding: 60px 24px; border-radius: 20px; background: #fff; text-align: center; box-shadow: 0 24px 60px rgba(18, 23, 31, .1); }
.pt-empty > i { margin-bottom: 18px; color: var(--theme-primary-color); font-size: 42px; }
.pt-empty h2 { margin: 0 0 10px; font-size: 28px; }
.pt-empty p { max-width: 520px; margin: 0 auto 24px; }

/* Other property types */
.pt-types { margin-top: 60px; text-align: center; }
.pt-types h3 { margin: 0 0 18px; font-size: 24px; }
.pt-types .pt-chips { justify-content: center; }

/* Buttons */
.pt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 10px; background: var(--theme-primary-color); color: #fff; font-weight: 600; transition: background-color .2s, transform .2s, box-shadow .2s; }
.pt-btn:hover { background: #95703f; color: #fff; transform: translateY(-1px); box-shadow: 0 10px 22px rgba(170, 132, 83, .35); }
.pt-btn i { font-size: 14px; }
.pt-btn-ghost { background: transparent; border: 1px solid rgba(255, 255, 255, .35); }
.pt-btn-ghost:hover { background: #25d366; border-color: #25d366; box-shadow: none; }

/* Bottom call to action */
.pt-cta { padding: 0 0 100px; background: #f6f3ee; }
.pt-cta-box { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px 40px; padding: 48px 52px; border-radius: 20px; background: #12171f; color: #fff; }
.pt-cta .pt-eyebrow { color: #d4b07a; }
.pt-cta h2 { margin: 0 0 8px; color: #fff; font-size: 30px; line-height: 1.3; }
.pt-cta p { margin: 0; color: rgba(255, 255, 255, .7); font-size: 16px; }
.pt-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media screen and (max-width: 991.98px) {
    .pt-hero { padding: 50px 0 120px; }
    .pt-hero h1 { font-size: 38px; }
    .pt-hero-grid { grid-template-columns: 1fr; }
    .pt-offer { max-width: 440px; }
    .pt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
    .pt-list { padding-bottom: 70px; }
    .pt-cta { padding-bottom: 70px; }
    .pt-cta-box { padding: 38px 32px; }
    .pt-cta h2 { font-size: 26px; }
}
@media screen and (max-width: 767.98px) {
    .pt-grid { grid-template-columns: 1fr; }
}
@media screen and (max-width: 575.98px) {
    .pt-hero::before { background: rgba(12, 14, 18, .78); }
    .pt-crumbs { margin-bottom: 30px; }
    .pt-hero h1 { font-size: 32px; }
    .pt-lead { font-size: 16px; }
    .pt-stats { gap: 14px 28px; }
    .pt-stats strong { font-size: 24px; }
    .pt-toolbar { padding: 16px; }
    .pt-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
    .pt-chips::-webkit-scrollbar { display: none; }
    .pt-chip { flex: 0 0 auto; }
    .pt-filter { display: block; min-width: 0; }
    .pt-filter-label { display: block; margin-bottom: 8px; }
    .pt-shown { margin-left: 0; }
    .pt-types .pt-chips { flex-wrap: wrap; justify-content: center; margin: 0; padding: 0; }
    .pt-body { padding: 20px 18px; }
    .pt-cta-box { padding: 32px 22px; }
    .pt-cta-actions, .pt-cta-actions .pt-btn { width: 100%; }
}
