/* CloudBrum "Free cloud training" page. Builds on cb-support.css (.sp) and cb-work.css (.wf section cards); scoped to .fl */
/* Page width: same as the Glossary (the shared .sp shell is 1080px) */
.sp.fl { max-width: 1240px; }

/* Hero: the light card, polished */
.fl .sp-hero { position: relative; overflow: hidden; padding: 2.1rem 2rem 1.8rem; }
.fl .sp-hero > * { position: relative; z-index: 1; }
.fl .sp-hero > .fl-deco { position: absolute; z-index: 0; right: -1.2rem; top: -1rem; font-size: 15rem; line-height: 1; color: var(--brand); opacity: .06; pointer-events: none; transform: rotate(-8deg); }
.fl .fl-eyebrow { display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 .75rem; padding: .22rem .85rem .22rem .25rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: 0 2px 8px rgba(84,27,163,.06); font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.fl .fl-eyebrow .mark { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: .8rem; background: linear-gradient(135deg, #6d3fc0, #8b5fd6); }
.fl .sp-hero h1 { margin: 0 0 .8rem; max-width: 22em; font-size: clamp(1.9rem, 3.8vw, 2.9rem); line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; }
.fl .fl-acc { background: linear-gradient(90deg, #7d4fd0 0%, #a678e8 55%, #f5b73a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
@supports not ((-webkit-background-clip: text) or (background-clip: text)) { .fl .fl-acc { background: none; color: var(--brand); } }
@media (forced-colors: active), print { .fl .fl-acc { background: none; color: inherit; } }
.fl .sp-hero > p:not(.fl-updated) { max-width: 60ch; margin-bottom: 1.2rem; font-size: 1.1rem; }
.fl .fl-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.2rem 0 0; padding: 0; list-style: none; }
.fl .fl-chips a, .fl .fl-chips .plain { display: inline-flex; align-items: center; gap: .45rem; padding: .32rem .85rem .32rem .6rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: .84rem; font-weight: 700; line-height: 1.4; color: var(--ink); text-decoration: none; }
.fl .fl-chips i { font-size: 1rem; line-height: 1; color: var(--ic, var(--brand)); }
.fl .fl-chips a { transition: transform .12s, box-shadow .12s, border-color .12s; }
.fl .fl-chips a:hover { border-color: var(--c); box-shadow: 0 6px 16px rgba(84,27,163,.12); transform: translateY(-1px); }
.fl .fl-chips a:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.fl .fl-updated { max-width: 78ch; margin: 1rem 0 0; font-size: .85rem; color: var(--muted); }
.fl .sp-cta.alt { background: #fff; border: 1.5px solid #d3c6f0; color: var(--brand); box-shadow: none; }
.fl .sp-cta.alt:hover { background: var(--soft); color: var(--brand); }

.fl .fl-h { margin: 1.5rem 0 .7rem; font-size: 1.05rem; font-weight: 800; color: var(--ink); }
.fl .fl-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: .85rem; }
.fl .fl-card { display: flex; flex-direction: column; gap: .5rem; border: 1px solid var(--line); border-top: 4px solid var(--c); border-radius: 16px; padding: 1rem 1.05rem; background: #fff; }
.fl .fl-card h4 { margin: 0; font-size: 1rem; font-weight: 800; line-height: 1.3; color: var(--ink); }
.fl .fl-card p { margin: 0; font-size: .9rem; color: var(--muted); }
.fl .fl-tags { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0; padding: 0; list-style: none; }
.fl .fl-tags li { padding: .1rem .55rem; border-radius: 999px; border: 1px solid var(--c); background: var(--bg); color: var(--ink); font-size: .72rem; font-weight: 800; line-height: 1.5; }
.fl .fl-links { display: grid; gap: .3rem; margin: auto 0 0; padding: .35rem 0 0; list-style: none; }
.fl .fl-links a { font-size: .9rem; font-weight: 700; color: var(--brand); text-decoration: none; }
.fl .fl-links a:hover { text-decoration: underline; }
.fl .fl-links a:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
.fl .fl-links i { font-size: .8rem; }
.fl .fl-note { margin: 1.3rem 0 0; padding: .85rem 1rem; border: 1px dashed #d9b66a; border-radius: 14px; background: #fffaf0; font-size: .9rem; color: var(--muted); }
.fl .fl-note b { color: var(--ink); }
.fl .wf-actions a i { font-size: .85rem; }

.fl .fl-faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.fl .fl-faq article { border: 1px solid var(--line); border-radius: 16px; padding: 1rem 1.1rem; background: #fff; }
.fl .fl-faq h3 { margin: 0 0 .35rem; font-size: 1rem; font-weight: 800; line-height: 1.35; color: var(--ink); }
.fl .fl-faq p { margin: 0; font-size: .92rem; color: var(--muted); }
.fl .sp-steps { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }

@media (max-width: 767.98px) {
  .fl .fl-faq { grid-template-columns: minmax(0, 1fr); }
  .fl .sp-hero .sp-cta { width: 100%; justify-content: center; }
  .fl .sp-full .sp-cta { margin-bottom: .5rem; }
}
@media print { .fl .wf-actions, .fl .sp-full { display: none !important; } }

/* "What is free / not free" lists beside the provider summary */
.fl .fl-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 1.2rem; margin-top: .6rem; }
.fl .fl-split h3 { margin: 0 0 .25rem; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fl .fl-split .wf-list { font-size: .9rem; }
@media (max-width: 575.98px) { .fl .fl-split { grid-template-columns: minmax(0, 1fr); } }

/* Provider chooser: three cards fill the row (the shared grid is auto-fill and left an empty slot) */
.fl .wf-choose { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .fl .wf-choose { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* A list of exactly four cards sits in one row on wide screens, so no card is left alone */
@media (min-width: 1200px) { .fl .fl-list--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 767.98px) {
  .fl .sp-hero { padding: 1.4rem 1.1rem 1.3rem; }
  .fl .sp-hero > .fl-deco { font-size: 9rem; right: -1.5rem; top: -.5rem; }
  .fl .sp-hero > p:not(.fl-updated) { font-size: 1rem; }
  .fl .fl-chips { gap: .4rem; }
  .fl .fl-chips a, .fl .fl-chips .plain { padding: .25rem .65rem .25rem .5rem; font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) { .fl .fl-chips a { transition: none; } .fl .fl-chips a:hover { transform: none; } }
