/* C4P additions to the copied old-site CSS (keep this file small: the look comes from the old CSS as-is). */

/* "Built with skill" (enterprise-app rule): left end of the copyright row of the footer, same font / size / colour. */
.c4p-footer-row { position: relative; }
.c4p-built { position: absolute; left: 0; top: 0; }
/* narrower than the xxl container the centred copyright would run into it: then its own line, still left */
@media (max-width: 1399.98px) { .c4p-built { position: static; display: block; text-align: left; margin-bottom: .5em; } }

/* JW Player video (iframe player, 16:9) in place of the old <script> embed. */
.c4p-jw { position: relative; width: 100%; padding-bottom: 56.25%; }
.c4p-jw iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Curve under the green header band of the inner pages (<img bg-btn-ft.png> right after <section class="theme-bg-main">).
   The old site ran in quirks mode, where an image alone on a line gets no line-height strut; in standards mode the thin
   image (phones) sits on the text baseline and a white gap opens between the band and the curve. Block = as before. */
.theme-bg-main + img[src$="bg-btn-ft.png"] { display: block; }

/* Project video on the detail page (YouTube link of the project, BFF SiteProject.ContentHtml), 16:9. */
.c4p-video { position: relative; width: 100%; padding-bottom: 56.25%; margin: 1.5em 0; }
.c4p-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Language list items were <li onclick> on the old site: keep the hand cursor. */
.list-lang[data-href] { cursor: pointer; }

/* Search result rows of made-up mock projects: a small "MOCK" tag after the title. */
.c4p-mock-tag { display: inline-block; margin-left: .5em; padding: 0 .4em; border-radius: 3px; background: #e7eeec;
                color: #7a9584; font-size: .7em; vertical-align: middle; }

/* Search boxes: the old placeholder is the Font Awesome magnifier (U+F002); the old CSS asked for 'Font Awesome 5 Pro',
   which the old site never loaded, so it showed as an empty box - here the free solid magnifier (weight 900 = solid). */
#kw-txt::placeholder { font-family: "Font Awesome 6 Free"; font-weight: 900; }

/* Font Awesome Free instead of the old FA 7 Pro (licence): the old CSS draws every icon in the Pro "Light" style
   (weight 300) and gives brand icons the page font - Free has only solid (900), regular (400) and brands, so pin those.
   Icons are therefore a little bolder than on the old site (solid instead of light). */
#siteWrapper .fas, #siteWrapper .fa-solid, #siteWrapper .fal, #siteWrapper .fa-light, #siteWrapper .fat, #siteWrapper .fa-thin {
  font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; }
#siteWrapper .far, #siteWrapper .fa-regular { font-family: "Font Awesome 6 Free" !important; font-weight: 400 !important; }
#siteWrapper .fab, #siteWrapper .fa-brands { font-family: "Font Awesome 6 Brands" !important; font-weight: 400 !important; }
