/* Archivio dei Consigli Direttivi SIC */
.sic-board-archive {
  position: relative;
  overflow: hidden;
  background: #f5f8ff;
}

.sic-board-archive--latest {
  padding: 72px 0 28px;
}

.sic-board-archive--history {
  padding: 12px 0 92px;
}

.sic-board-archive--latest::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -130px;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(28, 75, 203, 0.11) 0, rgba(28, 75, 203, 0) 70%);
  pointer-events: none;
}

.sic-board-intro {
  position: relative;
  max-width: 790px;
  margin: 0 auto 42px;
  text-align: center;
}

.sic-board-intro__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: #1c4bcb;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sic-board-intro__eyebrow::before,
.sic-board-intro__eyebrow::after {
  content: "";
  width: 28px;
  height: 2px;
  background: #ef7d00;
}

.sic-board-intro h2 {
  margin: 0;
  color: #12213f;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.sic-board-intro p {
  max-width: 670px;
  margin: 18px auto 0;
  color: #5b677d;
  font-size: 17px;
  line-height: 1.7;
}

.sic-board-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  float: none;
  width: 100%;
  text-align: left;
}

.sic-board-grid > .post-event {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(28, 75, 203, 0.13);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 12px 36px rgba(23, 45, 88, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.sic-board-grid > .post-event:hover {
  transform: translateY(-3px);
  border-color: rgba(28, 75, 203, 0.25);
  box-shadow: 0 18px 44px rgba(23, 45, 88, 0.13);
}

.sic-board-grid > .post-event > [class*="col-"] {
  float: none;
  width: auto;
  max-width: none;
  padding: 0;
}

.sic-board-grid > .post-event > :first-child {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  min-height: 100%;
  padding: 34px 26px;
  overflow: hidden;
  background: linear-gradient(145deg, #123da9 0%, #1c4bcb 57%, #2766de 100%);
}

.sic-board-grid > .post-event > :first-child::before {
  content: "Biennio";
  position: absolute;
  top: 16px;
  left: 26px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.sic-board-grid > .post-event--triennio > :first-child::before {
  content: "Triennio";
}

.sic-board-grid .post-event h3,
.sic-board-grid .post-event h4 {
  position: relative;
  z-index: 1;
  margin: 18px 0 0 !important;
  color: #ffffff !important;
  font-size: 24px;
  font-weight: 600 !important;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.sic-board-president {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  width: 100%;
  margin: 24px 0 0;
}

.sic-board-president__photo {
  width: 64px;
  height: 64px;
  border: 3px solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 7px 18px rgba(4, 22, 72, 0.24);
}

.sic-board-president__caption {
  min-width: 0;
}

.sic-board-president__role {
  display: block;
  margin-bottom: 3px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.sic-board-president__name {
  display: block;
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}

.sic-board-grid .post-event-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 34px;
  padding: 30px 32px !important;
}

.sic-board-grid .post-event-body p {
  margin: 0;
  padding: 13px 0;
  color: #33415c;
  font-size: 14px;
  line-height: 1.62;
  border-bottom: 1px solid #e8edf7;
}

.sic-board-grid .post-event-body p:first-child {
  padding-top: 0;
}

.sic-board-grid .post-event-body p:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.sic-board-grid .post-event-body strong {
  display: inline-block;
  margin-bottom: 4px;
  color: #173b93;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  line-height: 1.4;
  text-transform: uppercase;
}

.sic-board-grid .post-event-body p:nth-last-child(-n+2) {
  border-bottom: 0;
}

.sic-board-grid > hr {
  display: none;
}

@media (max-width: 1199px) {
  .sic-board-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .sic-board-archive--latest {
    padding: 54px 0 20px;
  }

  .sic-board-archive--history {
    padding: 10px 0 66px;
  }

  .sic-board-intro {
    margin-bottom: 30px;
  }

  .sic-board-intro h2 {
    font-size: 32px;
  }

  .sic-board-intro p {
    font-size: 15px;
    line-height: 1.65;
  }

  .sic-board-grid {
    gap: 20px;
  }

  .sic-board-grid > .post-event {
    grid-template-columns: 1fr;
    border-radius: 16px;
  }

  .sic-board-grid > .post-event > :first-child {
    min-height: 150px;
    padding: 24px;
    align-items: center;
    text-align: center;
  }

  .sic-board-grid > .post-event > :first-child::before {
    top: 18px;
    left: 24px;
  }

  .sic-board-grid .post-event h3,
  .sic-board-grid .post-event h4 {
    margin-top: 17px !important;
    font-size: 23px;
  }

  .sic-board-president {
    grid-template-columns: 54px minmax(0, 1fr);
    width: auto;
    max-width: 230px;
    margin-top: 17px;
    text-align: left;
  }

  .sic-board-president__photo {
    width: 54px;
    height: 54px;
  }

  .sic-board-grid .post-event-body {
    padding: 24px !important;
  }

  .sic-board-grid .post-event-body {
    display: block;
  }

  .sic-board-grid .post-event-body p:nth-last-child(2) {
    border-bottom: 1px solid #e8edf7;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sic-board-grid > .post-event {
    transition: none;
  }
}
