.expo-community-topics .ect-mobile{display:none}@media(max-width:767px){.expo-community-topics .ect-mobile{display:grid;gap:14px}.expo-community-topics .ect-mobile-card{padding:18px;border:1px solid #d5e0de;border-radius:14px;background:#fff}.expo-community-topics .ect-mobile h3{font-size:20px}.expo-community-topics .ect-mobile-description{font-size:14px;color:#687c82;margin:0;overflow-wrap:anywhere}.expo-community-topics .ect-mobile-stats{display:flex;justify-content:space-between;gap:10px;margin:16px 0 0;padding:12px 0;border-top:1px solid #e4ece9;border-bottom:1px solid #e4ece9}.expo-community-topics .ect-mobile-stats dd{font-weight:800;margin:0}.expo-community-topics .ect-mobile-stats dt{font-size:10px;text-transform:uppercase;color:#687c82}.expo-community-topics .ect-mobile .ect-open{display:flex;width:100%;margin-top:16px}}

/* Living category, mobile only: return link has a white row above artwork. */
@media(max-width:767px){
 .expo-community-topics .ect-category-header:is(.ect-category-illustrated,.ect-category-match){padding-top:38px;background-position:right 38px}
 .expo-community-topics .ect-category-header:is(.ect-category-illustrated,.ect-category-match):before{top:38px}
 .expo-community-topics .ect-category-header:is(.ect-category-illustrated,.ect-category-match) .ect-category-copy{position:relative}
 .expo-community-topics .ect-category-header:is(.ect-category-illustrated,.ect-category-match) .ect-home{position:absolute;top:-38px;left:0;margin:0}
}

/* Mobile Living category: 10px less introduction gap and soft floral cards. */
@media(max-width:767px){
 .expo-community-topics .ect-category-header:is(.ect-category-illustrated,.ect-category-match){margin-bottom:12px}
 .expo-community-topics .ect-category-header:is(.ect-category-illustrated,.ect-category-match) ~ .ect-mobile .ect-mobile-card{
  background-color:#fff;
  background-image:linear-gradient(135deg,#fff 0%,rgba(255,255,255,.8) 40%,rgba(255,255,255,0) 100%),url('/blocks/community-topics/mobile/images/pink-bougainvillea.webp');
  background-position:right bottom,right bottom;
  background-size:100% 100%,100% auto;
  background-repeat:no-repeat;
 }
}

/* Mobile Living topic statistics: compact columns, unchanged typography. */
@media(max-width:767px){
 .expo-community-topics .ect-category-header:is(.ect-category-illustrated,.ect-category-match) ~ .ect-mobile .ect-mobile-stats{justify-content:flex-start;gap:24px}
}

/* Approved topic-specific previews, mobile only. No additional fade overlay. */
@media(max-width:767px){
 .expo-community-topics .ect-category-header:is(.ect-category-illustrated,.ect-category-match) ~ .ect-mobile .ect-mobile-card.ect-topic-art-passport{background-image:url('/blocks/community-topics/mobile/images/residency-passport-coffee.webp');background-size:100% auto}
 .expo-community-topics .ect-category-header:is(.ect-category-illustrated,.ect-category-match) ~ .ect-mobile .ect-mobile-card.ect-topic-art-phone{background-image:url('/blocks/community-topics/mobile/images/technology-phone-coffee.webp');background-size:100% auto}
 .expo-community-topics .ect-category-header:is(.ect-category-illustrated,.ect-category-match) ~ .ect-mobile .ect-mobile-card.ect-topic-art-pets{background-image:url('/blocks/community-topics/mobile/images/poochies-pussies.webp');background-size:100% auto}
}

/* Mobile Living cards: unruled compact statistics and a left-sized topic button. */
@media(max-width:767px){
 .expo-community-topics .ect-category-header:is(.ect-category-illustrated,.ect-category-match) ~ .ect-mobile .ect-mobile-stats{border-top:0;border-bottom:0;padding:0;margin-top:8px}
 .expo-community-topics .ect-category-header:is(.ect-category-illustrated,.ect-category-match) ~ .ect-mobile .ect-open{display:inline-flex;width:auto;max-width:100%;padding-left:12px;padding-right:12px}
}

/* Mobile topic artwork: 50px side insets and a slightly earlier white fade. */
@media(max-width:767px){
 .expo-community-topics .ect-category-header:is(.ect-category-illustrated,.ect-category-match) ~ .ect-mobile .ect-mobile-card.ect-topic-art-places,
 .expo-community-topics .ect-category-header:is(.ect-category-illustrated,.ect-category-match) ~ .ect-mobile .ect-mobile-card.ect-topic-art-things,
 .expo-community-topics .ect-category-header:is(.ect-category-illustrated,.ect-category-match) ~ .ect-mobile .ect-mobile-card.ect-topic-art-stay,
 .expo-community-topics .ect-category-header:is(.ect-category-illustrated,.ect-category-match) ~ .ect-mobile .ect-mobile-card.ect-topic-art-passport,
 .expo-community-topics .ect-category-header:is(.ect-category-illustrated,.ect-category-match) ~ .ect-mobile .ect-mobile-card.ect-topic-art-phone,
 .expo-community-topics .ect-category-header:is(.ect-category-illustrated,.ect-category-match) ~ .ect-mobile .ect-mobile-card.ect-topic-art-pets{
  background-origin:border-box;
  background-position:100px 100%;
  background-size:calc(100% - 100px) 100%,calc(100% - 100px) auto;
  background-repeat:no-repeat;
 }
 .expo-community-topics .ect-category-header:is(.ect-category-illustrated,.ect-category-match) ~ .ect-mobile .ect-mobile-card.ect-topic-art-passport{background-image:linear-gradient(to bottom right,#fff 0%,rgba(255,255,255,.6) 32%,rgba(255,255,255,.12) 62%,rgba(255,255,255,0) 82%),url('/blocks/community-topics/mobile/images/residency-passport-no-flowers.webp')}
 .expo-community-topics .ect-category-header:is(.ect-category-illustrated,.ect-category-match) ~ .ect-mobile .ect-mobile-card.ect-topic-art-phone{background-image:linear-gradient(to bottom right,#fff 0%,rgba(255,255,255,.6) 32%,rgba(255,255,255,.12) 62%,rgba(255,255,255,0) 82%),url('/blocks/community-topics/mobile/images/technology-phone-white-wine.webp')}
 .expo-community-topics .ect-category-header:is(.ect-category-illustrated,.ect-category-match) ~ .ect-mobile .ect-mobile-card.ect-topic-art-pets{background-image:linear-gradient(to bottom right,#fff 0%,rgba(255,255,255,.6) 32%,rgba(255,255,255,.12) 62%,rgba(255,255,255,0) 82%),url('/blocks/community-topics/mobile/images/poochies-pussies.webp')}
}

/* Other main categories: same mobile introduction structure as Living. */
.expo-community-topics .ect-match-only{display:none}
@media(max-width:767px){
.expo-community-topics .ect-category-match{position:relative;isolation:isolate;display:block;min-height:0;padding:38px 0 16px;margin-bottom:12px;background:#fff url('/blocks/community-topics/images/living-introduction.webp') no-repeat;background-position:right 38px;background-size:auto 190px}
.expo-community-topics .ect-category-match:before{content:'';position:absolute;inset:38px 0 0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.95) 38%,rgba(255,255,255,.25) 100%),linear-gradient(180deg,transparent 90px,#fff 190px)}
.expo-community-topics .ect-category-match>.ect-category-logo{display:none}
.expo-community-topics .ect-category-match .ect-category-copy{position:relative;max-width:none}
.expo-community-topics .ect-category-match .ect-match-only{display:block}
.expo-community-topics .ect-category-match .ect-home{position:absolute;top:-38px;left:0;margin:0}
.expo-community-topics .ect-category-match .ect-match-logo{display:block;margin:0 0 18px;flex:none}
.expo-community-topics .ect-category-match h2{font-size:28px}
}

/* Visiting category only: beach at the Living display size. */
@media(max-width:767px){
.expo-community-topics[data-category-slug="visiting-north-cyprus"] .ect-category-match{background-image:url('/blocks/community-topics/images/visiting-introduction.webp');background-size:auto 190px}
}


@media(max-width:767px){
.expo-community-topics[data-category-slug="the-community-lounge"] .ect-category-match{
 background-image:url('/blocks/community-topics/images/lounge-introduction.webp');
}
}

/* Visiting topics reuse the Residency geometry above and its exact fade. */
@media(max-width:767px){
 .expo-community-topics .ect-category-header:is(.ect-category-illustrated,.ect-category-match) ~ .ect-mobile .ect-mobile-card.ect-topic-art-places{background-image:linear-gradient(to bottom right,#fff 0%,rgba(255,255,255,.78) 40%,rgba(255,255,255,.25) 70%,rgba(255,255,255,0) 90%),url('/blocks/community-topics/mobile/images/places-to-visit-square.webp')}
 .expo-community-topics .ect-category-header:is(.ect-category-illustrated,.ect-category-match) ~ .ect-mobile .ect-mobile-card.ect-topic-art-things{background-image:linear-gradient(to bottom right,#fff 0%,rgba(255,255,255,.78) 40%,rgba(255,255,255,.25) 70%,rgba(255,255,255,0) 90%),url('/blocks/community-topics/mobile/images/things-to-do-square.webp')}
 .expo-community-topics .ect-category-header:is(.ect-category-illustrated,.ect-category-match) ~ .ect-mobile .ect-mobile-card.ect-topic-art-stay{background-image:linear-gradient(to bottom right,#fff 0%,rgba(255,255,255,.78) 40%,rgba(255,255,255,.25) 70%,rgba(255,255,255,0) 90%),url('/blocks/community-topics/mobile/images/where-to-stay-square.webp')}
}

/* Reduce the Visiting illustrations while keeping their bottom-right alignment. */
@media(max-width:767px){
 .expo-community-topics .ect-category-header:is(.ect-category-illustrated,.ect-category-match) ~ .ect-mobile .ect-mobile-card:is(.ect-topic-art-places,.ect-topic-art-things,.ect-topic-art-stay){
  background-position:100px 100%,right bottom;
  background-size:calc(100% - 100px) 100%,calc(80% - 80px) auto;
 }
}

/* Mobile category control height. */
@media(max-width:767px){
.expo-community-topics:is([data-category-slug="living-in-north-cyprus"],[data-category-slug="visiting-north-cyprus"],[data-category-slug="the-community-lounge"]) .ect-mobile .ect-open,
.expo-community-topics:is([data-category-slug="living-in-north-cyprus"],[data-category-slug="visiting-north-cyprus"],[data-category-slug="the-community-lounge"]) .ect-pagination a{box-sizing:border-box;height:34px;min-height:34px;padding-top:0;padding-bottom:0}
}

@media (max-width: 767px) {
    .expo-community-topics[data-category-slug="the-community-lounge"] .ect-mobile .ect-mobile-card.ect-topic-art-introduce,
    .expo-community-topics[data-category-slug="the-community-lounge"] .ect-mobile .ect-mobile-card.ect-topic-art-coffee,
    .expo-community-topics[data-category-slug="the-community-lounge"] .ect-mobile .ect-mobile-card.ect-topic-art-now-then,
    .expo-community-topics[data-category-slug="the-community-lounge"] .ect-mobile .ect-mobile-card.ect-topic-art-memorable {
        background-origin: border-box;
        background-position: right bottom;
        background-size: calc(80% - 80px) auto;
        background-repeat: no-repeat;
    }
    .expo-community-topics[data-category-slug="the-community-lounge"] .ect-mobile .ect-mobile-card.ect-topic-art-introduce {
        background-image: url('/blocks/community-topics/mobile/images/introduce-yourself.webp');
    }
    .expo-community-topics[data-category-slug="the-community-lounge"] .ect-mobile .ect-mobile-card.ect-topic-art-coffee {
        background-image: url('/blocks/community-topics/mobile/images/around-the-coffee-table.webp');
    }
    .expo-community-topics[data-category-slug="the-community-lounge"] .ect-mobile .ect-mobile-card.ect-topic-art-now-then {
        background-image: url('/blocks/community-topics/mobile/images/north-cyprus-now-and-then.webp');
    }
    .expo-community-topics[data-category-slug="the-community-lounge"] .ect-mobile .ect-mobile-card.ect-topic-art-memorable {
        background-image: url('/blocks/community-topics/mobile/images/memorable-photos.webp');
    }
}
