/* OneGIG announcement: the Comms Studio "Memorandum" design, ported from
   apps/ccd/index.html (.sheet.memo / .memo rules) with the same metrics, so an
   announcement reads the same in the studio, on the portal, on the phone, in
   the console preview and in the email. HTML: js/ann-article.js. Images: /ann/.
   .ann-fixed keeps the 816px desktop sheet at every width (console preview,
   email image); otherwise the sheet stacks into one column on a phone. */
/* The studio's typeface (Neo Sans Arabic), loaded for the memo only under
   its own name so it never changes the rest of the portal or console. */
@font-face{font-family:"OneGIG Memo";src:url("/m/assets/fonts/NeoSansArabic-Light.ttf") format("truetype");font-weight:300;font-display:swap}
@font-face{font-family:"OneGIG Memo";src:url("/m/assets/fonts/NeoSansArabic-Regular.ttf") format("truetype");font-weight:400;font-display:swap}
@font-face{font-family:"OneGIG Memo";src:url("/m/assets/fonts/NeoSansArabic-Medium.ttf") format("truetype");font-weight:500;font-display:swap}
@font-face{font-family:"OneGIG Memo";src:url("/m/assets/fonts/NeoSansArabic-Bold.ttf") format("truetype");font-weight:700 800;font-display:swap}
.ann-memo{width:100%;max-width:816px;margin:0 auto;background:#fff;color:#02373D;display:flex;flex-direction:column;
  font-family:"OneGIG Memo","Neo Sans Arabic",Tahoma,Verdana,sans-serif;box-sizing:border-box;direction:ltr;text-align:left}
.ann-memo *{box-sizing:border-box}
.ann-memo.ann-fixed{width:816px;max-width:none}
.ann-memo .band{position:relative;flex:none;overflow:hidden;
  background:linear-gradient(100deg,#003D44 0%,#0A5A54 55%,#48822A 100%)}
.ann-memo .band-top{height:132px}
.ann-memo .band-bottom{margin-top:auto;height:140px;display:flex;align-items:flex-start;justify-content:center;padding-top:30px}
.ann-memo .mark{position:absolute;left:56px;top:50%;transform:translateY(-50%);height:40px;width:185px}
.ann-memo .htitle{position:absolute;right:56px;top:0;bottom:0;display:flex;flex-direction:column;
  justify-content:center;align-items:flex-end;gap:1px;color:#fff}
.ann-memo .htitle .ar{direction:rtl;font-size:20px;font-weight:700;line-height:1.2;white-space:nowrap;margin-bottom:6px}
.ann-memo .htitle .en{font-size:14px;font-weight:400;letter-spacing:.06em;opacity:.9;white-space:nowrap}
.ann-memo .strip{width:620px;max-width:100%;height:auto;display:block}
.ann-memo .site{position:absolute;right:56px;bottom:20px;font-size:13px;font-weight:300;letter-spacing:.06em;color:#C1FA00}
.ann-memo .memo-cover{width:100%;aspect-ratio:16/6;background:#0A4E56 center/cover no-repeat}
.ann-memo .col{padding:30px 56px 20px;display:flex;flex-direction:column;gap:14px}
.ann-memo .pair{display:grid;grid-template-columns:1fr 1fr;column-gap:48px}
.ann-memo p{margin:0}
.ann-memo .memohead{row-gap:12px;align-items:baseline;background:#F3F7F4;border-radius:14px;padding:16px 22px 12px;margin:0 0 18px}
.ann-memo .mh-title{font-size:20px;font-weight:700;color:#003D44;margin-bottom:4px;letter-spacing:0}
.ann-memo .mh-title::after{content:"";display:block;width:34px;height:3px;background:#C1FA00;border-radius:2px;margin-top:6px}
.ann-memo .mh-title.ar{direction:rtl;text-align:right}
.ann-memo .mh-title.ar::after{margin-left:auto}
.ann-memo .mh-row{display:grid;grid-template-columns:78px 1fr;gap:10px;font-size:13px;line-height:1.6;padding:1px 0}
.ann-memo .mh-row.ar{direction:rtl;text-align:right;font-size:14px}
.ann-memo .mh-k{font-weight:700;color:#48822A;font-size:11px;letter-spacing:.08em}
.ann-memo .mh-row.ar .mh-k{font-size:13px}
.ann-memo .cell-en{font-size:14px;line-height:1.55;color:#02373D}
.ann-memo .cell-ar{direction:rtl;text-align:right;font-size:15px;line-height:1.6;color:#02373D}
.ann-memo p.cell-en{line-height:1.75;margin-bottom:14px;color:#2B3A3D}
.ann-memo p.cell-ar{line-height:1.9;margin-bottom:14px;color:#2B3A3D}
.ann-memo .bodypair{row-gap:4px;align-items:start}
.ann-memo .salute,.ann-memo .msub{font-weight:700;color:#003D44}
.ann-memo .salute{margin-bottom:14px}
.ann-memo .msub{display:flex;align-items:center;gap:8px;margin:6px 0 10px}
.ann-memo .msub::before{content:"";flex:none;width:4px;height:16px;background:#C1FA00;border-radius:2px}
.ann-memo .callout{row-gap:14px;align-items:start;padding:14px 24px;background:#003D44;border-radius:12px}
.ann-memo .callout .cell-en,.ann-memo .callout .cell-ar{display:flex;gap:10px;color:#fff}
.ann-memo .callout .cell-en{line-height:1.45}
.ann-memo .callout .cell-ar{line-height:1.5}
.ann-memo .dot{color:#C1FA00;font-weight:700;width:auto;height:auto;border-radius:0;display:inline;background:none}
.ann-memo a{color:#48822A;font-weight:700;text-decoration:none;border-bottom:2px solid #C1FA00;padding-bottom:2px}
.ann-memo .callout a{color:#C1FA00}
.ann-memo .closing{row-gap:14px;align-items:start;margin-top:4px;line-height:1.65}
.ann-memo .ar,.ann-memo .cell-ar,.ann-memo .mh-row.ar,.ann-memo .mh-row.ar *,.ann-memo .mh-title.ar,.ann-memo .htitle .ar{letter-spacing:0}
.ann-memo .sig{display:flex;flex-direction:column;gap:3px}
.ann-memo .sig .org{font-weight:700;color:#003D44}
.ann-memo .sig .co{color:#48822A}
/* Phone: one column, English then Arabic for each row, bands scaled down. */
@media (max-width:640px){
  .ann-memo:not(.ann-fixed) .band-top{height:auto;min-height:96px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px}
  .ann-memo:not(.ann-fixed) .mark{position:static;transform:none;height:30px;width:auto}
  .ann-memo:not(.ann-fixed) .htitle{position:static}
  .ann-memo:not(.ann-fixed) .htitle .ar{font-size:16px;white-space:normal}
  .ann-memo:not(.ann-fixed) .htitle .en{font-size:12px;white-space:normal;text-align:right}
  .ann-memo:not(.ann-fixed) .col{padding:22px 20px 16px}
  .ann-memo:not(.ann-fixed) .pair{grid-template-columns:1fr;column-gap:0}
  .ann-memo:not(.ann-fixed) .memohead{padding:14px 16px 10px}
  .ann-memo:not(.ann-fixed) .mh-title.ar{margin-top:6px}
  .ann-memo:not(.ann-fixed) .callout{padding:14px 16px}
  .ann-memo:not(.ann-fixed) .closing .sig.cell-ar{margin-top:10px}
  .ann-memo:not(.ann-fixed) .band-bottom{height:auto;padding:22px 16px 44px}
  .ann-memo:not(.ann-fixed) .site{right:20px;bottom:14px;font-size:12px}
}
