/* Featured employer showcase (owner INBOX #64, 2026-10-20; inc/avi-employer-showcase.php).
   Loaded on /post-a-job/ (the "Your company profile" card + form), company pages (/aviation-jobs/employer/<slug>/)
   and the operators directory (the featured logo). Mobile first (430 px). Portal styles = page-post-a-job.php
   (.avipaj-*); page colours = the jobs landing pages (navy, ice, gold). */

/* ── Portal card + form ─────────────────────────────────────────────── */
.avisc-card { margin-top: 16px; scroll-margin-top: 80px; }
.avisc-card .avisc-intro { margin: 0 0 16px; }
.avisc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0; }
.avisc-actions .avipaj-btn, body.fsf-dark-theme .avisc-actions a.avipaj-btn { display: inline-block; text-decoration: none; text-align: center; color: #060f1e; }
@media (max-width: 519px) { .avisc-actions .avipaj-btn { width: 100%; box-sizing: border-box; } }
body .avisc-viewpage, body.fsf-dark-theme a.avisc-viewpage { color: #e8a020; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.avisc-form { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.08); }
.avisc-form[hidden] { display: none; }
.avisc-form-h { font-family: "Bebas Neue", Impact, sans-serif; font-weight: 400; font-size: 20px; letter-spacing: .03em; color: #e8eef5; margin: 0 0 10px; }
.avisc-form .avipaj-label { margin: 18px 0 6px; }
.avisc-form .avipaj-input { display: block; width: 100%; box-sizing: border-box; }
body .avisc-form .avisc-ta { min-height: 140px; resize: vertical; line-height: 1.5; font-family: inherit; }
.avisc-file {
	display: block; width: 100%; box-sizing: border-box; padding: 12px; border: 1px dashed rgba(127, 203, 232, .45); border-radius: 8px;
	background: #132544; color: #cfe3f5; font-size: 14px;
}
.avisc-file::file-selector-button {
	margin-right: 12px; padding: 8px 14px; border: 1px solid rgba(232,160,32,.55); border-radius: 6px; background: transparent; color: #e8a020; font-weight: 600; cursor: pointer;
}
.avisc-help { margin: 6px 0 0; }
.avisc-picked { margin: 6px 0 0; font-size: 13px; color: #a9cfe6; min-height: 0; }
.avisc-picked:empty { display: none; }
.avisc-picked.is-bad { color: #ff8f85; }
.avisc-check { display: flex; align-items: flex-start; gap: 10px; margin: 18px 0 16px; font-size: 14px; color: #e8eef5; line-height: 1.45; cursor: pointer; }
.avisc-check input { width: 20px; height: 20px; margin: 0; flex: 0 0 auto; accent-color: #e8a020; }
.avisc-send { width: 100%; }
@media (min-width: 520px) { .avisc-send { width: auto; } }
.avisc-wait { margin: 14px 0 0; }
.avisc-card .avipaj-result { margin: 0 0 14px; }

/* locked (not featured) */
.avisc-card--locked { position: relative; border-style: dashed !important; border-color: rgba(232,160,32,.35) !important; }
.avisc-lock { margin: 0 0 6px; font-size: 20px; line-height: 1; opacity: .85; }
.avisc-card--locked .avife-form, .avisc-card--locked .avife-form button { width: 100%; }
@media (min-width: 520px) { .avisc-card--locked .avife-form, .avisc-card--locked .avife-form button { width: auto; } }

/* ── Company page: cover + label above the H1 ───────────────────────── */
.avisc-top { margin: 0 0 14px; }
.avisc-cover { position: relative; margin: 0 0 12px; border-radius: 10px; overflow: hidden; background: #0c1a30; aspect-ratio: 16 / 9; }
.avisc-cover .avisc-cover-img { position: absolute; inset: 0; display: block; width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; }
@media (min-width: 760px) {
	.avisc-cover { margin: 0 0 14px; border-radius: 14px; aspect-ratio: 3 / 1; border: 1px solid rgba(127, 203, 232, .25); }
}
.avisc-badge { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0; }
body .avisc-jump, body.fsf-dark-theme a.avisc-jump { color: #7fcbe8; font-size: 14px; text-decoration: none; }
.avisc-jump:hover { text-decoration: underline; }

/* ── Company page: the showcase sections ────────────────────────────── */
.avisc {
	margin: 28px 0 24px; padding: 20px 16px; border: 1px solid rgba(90, 167, 200, .45); border-radius: 14px;
	background: linear-gradient(180deg, rgba(31, 90, 128, .22), rgba(12, 26, 48, .6) 160px);
	box-shadow: 0 0 0 1px rgba(90, 167, 200, .10), 0 10px 32px -16px rgba(79, 179, 217, .35);
	scroll-margin-top: 80px;
}
@media (min-width: 760px) { .avisc { padding: 24px 28px; } }
.avisc-h2 { font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: 26px; letter-spacing: .5px; color: #e8eef5; margin: 0 0 2px; }
.avisc-from { margin: 0 0 18px; font-size: 13px; color: #a9cfe6; }
.avisc-sec { margin: 0 0 22px; }
.avisc-sec:last-of-type { margin-bottom: 14px; }
.avisc-h3 { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #e8a020; margin: 0 0 8px; }
.avisc-sec p, .avisc-sec li { font-size: 15px; line-height: 1.6; color: #cfdbe8; }
.avisc-sec p { margin: 0 0 10px; max-width: 820px; }
.avisc-sec ul:not(.avisc-gallery) { margin: 0 0 10px 1.1em; padding: 0; max-width: 820px; }
.avisc-sec ul:not(.avisc-gallery) li { margin: 0 0 4px; }
/* Gallery adapts to the number of photos (owner INBOX #73.1): spans come from avi_sc_gallery_layout(), so no row
   ends in an empty box. Phone = 2 columns (odd count: first photo full width); desktop = 6 tracks (3 / 2 / 1 per row). */
.avisc-gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.avisc-gallery li { margin: 0; min-width: 0; }
.avisc-gi--m2 { grid-column: span 2; }
.avisc-gallery .avisc-gi--m2 a { aspect-ratio: 16 / 9; }
@media (min-width: 760px) {
	.avisc-gallery { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
	.avisc-gallery--n1 { max-width: 820px; }
	.avisc-gallery li.avisc-gi--d2 { grid-column: span 2; }
	.avisc-gallery li.avisc-gi--d3 { grid-column: span 3; }
	.avisc-gallery li.avisc-gi--d6 { grid-column: span 6; }
	.avisc-gallery .avisc-gi a { aspect-ratio: 4 / 3; }
	.avisc-gallery .avisc-gi--d3 a, .avisc-gallery .avisc-gi--d6 a { aspect-ratio: 16 / 9; }
}
.avisc-gallery a { display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; background: #0c1a30; }
.avisc-gallery .avisc-gimg { display: block; width: 100% !important; height: 100% !important; object-fit: cover; transition: transform .2s ease; }
.avisc-gallery a:hover .avisc-gimg, .avisc-gallery a:focus .avisc-gimg { transform: scale(1.03); }
.avisc-video { position: relative; max-width: 820px; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden;
	background: radial-gradient(circle at 50% 45%, #1f5a80, #0c1a30 70%); border: 1px solid rgba(127, 203, 232, .3); }
.avisc-video-play {
	position: absolute; inset: 0; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
	border: 0; background: transparent; color: #fff; cursor: pointer; font: inherit;
}
.avisc-video-icon { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: rgba(232,160,32,.92); color: #060f1e; font-size: 24px; padding-left: 4px; box-sizing: border-box; }
.avisc-video-txt { font-weight: 700; font-size: 15px; }
.avisc-video-play:focus-visible { outline: 3px solid #e8a020; outline-offset: -3px; }
.avisc-sec p.avisc-video-note { margin: 6px 0 0; font-size: 12.5px; color: #8ea3bc; }
.avisc-iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.avisc-provided { display: inline-block; margin: 0 0 10px !important; padding: 2px 8px; border: 1px solid rgba(232,160,32,.35); border-radius: 3px; font-size: 12.5px !important; color: #e8a020 !important; }
.avisc-note { margin: 4px 0 0; font-size: 12.5px; color: #8ea3bc; }

/* ── Operators list: the featured logo before the name ──────────────── */
.avisc-oplogo { display: inline-flex; align-items: center; justify-content: center; height: 28px; max-width: 96px; margin-right: 10px; padding: 3px 6px; border-radius: 5px; vertical-align: middle; box-sizing: border-box; }
.avisc-oplogo--light { background: #fff; }
.avisc-oplogo--dark { background: rgba(255,255,255,.06); }
.avisc-oplogo img { display: block; max-height: 22px; max-width: 84px; width: auto; height: auto; }
