/* Approved Wafaq mobile design, 17 October 2026. */
.wf-quick-filters,.wf-profile-backbar{display:none}
.wf-card-more,.wf-card-more-menu{display:contents}
.wf-card-more>summary{display:none}
@media(max-width:767px){
 .wf-discovery-page{background:#faf7f2!important}
 .wf-discovery-page .header{height:70px!important;min-height:70px!important;padding:0!important}
 .wf-discovery-page .header .navbar{height:70px!important;min-height:70px!important;position:relative;padding:0!important}
 .wf-discovery-page .header .navbar>.navbar-brand{position:absolute;left:50%;transform:translateX(-50%);margin:0!important;z-index:1}
 .wf-discovery-page .header .navbar>.navbar-brand img{height:50px!important;max-height:50px!important;max-width:92px!important}
 .wf-discovery-page .header .wafaq-mobile-tools{width:100%;justify-content:space-between}
 .wf-discovery-page .header .header-button{border:1px solid #eadfeb!important;font-size:23px!important;color:#583061!important}
 .wf-discovery-page .wf-discovery-heading{position:absolute!important;clip:rect(0,0,0,0);width:1px;height:1px;padding:0!important;overflow:hidden;white-space:nowrap}
 .wf-discovery-page .wafaq-member-hub>.container,.wf-discovery-page .wafaq-members-page>.container{padding-inline:14px!important;max-width:500px!important}
 .wf-discovery-page .wafaq-discovery-nav{padding:14px 0 10px!important;gap:8px!important}
 .wf-discovery-page .wafaq-discovery-item{min-height:36px!important;padding:8px 16px!important;font-size:13px!important;line-height:1.4!important}
 .wf-discovery-page .wafaq-discovery-item i{display:none}
 .wf-discovery-page .wafaq-members-page .filter-icon{display:none!important}
 .wf-quick-filters{display:flex;gap:8px;margin:0 0 14px;justify-content:space-between}
 .wf-quick-filters button{display:flex;align-items:center;justify-content:center;gap:8px;flex:1;border:1px solid #ded3df;border-radius:24px;background:#fffdfa;min-height:40px;padding:7px 10px;color:#583061;font-size:13px;white-space:nowrap}
 .wf-quick-filters button:focus-visible,.wf-card-more summary:focus-visible{outline:3px solid #70407b;outline-offset:3px}
 .wf-discovery-page .wafaq-discovery-card{position:relative;border-radius:23px!important;overflow:visible!important;isolation:isolate;background:#fff!important;max-width:460px}
 .wf-discovery-page .wafaq-discovery-photo:not(.wafaq-discovery-photo--placeholder){margin:7px 7px 0!important;aspect-ratio:1/1.02!important;max-height:370px!important;border-radius:18px!important}
 .wf-discovery-page .wafaq-discovery-photo--placeholder{margin:7px 7px 0!important;height:130px!important;max-height:130px!important}
 .wf-discovery-page .wafaq-discovery-info{padding:15px 17px 9px!important;background:#fff;border-radius:0 0 18px 18px}
 .wf-discovery-page .wafaq-discovery-heading{justify-content:flex-start!important;flex-wrap:wrap;gap:6px!important}
 .wf-discovery-page .wafaq-discovery-heading h3{font-size:22px!important;color:#332637!important}
 .wf-discovery-page .wafaq-discovery-location{color:#7d6b81!important;font-size:13px!important}
 .wf-discovery-page .wafaq-discovery-location i{color:#70407b!important}
 .wf-discovery-page .wafaq-discovery-meta{gap:6px!important;margin-top:10px!important}
 .wf-discovery-page .wafaq-meta-item{padding:5px 9px;background:#f1e9f3;border-radius:18px;color:#674c70;font-size:11px!important;line-height:1.5}
 .wf-discovery-page .wafaq-discovery-actions{position:static!important;display:block!important;border:0!important;padding:4px 14px 14px!important;background:#fff!important;border-radius:0 0 23px 23px}
 .wf-discovery-page .wafaq-discovery-actions>a:first-child{display:flex!important;flex-direction:row!important;align-items:center;justify-content:center;gap:9px!important;width:100%!important;min-height:44px!important;border-radius:24px!important;font-size:14px!important;font-weight:600!important;background:#70407b!important;color:#fff!important}
 .wf-discovery-page .wafaq-discovery-actions>.wafaq-action{position:absolute;top:18px;inset-inline-start:18px;width:40px!important;height:40px!important;z-index:3}
 .wf-discovery-page .wafaq-discovery-actions>.wafaq-action .wafaq-action-btn{width:40px!important;min-height:40px!important;height:40px!important;padding:0!important;border-radius:50%!important;background:#fffdfa!important;box-shadow:0 2px 10px #33263718;display:flex!important;align-items:center;justify-content:center;color:#583061!important}
 .wf-discovery-page .wafaq-discovery-actions>.wafaq-action .wafaq-action-btn>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
 .wf-discovery-page .wf-card-more{display:block;position:absolute;top:18px;inset-inline-end:18px;z-index:5}
 .wf-discovery-page .wf-card-more>summary{display:flex;align-items:center;justify-content:center;list-style:none;width:40px;height:40px;border-radius:50%;background:#fffdfa;color:#583061;cursor:pointer;box-shadow:0 2px 10px #33263718;font-size:21px}
 .wf-discovery-page .wf-card-more>summary::-webkit-details-marker{display:none}
 .wf-discovery-page .wf-card-more-menu{display:none}
 .wf-discovery-page .wf-card-more[open] .wf-card-more-menu{display:flex;flex-direction:column;gap:4px;position:absolute;inset-inline-end:0;top:46px;min-width:155px;padding:7px;border:1px solid #e7dce9;border-radius:15px;background:#fffdfa;box-shadow:0 8px 30px #33263720}
 .wf-discovery-page .wf-card-more-menu .wafaq-action{width:100%!important}
 .wf-discovery-page .wf-card-more-menu .wafaq-action-btn{display:flex!important;flex-direction:row!important;justify-content:flex-start!important;align-items:center;gap:10px!important;width:100%!important;min-height:44px!important;padding:8px 12px!important;background:#fffdfa!important;font-size:13px!important}
 .wf-discovery-page .search__left{width:100%!important;max-width:500px!important;inset-inline:0!important;top:12dvh!important;height:88dvh!important;border-radius:24px 24px 0 0!important;transform:translateY(110%)!important;margin-inline:auto!important;padding:24px!important;visibility:hidden;transition:transform .2s ease,visibility .2s!important;z-index:1050!important}
 .wf-discovery-page .search__left.show-siderbar{transform:translateY(0)!important;visibility:visible}
 .wf-discovery-page .search__left-btn{position:absolute;top:15px;inset-inline-end:18px;width:40px;height:40px;display:flex!important;align-items:center;justify-content:center;border-radius:50%;background:#f1e9f3;z-index:2}
 .wf-discovery-page .search__left .form-search{padding-top:16px}
 .wf-discovery-page .sidebar-overlay{z-index:1040!important}
 .wf-discovery-page .footer,.wf-member-profile-page .footer{display:none!important}
 /* Public member profile with a portrait, clear details and persistent action. */
 body.wf-member-profile-page{background:#fffdfa!important;padding-bottom:88px!important}
 .wf-member-profile-page .header,.wf-member-profile-page .breadcrumb,.wf-member-profile-page .breadcrumb-area,.wf-member-profile-page .wf-mobile-nav{display:none!important}
 .wf-member-profile-page .profile-member-section{margin:0!important;padding:0!important}
 .wf-member-profile-page .profile-member-section>.container{padding:0!important;max-width:500px!important}
 .wf-member-profile-page .profile-member-section>.container>.row{margin:0!important;--bs-gutter-x:0;--bs-gutter-y:16px}
 .wf-member-profile-page .profile-sidebar,.wf-member-profile-page .wafaq-public-profile{padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#fffdfa!important}
 .wf-member-profile-page .wf-profile-backbar{display:flex;position:absolute;top:12px;inset-inline:12px;z-index:3;justify-content:space-between;pointer-events:none}
 .wf-profile-backbar a{pointer-events:auto;display:flex;align-items:center;justify-content:center;min-width:42px;height:42px;border-radius:50%;background:#fffdfae8;color:#583061;font-size:24px;box-shadow:0 2px 12px #33263715}
 [dir=rtl] .wf-profile-backbar .las{transform:rotate(180deg)}
 .wf-member-profile-page .wafaq-profile-photo{height:340px!important;max-height:44dvh!important;aspect-ratio:auto!important;border-radius:0 0 24px 24px!important;overflow:hidden;position:relative}
 .wf-member-profile-page .wafaq-profile-photo img{height:100%!important;width:100%!important;object-fit:cover!important;object-position:center 25%!important}
 .wf-member-profile-page .wafaq-profile-photo .wafaq-portrait-zoom{display:block;height:100%!important}
 .wf-member-profile-page .wafaq-profile-photo--placeholder img{object-fit:contain!important;padding:48px;background:#f1e9f3}
 .wf-member-profile-page .wafaq-portrait-hint{display:none}
 .wf-member-profile-page .public-profile__body{padding:20px!important}
 .wf-member-profile-page .public-profile__name{font-size:26px!important;line-height:1.4;margin-bottom:7px!important}
 .wf-member-profile-page .wafaq-profile-location{font-size:14px;color:#837286}
 .wf-member-profile-page .wafaq-quick-details{display:flex!important;flex-wrap:wrap;gap:7px;border:0!important;margin:16px 0 0!important;padding:0!important}
 .wf-member-profile-page .wafaq-quick-details .wafaq-detail-row{display:none}
 .wf-member-profile-page .wafaq-quick-details .wafaq-detail-row:nth-last-child(-n+2){display:flex!important;gap:5px!important;padding:7px 11px!important;border:0!important;border-radius:18px;background:#f1e9f3;font-size:12px!important;width:auto!important}
 .wf-member-profile-page .wafaq-quick-details .wafaq-detail-row:nth-last-child(-n+2)>span{font-size:0!important}
 .wf-member-profile-page .wafaq-quick-details .wafaq-detail-row:nth-last-child(-n+2)>span i{font-size:17px!important}
 .wf-member-profile-page .wafaq-profile-actions{border:0!important;padding:14px 0 0!important}
 .wf-member-profile-page .wafaq-profile-actions ul{display:flex!important;justify-content:flex-start!important;gap:14px!important}
 .wf-member-profile-page .wafaq-profile-actions li{width:auto!important}
 .wf-member-profile-page .wafaq-profile-actions .card-btn{display:flex!important;align-items:center;gap:5px;padding:7px 10px!important;font-size:12px!important;min-height:40px!important;background:#faf7f2!important;border-radius:15px!important}
 .wf-member-profile-page .wafaq-interest-button{position:fixed;bottom:0;inset-inline:0;z-index:1035;background:#fffdfaf5!important;border-top:1px solid #eadfeb;margin:0!important;padding:13px 16px!important;box-shadow:0 -5px 24px #5830610a}
 .wf-member-profile-page .wafaq-interest-button .profile-interest-love{display:flex!important;flex-direction:row!important;align-items:center;justify-content:center;gap:10px;border-radius:26px!important;min-height:48px!important;max-width:460px;margin:auto;background:#70407b!important;color:#fff!important;font-size:15px!important}
 .wf-member-profile-page .account-tab{margin:0 16px 16px!important;border-radius:20px!important;display:flex;flex-wrap:nowrap;overflow-x:auto;gap:5px;padding:5px!important;background:#f1e9f3!important}
 .wf-member-profile-page .account-tab .nav-item{flex:0 0 auto!important}
 .wf-member-profile-page .account-tab .nav-link{white-space:nowrap;font-size:12px!important;padding:10px 12px!important;border-radius:17px!important}
 .wf-member-profile-page .profile-member-content{padding:0 16px 20px!important}
 .wf-member-profile-page .accordion-item{border:1px solid #eadfeb!important;border-radius:18px!important;overflow:hidden}
 .wf-member-profile-page .accordion-button{padding:16px!important;font-size:16px!important;background:#fffdfa!important}
 .wf-member-profile-page .accordion-body{padding:16px!important}
 .wf-member-profile-page .wafaq-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
 .wf-member-profile-page .wafaq-detail-item{min-width:0!important;overflow-wrap:anywhere;font-size:13px!important}
 .wf-member-profile-page .wafaq-detail-section__title{font-size:16px!important}
 /* Chat uses the available viewport so the keyboard does not cover the composer. */
 body.wf-chat-page{padding-bottom:0!important;overflow:hidden;background:#fffdfa!important}
 .wf-chat-page .dashboard-header,.wf-chat-page .sidebar-menu{display:none!important}
 .wf-chat-page .dashboard__right{width:100%!important;margin:0!important;padding:0!important}
 .wf-chat-page .dashboard-body{padding:0!important;margin:0!important;height:var(--wf-chat-height,100dvh)!important}
 .wf-chat-page .chatbox-area{height:100%!important;min-height:0!important;max-height:100%!important;margin:0!important;border:0!important;border-radius:0!important;width:100%!important;display:flex!important}
 .wf-chat-page .chatbox-area__body{height:100%!important;width:100%!important;min-width:0}
 .wf-chat-page .chat-box{height:100%!important;min-height:0!important;display:flex!important;flex-direction:column;border:0!important;border-radius:0!important}
 .wf-chat-page .chat-box__header{flex:0 0 auto!important;min-height:72px!important;padding:12px 14px!important;border-bottom:1px solid #eee5ef!important;gap:8px;background:#fffdfa!important}
 .wf-chat-back{display:inline-flex;min-width:36px;min-height:40px;align-items:center;justify-content:center;color:#583061;font-size:23px}
 [dir=rtl] .wf-chat-back i{transform:rotate(180deg)}
 .wf-chat-page .chat-box__thumb{width:42px!important;height:42px!important}
 .wf-chat-page .chat-box__content .name{font-size:16px!important;line-height:1.4!important}
 .wf-chat-page .chat-box__content .text{font-size:11px!important;line-height:1.5!important;color:#837286}
 .wf-chat-page .chat-box__header .search-btn{min-width:36px;min-height:40px;padding:6px!important;border:0!important;background:transparent!important;color:#70407b!important}
 .wf-chat-page .msg-body{flex:1 1 auto!important;min-height:0!important;height:auto!important;max-height:none!important;overflow-y:auto!important;padding:20px 14px!important;background:#faf7f2!important}
 .wf-chat-page .single-message{margin-bottom:19px!important;gap:0!important}
 .wf-chat-page .single-message__thumb,.wf-chat-page .message-content__top{display:none!important}
 .wf-chat-page .single-message__content{max-width:85%!important;width:auto!important;min-width:65px}
 .wf-chat-page .message-content__inner{padding:13px 15px!important;border:0!important;border-radius:19px!important}
 .wf-chat-page .message--right .message-content__inner{background:#eee4f1!important;color:#49324f!important}
 .wf-chat-page .message--left .message-content__inner{background:#fffdfa!important;color:#493f4e!important;border:1px solid #eee5ef!important}
 .wf-chat-page .message-text{font-size:15px!important;line-height:1.8!important;overflow-wrap:anywhere}
 .wf-chat-page .message-content__datetime{font-size:10px!important;color:#938297!important}
 .wf-chat-page .chat-box__footer{flex:0 0 auto!important;padding:12px!important;background:#fffdfa!important;border-top:1px solid #eee5ef!important}
 .wf-chat-page .chat-send-area{padding:0!important;margin:0!important;border:0!important;background:transparent!important}
 .wf-chat-page .chat-send-area__composer{display:flex!important;align-items:flex-end!important;gap:9px!important;width:100%!important}
 .wf-chat-page .input-area{flex:1;min-width:0!important}
 .wf-chat-page .message-input{border:1px solid #e5d9e7!important;border-radius:24px!important;min-height:48px!important;max-height:130px!important;padding:12px 17px!important;font-size:14px!important;background:#fffdfa!important;color:#493f4e!important;resize:none}
 .wf-chat-page .chating-btn{flex:0 0 48px;width:48px!important;height:48px!important;min-height:48px!important;border:0!important;border-radius:50%!important;background:#70407b!important;color:#fff!important;margin:0!important}
 .wf-chat-page .wafaq-inbox-list .chatbox-area__left{width:100%!important;display:block!important;height:100%!important;background:#fffdfa!important}
 .wf-chat-page .wafaq-inbox-list .chatbox-area__body{display:none!important}
 .wf-chat-page .chatbox-wrapper__header{padding:20px 16px!important;background:#fffdfa!important}
 .wf-chat-page .chatbox-wrapper__header .title{font-size:24px!important;color:#583061!important}
 .wf-chat-page .chatbox-wrapper__header .form--control{border-radius:23px!important;font-size:14px!important}
 .wf-chat-page .chat-list__item{border-radius:18px!important;margin:5px 12px!important}
 .wf-inbox-back{display:none}
 .wf-chat-page .wafaq-inbox-list .wf-inbox-back{display:inline-flex;font-size:13px;min-height:40px;gap:7px;align-items:center;color:#70407b;margin-bottom:10px}
}

/* Verified handset refinements for the approved design. */
@media(max-width:767px){
 .wf-discovery-page .footer-area,.wf-member-profile-page .footer-area{display:none!important}
 .wf-discovery-page #header .navbar-toggler.header-button{border-radius:50%!important;width:42px!important;height:42px!important;min-height:42px!important;padding:0!important}
 .wf-discovery-page .member-wrapper{--bs-gutter-y:14px!important}
 .wf-discovery-page .wf-quick-filters{margin-bottom:0!important}
 .wf-discovery-page .wafaq-discovery-actions>a:first-child span{font-size:14px!important;font-weight:600!important;flex:0 0 auto!important}
 .wf-discovery-page .wafaq-discovery-actions>a:first-child i{color:inherit!important;font-size:20px!important}
 .wf-discovery-page .wf-card-more-menu .wafaq-action-btn span{font-size:13px!important;flex:0 0 auto!important}
 .wf-discovery-page .wafaq-discovery-actions>.wafaq-action .wafaq-action-btn i{color:inherit!important}
 .wf-member-profile-page .profile-member-section>.container>.row>div:first-child{margin-top:0!important}
 .wf-member-profile-page .public-profile__name{font-weight:700!important}
 .wf-member-profile-page .account-tab .nav-link.active{background:#70407b!important;color:#fff!important}
 .wf-chat-page .chat-box__header>.d-flex:first-child{flex:1;min-width:0;gap:8px!important}
 .wf-chat-page .chat-box__header>.d-flex:last-child{flex:0 0 auto;gap:3px!important}
 .wf-chat-page .chat-box__item{flex:1;min-width:0;gap:9px!important}
 .wf-chat-page .chat-box__thumb{flex:0 0 42px}
 .wf-chat-page .chat-box__content{display:block!important;min-width:0;flex:1}
 .wf-chat-page .chat-box__content .name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
 .wf-chat-page .chat-box__content .text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
 .wf-chat-page .chat-send-area__composer .input-area{padding:0!important;border:0!important;border-radius:0!important;background:transparent!important}
 .wf-chat-page .chat-send-area__composer .input-group{padding:0!important;border:0!important;border-radius:0!important;background:transparent!important}
 .wf-chat-page .chat-list__item{display:flex!important;align-items:center!important;gap:12px!important;padding:14px 12px!important;min-height:84px!important}
 .wf-chat-page .chat-list__thumb{width:48px!important;height:48px!important;flex:0 0 48px}
 .wf-chat-page .chat-list__content{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:10px!important;align-items:start!important;min-width:0!important;flex:1!important;width:auto!important}
 .wf-chat-page .chat-list__content .left{min-width:0!important;max-width:100%!important;width:auto!important;flex:none!important}
 .wf-chat-page .chat-list__content .right{position:static!important;width:auto!important;inset:auto!important;transform:none!important;white-space:nowrap;flex:none!important}
 .wf-chat-page .chat-list__content .name{font-size:15px!important;font-weight:600!important;line-height:1.6!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .wf-chat-page .chat-list__content .text{font-size:13px!important;line-height:1.6!important;margin-top:3px!important}
 .wf-chat-page .chat-list__content .time{font-size:10px!important;line-height:1.8!important;color:#938297!important;margin:4px 0 0!important}
}

@media(max-width:767px){
 .wf-chat-page .chat-box__thumb{position:relative!important}
 .wf-chat-page .chat-box__thumb .dot{position:absolute!important;bottom:0!important;inset-inline-end:0!important;width:9px!important;height:9px!important;border:2px solid #fffdfa!important;border-radius:50%;background:#a69aa8!important;display:block!important}
 .wf-chat-page .chat-box__thumb .dot.active{background:#4b9a75!important}
 .wf-discovery-page .wafaq-discovery-actions>.wafaq-action i.fa-star:before{content:"\f02e"}
}

/* Prevent legacy full-width icon spans and closed language menus overflowing. */
@media(max-width:767px){
 .wf-discovery-page .wafaq-discovery-actions>a:first-child span{width:auto!important;max-width:100%!important}
 .wf-discovery-page .wafaq-discovery-actions>a:first-child .wafaq-action-icon{width:22px!important;height:22px!important;display:inline-flex!important;align-items:center;justify-content:center}
 [dir=rtl] .wf-discovery-page .wafaq-mobile-tools .wafaq-language__menu{right:0!important;left:auto!important}
 [dir=ltr] .wf-discovery-page .wafaq-mobile-tools .wafaq-language__menu{left:0!important;right:auto!important}
}

@media(max-width:767px){.wafaq-2026.wf-member-profile-page .profile-member-section .account-tab .nav-item .nav-link.active{background:#70407b!important;color:#fff!important}}

/* Compact factual member metadata; isolate mixed-script place names. */
@media(max-width:767px){.wafaq-2026.wf-discovery-page .wafaq-discovery-meta{display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:flex-start!important;gap:7px!important}.wafaq-2026.wf-discovery-page .wafaq-meta-item{flex:0 1 auto!important;width:auto!important;max-width:100%!important}.wf-discovery-page .wafaq-discovery-location>span{display:inline-flex;align-items:center;flex-wrap:wrap;gap:4px;min-width:0}.wf-discovery-page .wafaq-discovery-location bdi{unicode-bidi:isolate;overflow-wrap:anywhere}.wf-discovery-page .wf-location-separator{margin-inline:1px}}

@media(max-width:767px){.wafaq-2026.wf-discovery-page .wafaq-discovery-card{box-sizing:border-box!important}.wafaq-2026.wf-discovery-page .wafaq-discovery-photo{width:calc(100% - 14px)!important;max-width:calc(100% - 14px)!important;min-width:0!important;align-self:center!important;box-sizing:border-box!important;overflow:hidden!important;margin:7px 7px 0!important;border-radius:17px!important}.wafaq-2026.wf-discovery-page .wafaq-photo-link{width:100%!important;max-width:100%!important;min-width:0!important;overflow:hidden!important}.wafaq-2026.wf-discovery-page .wafaq-photo-link img{max-width:100%!important;box-sizing:border-box!important}}

/* profile-action-layer-fix: sticky ancestors trap fixed actions below later content. */
@media(max-width:767px){.wafaq-2026.wf-member-profile-page .profile-sidebar{position:static!important;top:auto!important;transform:none!important}.wafaq-2026.wf-member-profile-page .public-profile__body{margin:0!important;padding:18px!important}.wafaq-2026.wf-member-profile-page .wafaq-profile-heading{margin:0 0 12px!important}.wafaq-2026.wf-member-profile-page .public-profile__name{margin-top:0!important}.wafaq-2026.wf-member-profile-page .wafaq-interest-button{isolation:isolate;z-index:1035!important}}

/* profile-readable-rows: avoid splitting Arabic labels into fragments. */
@media(max-width:575px){.wafaq-2026.wf-member-profile-page .profile-member-content .wafaq-detail-grid{grid-template-columns:minmax(0,1fr)!important;gap:8px!important}.wafaq-2026.wf-member-profile-page .profile-member-content .wafaq-detail-item{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:12px!important;padding:12px!important;align-items:start!important;line-height:1.7!important}.wafaq-2026.wf-member-profile-page .profile-member-content .wafaq-detail-item>*{min-width:0!important;overflow-wrap:normal!important;word-break:normal!important}}

/* balanced-mobile-brand: approved W mark and consistent outline controls. */
@media(max-width:767px){
 .wafaq-2026.wf-discovery-page .header{height:80px!important;min-height:80px!important;background:#f5eff7!important;border:0!important;box-shadow:none!important}
 .wafaq-2026.wf-discovery-page .header .navbar{height:80px!important;min-height:80px!important;padding:0 4px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:nowrap!important}
 .wafaq-2026.wf-discovery-page .header .navbar>.navbar-brand{position:relative!important;inset:auto!important;left:auto!important;transform:none!important;display:flex!important;align-items:center!important;gap:7px!important;width:auto!important;direction:ltr!important;flex:none!important;text-decoration:none!important}
 .wafaq-2026.wf-discovery-page .header .navbar>.navbar-brand img{display:none!important}
 .wafaq-2026.wf-discovery-page .header .navbar>.navbar-brand:before{content:"";display:block;width:39px;height:39px;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2248%22%20height%3D%2248%22%20viewBox%3D%220%200%2048%2048%22%20fill%3D%22none%22%20stroke%3D%22%2370407b%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M7%2011l8%2026%209-19%209%2019%208-26%22%20stroke-width%3D%226%22/%3E%3C/svg%3E") center/contain no-repeat}
 .wafaq-2026.wf-discovery-page .header .navbar>.navbar-brand:after{content:"Wafaq";font-family:Arial,sans-serif;font-size:27px;font-weight:700;letter-spacing:-1px;line-height:1;color:#583061}
 .wafaq-2026.wf-discovery-page .header .wafaq-mobile-tools{width:auto!important;display:flex!important;gap:9px!important;align-items:center!important;justify-content:flex-end!important}
 .wafaq-2026.wf-discovery-page .header .wafaq-mobile-tools .wafaq-language__button,.wafaq-2026.wf-discovery-page .header .header-button{width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;border-radius:50%!important;background:#fffdfa!important;border:1px solid #e9dfea!important;box-shadow:0 2px 6px #58306105!important;padding:0!important;display:flex!important;align-items:center!important;justify-content:center!important}
 .wafaq-2026.wf-discovery-page .header .wafaq-language__code,.wafaq-2026.wf-discovery-page .header .wafaq-language__name,.wafaq-2026.wf-discovery-page .header .wafaq-language__button .la-angle-down{display:none!important}
 .wafaq-2026.wf-discovery-page .header .wafaq-language__button .la-globe{display:block!important;width:31px!important;height:31px!important;font-size:0!important;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2248%22%20height%3D%2248%22%20viewBox%3D%220%200%2048%2048%22%20fill%3D%22none%22%20stroke%3D%22%2370407b%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2224%22%20cy%3D%2224%22%20r%3D%2215%22/%3E%3Cellipse%20cx%3D%2224%22%20cy%3D%2224%22%20rx%3D%226%22%20ry%3D%2215%22/%3E%3Cpath%20d%3D%22M9%2024h30M12%2016h24M12%2032h24%22/%3E%3C/svg%3E") center/contain no-repeat}
 .wafaq-2026.wf-discovery-page .header .wafaq-language__button .la-globe:before,.wafaq-2026.wf-discovery-page .header .header-button .la-bars:before{content:none!important}
 .wafaq-2026.wf-discovery-page .header .header-button .la-bars{display:block!important;width:31px!important;height:31px!important;font-size:0!important;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2248%22%20height%3D%2248%22%20viewBox%3D%220%200%2048%2048%22%20fill%3D%22none%22%20stroke%3D%22%2370407b%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%2015h24M12%2024h24M12%2033h24%22/%3E%3C/svg%3E") center/contain no-repeat}
 .wafaq-2026.wf-discovery-page .wafaq-discovery-nav{padding-top:5px!important;padding-bottom:8px!important}
 .wafaq-2026.wf-discovery-page .wafaq-member-hub{background:#f5eff7!important;border:0!important}
 .wafaq-2026.wf-discovery-page .wafaq-language__menu{z-index:1060}
}

@media(max-width:767px){
.wafaq-2026.wf-discovery-page .header .wafaq-language__menu:not(.show){display:none!important}
.wafaq-2026.wf-discovery-page .header .wafaq-language__menu{left:auto!important;right:0!important;inset-inline-start:auto!important;inset-inline-end:0!important;transform:none!important;top:52px!important}
.wafaq-2026.wf-discovery-page .header .header-button{max-height:44px!important;height:44px!important}
.wafaq-2026.wf-discovery-page .wafaq-discovery-actions>.wafaq-action{border:0!important}
}

/* W monogram circle requested by owner. */
@media(max-width:767px){.wafaq-2026.wf-discovery-page .header .navbar>.navbar-brand:before{width:42px!important;height:42px!important;box-sizing:border-box!important;border:2px solid #70407b!important;border-radius:50%!important;background-size:29px 29px!important;background-color:#fffdfa!important}}

/* Desktop cards: inline location and four equal actions. */
@media(min-width:768px){
.wafaq-2026 .wafaq-discovery-location{display:flex!important;align-items:flex-start!important;gap:7px!important}
.wafaq-2026 .wafaq-discovery-location>span{display:block!important;min-width:0!important;line-height:1.6!important}
.wafaq-2026 .wafaq-discovery-location>span>*{display:inline!important;width:auto!important}
.wafaq-2026 .wafaq-discovery-location .wf-location-separator{padding-inline:3px!important}
.wafaq-2026 .wafaq-discovery-actions{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-items:stretch!important;gap:5px!important;padding:12px!important}
.wafaq-2026 .wafaq-discovery-actions .wafaq-action,.wafaq-2026 .wafaq-discovery-actions .wf-card-more,.wafaq-2026 .wafaq-discovery-actions .wf-card-more-menu{display:contents!important}
.wafaq-2026 .wafaq-discovery-actions .wf-card-more>summary{display:none!important}
.wafaq-2026 .wafaq-discovery-actions .wafaq-action-btn{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:6px!important;width:100%!important;min-width:0!important;min-height:65px!important;height:auto!important;margin:0!important;padding:8px 3px!important;line-height:1.3!important}
.wafaq-2026 .wafaq-discovery-actions .wafaq-action-btn span{flex:none!important;font-size:11px!important;overflow-wrap:anywhere!important}
.wafaq-2026 .wafaq-discovery-actions .wafaq-action-btn i{font-size:21px!important}
.wafaq-2026 .wafaq-discovery-photo,.wafaq-2026 .wafaq-discovery-photo--placeholder{height:clamp(190px,18vw,300px)!important;max-height:300px!important;aspect-ratio:auto!important}
.wafaq-2026 .wafaq-discovery-photo--placeholder img{width:96px!important;height:96px!important;object-fit:contain!important}
}

@media(min-width:768px){.wafaq-2026 .wafaq-discovery-actions .wf-card-more{display:block!important;grid-column:span 2!important;min-width:0!important}.wafaq-2026 .wafaq-discovery-actions .wf-card-more-menu{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:5px!important}.wafaq-2026 .wafaq-discovery-actions>.wafaq-action-btn,.wafaq-2026 .wafaq-discovery-actions>.wafaq-action>.wafaq-action-btn{height:65px!important}}

@media(min-width:768px){.wafaq-2026.wf-member-profile-page .profile-member-section .account-tab .item-bg{display:none!important}.wafaq-2026.wf-member-profile-page .profile-member-section .account-tab .nav-item .nav-link{background:#fffdfa!important;color:#583061!important;border-radius:10px!important}.wafaq-2026.wf-member-profile-page .profile-member-section .account-tab .nav-item .nav-link.active{background:#70407b!important;color:#fff!important}.wafaq-2026.wf-member-profile-page .wafaq-profile-photo--placeholder{height:230px!important;min-height:230px!important;max-height:230px!important;aspect-ratio:auto!important;background:#f0e9f3!important;display:flex!important;align-items:center!important;justify-content:center!important}.wafaq-2026.wf-member-profile-page .wafaq-profile-photo--placeholder .wafaq-portrait-zoom{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:100%!important}.wafaq-2026.wf-member-profile-page .wafaq-profile-photo--placeholder img{width:120px!important;height:120px!important;max-height:120px!important;object-fit:contain!important;border-radius:50%!important}.wafaq-2026.wf-member-profile-page .wafaq-profile-photo--placeholder .wafaq-portrait-hint{display:none!important}.wafaq-2026 .wafaq-discovery-actions .wafaq-action-btn>span{white-space:normal!important;text-overflow:clip!important}}

/* Consistent mobile header across public and account pages. */

/* balanced-mobile-brand: approved W mark and consistent outline controls. */
@media(max-width:767px){
 .wafaq-2026 #header{height:80px!important;min-height:80px!important;background:#f5eff7!important;border:0!important;box-shadow:none!important}
 .wafaq-2026 #header .navbar{height:80px!important;min-height:80px!important;padding:0 4px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:nowrap!important}
 .wafaq-2026 #header .navbar>.navbar-brand{position:relative!important;inset:auto!important;left:auto!important;transform:none!important;display:flex!important;align-items:center!important;gap:7px!important;width:auto!important;direction:ltr!important;flex:none!important;text-decoration:none!important}
 .wafaq-2026 #header .navbar>.navbar-brand img{display:none!important}
 .wafaq-2026 #header .navbar>.navbar-brand:before{content:"";display:block;width:39px;height:39px;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2248%22%20height%3D%2248%22%20viewBox%3D%220%200%2048%2048%22%20fill%3D%22none%22%20stroke%3D%22%2370407b%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M7%2011l8%2026%209-19%209%2019%208-26%22%20stroke-width%3D%226%22/%3E%3C/svg%3E") center/contain no-repeat}
 .wafaq-2026 #header .navbar>.navbar-brand:after{content:"Wafaq";font-family:Arial,sans-serif;font-size:27px;font-weight:700;letter-spacing:-1px;line-height:1;color:#583061}
 .wafaq-2026 #header .wafaq-mobile-tools{width:auto!important;display:flex!important;gap:9px!important;align-items:center!important;justify-content:flex-end!important}
 .wafaq-2026 #header .wafaq-mobile-tools .wafaq-language__button,.wafaq-2026 #header .header-button{width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;border-radius:50%!important;background:#fffdfa!important;border:1px solid #e9dfea!important;box-shadow:0 2px 6px #58306105!important;padding:0!important;display:flex!important;align-items:center!important;justify-content:center!important}
 .wafaq-2026 #header .wafaq-language__code,.wafaq-2026 #header .wafaq-language__name,.wafaq-2026 #header .wafaq-language__button .la-angle-down{display:none!important}
 .wafaq-2026 #header .wafaq-language__button .la-globe{display:block!important;width:31px!important;height:31px!important;font-size:0!important;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2248%22%20height%3D%2248%22%20viewBox%3D%220%200%2048%2048%22%20fill%3D%22none%22%20stroke%3D%22%2370407b%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2224%22%20cy%3D%2224%22%20r%3D%2215%22/%3E%3Cellipse%20cx%3D%2224%22%20cy%3D%2224%22%20rx%3D%226%22%20ry%3D%2215%22/%3E%3Cpath%20d%3D%22M9%2024h30M12%2016h24M12%2032h24%22/%3E%3C/svg%3E") center/contain no-repeat}
 .wafaq-2026 #header .wafaq-language__button .la-globe:before,.wafaq-2026 #header .header-button .la-bars:before{content:none!important}
 .wafaq-2026 #header .header-button .la-bars{display:block!important;width:31px!important;height:31px!important;font-size:0!important;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2248%22%20height%3D%2248%22%20viewBox%3D%220%200%2048%2048%22%20fill%3D%22none%22%20stroke%3D%22%2370407b%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%2015h24M12%2024h24M12%2033h24%22/%3E%3C/svg%3E") center/contain no-repeat}
 .wafaq-2026.wf-discovery-page .wafaq-discovery-nav{padding-top:5px!important;padding-bottom:8px!important}
 .wafaq-2026.wf-discovery-page .wafaq-member-hub{background:#f5eff7!important;border:0!important}
 .wafaq-2026.wf-discovery-page .wafaq-language__menu{z-index:1060}
}

@media(max-width:767px){
.wafaq-2026 #header .wafaq-language__menu:not(.show){display:none!important}
.wafaq-2026 #header .wafaq-language__menu{left:auto!important;right:0!important;inset-inline-start:auto!important;inset-inline-end:0!important;transform:none!important;top:52px!important}
.wafaq-2026 #header .header-button{max-height:44px!important;height:44px!important}
.wafaq-2026.wf-discovery-page .wafaq-discovery-actions>.wafaq-action{border:0!important}
}

/* W monogram circle requested by owner. */
@media(max-width:767px){.wafaq-2026 #header .navbar>.navbar-brand:before{width:42px!important;height:42px!important;box-sizing:border-box!important;border:2px solid #70407b!important;border-radius:50%!important;background-size:29px 29px!important;background-color:#fffdfa!important}}

@media(min-width:768px){
.wafaq-2026 #header .navbar-brand{display:flex!important;align-items:center!important;gap:8px!important;direction:ltr!important;text-decoration:none!important}
.wafaq-2026 #header .navbar-brand img{display:none!important}
.wafaq-2026 #header .navbar-brand:before{content:"";display:block;flex:none;width:42px;height:42px;border:2px solid #70407b;border-radius:50%;box-sizing:border-box;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2048%2048%22%20fill%3D%22none%22%20stroke%3D%22%2370407b%22%20stroke-width%3D%226%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M7%2011l8%2026%209-19%209%2019%208-26%22/%3E%3C/svg%3E") center/29px 29px no-repeat #fffdfa}
.wafaq-2026 #header .navbar-brand:after{content:"Wafaq";font-family:Arial,sans-serif;font-size:28px;font-weight:700;letter-spacing:-1px;line-height:1;color:#583061}
}
