@charset "UTF-8";
:root {
  --bg-color: #f5f5f5;
  --text-color: #333333;
  --title-color: #222222;
  --border-color: #dddddd;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --card-bg: #ffffff;
  --card-border: rgba(0, 0, 0, 0.125);
  --navbar-bg: #f8f9fa;
  --navbar-active: #007bff;
  --navbar-text: #333333;
  --badge-bg: #f8f9fa;
  --badge-text: #333333;
  --button-bg: rgba(107, 117, 151, 0.3);
  --modal-bg: #ffffff;
  --modal-text: #333333;
  --source-bg: #f8f9fa;
  --footer-bg: #343a40;
  --footer-text: #ffffff;
  --transition-speed: 0.3s;
}

[data-bs-theme=dark] {
  --bg-color: #101524;
  --text-color: #f2ddcc;
  --title-color: #f2ddcc;
  --border-color: #444444;
  --shadow-color: rgba(0, 0, 0, 0.4);
  --card-bg: #242424;
  --card-border: rgba(255, 255, 255, 0.125);
  --navbar-bg: #242424;
  --navbar-active: #0d6efd;
  --navbar-text: #e0e0e0;
  --badge-bg: #333333;
  --badge-text: #e0e0e0;
  --modal-bg: #242424;
  --modal-text: #e0e0e0;
  --source-bg: #333333;
  --footer-bg: #1a1a1a;
  --footer-text: #e0e0e0;
}

@font-face {
  font-family: "Ginto";
  src: url("../font/Ginto-bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Ginto";
  src: url("../font/Ginto-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Ginto";
  src: url("../font/Ginto-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Ginto";
  src: url("../font/Ginto-Black.woff.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Ginto";
  src: url("../font/Ginto-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
/* === Styles de base === */
body {
  font-family: "Ginto", Arial, sans-serif !important;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0;
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: background-color var(--transition-speed), color var(--transition-speed);
}

* {
  box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--title-color);
  transition: color var(--transition-speed);
}

h1 {
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 10px;
  transition: border-color var(--transition-speed);
}

p {
  font-size: 17px !important;
  line-height: 26px;
}

.row > * {
  margin: 0 0;
}

/* === Page titre === */
.page-title {
  background: initial;
  color: white;
  padding: 15px 0;
}
.page-title h1 {
  font-size: 20px;
}

/* === Barre de navigation et éléments interactifs === */
.navbar {
  background-color: var(--navbar-bg) !important;
  transition: background-color var(--transition-speed);
  border-radius: 0.375rem;
}
.navbar .nav-link {
  color: var(--navbar-text);
  transition: color var(--transition-speed);
}
.navbar .nav-link.active, .navbar .nav-link:hover {
  color: var(--navbar-active);
}

article a {
  color: var(--text-color);
}

/* === Contrôles d'interface === */
.theme-switch-wrapper {
  display: flex;
  align-items: center;
}

#theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-speed);
}
#theme-toggle:hover {
  transform: scale(1.05);
}

/* === Sélecteur de sources === */
.source-selector {
  margin-bottom: 1.5rem;
}
.source-selector h5 {
  margin: 0;
}

#sources-container {
  background-color: var(--source-bg) !important;
  padding: 15px;
  border-radius: 0.375rem;
  transition: background-color var(--transition-speed);
}

.source-filter {
  transition: all 0.2s;
}
.source-filter.active {
  background-color: var(--navbar-active);
  border-color: var(--navbar-active);
  color: white;
}

/* === Articles === */
#articles-container {
  gap: 15px;
}

.read-article,
.btn-outline-secondary {
  font-size: 12px;
  padding: 3px 8px;
  background-color: var(--button-bg);
  color: var(--text-color);
  border-color: var(--button-bg);
  border-radius: 50px;
  font-weight: 500;
}
.read-article:hover,
.btn-outline-secondary:hover {
  background-color: rgba(107, 117, 151, 0.4) !important;
  border-color: rgba(107, 117, 151, 0.4) !important;
}

.article-card {
  display: grid;
  grid-template-columns: 80px auto;
  height: 100%;
  background-color: initial;
  border: 0;
  overflow: hidden;
}
.article-card h5 {
  font-size: 14px;
  color: var(--text-color);
  margin-bottom: 10px;
}
.article-card .article-image {
  margin-top: 10px;
  height: 80px;
  width: 80px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 14px;
}
.article-card .card-body {
  padding: 10px 0 10px 10px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.article-card .card-body .date-badge,
.article-card .card-body .category-badge {
  color: var(--badge-text);
  background-color: initial;
  font-weight: 400;
  font-size: 10px;
  padding: 0;
  color: rgba(242, 221, 204, 0.6);
}

/* === Modal === */
.modal .modal-dialog {
  height: 100vh;
  margin: 0;
}
.modal .modal-content {
  background-color: var(--bg-color);
  color: var(--text-color);
  border-radius: 0;
  border: 0;
}
.modal .modal-content .modal-header,
.modal .modal-content .modal-footer {
  border-color: var(--border-color);
}
.modal .modal-content .modal-footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: var(--bg-color);
}
.modal .modal-content img {
  max-width: 100%;
  height: auto;
}
.modal .modal-content figure {
  max-width: 100% !important;
}

/* === Loader === */
#loading {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
  background-color: rgba(var(--bg-color-rgb, 245, 245, 245), 0.8);
  padding: 20px;
  border-radius: 10px;
}

/* === Footer === */
footer {
  background-color: var(--footer-bg) !important;
  color: var(--footer-text) !important;
  transition: background-color var(--transition-speed);
}

/* === Bouton "Charger plus" === */
#load-more-container {
  margin: 20px 0;
  text-align: center;
}

/* === Styles multimédias === */
.wp-video {
  width: 100% !important;
}

video {
  width: 100%;
  aspect-ratio: 16/9;
  height: initial;
}

#sources-container {
  background-color: var(--bg-color) !important;
}

.navbar {
  margin: 0 -10px;
  background-color: var(--bg-color) !important;
}
.navbar .navbar-nav {
  display: flex;
  flex-wrap: wrap;
  flex-direction: initial;
  gap: 12px;
  padding: 15px 0;
}
.navbar .navbar-nav .nav-item {
  background-color: var(--button-bg);
  border-color: var(--button-bg);
  border-radius: 50px;
}
.navbar .navbar-nav .nav-item a {
  font-size: 14px;
  padding: 3px 8px !important;
  color: var(--text-color);
  font-weight: 500;
}

/* === Classes à masquer dans les articles === */
.modal-body {
  margin-bottom: 80px;
}
.modal-body .signature,
.modal-body .to-read,
.modal-body .css-1082emh,
.modal-body .social-zone,
.modal-body .related-tags,
.modal-body .user-options,
.modal-body .is-hidden-mobile,
.modal-body .wp-block-embed,
.modal-body .js-newsletter-block,
.modal-body .premium-promo-alert,
.modal-body .card-install-pwa,
.modal-body .embedded-tag-container,
.modal-body .related-posts,
.modal-body .sidebar,
.modal-body .js-feed-posts,
.modal-body .article-footer,
.modal-body .audio-info__wrapper,
.modal-body .rf-player-wrapper__play-btn,
.modal-body .esi-block,
.modal-body .is-hidden-tablet,
.modal-body .notice-link,
.modal-body .article-header__top,
.modal-body .c-time,
.modal-body .media-info__wrapper,
.modal-body .optid-no-ads,
.modal-body .comparators__shortcode-banner,
.modal-body .jWRLE,
.modal-body .fZcurL,
.modal-body .css-i3guqi,
.modal-body .css-1kazvci,
.modal-body .article-header__title,
.modal-body .francetv-player-wrapper,
.modal-body .c-bookmark,
.modal-body .c-bookmark-modal,
.modal-body .sharing-button,
.modal-body .joyride,
.modal-body .hw-cc-tpc-notice,
.modal-body .social-catchphrase,
.modal-body .reddit-embed-bq,
.modal-body .article-social-content,
.modal-body .entry-meta,
.modal-body .promo-header,
.modal-body .post-meta,
.modal-body #comment-wrap,
.modal-body .yarpp-related-website,
.modal-body .post-content.entry-content + div,
.modal-body h1,
.modal-body div[x-data=newsletterSubscribe],
.modal-body div[x-data=shareButton],
.modal-body .rf-player-wrapper__title-text {
  display: none;
}

.post-header {
  padding: 0 5px !important;
}

/* === Pour le mode feed === */
.feed-item {
  background-color: var(--card-bg);
  border-radius: 5px;
  padding: 15px;
  margin: 10px 0;
  border-left: 5px solid #4CAF50;
  box-shadow: 0 2px 5px var(--shadow-color);
  transition: transform 0.2s, background-color var(--transition-speed);
}
.feed-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px var(--shadow-color);
}

.current-feed {
  background-color: var(--card-bg);
  border-left: 5px solid #2E7D32;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(76, 175, 80, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
  }
}
.error {
  color: #D32F2F;
}

.success {
  color: #388E3C;
}

.feed-counter {
  position: absolute;
  right: 10px;
  background: #333;
  color: white;
  padding: 2px 8px;
  border-radius: 15px;
  font-size: 0.8em;
}

.log-container {
  max-height: 400px;
  overflow-y: auto;
  background: var(--card-bg);
  border-radius: 5px;
  padding: 10px;
  margin-top: 20px;
  box-shadow: inset 0 0 5px var(--shadow-color);
  transition: background-color var(--transition-speed);
}

/* === Responsive === */
@media (max-width: 768px) {
  .article-card {
    grid-template-columns: 60px auto;
  }
  .article-card .article-image {
    width: 60px;
    height: 60px;
  }
  .article-card h5 {
    font-size: 16px;
    line-height: 26px;
  }
  .modal-header {
    padding: 10px;
  }
  .modal-title,
  .c-title {
    font-size: 16px;
  }
  article ul {
    padding: 0 15px;
  }
  article div,
  article p,
  article li {
    font-size: 15px;
  }
}/*# sourceMappingURL=style.css.map */