/* RCI V55 — premium desktop presentation, generated hero artwork, unified sticky mobile navigation. */
:root{--rci55-navy:#091b3b;--rci55-blue:#1d568b;--rci55-gold:#d7a34a;--rci55-ink:#17263f;--rci55-muted:#65748a;--rci55-line:#e4eaf2}
/* Keep the established mobile composition intact; these upgrades begin at tablet/desktop. */
.rci-home-hero-v55{background:#091b3b url('../images/rci-hero-jewellery-ai.png') center/cover no-repeat!important;position:relative;isolation:isolate;overflow:hidden;border:1px solid rgba(219,174,92,.35);box-shadow:0 22px 60px rgba(9,27,59,.18)}
.rci-home-hero-v55:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(6,20,47,.97) 0%,rgba(7,25,55,.91) 40%,rgba(7,25,55,.35) 68%,rgba(7,25,55,.04) 100%)}
.rci-home-hero-v55 .rci-hero-copy-v51{position:relative;z-index:2;max-width:650px;padding:clamp(28px,4vw,54px)}
.rci-home-hero-v55 .rci-hero-kicker{display:inline-flex;align-items:center;gap:9px;color:#f2c777;font-size:11px;font-weight:850;letter-spacing:.15em}
.rci-home-hero-v55 .rci-hero-kicker:before{content:"";width:25px;height:2px;background:#e8b65e}
.rci-home-hero-v55 .rci-hero-copy-v51 h1{max-width:650px;color:#fff;font:800 clamp(36px,4.4vw,60px)/1.06 Manrope,"DM Sans",sans-serif;letter-spacing:-.045em;text-wrap:balance;text-shadow:0 3px 22px rgba(0,0,0,.18)}
.rci-home-hero-v55 .rci-hero-copy-v51 p{max-width:510px;color:#e0e8f5;font-size:clamp(15px,1.3vw,18px);line-height:1.7}
.rci-home-hero-v55 .rci-hero-image-v55{position:absolute;inset:0;z-index:-1;width:100%;height:100%;opacity:0}
.rci-home-hero-v55 .rci-hero-image-v55 img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.rci-home-hero-v55 .rci-hero-btn-primary{background:linear-gradient(135deg,#f5cb78,#d89a36);color:#17243a;border:1px solid #f6d58e;box-shadow:0 8px 22px rgba(216,154,54,.22)}
.rci-home-hero-v55 .rci-hero-btn-outline{border:1px solid rgba(255,255,255,.7);background:rgba(255,255,255,.08);color:#fff;backdrop-filter:blur(8px)}
.rci-community-icon-v51{display:grid;place-items:center;background:linear-gradient(145deg,#fff8e9,#fff);border:1px solid #f1dfbd;color:#a56b1c}
.rci-community-icon-v51 svg,.rci-community-banner-v51>span svg,.rci-member-save-v51 svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.rci-member-save-v51 svg{width:15px;height:15px}
.rci-community-banner-v51>span{display:grid;place-items:center}
.rci-community-banner-v51>span svg{width:25px;height:25px}
.rci-mobile-bottom-nav-v55{display:none}
@media(min-width:761px){
 .site-header{position:sticky;top:0;z-index:900;background:rgba(255,255,255,.94);backdrop-filter:blur(16px);box-shadow:0 3px 22px rgba(8,27,58,.06)}
 .header-inner{max-width:1320px}
 .primary-nav a{font-weight:700}
 .rci-home-hero-v55{width:min(1320px,calc(100% - 64px));min-height:390px;margin:34px auto 28px;padding:0;border-radius:28px;display:flex;align-items:center}
 .rci-home-hero-v55 .rci-hero-copy-v51{width:58%;padding:clamp(36px,5vw,68px)}
 .rci-home-communities-v51,.rci-home-members-v51,.rci-home-products-v51{width:min(1240px,calc(100% - 64px));margin:34px auto 42px}
 .rci-section-title-v51 h2,.rci-home-heading-v51 h2{font-size:clamp(22px,2vw,29px);letter-spacing:-.035em}
 .rci-section-title-v51 p,.rci-products-heading-v51 p{font-size:14px;color:#718096}
 .rci-community-grid-v51{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
 .rci-community-grid-v51>a{min-height:94px;padding:17px;border-radius:17px;gap:13px;box-shadow:0 8px 26px rgba(11,34,70,.055);transition:transform .2s,box-shadow .2s}
 .rci-community-grid-v51>a:hover{transform:translateY(-3px);box-shadow:0 15px 32px rgba(11,34,70,.1)}
 .rci-community-icon-v51{width:48px;height:48px;flex-basis:48px;border-radius:14px}
 .rci-community-grid-v51 b{font-size:14px;line-height:1.3}
 .rci-member-grid-v51{grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}
 .rci-member-card-v51{padding:20px 17px 17px;border:1px solid #e5eaf1;border-radius:18px;box-shadow:0 8px 26px rgba(11,34,70,.055);transition:transform .2s,box-shadow .2s}
 .rci-member-card-v51:hover{transform:translateY(-4px);box-shadow:0 17px 35px rgba(11,34,70,.11)}
 .rci-member-logo-v51{width:68px;height:68px;border-radius:16px}
 .rci-member-card-v51 h3{font-size:15px}.rci-member-type-v51{font-size:10px}.rci-member-card-v51 p{font-size:12px}.rci-member-card-v51 small{font-size:10px}
 .rci-member-profile-v51{padding:10px 13px;font-size:12px}
 .rci-wide-search-v51{min-height:48px;font-size:14px;border-radius:12px}
 .rci-product-grid-v51{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
 .rci-product-card-v51{border:1px solid #e5eaf1;border-radius:18px;overflow:hidden;box-shadow:0 8px 25px rgba(11,34,70,.055);transition:transform .2s,box-shadow .2s}
 .rci-product-card-v51:hover{transform:translateY(-4px);box-shadow:0 18px 38px rgba(11,34,70,.12)}
 .rci-product-image-v51{aspect-ratio:1.08/1}
 .rci-product-info-v51{padding:15px}
 .rci-product-info-v51 h3{font-size:14px;min-height:38px}.rci-product-info-v51>strong{font-size:14px}.rci-product-info-v51 small{font-size:11px}
 .rci-product-info-v51>a{padding:10px;font-size:12px}
 .rci-community-banner-v51{width:min(1240px,calc(100% - 64px));margin:36px auto 52px;padding:18px 22px;border-radius:17px;box-shadow:0 9px 28px rgba(11,34,70,.07)}
 .rci-mobile-bottom-nav-v55{display:none!important}
 .rci-directory-page{width:min(100% - 64px,1240px);padding:48px 0 76px!important}
 .rci-discovery-filters{grid-template-columns:minmax(240px,1.2fr) repeat(3,minmax(160px,1fr));align-items:end;padding:22px 24px;border-radius:20px}
 .rci-discovery-filters>.rci-filter-label{grid-column:1/-1;margin-bottom:-8px}
 .rci-filter-pills{grid-column:1/-1}
 .rci-filter-selects{grid-template-columns:repeat(3,minmax(0,1fr));grid-column:1/-1}
 .rci-filter-actions{grid-column:1/-1;justify-content:flex-start}
 .supplier-directory-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
 .supplier-directory-card{padding:21px;border-radius:20px;box-shadow:0 8px 28px rgba(11,34,70,.055)}
 .rci-product-grid-v52{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
 .rci-product-card-v52{padding:13px;border-radius:19px}
 .rci-member-grid-v52{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
}
@media(min-width:761px) and (max-width:1050px){
 .rci-home-hero-v55{width:calc(100% - 40px);min-height:330px;margin:24px auto;border-radius:22px}
 .rci-home-hero-v55 .rci-hero-copy-v51{width:68%;padding:32px}
 .rci-home-communities-v51,.rci-home-members-v51,.rci-home-products-v51,.rci-community-banner-v51{width:calc(100% - 40px)}
 .rci-community-grid-v51{grid-template-columns:repeat(2,minmax(0,1fr))}
 .rci-member-grid-v51{grid-template-columns:repeat(2,minmax(0,1fr))}
 .rci-product-grid-v51{grid-template-columns:repeat(3,minmax(0,1fr))}
 .rci-directory-page{width:calc(100% - 40px)}
}
@media(max-width:760px){
 /* Preserve the user's approved compact mobile page layout; only replace navigation icons/bar. */
 .rci-home-hero-v55{background:#091b3b url('../images/rci-hero-jewellery-ai.png') 68% center/cover no-repeat!important;min-height:0}
 .rci-home-hero-v55:before{background:linear-gradient(90deg,rgba(6,20,47,.94) 0%,rgba(7,25,55,.78) 55%,rgba(7,25,55,.18) 100%)}
 .rci-home-hero-v55 .rci-hero-copy-v51{padding:0}
 .rci-home-hero-v55 .rci-hero-copy-v51 h1{color:#fff}
 .rci-home-hero-v55 .rci-hero-copy-v51 p{color:#e0e8f5}
 .rci-home-hero-v55 .rci-hero-kicker{color:#f2c777}
 .rci-home-hero-v55 .rci-hero-btn-outline{color:#fff}
 .rci-mobile-bottom-nav-v55{position:fixed;z-index:1200;left:0;right:0;bottom:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));height:calc(64px + env(safe-area-inset-bottom));padding:5px 9px calc(5px + env(safe-area-inset-bottom));border-top:1px solid #e1e7ef;background:rgba(255,255,255,.97);box-shadow:0 -8px 26px rgba(9,27,59,.12);backdrop-filter:blur(16px)}
 .rci-mobile-bottom-nav-v55 a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border-radius:12px;color:#64748b;text-decoration:none}
 .rci-mobile-bottom-nav-v55 a svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
 .rci-mobile-bottom-nav-v55 a small{font-size:10px;font-weight:750;line-height:1}
 .rci-mobile-bottom-nav-v55 a.active{background:#eaf3fc;color:#123f6c}
 body{padding-bottom:calc(72px + env(safe-area-inset-bottom))!important}
}

/* V56: full-width mobile hero banner and more legible RCI member typography. */
@media(max-width:760px){
 .rci-home-hero-v55{display:flex!important;align-items:flex-end!important;width:calc(100% - 20px)!important;min-height:clamp(245px,68vw,330px)!important;margin:12px auto 18px!important;padding:0!important;border-radius:18px!important;background-position:68% center!important;background-size:cover!important;box-shadow:0 12px 28px rgba(9,27,59,.18)!important}
 .rci-home-hero-v55:before{z-index:0!important;background:linear-gradient(0deg,rgba(5,18,43,.97) 0%,rgba(5,18,43,.88) 38%,rgba(5,18,43,.32) 74%,rgba(5,18,43,.08) 100%)!important}
 .rci-home-hero-v55 .rci-hero-copy-v51{z-index:2!important;width:100%!important;max-width:100%!important;padding:20px 17px 18px!important}
 .rci-home-hero-v55 .rci-hero-kicker{font-size:9px!important;line-height:1.35!important;letter-spacing:.09em!important;margin:0 0 8px!important}
 .rci-home-hero-v55 .rci-hero-copy-v51 h1{max-width:100%!important;margin:0 0 8px!important;font-size:clamp(23px,6.5vw,31px)!important;line-height:1.08!important;letter-spacing:-.035em!important}
 .rci-home-hero-v55 .rci-hero-copy-v51 p{max-width:100%!important;margin:0!important;font-size:12px!important;line-height:1.45!important}
 .rci-home-hero-v55 .rci-hero-actions-v51{display:flex!important;flex-wrap:wrap!important;gap:8px!important;margin-top:13px!important}
 .rci-home-hero-v55 .rci-hero-btn-primary,.rci-home-hero-v55 .rci-hero-btn-outline{min-height:36px!important;padding:0 13px!important;border-radius:999px!important;font-size:11px!important;font-weight:800!important}
 .rci-home-hero-v55 .rci-hero-image-v55{display:none!important}
 .rci-home-heading-v51 h2{font-size:19px!important}
 .rci-home-members-v51 .rci-member-grid-v51{gap:9px!important}
 .rci-home-members-v51 .rci-member-card-v51{padding:11px 9px 10px!important;border-radius:12px!important}
 .rci-home-members-v51 .rci-member-logo-v51{width:46px!important;height:46px!important;margin-bottom:7px!important}
 .rci-home-members-v51 .rci-member-card-v51 h3{font-size:12px!important;line-height:1.3!important;margin:0 0 5px!important;overflow-wrap:anywhere}
 .rci-home-members-v51 .rci-member-type-v51{font-size:9px!important;line-height:1.25!important;padding:3px 8px!important}
 .rci-home-members-v51 .rci-member-card-v51 p{font-size:10px!important;line-height:1.35!important;margin:6px 0 4px!important}
 .rci-home-members-v51 .rci-member-card-v51 small{font-size:9px!important;line-height:1.35!important;min-height:24px!important}
 .rci-home-members-v51 .rci-member-profile-v51{font-size:10px!important;line-height:1.2!important;padding:8px 6px!important;margin-top:8px!important}
 .rci-home-members-v51 .rci-member-save-v51{right:8px!important;top:7px!important}
}
@media(max-width:360px){
 .rci-home-hero-v55{min-height:235px!important}
 .rci-home-hero-v55 .rci-hero-copy-v51{padding:17px 14px 15px!important}
 .rci-home-members-v51 .rci-member-card-v51 h3{font-size:11px!important}
}
