/* magazines.css — Analytics › Market Magazines (release 20261111a; Coiled Tubing / TRS look and feel: 20261111c).
   The page uses the components of the service-line pages (sm-head, np-pick tiles, sm-period, sm-kpis, sm-tabs, sm-card,
   bf-btn); only the issue cards and the menu badge are defined here. */

/* menu: a normal entry like Coiled Tubing or TRS Analytics, with an unread count */
.an-nav-item.an-nav-mag .an-mag-badge { margin-left: auto; min-width: 20px; height: 18px; padding: 0 6px; border-radius: 9px; background: var(--nav-green, #007A3D);
  color: #fff; font-size: 11px; font-weight: 600; line-height: 18px; text-align: center; }
.an-mag-badge[hidden] { display: none; }

.mgz-wrap { max-width: 1400px; }
.mgz-h-ic { color: var(--bf-green, #007A3D); margin-right: 8px; font-size: 18px; vertical-align: -1px; }
.mgz-wrap .ct-aib { font-weight: 600; }
.mgz-wrap .mgz-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mgz-wrap .fs-pls { grid-template-columns: repeat(4, minmax(0, 1fr)); }   /* 20261111j: seven tiles (with Wireline and Well Testing), two rows */
@media (max-width: 1100px) { .mgz-wrap .fs-pls { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .mgz-wrap .mgz-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.mgz-wrap button.sm-kpi { text-align: left; cursor: pointer; font: inherit; color: inherit; }
.mgz-wrap button.sm-kpi:hover:not(:disabled) { border-color: #9FC7B1; background: #F7FAF8; }
.mgz-wrap button.sm-kpi:disabled { cursor: default; }
.mgz-panel { display: flex; flex-direction: column; gap: 14px; }
.mgz-empty-ic { display: block; font-size: 26px; opacity: .5; margin-bottom: 6px; }

/* issue cards */
.mgz-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 12px; margin-top: 4px; }
.mgz-card { display: flex; align-items: flex-start; gap: 14px; padding: 12px; background: #fff; border: 1px solid var(--bf-line, #DCE3DF); border-radius: 10px; position: relative; overflow: hidden; transition: border-color .12s, background .12s; }
.mgz-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--np-c, #56655D); }
.mgz-card:hover { border-color: #9FC7B1; background: #FBFCFB; }
.mgz-cov { border: 0; padding: 0; background: transparent; flex: none; width: 112px; margin-left: 4px; cursor: pointer; }
.mgz-cov img { width: 112px; border-radius: 4px; display: block; border: 1px solid var(--bf-line, #DCE3DF); box-shadow: 0 2px 8px rgba(21, 32, 26, .12); }
.mgz-cov:focus-visible { outline: 2px solid var(--bf-green, #007A3D); outline-offset: 2px; }
.mgz-cov-ph { width: 112px; height: 158px; border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 28px; color: var(--np-c); background: #F3F5F4; border: 1px solid var(--bf-line, #DCE3DF); }
.mgz-b { display: flex; flex-direction: column; gap: 5px; min-width: 0; flex: 1; }
.mgz-top { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.mgz-line { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--bf-muted, #56655D); margin-right: auto; }
.mgz-line .bi { color: var(--np-c); font-size: 14px; }
.mgz-pill { font-size: 11px; font-weight: 600; padding: 0 8px; border-radius: 9px; line-height: 18px; }
.mgz-pill-new { background: #E6F2EC; color: #005C2E; }
.mgz-pill-warn { background: #FFF1CC; color: #6b4700; }
.mgz-b h4 { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--bf-ink, #15201A); }
.mgz-b p { margin: 0; font-size: 12.5px; line-height: 1.45; color: var(--bf-muted, #56655D); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mgz-meta { font-size: 12px; color: var(--bf-muted, #56655D); }
.mgz-acts { display: flex; gap: 8px; margin-top: auto; padding-top: 6px; }
.mgz-acts .bf-btn { display: inline-flex; align-items: center; gap: 6px; }
.mgz-noimg { visibility: hidden; }

/* the "Monthly magazine" link on the Coiled Tubing, Cementing and TRS pages: the colours of their former magazine button
   (the Cementing page also carries .ct-wrap and .trs-wrap, the Coiled Tubing page .trs-wrap: the order below matters) */
.vb-gen .ct-mag-link { margin-left: 8px; color: #fff; display: inline-flex; align-items: center; gap: 6px; }
.trs-wrap .vb-gen .ct-mag-link { background: #14283f; border-color: #14283f; }
.trs-wrap .vb-gen .ct-mag-link:hover { background: #2f6fb3; border-color: #2f6fb3; color: #fff; }
.ct-wrap .vb-gen .ct-mag-link { background: #0b3b40; border-color: #0b3b40; }
.ct-wrap .vb-gen .ct-mag-link:hover { background: #0e9aa7; border-color: #0e9aa7; }
.cem-wrap .vb-gen .ct-mag-link { background: #18303d; border-color: #18303d; }
.cem-wrap .vb-gen .ct-mag-link:hover { background: #2f7f9f; border-color: #2f7f9f; }
@media (max-width: 600px) { .mgz-row { grid-template-columns: 1fr; } .mgz-cov, .mgz-cov img { width: 88px; } }
