/* Generated announcement banner (js/ann-banner.js): the memorandum's header
   band (ann-article.css .band-top): same gradient, reversed GIG mark left,
   department right, then the title in lime. */
.annb{position:relative;display:flex;flex-direction:column;overflow:hidden;
  width:100%;height:100%;min-height:120px;color:#fff;direction:ltr;font-family:"OneGIG Memo","Neo Sans Arabic",Tahoma,Verdana,sans-serif;
  background:linear-gradient(100deg,#003D44 0%,#0A5A54 55%,#48822A 100%);box-sizing:border-box}
.annb-top{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 32px 0}
.annb-mark{height:30px;width:auto;flex:none;display:block}
.annb-dept{display:flex;flex-direction:column;align-items:flex-end;text-align:right;min-width:0}
.annb-dept b{font-size:15px;font-weight:700;line-height:1.25;letter-spacing:0}
.annb-dept span{font-size:11.5px;letter-spacing:.06em;opacity:.9;line-height:1.3}
.annb-in{position:relative;flex:1;display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:center;padding:16px 32px 22px}
.annb-sm .annb-top{padding:12px 14px 0;gap:8px}
.annb-sm .annb-mark{height:18px}
.annb-sm .annb-dept b,.annb-sm .annb-dept span{font-size:10.5px}
.annb-sm .annb-in{grid-template-columns:1fr;padding:8px 14px 12px}
.annb-side{min-width:0}
.annb-ar{text-align:right}
.annb-title{font-size:22px;font-weight:700;line-height:1.3;color:#C1FA00;
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.annb-ar .annb-title{font-size:23px;line-height:1.45;letter-spacing:0}
.annb-sm .annb-title{font-size:14px;-webkit-line-clamp:3}
@media (max-width:700px){
  .annb-lg .annb-top{padding:16px 20px 0}
  .annb-lg .annb-mark{height:24px}
  .annb-lg .annb-in{grid-template-columns:1fr;gap:10px;padding:12px 20px 18px}
  .annb-lg .annb-title{font-size:18px}
  .annb-lg .annb-ar .annb-title{font-size:19px}
}
/* Card slot */
.annb-box{display:block;overflow:hidden}
.annb-box .annb{border-radius:inherit}

/* ---- Console announcement editor (admin.html #annEditView) ---------------- */
#annEditView .ae-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,1fr);gap:22px;align-items:start}
#annEditView .ae-form{display:flex;flex-direction:column;gap:14px;min-width:0}
#annEditView .ae-sec{background:var(--surface,#fff);border:1px solid var(--line,#E4E9EA);border-radius:14px;padding:18px 20px 16px;
  box-shadow:0 1px 2px rgba(2,55,61,.04)}
#annEditView .ae-sh{display:flex;align-items:flex-start;gap:12px;margin-bottom:14px}
#annEditView .ae-n{flex:none;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;
  background:#003D44;color:#C1FA00;font-weight:800;font-size:12px}
#annEditView .ae-st{flex:1;min-width:0}
#annEditView .ae-sh .f-sec{margin:3px 0 0;padding:0;border:0;font-size:.8rem;letter-spacing:.08em;color:#003D44}
#annEditView .ae-hint{margin:3px 0 0;font-size:.8rem;color:var(--muted);line-height:1.45}
#annEditView .ae-note{margin:-4px 0 12px}
#annEditView .field{margin-bottom:12px}
#annEditView label.f{display:block;font-size:.78rem;font-weight:700;color:#02373D;margin-bottom:5px}
#annEditView input[type="text"],#annEditView input[type="datetime-local"],#annEditView select,#annEditView textarea{
  width:100%;box-sizing:border-box;border:1px solid #D5DEDF;border-radius:10px;background:#fff;padding:10px 12px;
  font:inherit;font-size:.92rem;color:#02373D;transition:border-color .15s,box-shadow .15s}
#annEditView textarea{min-height:76px;resize:vertical;line-height:1.55}
#annEditView input:focus,#annEditView select:focus,#annEditView textarea:focus{outline:none;border-color:#48822A;
  box-shadow:0 0 0 3px rgba(193,250,0,.35)}
#annEditView .two-col{gap:14px}
/* Toggles as switches in the section header */
#annEditView .ae-switch{flex:none;margin:2px 0 0;gap:10px;font-size:.82rem;cursor:pointer;user-select:none}
#annEditView .ae-switch input{appearance:none;-webkit-appearance:none;width:38px;height:22px;border-radius:999px;margin:0;
  background:#CBD6D7;position:relative;cursor:pointer;transition:background .15s;flex:none}
#annEditView .ae-switch input::after{content:"";position:absolute;top:3px;inset-inline-start:3px;width:16px;height:16px;border-radius:50%;
  background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.2);transition:inset-inline-start .15s}
#annEditView .ae-switch input:checked{background:#48822A}
#annEditView .ae-switch input:checked::after{inset-inline-start:19px}
#annEditView .ae-switch input:focus-visible{box-shadow:0 0 0 3px rgba(193,250,0,.5)}
#annEditView .ae-feat{margin:2px 0 14px}
#annEditView .ae-daterow{display:grid;grid-template-columns:1fr 1fr auto;gap:14px;align-items:end}
#annEditView .ae-today{margin-bottom:12px}
#annEditView .ae-today .btn{height:42px;padding-inline:16px}
#annEditView .ae-pubgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 14px;align-items:end}
#annEditView .ae-pubgrid select,#annEditView .ae-pubgrid input[type=datetime-local]{width:100%;min-width:0;box-sizing:border-box}
#annEditView .ae-featcell .ae-feat{margin:0 0 10px}
#annEditView fieldset.ae-content{border:0;margin:0;padding:0;min-width:0}
#annEditView fieldset.ae-content:disabled{opacity:.62}
#annEditView .ae-studio{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-block-end:14px}
#annEditView .pv-studio img{display:block;width:100%;height:auto;border-radius:10px;border:1px solid var(--line,#dfe6e6)}
/* Body sections */
#annEditView .para{border:1px solid #E4E9EA;border-radius:12px;padding:14px;background:#F8FAFA;margin-bottom:12px}
#annEditView .para-head{margin-bottom:10px}
#annEditView .para-head .lbl{color:#003D44}
#annEditView .ae-add{border-style:dashed}
#annEditView .cover-thumb{width:180px;height:110px;border-radius:10px}
/* Sticky action bar and preview */
#annEditView .ae-actions{position:sticky;bottom:0;z-index:5;background:rgba(255,255,255,.96);backdrop-filter:blur(6px);
  border:1px solid var(--line,#E4E9EA);border-radius:14px;padding:12px 14px;box-shadow:0 -6px 18px rgba(2,55,61,.06)}
#annEditView .ae-grow{flex:1}
#annEditView .ae-side{position:sticky;top:84px}
#annEditView .preview-zone{background:#fff;border:1px solid var(--line,#E4E9EA);border-style:solid;border-radius:14px;padding:16px;
  max-height:calc(100vh - 110px);overflow:auto}
@media (max-width:1100px){
  #annEditView .ae-grid{grid-template-columns:1fr}
  #annEditView .ae-side{position:static}
  #annEditView .preview-zone{max-height:none}
}
@media (max-width:640px){
  #annEditView .two-col,#annEditView .ae-pubgrid,#annEditView .ae-daterow{grid-template-columns:1fr}
  #annEditView .ae-sh{flex-wrap:wrap}
}
/* Preview pieces */
.pv-lbl{font-size:.7rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--muted,#54696B);margin:4px 0 8px}
.pv-card{border:1px solid #E4E9EA;border-radius:12px;overflow:hidden;background:#fff;margin-bottom:18px}
.pv-card .annb-box{height:220px}
.pv-card .pv-photo{height:220px;background:#EEF1F2 center/cover no-repeat}
.pv-card-b{padding:14px 16px}
.pv-meta{display:flex;gap:10px;align-items:center;font-size:12px;color:#54696B;margin-bottom:6px}
.pv-tag{background:#C1FA00;color:#003D44;font-weight:800;font-size:10.5px;letter-spacing:.06em;text-transform:uppercase;border-radius:999px;padding:3px 10px}
.pv-card h3{font-size:18px;line-height:1.3;color:#003D44;margin:0 0 6px}
.pv-card p{font-size:13.5px;line-height:1.55;color:rgba(2,55,61,.75);margin:0}
/* The announcement itself: the shared portal article (ann-article.css), at
   its real 816px width, scaled to the column by admin-1.js fitArticle(). */
.pv-lbl-row{display:flex;align-items:center;justify-content:space-between;gap:10px}
.pv-lbl-row .btn{text-transform:none;letter-spacing:0}
.pv-article{position:relative;overflow:hidden;width:100%;min-width:0;border:1px solid #E4E9EA;border-radius:12px;background:#fff;margin-bottom:18px}
.pv-art-scale{position:absolute;top:0;left:0;width:816px;transform-origin:0 0}

/* Editor action row: Back and the status read as one row of equal pills. */
#annEditView .ae-top{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-block:6px 16px}
#annEditView .ae-top .btn,#annEditView .ae-top .pill{height:40px;min-width:120px;display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:0 18px;border-radius:999px;font-size:.9rem;font-weight:700;line-height:1;box-sizing:border-box}
#annEditView .ae-top .pill{min-width:110px;text-transform:none;letter-spacing:0}
html[dir="rtl"] #annEditView .ae-back-ic{transform:scaleX(-1);display:inline-block}
/* The heading's strata bar never touches a wrapped button below it. */
#scr-announcements .screen-head{align-items:flex-end;row-gap:18px}
#scr-announcements #annNew{height:40px;padding:0 20px;border-radius:999px;display:inline-flex;align-items:center}
