:root {
    --dark-navy: #0f1419;
    --deep-blue: #1a1a2e;
    --medium-blue: #16213e;
    --bone-white: #E8E3D3;
    --light-gray: #c9c9c9;
    --dark-gray: #414141;
}

@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/Cinzel-Regular.otf) format('woff2');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/CormorantGaramond-Light.ttf) format('woff2');
}

@media print {
    body {
        color: var(--dark-navy) !important;
        line-height: normal !important;
    }
    
    a {
        color: var(--dark-navy) !important;
    }

    nav {
        display: none;
    }
}

* {
    margin: 0;
    box-sizing: border-box;
}

blockquote {
    padding-left: 50px;
    border-left: 5px solid black;
}

body {
    font-family: 'Cinzel', 'Georgia', serif;
    background: linear-gradient(135deg, var(--dark-navy) 0%, var(--deep-blue) 50%, var(--medium-blue) 100%);
    color: var(--bone-white);
    min-height: 100vh;
    line-height: 1.6;
}

header {
    background: rgba(10, 10, 10, 0.8);
    padding: 3rem 2rem;
    text-align: center;
    border-bottom: 1px solid rgba(232, 227, 211, 0.2);
}

h1 {
    text-align: center;
}

a {
    color: var(--bone-white);
}

h1, h2, h3 {
    margin-top: 1em;
    font-family: 'Cormorant Garamond';
}

.site-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 600;
    color: var(--bone-white);
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
}

.site-subtitle {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    color: var(--light-gray);
    opacity: 0.8;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 400;
}

nav {
    background: rgba(15, 20, 25, 0.9);
    border-bottom: 1px solid rgba(232, 227, 211, 0.1);
}

main {
    font-family: 'Cormorant Garamond';
    font-size: 1.2rem;
    text-align: justify;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.nav-menu {
    display: flex;
    justify-content: center;
    gap: 0;
    list-style: none;
}

.nav-link {
    font-family: 'Cinzel', serif;
    display: block;
    padding: 1.2rem 2rem;
    color: var(--bone-white);
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border-right: 1px solid rgba(232, 227, 211, 0.1);
}

.nav-item:last-child .nav-link {
    border-right: none;
}

.nav-link:hover {
    background: rgba(232, 227, 211, 0.1);
    color: var(--light-gray);
}

.hero-section {
    text-align: center;
    margin-bottom: 5rem;
    padding: 3rem 2rem;
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--bone-white);
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.hero-text {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--light-gray);
    max-width: 800px;
    margin: 0 auto;
}

.sections-grid {
    display: grid;
    /* grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); */
    grid-template-columns: repeat(auto-fit, minmax(280px, 0.33fr));
    gap: 2rem;
    margin: 3rem 0;
}

.sections-grid-category p {
    font-family: 'Cormorant Garamond', serif;
}

.section-card {
    background: rgba(15, 20, 25, 0.6);
    border: 1px solid rgba(232, 227, 211, 0.2);
    border-radius: 8px;
    padding-top: 0.5rem;
    padding-bottom: 2.5rem;
    padding-left: 2rem;
    padding-right: 2rem;
    transition: all 0.3s ease;
    text-align: center;
}

.section-card.section-disabled {
    background-color: var(--dark-gray);
}

.section-card:hover {
    transform: translateY(-5px);
    background: rgba(15, 20, 25, 0.8);
    border-color: rgba(232, 227, 211, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.section-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: var(--bone-white);
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.section-description {
    font-family: 'Cinzel', serif;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--light-gray);
    opacity: 0.9;
}

.section-card a {
    text-decoration: none;
}

.blog-preview {
    background: rgba(15, 20, 25, 0.6);
    border: 1px solid rgba(232, 227, 211, 0.2);
    border-radius: 8px;
    padding: 3rem 2rem;
    margin: 4rem 0;
}

.blog-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--bone-white);
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: 1px;
}

.blog-post {
    border-bottom: 1px solid rgba(232, 227, 211, 0.1);
    padding: 1.5rem 0;
    transition: all 0.3s ease;
}

.blog-post:hover {
    background: rgba(232, 227, 211, 0.03);
}

.blog-post:last-child {
    border-bottom: none;
}

.blog-preview > .blog-post > a {
    text-decoration: none;
}

.blog-preview > .blog-post {
    display: flex;
    grid-template-columns: 1fr 99fr;
}

.blog-preview > .blog-post > img {
    margin-right: 0.5em;
    margin-left: 0.5em;
}

.post-date {
    font-family: 'Cinzel', serif;
    color: var(--light-gray);
    font-size: 0.85rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.post-title {
    font-family: 'Cormorant Garamond', serif;
    color: var(--bone-white);
    margin: 0.5rem 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.post-excerpt {
    font-family: 'Cinzel', serif;
    opacity: 0.8;
    font-size: 0.95rem;
    color: var(--light-gray);
    line-height: 1.6;
}

footer {
    background: rgba(10, 10, 10, 0.8);
    border-top: 1px solid rgba(232, 227, 211, 0.2);
    text-align: center;
    margin-top: 1rem;
}

.footer-text {
    font-family: 'Cinzel', serif;
    opacity: 0.7;
    font-style: italic;
    color: var(--light-gray);
    padding: 1rem;
}

@media (max-width: 768px) {
    .site-title { font-size: 2rem; }
    .nav-menu { flex-direction: column; }
    .nav-link { border-right: none; border-bottom: 1px solid rgba(232, 227, 211, 0.1); }
    .hero-title { font-size: 2rem; }
    .sections-grid { grid-template-columns: 1fr; }
}

figure.image {
  display: block;
  clear: both;
  padding: 5px;
  max-width: 100%;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

figure.image > div {
  border: thin #c0c0c0 solid;
  display: inline-block;
  padding: 5px;
  max-width: 100%;
  text-align: center;
}

figure.image img {
  max-width: 100%;
}

figure.image figcaption {
  background-color: #222;
  color: #fff;
  font: smaller sans-serif;
  padding: 3px;
  text-align: center;
}

figure.image-description {
  border: thin #c0c0c0 solid;
  padding: 5px;
  max-width: 100%;
  display: flex;
  flex-direction: row;
 
}

figure.image-description > .image.left {
  flex-grow: 1;
  display: inline-block;
  text-align: center;
}

figure.image-description figcaption {
  background-color: #222;
  color: #fff;
  font: smaller sans-serif;
  padding: 3px;
  text-align: center;
}

figure.image-description > .image-right {
    flex-grow: 99;
    position: relative;
    padding-left: 1rem;
    padding-right: 1rem;
    font-size: 1rem;
}

figure.image-description footer {
  background: #222;
  display: block;
  border-top: 1px solid rgba(232, 227, 211, 0.2);
  padding: 0;
  text-align: center;
  margin-top: 0.1rem;   
}

.post > header {
    padding: 0;
    background: none;
}

.post > header > img {
    width: 100%;
}

.link-chronique {
    background: rgba(15, 20, 25, 0.6);
    border: 1px solid rgba(232, 227, 211, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;    
}

.link-chronique > a > img {
    max-width: 50px;
    vertical-align: middle;
}

.link-chronique > a {
    text-decoration: none;
}

.mentions {
    border-top: 1px solid var(--dark-gray);
    display: flex;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    justify-content: center;
}

.mentions .mention h1 {
    font-size: 1rem;
}
.mentions .mention a {
    text-decoration: none;
}

.pagination {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.pagination .previous {
    text-align: left;
}

.pagination .page_number {
    text-align: center;
}

.pagination .next {
    text-align: right;
}