/* FICHIER STYLE.CSS COMPLET ET CORRIGÉ */

/* --- VARIABLES ET STYLES DE BASE --- */
:root {
  --primary-color: #236341;
  --dark-grey: #333;
  --light-grey: #f4f7f6;
  --medium-grey: #d4d4d4;
  --white: #ffffff;
  --green: #eef4ef;
  --font-family: "Poppins", sans-serif;
  --box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-family);
  margin: 0;
  color: var(--dark-grey);
  background-color: var(--green);
  line-height: 1.6;
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- BARRE DE NAVIGATION (HEADER) --- */
.navbar {
  background: var(--white);
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 100;
}
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo-desktop {
  height: 50px; /* Garde la hauteur du logo normal */
}
.logo-mobile {
  display: none; /* Le logo mobile est caché par défaut */
  height: 70px; /* Hauteur pour le logo mobile (ajustez si besoin) */
}
.navbar nav a {
  color: var(--dark-grey);
  text-decoration: none;
  margin-left: 20px;
  font-weight: 300;
}

/* --- BOUTONS --- */
.cta-button {
  background-color: var(--primary-color);
  color: var(--white) !important;
  padding: 8px 18px;
  border-radius: 20px;
  transition: all 0.3s ease;
}
.navbar nav a.cta-button:hover {
  background-color: #1a4d31;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.cta-button-main {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  border: none;
  cursor: pointer;
  display: inline-block;
  transition: all 0.3s ease;
}
.cta-button-main:hover {
  background-color: #1a4d31;
  transform: translateY(-3px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}
.cta-button-secondary {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid var(--white);
  color: var(--white);
  padding: 11px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}
.cta-button-secondary img {
  height: 16px;
  margin-right: 10px;
}
.cta-button-secondary:hover {
  background: var(--white);
  color: var(--primary-color);
}
.icon-to-white {
  filter: invert(100%) brightness(200%);
}

/* --- PIED DE PAGE (FOOTER) --- */
.footer {
  background-color: var(--dark-grey);
  color: var(--white);
  text-align: center;
  padding: 20px 0;
  font-size: 0.9rem;
}
.footer p {
  margin: 5px 0;
}

/* --- ÉLÉMENTS COMMUNS AUX PAGES --- */
.page-header {
  background-color: var(--primary-color);
  color: var(--white);
  text-align: center;
  padding: 50px 0;
}
.page-header h1 {
  font-size: 2.8rem;
  margin: 0;
}
.page-header p {
  font-size: 1.1rem;
  font-weight: 300;
  opacity: 0.9;
}
.page-content {
  padding: 60px 0;
}

/* --- TRANSITIONS "VAGUE" --- */
.curved-top {
  border-top-left-radius: 80px;
  border-top-right-radius: 80px;
  margin-top: -60px;
  padding-top: 120px;
}

/* --- PAGE D'ACCUEIL : HERO --- */
.hero {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6)), url("images/hero-background.webp");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--white);
  text-align: center;
  padding: 120px 0;
}
.hero h1 {
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.2rem;
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto 2rem auto;
}

/* --- SECTIONS D'INTRODUCTION (RÉUTILISABLES) --- */
.section-intro {
  max-width: 700px;
  margin: 0 auto 50px auto;
  text-align: center;
}
.section-intro h2 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 15px;
}

/* --- PAGE D'ACCUEIL : HUB DE TRIAGE (BESOINS) --- */
.need-hub {
  padding: 80px 0;
  background: var(--green);
}
.hub-icon {
  height: 70px;
  margin-bottom: 15px;
}
/* Filtre pour icônes noires -> vertes */
.hub-icon.icon-to-green {
  filter: invert(28%) sepia(23%) saturate(1750%) hue-rotate(113deg) brightness(97%) contrast(90%);
}
.hub-icon.icon-to-red {
  filter: invert(19%) sepia(90%) saturate(7411%) hue-rotate(356deg) brightness(103%) contrast(112%);
}

/* --- PAGE D'ACCUEIL : FEATURES (Engagements Qualité) --- */
.features {
  padding: 80px 0;
  background: var(--light-grey);
}
.features-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 30px;
}
.feature-item {
  max-width: 300px;
  text-align: center;
}
.feature-icon {
  height: 80px;
  margin-bottom: 15px;
}
.feature-item h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

/* --- PAGE D'ACCUEIL : SERVICES --- */
.services {
  padding: 80px 0;
  background-color: var(--light-grey);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  perspective: 1000px;
}
.service-card {
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: transform 0.1s ease;
  transform-style: preserve-3d;
}
.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.service-card p {
  font-weight: 300;
}

/* --- PAGE D'ACCUEIL : TESTIMONIALS --- */
.testimonials {
  padding: 80px 0;
  background: var(--white);
}
.testimonial-carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  min-height: 150px;
}
.testimonial-card {
  display: none;
  font-style: italic;
  font-weight: 300;
  font-size: 1.2rem;
  text-align: center;
}
.testimonial-card.active {
  display: block;
  animation: fadeIn 0.5s ease-in-out;
  border: 2px green solid;
  border-radius: 25px;
  background-color: #d8ffde;
  padding: 8px 16px;
  max-width: 720px;
  margin: auto;
  box-shadow: 3px 3px 8px 2px rgb(122, 122, 122, 50%);
}
.testimonial-card h4 {
  font-style: normal;
  font-weight: 600;
  margin-top: 20px;
  color: var(--primary-color);
}
.carousel-nav {
  margin-top: 20px;
  text-align: center;
}
.carousel-nav button {
  background: white;
  border: none;
  width: 50px;
  border-radius: 50%;
  font-size: 50px;
  cursor: pointer;
  margin: 0 15px;
  transition: background-color 0.3s;
  font-weight: 400;
  padding: 0 0 5px 0;
}
.carousel-nav button:hover {
  background: #ccc;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* --- PAGE D'ACCUEIL : DIRECTOR --- */
.director-section {
  padding: 80px 0;
  background: var(--light-grey);
}
.director-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  background: var(--white);
  padding: 40px;
  border-radius: 15px;
  box-shadow: var(--box-shadow);
}
.director-card img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto;
}
.director-text {
  flex: 1;
  min-width: 300px;
}
.director-text h4 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 0;
}
.director-text strong {
  color: var(--primary-color);
}

/* --- PAGE D'ACCUEIL : HUB D'AUDIENCE (Bas de page) --- */
.audience-hub {
  padding: 80px 0;
  background-color: var(--light-grey);
}
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.audience-card {
  background: var(--white);
  border-radius: 15px;
  padding: 30px;
  text-decoration: none;
  color: var(--dark-grey);
  box-shadow: var(--box-shadow);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  text-align: center;
}
.audience-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}
.audience-card h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-top: 0;
}
.audience-card span {
  font-weight: 600;
  color: var(--primary-color);
  margin-top: 2px;
  display: inline-block;
}

/* --- PAGE MEDECINS : DOCTORS SECTION --- */
.doctors-section {
  padding: 80px 0;
  background: var(--white);
}
.doctors-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.doctors-text h2 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.doctors-text ul {
  list-style: none;
  padding: 0;
}
.doctors-text li {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.doctors-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: var(--box-shadow);
}

/* --- PAGE SERVICES : CARTES DÉTAILLÉES --- */
.service-detail-card {
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  box-shadow: var(--box-shadow);
  margin-bottom: 30px;
}
.service-detail-card h3 {
  font-size: 1.8rem;
  color: var(--primary-color);
}
.service-detail-card ul:not(.benefit-list) {
  list-style-type: "✓";
  padding-left: 20px;
}
.service-detail-card li:not(.benefit-list li) {
  padding-left: 10px;
  margin-bottom: 10px;
}
.inline-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
}
/* Listes de bénéfices (pour Aide & Soins de base) */
.benefit-list {
  list-style: none;
  padding-left: 0;
}
.benefit-list li {
  padding-left: 0;
  margin-bottom: 20px;
}
.benefit-list strong {
  display: block;
  font-size: 1.1rem;
  color: var(--primary-color);
  margin-bottom: 5px;
}
.benefit-list span {
  font-weight: 300;
}
/* Grille de bénéfices (pour Soins infirmiers) */
.benefit-list-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.benefit-list-grid li {
  background: var(--light-grey);
  padding: 25px;
  border-radius: 15px;
  text-align: center;
}
.benefit-icon {
  height: 40px;
  margin-bottom: 15px;
}
.benefit-list-grid li.fade-in-item:nth-child(2) {
  transition-delay: 0.2s;
}
.benefit-list-grid li.fade-in-item:nth-child(3) {
  transition-delay: 0.4s;
}
.benefit-list-grid li.fade-in-item:nth-child(4) {
  transition-delay: 0.6s;
}

/* --- PAGE TARIFS --- */
.pricing-card {
  background-color: var(--light-grey);
  border-radius: 15px;
  padding: 20px 30px;
  margin-bottom: 40px;
}
.pricing-table {
  border-collapse: collapse;
  text-align: left;
  box-shadow: var(--box-shadow);
  border-radius: 15px;
  overflow: hidden;
}
.pricing-table th,
.pricing-table td {
  padding: 15px 20px;
}
.pricing-table thead {
  background-color: var(--primary-color);
  color: var(--white);
}
.pricing-table tbody tr:nth-child(even) {
  background-color: var(--light-grey);
}

/* --- PAGE RECRUTEMENT --- */
.job-card {
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  box-shadow: var(--box-shadow);
  margin-bottom: 30px;
}
.job-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 15px;
}
.job-header h3 {
  margin: 0;
}
.job-tag {
  background-color: #ffc107;
  color: var(--dark-grey);
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  flex-shrink: 0;
}
.job-card a {
  margin-top: 20px;
}

/* --- PAGE CONTACT --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: flex-start;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: var(--font-family);
  box-sizing: border-box;
}
.contact-form button {
  width: auto;
}
.contact-details-container p {
  margin-bottom: 20px;
}
.contact-details-container strong {
  color: var(--primary-color);
}
.director-contact {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}
.director-contact img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}
.director-contact p {
  margin: 0;
}

/* --- ANIMATIONS & INTERACTIONS --- */
.fade-in-item {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}
.features-grid .fade-in-item:nth-child(2) {
  transition-delay: 0.2s;
}
.features-grid .fade-in-item:nth-child(3) {
  transition-delay: 0.4s;
}
.fade-in-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.nav-links a.active-link {
  font-weight: 600;
  color: var(--primary-color);
}
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--primary-color);
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  font-size: 20px;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s,
    visibility 0.3s,
    transform 0.3s;
  transform: translateY(20px);
  z-index: 999;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--dark-grey);
  color: var(--white);
  padding: 15px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  z-index: 200;
  transform: translateY(100%);
  transition: transform 0.5s ease-in-out;
}
#cookie-banner.is-visible {
  transform: translateY(0);
}
#cookie-banner p {
  margin: 5px;
  margin-right: 20px;
  font-size: 0.9rem;
}
#cookie-banner button {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 8px 15px;
  border-radius: 15px;
  cursor: pointer;
}
.typewriter::after {
  content: "|";
  animation: blink 1s step-end infinite;
  color: inherit;
  font-weight: 200;
}
.typewriter.typing-done::after {
  content: "";
  animation: none;
}
@keyframes blink {
  from,
  to {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}
.hero .typewriter::after {
  color: var(--white);
}
body:hover .cursor-aura {
  opacity: 1;
}

/* MENU MOBILE */
.hamburger-menu {
  display: none;
  cursor: pointer;
}
.hamburger-menu div {
  width: 25px;
  height: 3px;
  background-color: var(--dark-grey);
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* VÉRIFIEZ QUE VOTRE @media EST BIEN CELUI-CI */
/* REMPLACEZ TOUT VOTRE BLOC @media PAR CELUI-CI */

@media (max-width: 900px) {
  /* --- MENU MOBILE --- */
  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
  }
  .nav-links a {
    padding: 15px;
    width: 100%;
    text-align: center;
    margin-left: 0 !important;
  }
  .nav-links.active {
    max-height: 520px;
    padding-bottom: 20px;
  }
  .hamburger-menu {
    display: block;
  }
  .hamburger-menu.active div:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }
  .hamburger-menu.active div:nth-child(2) {
    opacity: 0;
  }
  .hamburger-menu.active div:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }

  /* --- CORRECTIONS DE MISE EN PAGE MOBILE --- */

  /* Force toutes les grilles à 1 colonne */
  .contact-grid,
  .doctors-grid,
  .audience-grid,
  .benefit-list-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    gap: 50px;
  }

  /* Force la carte directeur à s'empiler */
  .director-card {
    flex-direction: column;
    text-align: center;
  }

  .director-text {
    min-width: 0; /* Annule la largeur minimale de 300px */
  }

  /* Ajustement taille du titre principal */
  .hero h1 {
    font-size: 2.5rem;
  }

  /* Ajustement des boutons du Hero */
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  /* Ajustement de la vague */
  .curved-top {
    margin-top: -20px;
    padding-top: 60px;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
  }

  .job-header {
    flex-wrap: wrap; /* Permet aux éléments de passer à la ligne */
    gap: 10px; /* Réduit l'espace pour le mobile */
  }

  /* LA CORRECTION POUR L'IPHONE EST ICI 
  */
  .hero {
    background-attachment: scroll;
  }

  .logo-desktop {
    display: none; /* On cache le logo ordinateur */
  }
  .logo-mobile {
    display: block; /* On affiche le logo mobile */
  }
}

/* --- PAGE ACTUALITÉS (Layout Blog) --- */
.news-layout {
  display: grid;
  grid-template-columns: 2fr 1fr; /* 2/3 pour les articles, 1/3 pour la sidebar */
  gap: 50px;
}

.news-card {
  background: var(--white);
  border-radius: 15px;
  box-shadow: var(--box-shadow);
  padding: 30px;
  margin-bottom: 30px;
  border-bottom: 4px solid var(--primary-color);
}

.news-date {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-color);
  letter-spacing: 1px;
}

.news-card h3 {
  font-size: 1.8rem;
  margin-top: 5px;
  margin-bottom: 15px;
}

/* --- SIDEBAR SOCIALE --- */
.news-sidebar {
  position: sticky; /* La sidebar "flotte" lors du scroll */
  top: 100px; /* 65px (hauteur nav) + 35px (marge) */
  align-self: flex-start; /* S'aligne en haut */
}

.social-widget {
  background: var(--light-grey);
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 20px;
}

.social-widget h3 {
  font-size: 1.5rem;
  margin-top: 0;
  text-align: center;
}

.facebook-placeholder {
  background: #f0f2f5;
  border: 1px solid #ddd;
  padding: 20px;
  text-align: center;
  color: #777;
  min-height: 300px;
}

.linkedin-card {
  background: #0a66c2; /* Bleu officiel de LinkedIn */
  color: white;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
}
.linkedin-card img {
  height: 30px;
  margin-bottom: 10px;
}
.linkedin-card h4 {
  margin: 0 0 10px 0;
  font-size: 1.2rem;
}
.linkedin-card p {
  font-size: 0.9rem;
  opacity: 0.9;
}
.linkedin-button {
  background: var(--white);
  color: #0a66c2;
  padding: 8px 20px;
  border-radius: 15px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin-top: 10px;
  transition: all 0.3s;
}
.linkedin-button:hover {
  background: #e9ecef;
}

/* --- RESPONSIVE POUR LA PAGE ACTUALITÉS --- */
@media (max-width: 900px) {
  .news-layout {
    grid-template-columns: 1fr; /* La sidebar passe en dessous */
  }
  .news-sidebar {
    position: static; /* Annule l'effet "sticky" */
    top: auto;
  }
}

/* --- AMÉLIORATION DES FORMULAIRES --- */
.form-group-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.form-group-file {
  margin-bottom: 15px;
}
.form-group-file label {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
  display: block;
}
.form-group-file input[type="file"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: var(--font-family);
}

.form-group-captcha {
  margin-bottom: 20px;
  background: var(--light-grey);
  padding: 15px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 300px;
}
.form-group-captcha label {
  font-weight: 300;
  flex: 1;
  min-width: 200px;
}
.form-group-captcha input[type="number"] {
  width: 80px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: var(--font-family);
  margin-bottom: 0px;
}

/* --- STYLES POUR LA PAGE TARIFS --- */
.tarif-opas-list {
  list-style: none;
  padding-left: 0;
  margin-top: 20px;
  text-align: left;
}
.tarif-opas-list li {
  margin-bottom: 10px;
  font-weight: 300;
}
.tarif-opas-list strong {
  display: block;
  font-weight: 600;
  color: var(--dark-grey);
}

/* ============================================================
   STYLES POUR LES CARTES D'ARTICLES (admin -> actualites.php)
   À AJOUTER À LA FIN DE style.css
   ============================================================ */

/* Carte article avec lien externe (style "aperçu de lien") */
.news-link-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--box-shadow);
  overflow: hidden;
  margin-bottom: 24px;
  border: 1px solid #eef2ee;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.news-link-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* Image de l'article */
.news-link-image {
  width: 100%;
  max-height: 220px;
  overflow: hidden;
  background: #e8f0e8;
}
.news-link-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.news-link-card:hover .news-link-image img {
  transform: scale(1.03);
}

/* Corps de la carte */
.news-link-body {
  padding: 20px 24px 22px;
}
.news-link-body .news-source {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-color);
  background: #e8f5e9;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
  margin-right: 8px;
}
.news-link-body .news-date {
  display: inline-block;
  font-size: 0.75rem;
  color: #999;
  margin-bottom: 8px;
}
.news-link-body h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #1a3c2e;
  margin: 8px 0 10px;
  line-height: 1.4;
}
.news-link-body p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 14px;
}
.news-read-more {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-color);
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}
.news-link-card:hover .news-read-more {
  border-color: var(--primary-color);
}

.lamal-badge {
  position: absolute;
  bottom: -90px;
  right: -30px;
  width: 140px;
  z-index: 10;
  transform: rotate(4deg);
}

@media (max-width: 768px) {
  .lamal-badge {
    width: 100px;
    bottom: -40px;
  }
}
