/*
Theme Name: Affaires Romandes
Template: generatepress
Theme URI: https://avivo-neju.ch
Description: Child theme for Affaires Romandes. Palette: ocean-deep. Font: Playfair Display / Source Sans 3.
Version: 1.0
*/

/* ===== FONTS ===== */
@font-face {
  font-family: 'Source Sans 3';
  src: url('assets/fonts/SourceSans3-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Source Sans 3';
  src: url('assets/fonts/SourceSans3-Italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Source Sans 3';
  src: url('assets/fonts/SourceSans3-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('assets/fonts/PlayfairDisplay-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('assets/fonts/PlayfairDisplay-BoldItalic.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* ===== PALETTE — ocean-deep =====
   primary: #1A56DB | secondary: #6B7280 | accent: #3B82F6
   surface: #EFF6FF | background: #FFFFFF | text: #1F2937
*/

/* Body */
body {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 400;
  color: #1F2937;
  background-color: #FFFFFF;
}

/* Headings */
h1, h2, h3, h4, h5, h6,
.entry-title,
.page-title,
.widget-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
}

/* Links */
a {
  color: #1A56DB;
}
a:hover {
  color: #3B82F6;
  text-decoration: underline;
}

/* Buttons */
.button,
button,
input[type="submit"],
body .search-form .search-submit {
  background-color: #1A56DB;
  color: #FFFFFF;
  border: none;
  border-radius: 4px;
}
.button:hover,
button:hover,
input[type="submit"]:hover,
body .search-form .search-submit:hover {
  background-color: #3B82F6;
  color: #FFFFFF;
}

/* Navigation */
.main-navigation a {
  color: #1F2937;
}
.main-navigation a:hover,
.main-navigation .current-menu-item > a {
  color: #1A56DB;
}
.main-navigation ul ul {
  background-color: #FFFFFF;
  border: 1px solid #E5E7EB;
}

/* Header */
.site-header {
  background-color: #FFFFFF;
  border-bottom: 2px solid #1A56DB;
}

/* Content area */
.inside-article,
.inside-right-sidebar,
.inside-left-sidebar {
  background-color: #FFFFFF;
}

/* Post cards */
.post-image img {
  border-radius: 4px;
}

/* Footer */
.site-footer {
  background-color: #1F2937;
  color: #E5E7EB;
  padding: 20px 0;
}
.site-footer a {
  color: #93C5FD;
}
.site-footer a:hover {
  color: #FFFFFF;
}
.site-info {
  color: #E5E7EB;
  text-align: center;
}

/* Category pages — archive description */
.archive-description {
  background-color: #EFF6FF;
  border-left: 4px solid #1A56DB;
  padding: 1em 1.5em;
  margin-bottom: 2em;
}

/* Search form */
.search-form .search-field {
  border: 1px solid #E5E7EB;
  border-radius: 4px;
}
