/* css/charte-editoriale.css */

.charte-page {
  font-family: 'Poppins', sans-serif;
  color: #282828;
  background-color: #F9F9F9;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Manrope', sans-serif;
  color: #282828;
}

/* HERO SECTION */
.charte-hero {
  background: linear-gradient(to right, #E8EEFF, #F4F6FF);
  padding: 80px 20px;
  text-align: center;
}

.charte-hero__inner h1 {
  font-size: 42px;
  font-weight: 800;
}

.charte-hero__inner .accent {
  color: #4738DE;
}

/* BREADCRUMB */
.charte-breadcrumb {
  background-color: #fff;
  padding: 15px 20px;
  border-bottom: 1px solid #eaeaea;
}

.charte-breadcrumb__inner {
  max-width: 1200px;
  margin: 0 auto;
  font-size: 14px;
  color: #6b7280;
}

.charte-breadcrumb__inner a {
  color: #6b7280;
  text-decoration: none;
}

.charte-breadcrumb__inner .sep {
  margin: 0 10px;
}

/* SECTION COMMON */
.charte-section, .charte-intro {
  padding: 60px 20px;
  background-color: #F9F9F9;
}

.charte-section__inner, .charte-intro__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.charte-intro__inner h2 {
  font-size: 32px;
  font-weight: 700;
  color: #EC1C24;
  text-align: center;
  margin-bottom: 40px;
}

.charte-section__inner h3 {
  font-size: 20px;
  font-weight: 700;
  color: #4738DE;
  margin-bottom: 20px;
  text-transform: uppercase;
}

/* INTRO CONTENT */
.charte-intro__content {
  display: flex;
  gap: 40px;
  align-items: center;
}

.charte-intro__box {
  flex: 1;
  background-color: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  font-size: 15px;
  line-height: 1.8;
  color: #4a5568;
}

.charte-intro__image {
  flex: 1;
}

.charte-intro__image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

/* LISTS & TEXT */
.charte-section__inner p {
  font-size: 15px;
  line-height: 1.8;
  color: #4a5568;
  margin-bottom: 20px;
}

.charte-list {
  padding-left: 20px;
  margin-bottom: 30px;
}

.charte-list li {
  font-size: 15px;
  line-height: 1.8;
  color: #4a5568;
  margin-bottom: 12px;
}

.charte-list a {
  color: #4738DE;
  text-decoration: none;
  font-weight: 500;
}

/* NOTICE BOX */
.charte-notice {
  display: flex;
  gap: 30px;
  align-items: center;
  margin-top: 40px;
}

.charte-notice__image img {
  width: 250px;
  border-radius: 12px;
}

.charte-notice__box {
  background-color: #fff;
  padding: 30px;
  border-radius: 12px;
  border: 1px solid #EC1C24;
  position: relative;
  flex: 1;
}

.charte-notice__badge {
  background-color: #EC1C24;
  color: #fff;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 4px;
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
}

.charte-notice__box p {
  margin: 0;
  font-size: 14px;
}

/* TIMELINE */
.charte-timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 60px 0;
  padding-top: 30px;
}

.charte-timeline__line {
  position: absolute;
  top: 10px;
  left: 5%;
  right: 5%;
  height: 2px;
  background-color: #d1d5db;
  z-index: 1;
}

.charte-timeline__item {
  width: 15%;
  text-align: center;
  position: relative;
  z-index: 2;
}

.charte-timeline__title {
  color: #EC1C24;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 15px;
  position: absolute;
  top: -30px;
  width: 100%;
}

.charte-timeline__dot {
  width: 20px;
  height: 20px;
  background-color: #4738DE;
  border-radius: 50%;
  margin: 0 auto 15px;
  border: 4px solid #fff;
}

.charte-timeline__desc {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.5;
}

/* AUTHORS SECTION */
.charte-authors {
  padding: 60px 20px;
  background-color: #F9F9F9;
  text-align: center;
}

.charte-authors__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.charte-authors h2 {
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 50px;
}

.charte-authors .accent {
  color: #4738DE;
  font-weight: 700;
}

.charte-authors__grid {
  display: flex;
  gap: 30px;
  justify-content: center;
  margin-bottom: 30px;
}

.top-row {
  max-width: 1100px;
  margin: 0 auto 30px;
}

.bottom-row {
  max-width: 720px;
  margin: 0 auto;
}

.charte-author-card {
  flex: 1;
  background-color: #E8EEFF;
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
}

.charte-author-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.charte-author-card__info {
  padding: 24px;
}

.charte-author-card__info strong {
  display: block;
  font-size: 18px;
  color: #282828;
  margin-bottom: 8px;
}

.charte-author-card__info span {
  display: block;
  font-size: 14px;
  color: #4a5568;
  margin-bottom: 16px;
  min-height: 40px;
}

.charte-author-card__info a {
  display: inline-block;
  color: #EC1C24;
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
}

/* BOTTOM LINKS */
.charte-links {
  padding: 40px 20px 80px;
  background-color: #F9F9F9;
}

.charte-links__inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.charte-link-card {
  flex: 1;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  color: #282828;
  text-decoration: none;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.charte-link-card i {
  color: #a0aec0;
}

/* RESPONSIVE */
@media (max-width: 991px) {
  .charte-intro__content {
    flex-direction: column;
  }
  
  .charte-timeline {
    flex-direction: column;
    padding-left: 20px;
  }
  
  .charte-timeline__line {
    width: 2px;
    height: 100%;
    left: 29px;
    top: 0;
  }
  
  .charte-timeline__item {
    width: 100%;
    text-align: left;
    padding-left: 40px;
    margin-bottom: 30px;
  }
  
  .charte-timeline__title {
    position: relative;
    top: 0;
    margin-bottom: 5px;
  }
  
  .charte-timeline__dot {
    position: absolute;
    left: -10px;
    top: 5px;
    margin: 0;
  }
  
  .charte-authors__grid {
    flex-direction: column;
  }
  
  .charte-links__inner {
    flex-direction: column;
  }
}
