/* Mobile wrappers have no boxes; existing mobile layout rules remain in force. */
.ofn-desktop-shell,.ofn-desktop-center,.ofn-desktop-rail-host{display:contents}
.ofn-desktop-rail{display:none}
@media(min-width:1240px){
 .ofn-desktop-shell{display:grid;direction:rtl;grid-template-columns:minmax(180px,1fr) 808px minmax(180px,1fr);gap:16px;align-items:start;width:calc(100% - 32px);max-width:1440px;margin:16px auto 0}
 .ofn-desktop-center{display:block;min-width:0;width:808px}
 html[dir="ltr"] .ofn-desktop-center{direction:ltr}
 .ofn-desktop-rail{display:block;min-width:0;width:100%;font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-size:15px;line-height:1.7;color:#124967;text-align:right;box-sizing:border-box}
 .ofn-desktop-right{grid-column:1;grid-row:1}.ofn-desktop-center{grid-column:2;grid-row:1}.ofn-desktop-left{grid-column:3;grid-row:1}
 .ofn-desktop-rail *{box-sizing:border-box}
 .ofn-desktop-rail nav,.ofn-rail-ads{display:grid;gap:10px;margin:0;padding:0}
 .ofn-desktop-rail .ofn-rail-card{display:flex;align-items:center;justify-content:center;min-width:0;min-height:78px;padding:12px;text-align:center;color:#ffec3d;background:radial-gradient(circle at 88% 15%,#0d639660 0,transparent 42%),linear-gradient(145deg,#0d527e 0%,#073456 46%,#052845 100%);border:1px solid #0a709f;border-radius:8px;box-shadow:inset 0 1px 0 #ffffff30,inset 0 -2px 5px #031a2e66,0 2px 5px #082d4e2b;font-size:1rem;font-weight:800;line-height:1.35;text-decoration:none;overflow-wrap:anywhere;touch-action:manipulation}
 .ofn-desktop-rail .ofn-rail-ad{display:block;border:1px solid #c5d6df;border-radius:8px;overflow:hidden;background:#fff;text-decoration:none}
 .ofn-desktop-rail .ofn-rail-ad img{display:block;width:100%;height:auto;max-width:100%;object-fit:contain}
 .ofn-desktop-rail .ofn-rail-ads{margin-bottom:16px}
 .ofn-rail-notes{padding:12px;background:#fff;border:1px solid #c5d6df;border-radius:8px;margin:0 0 12px}
 .ofn-desktop-rail .ofn-rail-heading{display:block;margin-bottom:8px;color:#124967;font-size:18px;font-weight:900;text-decoration:none}
 .ofn-desktop-rail .ofn-rail-note{display:flex;align-items:flex-start;gap:10px;direction:rtl;padding:10px 0;border-top:1px solid #e0e9ef;color:#124967;text-decoration:none;font-size:14px;line-height:1.8}
 .ofn-desktop-rail .ofn-rail-author-photo{display:block;flex:none;width:60px;height:72px;max-width:60px;object-fit:cover;object-position:center top;border-radius:6px}
 .ofn-rail-note-copy{display:block;flex:1;min-width:0}
 .ofn-rail-note small{display:block;font-size:12px;color:#526d7c}
 .ofn-desktop-rail a:focus-visible{outline:3px solid #c49618;outline-offset:3px}
 .ofn-desktop-center>main{width:100%;max-width:808px;margin-inline:0;min-width:0}
 .ofn-desktop-center main .container,.ofn-desktop-center .law-hub .law-wrap{width:100%;max-width:100%;min-width:0}
 .ofn-desktop-center main.jobs-page{max-width:808px}
 .ofn-desktop-center .home-page>.home-service-carousel{width:100%;margin-inline:0}
 .ofn-desktop-center .home-page .home-bottom-directory,.ofn-desktop-center .home-page .home-jobs-announcement{display:none}
 .ofn-desktop-center .home-hero-slide{height:332px;min-height:332px}
 .ofn-desktop-center .home-hero-copy{inset-inline:24px;bottom:26px}
 .ofn-desktop-center .home-hero-copy h2{font-size:28px;line-height:1.5}
 .ofn-desktop-center .home-small-news,.ofn-desktop-center .home-note-page{gap:12px}
 .ofn-desktop-center .home-small-card{display:grid;grid-template-columns:42% minmax(0,1fr);height:152px;min-height:152px}
 .ofn-desktop-center .home-small-card img{height:152px;width:100%;object-fit:cover}
 .ofn-desktop-center .home-small-card>div{padding:12px;min-width:0}
 .ofn-desktop-center .home-small-card h2{font-size:17px;line-height:1.7}
 .ofn-desktop-center .home-horizontal-card{grid-template-columns:180px minmax(0,1fr);min-height:102px}
 .ofn-desktop-center .home-horizontal-card img{height:102px;min-height:102px;object-fit:cover}
 .ofn-desktop-center .home-horizontal-card>div{padding:10px 14px;min-width:0}
 .ofn-desktop-center .home-horizontal-card h3,.ofn-desktop-center .news-archive .home-horizontal-card h2{font-size:18px;line-height:1.65}
 .ofn-desktop-center .home-horizontal-card p{font-size:14px}
 .ofn-desktop-center .home-report-slide{height:272px;min-height:272px}
 .ofn-desktop-center .home-report-slide>div{padding:0 24px 26px}
 .ofn-desktop-center .home-report-slide h3{font-size:26px;line-height:1.5}
 .ofn-desktop-center .home-note-card{grid-template-columns:38% minmax(0,1fr);min-height:160px}
 .ofn-desktop-center .home-note-card>div{padding:12px;min-width:0}
 .ofn-desktop-center .home-note-card h3{font-size:16px;line-height:1.65}
 .ofn-desktop-center .home-note-card p{font-size:13px}
 /* Native tables keep their markup and can scroll inside the central column. */
 .ofn-desktop-center .gold-table-wrap,.ofn-desktop-center .rates-table-wrap,.ofn-desktop-center .law-table{max-width:100%;overflow-x:auto}
 .ofn-desktop-center>.shell{max-width:100%;width:100%;margin-inline:0}
 .ofn-desktop-center .article{max-width:100%;margin-inline:0}
 .ofn-desktop-center .wrap{width:100%;max-width:100%}
 .ofn-brand{justify-items:start}
 .ofn-header::after{width:48%;max-width:760px;height:100%;bottom:0;background-size:100% 100%;opacity:.32}
}
