.article-container {
  max-width: 800px;
  margin: 100px auto 60px;
  padding: 0 20px;
  line-height: 1.8;
}

.article-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 16px;
  padding: 40px 40px 36px;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.article-header::after {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 180px; height: 180px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  pointer-events: none;
}

.article-ambito-pill {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.35);
  color: white;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.article-header h1 {
  font-size: 2.5rem;
  line-height: 1.3;
  margin-bottom: 20px;
  color: white !important;
}

.article-meta {
  color: white !important;
  font-size: 0.95rem;
  margin-bottom: 0;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  color: white !important;
}

.article-content h2 {
  font-size: 1.8rem;
  margin: 50px 0 25px;
  color: #1a1a2e;
  border-left: 4px solid #ff6b6b;
  padding-left: 15px;
}

.article-content p {
  margin-bottom: 20px;
  color: #333;
  font-size: 1.1rem;
}

.article-content a:not(.btn):not(.btn-telegram):not(.btn-whatsapp) {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-content ul, .article-content ol {
  margin: 20px 0 20px 30px;
  color: #333;
}

.article-content li {
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.highlight-box {
  background: #f8f9fa;
  border-left: 4px solid #ff6b6b;
  padding: 20px 25px 20px 52px;
  margin: 30px 0;
  border-radius: 0 8px 8px 0;
  position: relative;
}

.highlight-box::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f05a";
  position: absolute;
  left: 18px;
  top: 20px;
  font-size: 1.1rem;
  color: #667eea;
}

.highlight-box p {
  margin-bottom: 0;
}

.success-box {
  background: #f0fdf4;
  border-left: 4px solid #22c55e;
  padding: 20px 25px 20px 52px;
  margin: 30px 0;
  border-radius: 0 8px 8px 0;
  position: relative;
}

.success-box::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f00c";
  position: absolute;
  left: 18px;
  top: 20px;
  font-size: 1.1rem;
  color: #22c55e;
}

.success-box p, .success-box ul {
  margin-bottom: 0;
}

.cta-box {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 30px;
  border-radius: 12px;
  margin: 40px 0;
  text-align: center;
}

.cta-box p {
  color: white;
  margin-bottom: 20px;
  font-size: 1.15rem;
}

.cta-box .btn::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f0c0";
  margin-right: 8px;
}

.btn-whatsapp {
  background: #25D366 !important;
  color: white !important;
  border-radius: 50px !important;
  padding: 12px 22px !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-whatsapp:hover {
  background: #1aab53 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp::before {
  font-family: "Font Awesome 6 Brands";
  font-weight: 400;
  content: "\f232";
  font-size: 1.1em;
}

.btn-telegram {
  background: #0077b6 !important;
  color: white !important;
  border-radius: 50px !important;
  padding: 12px 22px !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-telegram:hover {
  background: #005f92 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 119, 182, 0.4);
}

.btn-telegram::before {
  font-family: "Font Awesome 6 Brands";
  font-weight: 400;
  content: "\f2c6";
  font-size: 1.1em;
  margin-right: 0;
}

.cta-box .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  color: #667eea;
  padding: 15px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-box .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.faq-item {
  margin-bottom: 30px;
}

.faq-item h3 {
  font-size: 1.3rem;
  color: #1a1a2e;
  margin-bottom: 12px;
}

.faq-item p {
  margin-bottom: 10px;
}

.warning-box {
  background: #fffbeb;
  border-left: 4px solid #f59e0b;
  padding: 20px 25px 20px 52px;
  margin: 30px 0;
  border-radius: 0 8px 8px 0;
  position: relative;
}

.warning-box::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f071";
  position: absolute;
  left: 18px;
  top: 20px;
  font-size: 1.1rem;
  color: #f59e0b;
}

.warning-box p, .warning-box ul {
  margin-bottom: 0;
}

.procedure-box {
  background: #eff6ff;
  border-left: 4px solid #3b82f6;
  padding: 20px 25px 20px 52px;
  margin: 30px 0;
  border-radius: 0 8px 8px 0;
  position: relative;
}

.procedure-box::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f0ae";
  position: absolute;
  left: 18px;
  top: 20px;
  font-size: 1.1rem;
  color: #3b82f6;
}

.procedure-box p, .procedure-box ol, .procedure-box ul {
  margin-bottom: 0;
}

.procedure-box ol {
  margin-left: 20px;
}

.procedure-box li {
  margin-bottom: 10px;
}

/* FAQ Accordion */
.faq-accordion { margin: 0; }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  border-bottom: 1px solid #eee;
  padding: 18px 50px 18px 0;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  color: #1a1a2e;
  cursor: pointer;
  position: relative;
  font-family: inherit;
}

.faq-question::after {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f078";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #667eea;
  transition: transform 0.2s;
  font-size: 0.85rem;
}

.faq-question.faq-open::after {
  transform: translateY(-50%) rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 16px 0 20px;
  color: #444;
  font-size: 1.05rem;
  line-height: 1.75;
  border-bottom: 1px solid #eee;
}

.faq-answer.faq-open { display: block; }

.faq-answer p { margin-bottom: 8px; }
.faq-answer p:last-child { margin-bottom: 0; }

.transparency-note {
  margin-top: 60px;
  padding: 25px;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #666;
}

.transparency-note h3 {
  font-size: 1.2rem;
  margin-top: 0;
  color: #1a1a2e;
}

.transparency-note p {
  margin-bottom: 0;
  color: #555;
  font-size: 0.95rem;
}

.article-footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  color: #666;
  font-size: 0.95rem;
}

/* Articoli correlati */
.correlati-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid #eee;
}

.correlati-section h2 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1a1a2e;
}

.correlati-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.correlato-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 1rem;
  border: 1px solid #eee;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.correlato-card:hover {
  border-color: #667eea;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.correlato-category {
  font-size: 0.75rem;
  color: #666;
  text-transform: capitalize;
}

.correlato-title {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.4;
  color: #1a1a2e;
}

.correlato-reading {
  font-size: 0.75rem;
  color: #767676;
  margin-top: 4px;
}

.t-slider {
  position: relative;
  margin: 24px 0 32px;
}

.t-wrapper {
  overflow: hidden;
  transition: height 0.35s ease;
}

.t-track {
  display: flex;
  align-items: flex-start;
  transition: transform 0.35s ease;
  will-change: transform;
}

.t-slide {
  flex: 0 0 100%;
  margin: 0;
}

.t-slide img {
  width: 100%;
  display: block;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.t-prev, .t-next {
  position: absolute;
  top: 50%;
  transform: translateY(calc(-50% - 14px));
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #334155;
  transition: background 0.15s;
  padding: 0;
}

.t-prev:hover, .t-next:hover { background: #f8fafc; }
.t-prev:disabled, .t-next:disabled { opacity: 0.25; cursor: default; }
.t-prev { left: -14px; }
.t-next { right: -14px; }

.t-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
}

.t-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.t-dot--active {
  background: #667eea;
  transform: scale(1.3);
}

@media (max-width: 768px) {
  .article-container {
    margin-top: 80px;
  }

  .article-header {
    padding: 28px 24px 24px;
  }

  .article-header h1 {
    font-size: 1.8rem;
  }

  .article-content h2 {
    font-size: 1.5rem;
  }

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

  .t-prev { left: 4px; }
  .t-next { right: 4px; }
}
