/* RTMC Tenders v2.2.6 - bid title list and modal details */
.rtmc-tenders{max-width:1180px;margin:auto;padding:28px 16px;font-family:inherit}
.rtmc-tenders h1{color:#08639e;font-weight:750;margin-bottom:18px}
.rtmc-tenders form{display:flex;flex-wrap:wrap;gap:16px;align-items:end;background:#f1f6f9;padding:20px;border-radius:12px;margin:20px 0}
.rtmc-tenders label{display:flex;flex-direction:column;gap:7px;font-weight:600}
.rtmc-tenders select{min-width:190px;padding:10px;border:1px solid #cbd5e1;border-radius:7px}
.rtmc-tenders form button{background:#0879bc;color:#fff;border:0;border-radius:7px;padding:12px 24px}
.rtmc-tender-list{border:1px solid #dce5ed;background:#fff;border-radius:10px;overflow:hidden}
.rtmc-tender-row+.rtmc-tender-row{border-top:1px solid #dce5ed}
.rtmc-tender-title{display:block;width:100%;text-align:left;border:0;background:#fff;color:#115e98;font-size:clamp(16px,1.7vw,21px);font-weight:800;line-height:1.5;padding:16px 22px;cursor:pointer;overflow-wrap:anywhere}
.rtmc-tender-title:hover,.rtmc-tender-title:focus-visible{background:#f0f8fd;color:#087b58;text-decoration:underline;outline-offset:-3px}
.rtmc-tender-dialog{position:fixed;inset:0;margin:auto;border:0;border-radius:16px;padding:0;background:#fff;color:#26394c;box-shadow:0 25px 80px #001c3860;width:min(760px,calc(100vw - 24px));max-height:min(88dvh,900px);overflow:auto}
.rtmc-tender-dialog::backdrop{background:#001d36b8;backdrop-filter:blur(3px)}
.rtmc-tender-dialog-header{display:flex;align-items:start;gap:18px;justify-content:space-between;background:#f4f9fc;border-bottom:4px solid #168c66;padding:22px 26px}
.rtmc-tender-dialog-header h2{font-size:clamp(18px,2vw,24px);color:#07598e;line-height:1.35;margin:0;font-weight:800;overflow-wrap:anywhere}
.rtmc-tender-close{flex:0 0 40px;width:40px;height:40px;line-height:1;background:#fff;border:1px solid #d5e3ed;border-radius:10px;color:#07598e;font-size:32px;cursor:pointer}
.rtmc-tender-close:hover{background:#e9f5fb}
.rtmc-tender-dialog-body{padding:22px 26px}
.rtmc-tender-dialog .tender-top{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;color:#087b58;font-size:14px;font-weight:750;margin-bottom:15px}
.rtmc-tender-detail{display:grid;grid-template-columns:minmax(135px,30%) 1fr;gap:14px;padding:12px 0;border-bottom:1px solid #e5edf3;line-height:1.5}
.rtmc-tender-detail strong{color:#234b67}.rtmc-tender-detail span{overflow-wrap:anywhere}
.rtmc-tender-description{padding:16px 0;overflow-wrap:anywhere}
.rtmc-tender-documents{background:#f6fafc;border:1px solid #e2edf3;border-radius:10px;padding:16px 18px;margin-top:12px}
.rtmc-tender-documents h3{font-size:18px;color:#07598e;margin:0 0 10px}
.rtmc-tender-documents ul{padding-left:20px;margin:0}.rtmc-tender-documents li{margin:8px 0}.rtmc-tender-documents a{color:#0879bc}
.rtmc-tender-dialog-footer{border-top:1px solid #e2edf3;padding:14px 26px;display:flex;justify-content:flex-end}
.rtmc-tender-close-bottom{background:#07598e;color:#fff;border:0;border-radius:8px;padding:10px 22px;cursor:pointer}
@media(max-width:600px){.rtmc-tenders{padding:14px 10px}.rtmc-tender-title{padding:14px 12px;font-size:16px}.rtmc-tender-dialog-header,.rtmc-tender-dialog-body{padding:16px}.rtmc-tender-detail{grid-template-columns:1fr;gap:4px}.rtmc-tender-dialog-footer{padding:12px 16px}}

/* v2.2.8: bright-red bid status in tender list and detail popup */
.rtmc-tender-row .rtmc-bid-status,.rtmc-tender-dialog .rtmc-bid-status{
 display:inline-block!important;vertical-align:middle;margin:5px 0 5px 12px;
 padding:5px 11px;border:2px solid #e00000;border-radius:6px;
 color:#e00000!important;background:#fff5f5!important;font-size:13px;
 font-weight:900;letter-spacing:.04em;line-height:1.25;white-space:nowrap;
}
.rtmc-tender-dialog .rtmc-bid-status{margin:0 8px 6px 0}
@media(max-width:650px){.rtmc-tender-row .rtmc-bid-status{margin:7px 0 0 0;display:table!important}}

/* v2.2.10: distinct spaced tender cards and status colours */
.rtmc-tender-list{display:flex;flex-direction:column;gap:16px;background:transparent;border:0;border-radius:0;overflow:visible}
.rtmc-tender-row{background:#fff;border:1px solid #dce5ed;border-radius:12px;overflow:hidden;box-shadow:0 3px 12px rgba(0,38,74,.07);padding:5px 4px 10px}
.rtmc-tender-row+.rtmc-tender-row{border-top:1px solid #dce5ed}
.rtmc-tender-row .rtmc-bid-status--open,.rtmc-tender-dialog .rtmc-bid-status--open{color:#087b58!important;border-color:#087b58!important;background:#e8f8f0!important}
.rtmc-tender-row .rtmc-bid-status--red,.rtmc-tender-dialog .rtmc-bid-status--red{color:#e00000!important;border-color:#e00000!important;background:#fff5f5!important}
@media(max-width:650px){.rtmc-tender-list{gap:12px}.rtmc-tender-row{padding:4px 3px 10px}}

/* v2.2.11 — refreshed RTMC procurement presentation */
.rtmc-tenders{max-width:1380px;width:100%;padding:24px 18px 58px;color:#173a51;box-sizing:border-box}
.rtmc-tenders *{box-sizing:border-box}
.rtmc-tenders-hero{position:relative;overflow:hidden;border-radius:18px;padding:31px 36px 33px;margin:0 0 24px;background:linear-gradient(112deg,#06365e 0%,#075483 68%,#086b73 100%);box-shadow:0 14px 36px rgba(3,47,83,.13);color:#fff}
.rtmc-tenders-hero::after{content:"";position:absolute;width:290px;height:290px;right:-115px;top:-180px;border:55px solid rgba(255,255,255,.055);border-radius:50%;pointer-events:none}
.rtmc-tenders-hero__eyebrow{color:#a9e8d4;font-weight:800;letter-spacing:.16em;font-size:11px;margin-bottom:11px}
.rtmc-tenders .rtmc-tenders-hero h1{color:#fff;font-size:clamp(24px,3vw,37px);font-weight:850;line-height:1.25;margin:0 0 10px;letter-spacing:-.02em}
.rtmc-tenders-hero p{margin:0;max-width:780px;color:#dceaf2;font-size:15px;line-height:1.6}
.rtmc-tenders-hero__accent{width:72px;height:4px;background:#3fc493;border-radius:10px;margin-top:22px}
.rtmc-tenders form{background:#f7fafc;border:1px solid #dce9ef;border-radius:14px;padding:21px 23px;box-shadow:0 3px 12px rgba(3,42,70,.04)}
.rtmc-tenders label{color:#164768;font-weight:750;font-size:13px}
.rtmc-tenders select{background:#fff;color:#163b56;border-color:#b9d0dc;border-radius:9px;padding:12px 15px}
.rtmc-tenders form button{background:#087b58;border-radius:9px;font-weight:800;padding:13px 25px;cursor:pointer;transition:background .15s}
.rtmc-tenders form button:hover{background:#056446}
.rtmc-tender-list{gap:18px}
.rtmc-tender-row{border:1px solid #dae6ed;border-left:5px solid #0a8b68;border-radius:13px;padding:14px 20px 15px;box-shadow:0 5px 18px rgba(5,43,75,.06);transition:box-shadow .18s,transform .18s}
.rtmc-tender-row:hover{box-shadow:0 10px 26px rgba(5,43,75,.11);transform:translateY(-1px)}
.rtmc-tender-row+.rtmc-tender-row{border-top:1px solid #dae6ed}
.rtmc-tender-title{padding:3px 0 8px;background:transparent;color:#0b4d7a;font-size:clamp(16px,1.5vw,19px);line-height:1.5}
.rtmc-tender-title:hover,.rtmc-tender-title:focus-visible{background:transparent;color:#087b58}
.rtmc-tender-row .rtmc-bid-status{margin:5px 0 0;padding:5px 12px;border-width:1px;border-radius:20px;font-size:11px;letter-spacing:.07em}
.rtmc-tender-dialog{border-radius:18px;box-shadow:0 25px 85px rgba(0,24,48,.45)}
.rtmc-tender-dialog-header{background:linear-gradient(110deg,#f1f8fb,#e9f6f2);border-bottom:3px solid #0a936c}
.rtmc-tender-documents{background:#f5faf8;border-color:#d5eae3}
@media(max-width:650px){.rtmc-tenders{padding:14px 10px 38px}.rtmc-tenders-hero{padding:25px 21px;border-radius:13px}.rtmc-tender-row{padding:13px 14px}.rtmc-tenders form{padding:16px}.rtmc-tenders select{width:100%;min-width:0}}

/* v2.2.12 — editorial procurement directory: light, spacious, strong hierarchy */
.rtmc-tenders{max-width:1320px;padding:32px 22px 70px;color:#17344a}
.rtmc-tenders-hero{background:#ffffff;border:1px solid #dce6ed;border-radius:6px;padding:33px 36px 31px 42px;box-shadow:none;border-left:7px solid #07865d;margin-bottom:22px}
.rtmc-tenders-hero::after{width:260px;height:260px;top:-170px;right:-75px;border:36px solid #eaf5f1;opacity:.75}
.rtmc-tenders-hero__eyebrow{color:#087d5b;letter-spacing:.18em;font-size:11px;margin-bottom:12px}
.rtmc-tenders .rtmc-tenders-hero h1{color:#073d64;font-size:clamp(26px,3.3vw,42px);font-weight:850;letter-spacing:-.035em;max-width:1000px}
.rtmc-tenders-hero p{color:#61798b;font-size:15px}
.rtmc-tenders-hero__accent{width:44px;height:3px;background:#0b956b;margin-top:18px}
.rtmc-tenders form{background:#eef5f7;border:0;border-radius:7px;padding:22px 25px;box-shadow:none;gap:18px}
.rtmc-tenders select{border:1px solid #ccdce5;border-radius:5px;min-width:220px}
.rtmc-tenders form button{border-radius:5px;background:#073d64;padding:13px 24px}
.rtmc-tenders form button:hover{background:#075784}
.rtmc-tender-list{gap:12px}
.rtmc-tender-row{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:15px;border:1px solid #dde8ec;border-left:0;border-radius:6px;background:#fff;padding:23px 26px 23px 32px;box-shadow:0 2px 6px rgba(8,48,71,.035);transition:border-color .2s,box-shadow .2s,transform .2s}
.rtmc-tender-row::before{content:'';position:absolute;top:0;bottom:0;left:0;width:4px;background:#0c956b;border-radius:6px 0 0 6px}
.rtmc-tender-row:hover{transform:none;border-color:#a8d1c5;box-shadow:0 7px 22px rgba(8,48,71,.09)}
.rtmc-tender-row+.rtmc-tender-row{border-top:1px solid #dde8ec}
.rtmc-tender-title{padding:0;text-align:left;font-size:clamp(16px,1.55vw,20px);font-weight:750;color:#0a426c;line-height:1.48}
.rtmc-tender-title::after{content:'  ↗';font-size:16px;color:#07916a;font-weight:900}
.rtmc-tender-title:hover{color:#007e5e;text-decoration:none}
.rtmc-tender-row .rtmc-bid-status{margin:0!important;justify-self:end;align-self:center;border-radius:4px;padding:8px 13px;font-size:11px;letter-spacing:.07em}
.rtmc-tender-dialog{border-radius:9px}
.rtmc-tender-dialog-header{background:#073d64;border-bottom:4px solid #0c956b}
.rtmc-tender-dialog-header h2{color:#fff}
.rtmc-tender-close{color:#073d64}
.rtmc-tender-dialog-body{background:#fff}
.rtmc-tender-documents{border-radius:6px}
@media(max-width:700px){.rtmc-tenders{padding:14px 10px 45px}.rtmc-tenders-hero{padding:25px 20px 23px 23px}.rtmc-tender-row{grid-template-columns:1fr;gap:13px;padding:18px 18px 18px 22px}.rtmc-tender-row .rtmc-bid-status{justify-self:start}.rtmc-tenders form{padding:15px}}

/* v2.2.13 — contemporary compact title bar, no large hero panel */
.rtmc-tenders-hero{display:flex;flex-direction:column;justify-content:center;position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(100deg,#f0f7fa 0%,#ffffff 65%);border:1px solid #d9e7ee;border-radius:16px;border-left:0;padding:27px 34px 28px;box-shadow:0 8px 28px rgba(7,55,83,.055);margin-bottom:24px}
.rtmc-tenders-hero::before{content:'';position:absolute;inset:0 auto 0 0;width:5px;background:linear-gradient(180deg,#0b9a73,#0877a7);border-radius:16px 0 0 16px}
.rtmc-tenders-hero::after{content:'';position:absolute;width:220px;height:220px;right:-75px;top:-120px;border:1px solid rgba(9,139,107,.15);background:radial-gradient(circle,rgba(8,149,111,.08),transparent 70%);border-radius:50%;opacity:1;z-index:-1}
.rtmc-tenders-hero__eyebrow{display:inline-flex;align-self:flex-start;align-items:center;gap:8px;background:#e5f5ee;border:1px solid #c7e8d9;color:#087351;font-size:10px;font-weight:850;letter-spacing:.15em;padding:7px 11px;border-radius:100px;margin-bottom:13px}
.rtmc-tenders .rtmc-tenders-hero h1{color:#073e65;font-size:clamp(24px,2.6vw,35px);font-weight:850;letter-spacing:-.035em;line-height:1.22;margin:0 0 7px;max-width:100%}
.rtmc-tenders-hero p{font-size:14px;line-height:1.55;color:#607e8f;margin:0;max-width:840px}
.rtmc-tenders-hero__accent{display:none}
@media(max-width:700px){.rtmc-tenders-hero{padding:23px 19px 23px 23px;border-radius:12px}.rtmc-tenders .rtmc-tenders-hero h1{font-size:clamp(22px,6vw,29px)}.rtmc-tenders-hero__eyebrow{font-size:9px}}
