/*
The site's own style rules, loaded by every layout right after the theme (css/theme.min.css).
The theme is a bought, minified file: a rule of ours that more than one page needs goes here,
never into the theme and never copied from one page's <style> block into another's.
First rules: design review of 18 Nov 2026 (the header logo, the Co-pilot button, the picture
slots, the cards of the Job Tools page).

There is one other home for shared rules, templates/shared/site-styles.html, which every
layout prints into the page itself. It holds only what a page must have even when this file
has not arrived or is an old copy in the browser: the page shell (the footer at the bottom of
a short page) and the site's orange button of the visitors' bar. Everything else shared
belongs here. No selector is in both, and a rule moves from one to the other, never copies.
*/

/*
The visitors' header logo. The theme shows every header logo 88px wide (.navbar-brand, 5.5rem),
which leaves the words "My Island Job" about 11px high. The wordmark logo (the two visitors'
headers) is shown 110px wide on a phone and 140px on a computer; the members' and employers'
headers show the island alone and keep the theme's width. The logo is placed over the bar, not
in it, so the wider logo does not make the bar taller.

On a small laptop (992 to 1199 wide) the visitors' bar has no room to spare: with the menu's
entries at their full padding even 110px breaks "Find Jobs", "Log In" and "Get Started Free"
over two lines. There the logo stays at 110px and each entry gives up 6px on either side.
*/
.navbar-brand.navbar-brand-wordmark {
    width: 110px;
}
@media (min-width: 1200px) {
    .navbar-brand.navbar-brand-wordmark {
        width: 140px;
    }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
    #mainNav .navbar-nav .nav-link {
        padding-left: 0.625rem !important;
        padding-right: 0.625rem !important;
    }
}

/*
The Co-pilot button: white with an orange outline and orange words, so it reads over the home
page's dark photo and over the job list's blue banner, and stays second to an orange button
beside it. Hover and keyboard focus fill it orange.
*/
.btn-copilot-outline,
.btn-copilot-outline:visited {
    background-color: #fff;
    border: 2px solid orangered;
    color: orangered;
    font-weight: 600;
    text-transform: none;
}
.btn-copilot-outline:hover,
.btn-copilot-outline:focus,
.btn-copilot-outline:active {
    background-color: orangered;
    border-color: orangered;
    color: #fff;
}

/*
A picture slot of a fixed shape. The site cuts each uploaded picture to the slot's size, but an
upload smaller than the slot is left as it is (never enlarged), so the slot gives the shape and
the picture fills it, cut at the edges when its own shape differs. The --empty slot is the plain
block a card shows when its picture is missing from the admin, so the card keeps its shape.
*/
.picture-slot {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}
.picture-slot-5x2 { aspect-ratio: 5 / 2; }
.picture-slot-5x4 { aspect-ratio: 5 / 4; }
.picture-slot-19x11 { aspect-ratio: 19 / 11; }
.picture-slot-1x1 { aspect-ratio: 1 / 1; }
.picture-slot-empty {
    background-color: #f1f3f5;
}

/*
The cards of the Job Tools page: the tool's name in bold over one sentence in the page's normal
dark text (the whole card is the link, so the theme would print both in link blue). Two cards
sit side by side on a phone, so the text is a little smaller there.
*/
.tool-card,
.tool-card:hover,
.tool-card:focus {
    color: inherit;
    text-decoration: none;
}
.tool-card .tool-card-name {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 1rem 0 0.25rem;
}
@media (max-width: 575.98px) {
    .tool-card .tool-card-name {
        font-size: 1rem;
    }
    .tool-card p {
        font-size: 0.875rem;
    }
}

/* The picture in the job list's Co-pilot banner: a round photo with its own white ring. */
.copilot-banner-picture {
    width: 70px;
    height: 70px;
    max-width: none;
}
