/*
Theme Name: Virage Mécanique
Template: generatepress
Version: 1.0.0
Author: Phenotype
Text Domain: virage-mecanique
*/

/* === Self-hosted fonts === */
/* latin-ext */
@font-face {
  font-family: 'Libre Baskerville';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/kmKWZrc3Hgbbcjq75U4uslyuy4kn0qNccR04_RUJeby2OU36SjNDlufifQ.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Libre Baskerville';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/kmKWZrc3Hgbbcjq75U4uslyuy4kn0qNccR04_RUJeby2OU36SjNNluc.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Libre Baskerville';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/kmKnZrc3Hgbbcjq75U4uslyuy4kn0qNXaxMICA.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Libre Baskerville';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/kmKnZrc3Hgbbcjq75U4uslyuy4kn0qNZaxM.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Libre Baskerville';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/kmKnZrc3Hgbbcjq75U4uslyuy4kn0qNXaxMICA.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Libre Baskerville';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/kmKnZrc3Hgbbcjq75U4uslyuy4kn0qNZaxM.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/V8mDoQDjQSkFtoMM3T6r8E7mPb54C-s0.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/V8mDoQDjQSkFtoMM3T6r8E7mPbF4Cw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/V8mDoQDjQSkFtoMM3T6r8E7mPb54C-s0.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/V8mDoQDjQSkFtoMM3T6r8E7mPbF4Cw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

body {
  font-family: 'Libre Baskerville', Georgia, serif;
}

h1, h2, h3, h4, h5, h6, .site-title, .main-navigation a, .widget-title {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
}

.site-tagline-heading {
  display: block;
  text-align: center;
  padding: 0.75rem 1rem;
  font-size: 1.15rem;
  color: #334155;
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 400;
  background: #F8FAFC;
}

.footer-widgets {
  background: #1e293b;
  color: #e2e8f0;
}

.footer-widgets .widget-title {
  color: #ffffff;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-widgets a {
  color: #e2e8f0;
}

.footer-widgets a:hover {
  color: #ffffff;
}

.site-footer .copyright-bar {
  background: #0f172a;
  color: #94a3b8;
  font-size: 0.85rem;
}

.site-footer .copyright-bar a {
  color: #94a3b8;
}

.wp-block-button__link,
button,
input[type="submit"] {
  background-color: #334155;
  color: #ffffff;
}

.wp-block-button__link:hover,
button:hover,
input[type="submit"]:hover {
  background-color: #475569;
}

.sidebar .widget {
  background: #ffffff;
  border: 1px solid #E2E8F0;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.sidebar .widget-title {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #334155;
}

.featured-post-card {
  margin-bottom: 2rem;
}

.featured-post-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .post-grid {
    grid-template-columns: 1fr;
  }
}

.category-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.category-cards a {
  display: inline-block;
  padding: 0.75rem 1rem;
  border: 1px solid #E2E8F0;
  border-radius: 4px;
  text-decoration: none;
  background: #F8FAFC;
}

.category-cards a:hover {
  background: #334155;
  color: #ffffff;
  border-color: #334155;
}

.home-hero {
  text-align: center;
  padding: 3rem 1rem 2.5rem;
  background: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 100%);
  margin-bottom: 2rem;
}

.home-hero h1 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  color: #0F172A;
}

.home-hero p {
  font-size: 1.1rem;
  color: #475569;
  max-width: 640px;
  margin: 0 auto;
}

/* Mobile header tagline */
@media (max-width: 1024px) {
  .inside-navigation::before {
    content: "La route, les bons choix, les vraies expériences.";
    display: block;
    font-size: 0.75rem;
    color: #475569;
    padding: 0.5rem 1rem;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.recent-posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.recent-posts-grid .recent-post-item {
  border: 1px solid #E2E8F0;
  padding: 1rem;
  background: #ffffff;
}

.recent-posts-grid .post-thumbnail img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  margin-bottom: 0.75rem;
}

.recent-posts-grid .entry-title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.recent-posts-grid .entry-summary {
  font-size: 0.9rem;
  color: #475569;
}

@media (max-width: 768px) {
  .recent-posts-grid {
    grid-template-columns: 1fr;
  }
}
