@charset "UTF-8";
/* ***********************************************************************
 *
 *  File:   index.css
 *
 *  Descr:  Styles specific to index.php.
 *
 *  Author: Jomar Hønsi, 2026
 *
 * ************************************************************************/

p.credits {
    font-size: 0.85em;
    color: #555;
}

p.credits a {
    text-decoration: underline;
}

p.intro {
    font-size: 1.1em;
    color: #444;
    margin-bottom: 0;
}

/* Work-in-progress notice: the most important caveat on the page, so it gets a box rather than small grey text. */
p.notice {
    margin: 0.8em 1em 0;
    padding: 0.6em 0.9em;
    font-size: 0.9em;
    color: #5a4522;
    background: #fff8dc;
    border: 1px solid #e2cf9a;
    border-left: 4px solid #b8860b;
    border-radius: 3px;
}

h2.index-group-title {
    margin: 1.4em 0 0.4em;
    padding: 0 0 0.2em;
    font-size: 1.05em;
    text-align: left;
    color: #5a4522;
    background: none;
    border-bottom: 1px solid #c9b98f;
}

.index-group-title + .index-cards {
    margin-top: 0;
}

.intro-row {
    display: flex;
    align-items: stretch;
    gap: 1em;
    margin-bottom: 1em;
}

.intro-row .intro-text {
    flex: 1;
}

.footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.2em 2em;
    margin-top: 1.5em;
    padding: 0.5em 1em;
    background: linear-gradient(to bottom, var(--bg-color), var(--bg-body-light));
    border-radius: 0;
    font-size: 0.8em;
    color: #173404;
}

.footer a,
.footer a:visited,
.footer a:hover {
    color: inherit;
    text-decoration: underline;
}

#hasek {
    /* Placed first in the markup (so it can float on phones) but shown to the right of the text. */
    order: 1;
    height: 100%;
    width: auto;
    max-width: 255px;
    object-fit: cover;
    border: 1px solid #aaa;
    border-radius: 5px;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.18);
    background: #fff;
}