/* Shared styling for inner pages (Vacancies, News, Contact Us, Resources).
   Matches the cards, icon tiles and gradients used on the homepage, Products and Training pages. */

.pg-hero { background: linear-gradient(130deg, #f57301 0%, #912727 100%); color: #fff; border-radius: 16px; padding: 2.5rem 2rem; position: relative; overflow: hidden; }
.pg-hero h1 { font-weight: 800; font-size: 2.6rem; margin: 0; position: relative; }
.pg-hero p { position: relative; margin: .75rem 0 0; font-size: 1.1rem; color: rgba(255,255,255,.92); max-width: 46rem; }
.pg-hero-art { position: absolute; right: 1.5rem; top: 50%; transform: translateY(-50%); font-size: 7rem; line-height: 1; color: rgba(255,255,255,.18); }

.pg-card { background: #fff; border-radius: 14px; padding: 1.75rem; border-top: 4px solid #f57301; box-shadow: 0 6px 18px rgba(0,0,0,.06); }
.pg-card p { color: #444; line-height: 1.7; }
.pg-card-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.pg-card-head h2 { font-size: 1.5rem; font-weight: 700; margin: 0; }
.pg-card-head p { margin: 0; }
.pg-icon { width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: #fff; background: linear-gradient(130deg, #f57301 0%, #912727 100%); flex-shrink: 0; }

/* Cards that are links: only these lift on hover */
.pg-link-card { display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: 14px; padding: 1.75rem; border-top: 4px solid #f57301; box-shadow: 0 6px 18px rgba(0,0,0,.06); color: inherit; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.pg-link-card:hover, .pg-link-card:focus-visible { color: inherit; transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0,0,0,.12); }
.pg-link-card .pg-icon { margin-bottom: 1rem; }
.pg-link-card h2 { font-size: 1.2rem; font-weight: 700; margin-bottom: 1rem; }
.pg-meta { color: #cc5e00; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: .35rem; }
.pg-more { margin-top: auto; color: #cc5e00; font-weight: 600; }
.pg-more .bi { display: inline-block; transition: transform .2s ease; }
.pg-link-card:hover .pg-more .bi, .pg-link-card:focus-visible .pg-more .bi { transform: translateX(4px); }

/* Compact link tiles (e.g. downloads) */
.pg-tile { display: flex; align-items: center; gap: 1rem; height: 100%; background: #fdf4eb; border-radius: 12px; padding: 1rem 1.25rem; border-left: 4px solid #cc5e00; color: #222; font-weight: 600; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.pg-tile:hover, .pg-tile:focus-visible { color: #222; background: #fff; transform: translateY(-3px); box-shadow: 0 10px 22px rgba(0,0,0,.1); }
.pg-tile .pg-icon { width: 44px; height: 44px; font-size: 1.25rem; border-radius: 10px; }
.pg-tile .pg-tile-end { margin-left: auto; color: #cc5e00; font-size: 1.2rem; }

.pg-callout { display: flex; gap: .9rem; align-items: flex-start; background: #fdf4eb; border-radius: 12px; padding: 1rem 1.25rem; border-left: 4px solid #cc5e00; margin-bottom: 1rem; }
.pg-callout > i { color: #cc5e00; font-size: 1.4rem; line-height: 1.4; }
.pg-callout p { margin: 0; color: #444; line-height: 1.7; }

.pg-btn { display: inline-flex; align-items: center; gap: .6rem; min-height: 48px; padding: .7rem 1.4rem; border-radius: 10px; font-size: 1.05rem; font-weight: 600; border: none; color: #fff; background: linear-gradient(130deg, #f57301 0%, #cc5e00 100%); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.pg-btn:hover, .pg-btn:focus-visible { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0,0,0,.2); }
/* bootstrap.css has ":root body a { color: black }", which outranks .pg-btn on <a> buttons */
:root body a.pg-btn, :root body a.pg-btn:hover, :root body a.pg-btn:focus-visible { color: #fff; }

.pg-form .form-label { font-weight: 600; }
.pg-form .form-control { border-radius: 10px; padding: .65rem .9rem; }
.pg-form .form-control:focus { border-color: #f57301; box-shadow: 0 0 0 .2rem rgba(245,115,1,.2); }
.pg-form textarea.form-control { min-height: 160px; }

/* Site footer (footer.inc) */
.site-footer { background: #fff; margin-top: 3rem; position: relative; color: #555; font-size: .95rem; }
.site-footer::before { content: ""; display: block; height: 5px; background: linear-gradient(90deg, #f57301 0%, #912727 100%); }
.site-footer h2 { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #000; margin-bottom: 1rem; }
.site-footer p { line-height: 1.6; }
.site-footer-links, .site-footer-contact { list-style: none; padding: 0; margin: 0; }
.site-footer-links li { margin-bottom: .5rem; }
.site-footer a { color: #555; text-decoration: none; transition: color .2s ease; }
.site-footer a:hover, .site-footer a:focus-visible { color: #cc5e00; }
.site-footer-contact li { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: .75rem; }
.site-footer-contact i { color: #cc5e00; font-size: 1.1rem; line-height: 1.4; }
.site-footer-bottom { background: #f6f6f6; border-top: 1px solid #e4e4e4; padding: 1rem 0; font-size: .85rem; color: #666; }
