/*
 * Theme Name: Prestige Immo
 * Theme URI: https://www.wprank.net
 * Description: Theme for Prestige Immo Neuf
 * Version: 1.0.0
 * Author: CreaNico / WP Rank
 * Author URI: https://www.creanico.fr
 * Template: seomag
 * Text Domain: prestige-immo
 */

@font-face {
    font-family: "Aespira";
    font-display: swap;
    src: url("/wp-content/themes/prestige-immo/fonts/Aespira-Thin.otf") format("opentype");
}

/* Light theme only - no dark theme support */
body.light {
    background-color: white;
}

/* Programme single page styles */
body.light .single.programme .header .title {
    margin-top: 36px;
}

body.light .single.programme .programme-location .city {
    font-weight: 600;
}

body.light .single.programme .programme-lots {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

body.light .single.programme .programme-lots h2 {
    margin-top: 0;
}

body.light .entries .entry.programme a .details {
    /* background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%); */
    display: block;
    text-align: center;
}

body.light .entries .entry.programme .thumbnail {
    aspect-ratio: 1/1;
    background-size: cover;
    background-position: center;
    height: unset;
}

/* Category archive header */
body.light main.loop.programme .loop-header {
    background-color: var(--seomag-color-main, #B29967);
}

body.light main.loop.programme .header {
    padding: 24px;
}

body.light main.loop.programme .header h1 {
    color: white !important;
    font-family: Aespira;
    font-size: 40px;
    font-weight: 700;
    letter-spacing: 1.5px;
    line-height: 60px;
    padding: 32px;
    text-transform: uppercase;
}

/* Quand la loop est créée par un shortcode */
.loop-layout.shortcode .iwp__property {
    margin-top: 0;;
}

body.light main.loop.programme .loop-header .header h1,
body.light main.loop.programme .loop-header .header p {
    color: white;
}

/* Pagination */
body.light main.loop .loop-layout .pagination a:not(.hellip),
body.light main.loop .loop-layout .pagination span:not(.hellip) {
    background-color: lightgrey;
}

/* Breadcrumb */
body.light main.loop .loop-breadcrumb .breadcrumb a.breadcrumb__link span {
    color: black;
}
