/* Rambi Nutrition: independent page content; no shared UI overrides. */
body:has(.rn-page){background:#fff url('media/site-bg-v266.png') center top / min(2048px,100vw) auto repeat-y}
.rn-page{box-sizing:border-box;width:min(910px,calc(100% - 48px));margin-inline:auto;padding:140px 0 25px;direction:ltr;color:#231f20}
.rn-page img{display:block;max-width:100%;height:auto;border:0}
.rn-heading{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;gap:24px;margin-bottom:30px;min-height:110px}
.rn-heading img{width:110px;height:110px;object-fit:contain}
.rn-heading h1{margin:0;text-align:right;line-height:1.4;font-size:clamp(20px,2vw,28px);font-weight:800}
.rn-heading h1:not([lang="fa"]){font-weight:450}.rn-heading strong{font-weight:900}
.rn-pattern{margin:0 0 36px}.rn-pattern img{width:100%}
.rn-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:20px;row-gap:24px;align-items:start;direction:ltr}
.rn-card{display:block;min-width:0}.rn-card img{width:100%;transition:opacity .18s ease,transform .18s ease}.rn-card:hover img,.rn-card:focus-visible img{opacity:.97;transform:scale(1.01)}
.rn-contact{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:10px;margin-top:55px;direction:ltr}
.rn-network{display:block;flex:0 0 40px;width:40px;height:40px}.rn-network img{width:40px;height:40px;object-fit:contain;transition:transform .2s ease,filter .2s ease}.rn-network:hover img,.rn-network:focus-visible img{transform:translateY(-3px);filter:brightness(1.05)}
.rn-page a:focus-visible{outline:2px solid #4a7272;outline-offset:4px}
@media(max-width:980px){.rn-page{width:calc(100% - 28px);padding-top:115px}.rn-gallery{gap:16px}}
@media(max-width:760px){.rn-page{padding-top:105px}.rn-heading{min-height:82px;gap:14px;margin-bottom:22px}.rn-heading img{width:82px;height:82px}.rn-heading h1{font-size:clamp(16px,4.8vw,22px)}.rn-pattern{margin-bottom:22px}}
@media(max-width:720px){.rn-gallery{grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(5px,2vw,10px)}}
@media(prefers-reduced-motion:reduce){.rn-page img{transition:none}}

/* BERMOR responsive V1 — local breakpoint */
@media(max-width:760px){
.rn-heading { min-width:0; gap:clamp(8px,2vw,16px); }
.rn-heading h1 { min-width:0; max-width:100%; overflow-wrap:anywhere; white-space:normal; font-size:clamp(14px,3.6vw,24px); }
.rn-heading img { max-width:min(100%,24vw); object-fit:contain; }
}
