/* Article Specific Styles */
.article-hero {
  background: linear-gradient(135deg, #2c5f96 0%, #1e3c72 100%);
  color: white;
  padding: 3rem 0;
}

.breadcrumb {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: white;
  text-decoration: underline;
}

.breadcrumb span {
  color: white;
  font-weight: 600;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.hero-text {
  flex: 1;
}

.hero-image {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

.article-category {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.article-hero h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin: 0 0 1rem 0;
}

.article-meta {
  display: flex;
  gap: 1.5rem;
  margin: 1rem 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.tag {
  background: rgba(255, 255, 255, 0.15);
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  font-size: 0.8rem;
}

.article-content {
  padding: 3rem 0;
}

.content-wrapper {
  display: flex;
  gap: 3rem;
}

.main-content {
  flex: 2;
}

.article-sidebar {
  flex: 1;
}

.article-intro .lead {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #4a5568;
  margin-bottom: 2rem;
}

.content-section {
  margin-bottom: 3rem;
}

.content-section h2 {
  color: #2c5f96;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.quick-nav {
  background: #f8fafc;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  border: 1px solid #e2e8f0;
}

.quick-nav h3 {
  margin: 0 0 1rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.quick-nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
}

.nav-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  background: white;
  border-radius: 6px;
  text-decoration: none;
  color: #4a5568;
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
}

.nav-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  color: #2c5f96;
}

.nav-card i {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.nav-card span {
  font-size: 0.9rem;
  text-align: center;
  font-weight: 500;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.comparison-col {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
}

.comparison-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.comparison-header i {
  font-size: 1.8rem;
  color: #2c5f96;
}

.comparison-header h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #2d3748;
}

.benefit-card {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
}

.benefit-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e2e8f0;
}

.benefit-number {
  width: 40px;
  height: 40px;
  background: #2c5f96;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
}

.benefit-header h3 {
  margin: 0;
  color: #2c5f96;
}

.benefit-content h4 {
  color: #2c5f96;
  margin: 1rem 0 0.5rem 0;
}

.two-column-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.badge {
  display: inline-block;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
}

.badge-important {
  background: #fee2e2;
  color: #dc2626;
}

.badge-warning {
  background: #fef3c7;
  color: #d97706;
}

.faq-container {
  margin: 2rem 0;
}

.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  background: #f8fafc;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #2d3748;
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer.active {
  padding: 1.5rem;
  max-height: 500px;
}

.final-thoughts {
  background: #f0f9ff;
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid #2c5f96;
}

.callout-box {
  background: white;
  border-radius: 8px;
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.callout-content h3 {
  color: #2c5f96;
  margin: 0 0 1rem 0;
}

.callout-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.article-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0;
  border-top: 1px solid #e2e8f0;
  margin-top: 3rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.share-widget {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.share-buttons {
  display: flex;
  gap: 0.5rem;
}

.share-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.share-btn.facebook { background: #3b5998; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.linkedin { background: #0077b5; }
.share-btn.whatsapp { background: #25d366; }
.share-btn.link { background: #718096; }

.share-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.subscribe-widget {
  background: #f8fafc;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.subscribe-widget h4 {
  margin: 0 0 0.5rem 0;
  color: #2c5f96;
}

.subscribe-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.subscribe-form input {
  flex: 1;
  padding: 0.75rem;
  border: 1px solid #cbd5e0;
  border-radius: 4px;
  font-size: 1rem;
}

.subscribe-form button {
  background: #2c5f96;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease;
}

.subscribe-form button:hover {
  background: #1e3c72;
}

/* Sidebar Styles */
.article-sidebar {
  position: sticky;
  top: 100px;
  align-self: flex-start;
}

.sidebar-widget {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
}

.author-widget {
  text-align: center;
}

.author-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1rem;
  border: 3px solid #f1f5f9;
}

.author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info h4 {
  margin: 0 0 0.5rem 0;
  color: #2c5f96;
}

.author-info p {
  font-size: 0.9rem;
  color: #64748b;
  margin: 0 0 1rem 0;
}

.author-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #2c5f96;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
}

.author-link:hover {
  text-decoration: underline;
}

.sidebar-widget h3 {
  color: #2c5f96;
  margin: 0 0 1rem 0;
  font-size: 1.2rem;
}

.related-articles {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.related-article {
  display: flex;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
  padding: 0.5rem;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.related-article:hover {
  background: #f8fafc;
}

.related-image {
  width: 80px;
  height: 80px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

.related-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-content h4 {
  margin: 0 0 0.3rem 0;
  font-size: 0.95rem;
  color: #2d3748;
}

.related-article:hover .related-content h4 {
  color: #2c5f96;
}

.read-time {
  font-size: 0.8rem;
  color: #64748b;
}

.cta-widget {
  background: linear-gradient(135deg, #2c5f96 0%, #1e3c72 100%);
  color: white;
  text-align: center;
}

.cta-widget h3 {
  color: white;
}

.cta-widget p {
  margin: 0 0 1.5rem 0;
  opacity: 0.9;
}

.btn-block {
  display: block;
  width: 100%;
}

.download-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 0;
  text-decoration: none;
  color: #4a5568;
  border-bottom: 1px solid #e2e8f0;
  transition: color 0.3s ease;
}

.download-item:last-child {
  border-bottom: none;
}

.download-item:hover {
  color: #2c5f96;
}

.download-item i {
  font-size: 1.2rem;
  color: #2c5f96;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-content {
    flex-direction: column;
  }
  
  .hero-image {
    order: -1;
  }
  
  .content-wrapper {
    flex-direction: column;
  }
  
  .article-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .article-hero h1 {
    font-size: 2rem;
  }
  
  .article-meta {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .quick-nav-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .comparison-grid {
    grid-template-columns: 1fr;
  }
  
  .two-column-list {
    grid-template-columns: 1fr;
  }
  
  .article-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .share-widget {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .subscribe-form {
    flex-direction: column;
  }
  
  .callout-actions {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .quick-nav-grid {
    grid-template-columns: 1fr;
  }
  
  .faq-question h3 {
    font-size: 1rem;
  }
}

    /* Peppol 5-Corner Specific Styles */
    .corner-model-container {
      position: relative;
      margin: 3rem 0;
      padding: 2rem;
      background: #f9fbfd;
      border-radius: 8px;
      border: 1px solid #e1e7ed;
    }
    
    .corner-visual {
      position: relative;
      max-width: 800px;
      height: 500px;
      margin: 0 auto;
      background-size: contain;
    }
    
    .corner-point {
      position: absolute;
      width: 120px;
      height: 120px;
      border-radius: 50%;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      color: white;
      font-weight: 600;
      box-shadow: 0 4px 12px rgba(0,0,0,0.15);
      transition: all 0.3s ease;
      z-index: 2;
    }
    
    .corner-point:hover {
      transform: scale(1.05);
      z-index: 3;
    }
    
    .corner-1 {
      top: 10%;
      left: 50%;
      transform: translateX(-50%);
      background: #2c5f96;
    }
    
    .corner-2 {
      top: 40%;
      left: 15%;
      background: #4a8c5a;
    }
    
    .corner-3 {
      top: 40%;
      right: 15%;
      background: #c87f0a;
    }
    
    .corner-4 {
      bottom: 10%;
      left: 50%;
      transform: translateX(-50%);
      background: #8e44ad;
    }
    
    .corner-5 {
      top: 40%;
      left: 50%;
      transform: translateX(-50%);
      background: #c1392b;
      width: 140px;
      height: 140px;
    }
    
    .connection-line {
  position: absolute;
  background: #3498db;
  height: 3px;
  transform-origin: 0 0;
  z-index: 1;
}

/* 1 → 2 */
.connection-1 {
  top: 20%;
  left: 32%;
  width: 20%;
  transform: rotate(0deg);
}

/* 1 → 3 */
.connection-2 {
  top: 20%;
  left: 50%;
  width: 20%;
  transform: rotate(0deg);
}

/* 2 → 5 */
.connection-3 {
  top: 45%;
  left: 28%;
  width: 22%;
  transform: rotate(0deg);
}

/* 3 → 5 */
.connection-4 {
  top: 45%;
  left: 50%;
  width: 22%;
  transform: rotate(0deg);
}

/* 5 → 4 */
.connection-5 {
  top: 70%;
  left: 40%;
  width: 20%;
  transform: rotate(90deg);
}

/* 1 → 5 (vertical line down) */
.connection-6 {
  top: 25%;
  left: 50%;
  width: 25%;
  transform: rotate(90deg);
  background: #c1392b;
  height: 4px;
}

    
    .model-annotation {
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
      margin-top: 2rem;
      justify-content: center;
    }
    
    .annotation-item {
      background: white;
      border-radius: 6px;
      padding: 1.2rem;
      width: calc(33.333% - 1rem);
      box-shadow: 0 2px 8px rgba(0,0,0,0.08);
      border-left: 3px solid #2c5f96;
    }
    
    .annotation-number {
      display: inline-block;
      width: 28px;
      height: 28px;
      background: #2c5f96;
      color: white;
      border-radius: 50%;
      text-align: center;
      line-height: 28px;
      margin-right: 10px;
      font-weight: bold;
    }
    
    .comparison-table {
      width: 100%;
      border-collapse: collapse;
      margin: 2rem 0;
      box-shadow: 0 3px 10px rgba(0,0,0,0.08);
      border-radius: 8px;
      overflow: hidden;
    }
    
    .comparison-table th {
      background: #2c5f96;
      color: white;
      padding: 1rem;
      text-align: left;
    }
    
    .comparison-table td {
      padding: 1rem;
      border-bottom: 1px solid #e1e7ed;
    }
    
    .comparison-table tr:nth-child(even) {
      background: #f8fafc;
    }
    
    .comparison-table .highlight {
      background: #e1f5fe;
      font-weight: 600;
    }
    
    .phase-timeline {
      position: relative;
      max-width: 800px;
      margin: 3rem auto;
      padding-left: 30px;
    }
    
    .phase-timeline::before {
      content: '';
      position: absolute;
      left: 5px;
      top: 0;
      bottom: 0;
      width: 3px;
      background: #2c5f96;
    }
    
    .phase-item {
      position: relative;
      margin-bottom: 2rem;
      padding-left: 30px;
    }
    
    .phase-marker {
      position: absolute;
      left: -10px;
      top: 0;
      width: 20px;
      height: 20px;
      border-radius: 50%;
      background: #2c5f96;
      border: 4px solid white;
      box-shadow: 0 0 0 2px #2c5f96;
    }
    
    .phase-content {
      background: white;
      border-radius: 8px;
      padding: 1.5rem;
      box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    }
    
    .phase-date {
      font-weight: 700;
      color: #2c5f96;
      margin-bottom: 0.5rem;
    }
    
    .benefits-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
      gap: 20px;
      margin: 30px 0;
    }
    
    .benefit-card {
      background: white;
      border-radius: 8px;
      padding: 25px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.08);
      border-top: 3px solid #2c5f96;
      transition: transform 0.3s ease;
    }
    
    .benefit-card:hover {
      transform: translateY(-5px);
    }
    
    .benefit-card i {
      font-size: 2.5rem;
      color: #2c5f96;
      margin-bottom: 15px;
      display: block;
    }
    
    .benefit-card h4 {
      margin: 0 0 15px 0;
      color: #2c5f96;
    }
    
    .preparation-steps {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      margin: 30px 0;
    }
    
    .step-card {
      flex: 1;
      min-width: 250px;
      background: white;
      border-radius: 8px;
      padding: 25px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.08);
      border: 1px solid #e1e7ed;
      position: relative;
    }
    
    .step-number {
      position: absolute;
      top: -15px;
      left: -15px;
      width: 40px;
      height: 40px;
      background: #2c5f96;
      color: white;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: bold;
      font-size: 1.2rem;
      box-shadow: 0 3px 6px rgba(0,0,0,0.16);
    }
    
    @media (max-width: 768px) {
      .corner-visual {
        height: 400px;
      }
      
      .corner-point {
        width: 80px;
        height: 80px;
        font-size: 0.8rem;
      }
      
      .corner-5 {
        width: 100px;
        height: 100px;
      }
      
      .annotation-item {
        width: 100%;
      }
      
      .connection-line {
        display: none;
      }
      
      .corner-model-container {
        overflow: auto;
      }
      
      .corner-visual {
        min-width: 600px;
      }
    }