
@charset "UTF-8";

/* =========================================================
   PosterTeam – Modern Homepage (Bootstrap 5)
   No grids.js, legacy .thumbnail or .well
   ========================================================= */


/* ---------------------------------------------------------
   1. Poster gallery – layout and cards
   --------------------------------------------------------- */

.poster-grid-column {
    display: flex;
}

.poster-grid-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    padding: 10px;
    margin-bottom: 24px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 3px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .08);
    transition: box-shadow .2s ease, transform .2s ease;
}

.poster-grid-card:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, .15);
    transform: translateY(-3px);
}

.poster-grid-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 260px;
    min-width: 0;
    padding: 5px;
    background: #fff;
}

.poster-grid-image .link-p {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    max-height: 100%;
}

.poster-grid-image .posterthumb {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 250px;
    object-fit: contain;
}

.poster-grid-caption {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 8px 5px;
    border-top: 1px solid #eee;
}

.poster-grid-title {
    margin: 0;
    font-size: 15px;
    line-height: 1.3;
    text-align: center;
}


/* ---------------------------------------------------------
   2. Poster gallery – tablet
   --------------------------------------------------------- */

@media (min-width: 576px) and (max-width: 991.98px) {

    .poster-grid-image {
        height: 230px;
    }

    .poster-grid-image .posterthumb {
        max-height: 220px;
    }

    .poster-grid-caption {
        min-height: 55px;
    }
}


/* ---------------------------------------------------------
   3. Poster gallery – mobile
   --------------------------------------------------------- */

@media (max-width: 575.98px) {

    .poster-grid-card {
        padding: 6px;
        margin-bottom: 16px;
    }

    .poster-grid-image {
        height: 190px;
        padding: 3px;
    }

    .poster-grid-image .posterthumb {
        max-height: 180px;
    }

    .poster-grid-caption {
        min-height: 55px;
        padding: 8px 3px;
    }

    .poster-grid-title {
        font-size: 14px;
        line-height: 1.25;
    }
}

/* ---------------------------------------------------------
   5. Featured Poster – clean editorial design
   --------------------------------------------------------- */

.featured-pick {
    padding: 0;
    margin: 0;
    text-align: center;
}

.featured-pick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.featured-pick-link img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 340px;
    object-fit: contain;
}

.featured-pick-label {
    margin: 8px 0 4px;
    font-size: 13px;
    color: #888;
}

.featured-pick-title {
    display: block;
    padding: 0;
    margin: 0;
    background: transparent;
    color: #428bca;
    font-size: 13px;
    line-height: 1.4;
}

.featured-pick-link:hover .featured-pick-title {
    text-decoration: underline;
}


/* Featured Poster – responsive alignment */

@media (min-width: 992px) {

    .featured-pick {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .featured-pick-link {
        width: 100%;
    }
}

@media (min-width: 1400px) {

    .featured-pick {
        min-height: 403px;
    }
}


/* ---------------------------------------------------------
   6. Sidebar – compact quicklinks
   --------------------------------------------------------- */

.frontpage-quicklinks {
    margin-top: 8px;
}

.frontpage-quicklink {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 11px 4px;
    border-top: 1px solid #e5e5e5;
    text-align: left;
}

.frontpage-quicklink > .fa {
    flex: 0 0 22px;
    margin-top: 2px;
    font-size: 17px;
    color: #888;
}

.frontpage-quicklink > div {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.frontpage-quicklink h3 {
    margin: 0 0 3px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-align: left;
}

.frontpage-quicklink p {
    margin: 0 0 3px;
    font-size: 12px;
    line-height: 1.4;
    color: #777;
    text-align: left;
}

.frontpage-quicklink a {
    font-size: 12px;
    color: #428bca;
    text-align: left;
    text-decoration: none;
}

.frontpage-quicklink a:hover {
    text-decoration: underline;
}


/* ---------------------------------------------------------
   7. Homepage – spacing below main banner
   --------------------------------------------------------- */

.main-container > .row.pt > .col-lg-9 > div > h1 {
    margin-top: 12px;
}

/* ---------------------------------------------------------
   8. Browse posters by Country
   --------------------------------------------------------- */

.frontpage-country-list {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
}

.frontpage-country-list .list-group-item {
    display: block;
    padding: 7px 10px 7px 38px;
    margin: 0;
    border: 0;
    border-bottom: 1px solid #f5f5f5;
    border-radius: 0;
    background: transparent;
    color: #444;
    font-size: 13px;
    line-height: 1.4;
    text-decoration: none;
    transition: background-color .15s ease, color .15s ease;
}

.frontpage-country-list .list-group-item:hover,
.frontpage-country-list .list-group-item:focus {
    background: #f4f7fa;
    color: #428bca;
}

.frontpage-country-list .list-group-item:last-child {
    border-bottom: 0;
}
/* Flytt Recently Acquired-overskriften litt opp */
.frontpage-recent-heading {
    margin-top: -20px;
}