/*
Theme Name: SAF Lombardia tema 2025
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */


.docenti-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.docente-box {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.docente-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.1);
}

.docente-avatar {
  border-radius: 50%;
  margin-bottom: 1rem;
  max-width: 140px;
  height: 140px;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.docente-nome {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #1a1a1a;
}

.docente-bio {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.docente-aree {
  font-size: 0.85rem;
  color: #444;
  background: #f9f9f9;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  display: inline-block;
}

.area-titolo {
  font-size: 1.6rem;
  font-weight: 600;
  margin: 2.5rem 0 1.2rem;
  border-bottom: 2px solid #ddd;
  padding-bottom: 0.4rem;
  color: #222;
}
.docente-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.docente-box {
  cursor: pointer;
}


/* Responsive */
@media (max-width: 768px) {
  .docente-box {
    padding: 1rem;
  }
  .docente-avatar {
    max-width: 120px;
    height: 120px;
  }
  .docente-nome {
    font-size: 1.1rem;
  }
}
