[id] {
  scroll-margin-top: 116px;
  /* navbar height (106px) + 10px buffer */ }

html {
  scroll-behavior: smooth; }

.tech {
  background-color: rgba(216, 248, 217, 0.7); }

.tech-show {
  display: block; }

.tech-hide {
  display: none; }

.modal {
  z-index: 100; }

.modal-backdrop {
  z-index: 99; }

.sticky-top {
  z-index: 98; }

.table-conference table {
  display: table;
  border-collapse: collapse;
  width: 100%;
  font-family: Arial, sans-serif;
  font-size: 14px;
  text-align: center; }
.table-conference th, .table-conference td {
  border: 1px solid #ccc;
  padding: 10px;
  height: 40px; }
.table-conference th {
  background-color: #07286E;
  font-weight: bold; }
.table-conference .exam-day {
  background-color: #fff4d1;
  /* Giallo chiaro */ }
.table-conference .lecture {
  background-color: #d9e7f4;
  /* Blu/Azzurro chiaro */ }
.table-conference .time-col {
  width: 80px; }

.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem; }
  .card-container .card-img {
    width: 100%;
    object-fit: cover;
    padding: 10px; }
  .card-container .card-img img {
    max-width: 100%; }
  .card-container .card-body {
    padding: 10px;
    padding-top: 0; }
    .card-container .card-body h5 {
      margin-top: 0.5rem; }

.badge-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  justify-content: center;
  justify-items: center;
  margin-top: 1rem; }

.badge {
  background-color: rgba(237, 77, 19, 0.3);
  font-size: 3rem;
  padding: 1rem; }
  .badge .badge-description {
    font-size: 1rem; }

.bg-color-full {
  clip-path: inset(0 -100vmax);
  box-shadow: 0 0 0 100vmax rgba(243, 173, 149, 0.3); }

.bg-color {
  background-color: rgba(243, 173, 149, 0.3); }

.badge-sm {
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  font-weight: 700;
  border-radius: 0.25rem;
  display: inline-block;
  transition: all 0.3s ease; }

.badge-sm.primary {
  background-color: #000;
  color: #fff; }

.badge-sm.secondary {
  background-color: #6c757d;
  color: #fff; }

.badge-sm.info {
  background-color: #17a2b8;
  color: #fff; }

.badge-sm.light {
  background-color: #f8f9fa;
  color: #212529;
  border: 1px solid #dee2e6; }

.accordion .btn-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: space-between; }

.accordion .btn-link:hover {
  text-decoration: none;
  color: #000; }

.accordion .btn-link:focus {
  text-decoration: none;
  outline: none;
  box-shadow: none; }

.col-lg-3 .sticky-top {
  z-index: 0;
  top: 60px; }

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden; }

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15) !important; }

.stat-card {
  transition: transform 0.3s ease; }
  .stat-card .stat-value {
    font-size: 2rem;
    font-weight: bold; }
  .stat-card .stat-label {
    font-size: 1.5rem;
    font-weight: bold; }

.stat-card:hover {
  transform: translateY(-5px); }

.partners-section {
  padding: 60px 0;
  background-color: #f8f9fa;
  margin: 40px 0; }

.partners-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px; }

.partners-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
  font-weight: 600;
  color: #333; }

.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  align-items: stretch;
  margin: 40px 0; }

.partner-item {
  background: white;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border-top: 4px solid #dee2e6;
  text-decoration: none;
  color: inherit; }

.partner-item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px); }

.partner-item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px); }

.partner-item-link {
  text-decoration: none !important;
  color: inherit;
  display: block;
  height: 100%; }
  .partner-item-link:hover {
    text-decoration: none !important; }

.partner-item-link .partner-item {
  width: 100%;
  height: 100%;
  box-sizing: border-box; }

.partner-item-link .partner-name {
  text-decoration: none !important; }

.partner-item.partner-inactive {
  opacity: 0.7; }

.partner-item.partner-inactive:hover {
  opacity: 0.9; }

.partner-item.partner-diamond {
  border-top-color: #4FC3F7; }

.partner-item.partner-gold {
  border-top-color: #FFD700; }

.partner-item.partner-silver {
  border-top-color: #C0C0C0; }

.partner-item.partner-bronze {
  border-top-color: #CD7F32; }

.partner-item.partner-supporter {
  border-top-color: #dee2e6; }

.partner-logo-wrapper {
  width: 100%;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px; }

.partner-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  overflow-clip-margin: content-box;
  overflow: clip; }

.partner-info {
  width: 100%; }

.partner-name {
  margin: 10px 0;
  font-weight: 600;
  color: #333;
  font-size: 0.95rem;
  word-break: break-word; }

.partner-badge {
  display: inline-block;
  padding: 4px 10px;
  margin: 2px;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px; }

.partner-badge-service {
  background-color: #E3F2FD;
  color: #07286E; }

.partner-badge-vendor {
  background-color: #F3E5F5;
  color: #7B1FA2; }

.partner-badge-research {
  background-color: #E8F5E9;
  color: var(--secondary-color); }

.partner-badge-diamond {
  background-color: #E1F5FE;
  color: #0277BD;
  font-weight: 700; }

.partner-badge-gold {
  background-color: #FFF8E1;
  color: #F57F17;
  font-weight: 700; }

.partner-badge-silver {
  background-color: #ECEFF1;
  color: #455A64;
  font-weight: 700; }

.partner-badge-bronze {
  background-color: #FBE9E7;
  color: #8D4E1F;
  font-weight: 700; }

.partner-badge-supporter {
  background-color: #f8f9fa;
  color: #333; }

.partner-badge-coordinator {
  background-color: #E8F5E9;
  color: var(--secondary-color);
  font-weight: 700; }

.partner-badge-beneficiary {
  background-color: #E3F2FD;
  color: #07286E;
  font-weight: 700; }

.partner-badge-associated-partner {
  background-color: #FFF3E0;
  color: #E65100;
  font-weight: 700; }

.partner-badge-country {
  background-color: #F3E5F5;
  color: #6A1B9A;
  font-weight: 700; }

.partner-badge-acronym {
  background-color: #ECEFF1;
  color: #455A64;
  font-weight: 700; }

.wp-badge {
  padding: 2px 6px;
  font-size: 0.7rem;
  font-weight: 600; }

.partner-item.partner-coordinator {
  border-top-color: var(--secondary-color); }

.partner-item.partner-beneficiary {
  border-top-color: #07286E; }

.partner-item.partner-associated-partner {
  border-top-color: #E65100; }

.direttivo-container {
  margin: 40px 0; }

.direzione-section,
.consiglio-section {
  margin-bottom: 60px; }

.direzione-section h2,
.consiglio-section h2 {
  color: #333;
  margin-bottom: 40px;
  font-size: 1.75rem;
  font-weight: 600;
  border-bottom: 3px solid #000;
  padding-bottom: 15px; }

.direttivi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  align-items: stretch; }

@media (max-width: 991px) {
  .direttivi-grid {
    grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) {
  .direttivi-grid {
    grid-template-columns: 1fr; } }
.docente-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column; }

.docente-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-4px); }

.docente-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 300px;
  overflow: hidden;
  background: #f0f0f0; }

.docente-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease; }

.docente-card:hover .docente-image img {
  transform: scale(1.05); }

.docente-info {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column; }

.docente-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: #333;
  margin: 0 0 8px 0; }

.docente-role {
  font-size: 0.95rem;
  font-weight: 500;
  color: #000;
  margin: 0 0 5px 0; }

.docente-institution {
  font-size: 0.85rem;
  color: #666;
  margin: 0 0 12px 0;
  font-style: italic; }

.docente-bio {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.6;
  margin: 0;
  flex: 1; }

.team-modal-photo {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 0;
  flex-shrink: 0;
  margin-right: 0.5rem;
  max-width: 100%; }

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 40px 0;
  align-items: start; }

.contact-info {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); }

.contact-info h3 {
  color: #333;
  margin-bottom: 30px;
  font-size: 1.5rem; }

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px; }

.contact-item {
  display: flex;
  gap: 15px;
  align-items: flex-start; }

.contact-item i {
  font-size: 1.5rem;
  color: #000;
  margin-top: 2px;
  min-width: 25px; }

.contact-text {
  flex: 1; }

.contact-text strong {
  display: block;
  color: #333;
  margin-bottom: 5px;
  font-size: 0.95rem; }

.contact-text p {
  color: #666;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5; }

.contact-text a {
  color: #e87722;
  text-decoration: none;
  transition: color 0.3s ease; }

.contact-text a:hover {
  color: #f08d3a;
  text-decoration: underline; }

.logos-section {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); }

.logos-section h3 {
  color: #333;
  margin-bottom: 30px;
  font-size: 1.5rem; }

.logos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px; }

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: white;
  border-radius: 8px;
  min-height: 140px;
  transition: all 0.3s ease; }

.logo-item:hover {
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); }

.logo-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; }

a {
  color: #e87722;
  text-decoration: underline;
  transition: color 0.3s ease; }
  a:hover {
    color: #f08d3a; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Open Sans', sans-serif;
  color: #000; }

.section-divider {
  border-top: 2px solid #000;
  margin: 2rem 0; }

.accent-primary {
  color: #000; }

.accent-secondary {
  color: #e87722; }

.bg-accent-primary {
  background-color: rgba(7, 40, 110, 0.1); }

.bg-accent-secondary {
  background-color: rgba(155, 22, 38, 0.1); }

.navbar .fa-external-link-alt {
  font-size: 0.6em;
  vertical-align: baseline;
  position: relative;
  top: -4px;
  margin-left: 4px;
  opacity: 0.5; }

@media (max-width: 991px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px; }

  .partners-title {
    font-size: 1.5rem; }

  .partner-item {
    padding: 15px; }

  .partner-logo-wrapper {
    height: 120px; }

  .direttivi-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px; }

  .direzione-section h2,
  .consiglio-section h2 {
    font-size: 1.5rem; }

  .docente-image {
    height: 200px; }

  .docente-info {
    padding: 15px; }

  .docente-name {
    font-size: 1.1rem; }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 30px; }

  .contact-info,
  .logos-section {
    padding: 20px; }

  .contact-info h3,
  .logos-section h3 {
    font-size: 1.25rem; }

  .contact-item {
    gap: 12px; }

  .contact-item i {
    font-size: 1.25rem; } }
@media (max-width: 575px) {
  .partners-grid {
    grid-template-columns: 1fr;
    gap: 15px; }

  .partner-logo-wrapper {
    height: 100px; }

  .partner-name {
    font-size: 0.85rem; }

  a .partners-item-link {
    text-decoration: none !important; }

  .partner-badge {
    padding: 3px 8px;
    font-size: 0.7rem; }

  .direttivi-grid {
    grid-template-columns: 1fr; }

  .docente-image {
    height: 180px; }

  .docente-name {
    font-size: 1rem; }

  .docente-bio {
    font-size: 0.85rem; }

  .contact-info,
  .logos-section {
    padding: 15px; }

  .contact-item i {
    font-size: 1.1rem; }

  .contact-text strong {
    font-size: 0.9rem; }

  .contact-text p {
    font-size: 0.85rem; } }
#projects-container a {
  text-decoration: none;
  color: inherit; }
  #projects-container a:hover {
    text-decoration: none;
    color: #000; }
#projects-container .project {
  background-color: #fff;
  border: 2px solid #dee2e6;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); }
  #projects-container .project:hover {
    border-color: #f08d3a;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px); }
  #projects-container .project .project-img {
    overflow: hidden;
    background-color: #f8f9fa; }
    #projects-container .project .project-img img {
      width: 100%;
      object-fit: cover;
      transition: transform 0.3s ease; }
  #projects-container .project:hover .project-img img {
    transform: scale(1.05); }
  #projects-container .project .project-body {
    padding: 1.5rem; }
    #projects-container .project .project-body h5 {
      margin-top: 0;
      margin-bottom: 0.75rem;
      font-weight: 700;
      color: #000;
      font-size: 1.25rem; }
    #projects-container .project .project-body > p {
      margin-bottom: 1rem;
      color: #555;
      font-size: 0.95rem;
      line-height: 1.6; }
    #projects-container .project .project-body .students {
      margin-bottom: 0;
      font-size: 0.9rem;
      color: #666; }
      #projects-container .project .project-body .students em {
        font-style: italic; }
      #projects-container .project .project-body .students strong {
        color: #000; }

@media (max-width: 768px) {
  #projects-container .project {
    margin-bottom: 1rem; }
    #projects-container .project .col-md-4,
    #projects-container .project .col-md-8 {
      margin-bottom: 1rem; }
    #projects-container .project .project-img img {
      height: 200px; }
    #projects-container .project .project-body {
      padding: 1rem; }
      #projects-container .project .project-body h5 {
        font-size: 1.1rem; } }
.navbar-chulapa .dropdown-menu .dropdown-item:hover, .navbar-chulapa .dropdown-menu .dropdown-item:focus {
  color: #f08d3a; }

.navbar-chulapa .dropdown-menu .dropdown-item {
  border-bottom: 1px solid #dee2e6;
  line-height: 1.8;
  font-size: 0.85rem;
  text-transform: none !important; }

.navbar-chulapa .dropdown-menu .dropdown-item:last-child {
  border-bottom: none; }

.navbar-brand {
  text-transform: none !important;
  text-decoration: none !important; }

.navbar-brand:hover {
  text-decoration: underline !important; }

@media (max-width: 1270px) {
  .navbar.navbar-chulapa.d-none {
    display: none !important; }

  .navbar-chulapa-fab {
    display: block !important; } }
@media (min-width: 1271px) {
  .navbar-chulapa-fab {
    display: none !important; }

  .navbar.navbar-chulapa {
    display: block !important; } }
body.conference-header .hero-chulapa-image {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  text-align: center; }
body.conference-header .hero-chulapa,
body.conference-header .splash-chulapa,
body.conference-header .splash-chulapa-image {
  font-family: Open Sans, sans-serif;
  background-color: transparent;
  min-height: 10vh; }

.conference-header-image {
  font-family: Open Sans, sans-serif;
  background-color: transparent;
  text-align: center;
  min-height: 10vh;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover; }

.home-header {
  background-image: url("/assets/images/hero.jpg") !important;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover; }

article#maincontent,
.e-content,
.card-body,
.list-group-item {
  text-align: left !important; }

.nav-tabs .nav-link {
  color: #333 !important;
  border-color: #dee2e6;
  background-color: #f8f9fa; }

.nav-tabs .nav-link:hover {
  color: #000 !important;
  border-color: #adb5bd #adb5bd #dee2e6;
  background-color: #e9ecef; }

.nav-tabs .nav-link.active {
  color: #000 !important;
  font-weight: 600;
  background-color: #fff;
  border-color: #dee2e6 #dee2e6 #fff; }

.programme-table {
  margin-top: 1rem; }
  .programme-table .session-keynote {
    background-color: rgba(220, 53, 69, 0.08); }
  .programme-table .session-session {
    background-color: rgba(7, 40, 110, 0.05); }
  .programme-table .session-social {
    background-color: rgba(25, 135, 84, 0.08); }
  .programme-table .session-break {
    background-color: rgba(108, 117, 125, 0.05); }
  .programme-table .session-opening,
  .programme-table .session-closing {
    background-color: rgba(255, 193, 7, 0.08); }

.registration-table th {
  background-color: #000;
  color: #fff; }
.registration-table td {
  vertical-align: middle; }

.sponsorship-table th {
  background-color: #000;
  color: #fff;
  vertical-align: middle; }
.sponsorship-table td {
  vertical-align: middle; }
.sponsorship-table .fa-check {
  color: #e87722; }
.sponsorship-table .sponsorship-cost td {
  background-color: #f8f9fa; }

.speakers-section .direttivi-grid {
  gap: 30px; }

.member-role {
  font-style: italic;
  color: #e87722;
  margin-bottom: 0.25rem; }

details {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  background-color: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #dee2e6; }
  details summary {
    cursor: pointer;
    font-weight: 600;
    color: #000; }
    details summary:hover {
      color: #e87722; }
  details p {
    margin-top: 0.75rem;
    margin-bottom: 0; }

.social-card {
  overflow: hidden;
  border-radius: 0 !important; }
  .social-card .row.no-gutters {
    min-height: 250px; }
  .social-card .col-md-8 {
    position: relative;
    overflow: hidden;
    padding: 0 !important; }
  .social-card .card-img-right {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; }
  .social-card .card-body {
    padding: 1.5rem; }
  .social-card .card-title {
    color: #000;
    font-weight: 700; }

@media (max-width: 767.98px) {
  .social-card .col-md-8 {
    display: none; }

  .social-card .row.no-gutters {
    min-height: auto; } }
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background-color: #000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  text-decoration: none;
  z-index: 1000;
  transition: background-color 0.3s ease; }
  .back-to-top:hover {
    background-color: #e87722;
    color: #fff;
    text-decoration: none; }

@media (max-width: 767.98px) {
  .back-to-top {
    display: none; } }
