.article {
  max-width: 1250px;
  margin: 0 auto;
  padding: 2rem 1rem;
  line-height: 1.7;
  color: #333;
  font-family: 'Montserrat', sans-serif;
}

.article-header {
  background: #e7f3f3;
  padding: 2rem 1rem 1rem;
  margin: -2rem -1rem 1rem;
}

.breadcrumbs {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: #666;
}

.breadcrumbs a {
  color: #2c5aa0;
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.article-meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
  font-size: 0.9rem;
  color: #666;
  flex-wrap: wrap;
}

.article-meta span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.article-meta span::before {
content: none;
}

.article-meta span:first-child::before {
  content: none;
}

.article-toc {
  background: #f8f9fa;
  border-left: 4px solid #0A868F;
  padding: 0 30px 12px;
  margin: 2rem 0;
  border-radius: 25px;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.toc-title {
  margin: 0 0 0.75rem;
  color: #2c3e50;
  font-size: 1.3rem;
  font-weight: 600;
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-item {
  margin: 0.5rem 0;
}

.toc-item a {
  color: #2c5aa0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.toc-item a:hover {
  color: #1e3a8a;
  text-decoration: underline;
}

.article-body {
  font-size: 1.1rem;
  color: #444;
}

.article-body h2 {
  font-size: 1.7rem;
  margin: 2.2rem 0 1rem;
  color: #2c3e50;
  font-weight: 600;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e8e8e8;
}

.article-body h3 {
  font-size: 1.5rem;
  margin: 1rem 0 1rem;
  color: #34495e;
  font-weight: 600;
}

.article-body h4 {
  font-size: 1.3rem;
  margin: 1.5rem 0 0.8rem;
  color: #2c3e50;
  font-weight: 500;
}

.article-body h5 {
  font-size: 1.15rem;
  margin: 1.2rem 0 0.8rem;
  color: #2c3e50;
  font-weight: 500;
}

.article-body p {
  margin: 1rem 0;
  text-align: justify;
}

.article-body ul,
.article-body ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.article-body li {
  margin: 0.7rem 0;
  padding-left: 0.5rem;
}

.article-body ul li {
  list-style-type: disc;
}

.article-body ol li {
  list-style-type: decimal;
}

.article-body ul ul,
.article-body ol ol,
.article-body ul ol,
.article-body ol ul {
  margin: 0.5rem 0;
}

.article-body blockquote {
  background: #f9f9f9;
  border-left: 4px solid #2c5aa0;
  margin: 2rem 0;
  padding: 1.5rem;
  font-style: italic;
  color: #555;
  position: relative;
}

.article-body blockquote::before {
  content: '"';
  font-size: 3rem;
  color: #2c5aa0;
  position: absolute;
  left: 10px;
  top: -10px;
  opacity: 0.2;
  font-family: Georgia, serif;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.article-body th,
.article-body td {
  padding: 1rem;
  text-align: left;
  border: 1px solid #ddd;
}

.article-body th {
  background: #f8f9fa;
  font-weight: 600;
  color: #2c3e50;
}

.article-body tr:nth-child(even) {
  background: #f9f9f9;
}

.call-to-action-article {
    text-align: center;
    padding: 45px 40px;
    background: #E5F2F2;
    border-radius: 16px;
    border: 2px dashed #0B7578;
    margin-top: 40px;
}

.image-caption {
  text-align: center;
  font-style: italic;
  color: #666;
  margin: -1.5rem 0 2rem;
  font-size: 0.9rem;
}

.image-article-container {
  text-align: center;
  border: none;
  background: none;
  padding: 0;
  margin: 20px 0;
}

.image-article-container img {
  display: block;
  max-width: 100%;
  height: auto;
  max-height: 50vh;
  object-fit: contain;
  margin: 0 auto;
  border: none;
}

.article-body code {
  background: #f4f4f4;
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
}

.article-body pre {
  background: #2d2d2d;
  color: #f8f8f2;
  padding: 1.5rem;
  border-radius: 8px;
  overflow-x: auto;
  margin: 2rem 0;
}

.article-body pre code {
  background: none;
  padding: 0;
  color: inherit;
}

.article-body a {
  color: #0B7578;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
  font-size: 16px;
}

.btn-article {
  color: #f9f9f9 !important;
  margin-bottom: 10px;
  margin-top: 30px;
  text-align: center;
}

.article-body a:hover {
  color: #e36f40;
}

.article-body strong {
  color: #2c3e50;
  font-weight: 600;
}

.article-body em {
  color: #555;
  font-style: italic;
}

.article-body hr {
  border: none;
  height: 1px;
  background: #eee;
  margin: 2.5rem 0;
}

.highlight {
  background: linear-gradient(120deg, #f6d365 0%, #fda085 100%);
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  font-weight: 500;
}

.article-cta {
  background: linear-gradient(-359deg, #0B7578 0%, #e36f40 100%);
  color: #fff;
  padding: 2rem;
  border-radius: 12px;
  margin: 3rem 0;
  text-align: center;
}

.article-cta h3 {
  margin-top: 0;
  font-size: 1.5rem;
}

.article-cta p {
  margin: 1rem 0;
  font-size: 1.1rem;
  text-align: center;
}

.article-cta .btn {
  background: #fff;
  color: #e36f40;
  padding: 0.8rem 2rem;
  border-radius: 6px;
  font-weight: 600;
  margin: 1rem 0;
  display: inline-block;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.article-cta .btn:hover {
  transform: translateY(-2px);
}

.article-cta a {
  color: #fff;
  font-weight: 600;
}

.article-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #eee;
}

.article-tags {
  margin-bottom: 2rem;
}

.article-tag {
  display: inline-block;
  background: #e8f0fe;
  color: #2c5aa0;
  padding: 0.3rem 0.8rem;
  margin: 0.3rem;
  border-radius: 20px;
  font-size: 0.9rem;
  text-decoration: none;
}

.article-tag:hover {
  background: #d0e3ff;
}

.share-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.share-btn {
  padding: 0.5rem 1rem;
  border-radius: 5px;
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  transition: opacity 0.3s ease;
}

.share-btn:hover {
  opacity: 0.9;
}

.share-btn.vk {
  background: #4a76a8;
}

.share-btn.telegram {
  background: #0088cc;
}

.share-btn.whatsapp {
  background: #25d366;
}

.article [id] {
  scroll-margin-top: 2rem;
}

.cta-title-article {
    color: #0B7578 !important;
	border-bottom: 2px solid #E5F2F2 !important;
}

.cta-subtitle-article {
    font-size: 1.4em;
    color: #0B7578;
	text-align: center !important;
}

@media (max-width: 968px) {
	.call-to-action-article {
	  margin-left: 50px;
      margin-right: 50px;
	  padding: 60px 40px 55px 40px;
	}

	.cta-title-article {
		margin-top: 0px;
		font-size: 2em;
	}
	
}
	
@media (max-width: 767px) {
  .article {
    padding: 1rem;
  }
  
  .call-to-action-article {
	margin-left: 20px;
    margin-right: 20px;
    padding: 40px 20px;
  }
	
  .article-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 4rem 1rem 1rem  0rem;
  }
  
  .article-body h2 {
    font-size: 1.3rem;
    font-weight: 500;
  }
  
  .article-body h3 {
    font-size: 1.3rem;
  }
  
  .article-meta {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .article-body ul,
  .article-body ol {
    padding-left: 1.5rem;
  }
  
  .breadcrumbs {
    font-size: 12px;
  }
  
  .article-toc {
    margin-top: 4rem;
    border-radius: 20px;
  }
  
  .image-article-container {
    width: 100%;
    margin: 1rem 0;
  }
  
  .cta-title-article {
    font-size: 1.6em !important;
  }
  
  .cta-subtitle-article {
    font-size: 1.3em !important;
  }
	
}

@media (min-width: 768px) and (max-width: 1023px) {
  .article {
    display: block;
  }
  
  .article-title {
    font-size: 2.1rem;
    margin: 3rem 0 3rem;
    font-weight: 600;
  }
  
  .article-header {
    margin: 0 -1rem 1rem;
  }
  
  .article-toc {
    margin: 3.5rem 0;
    position: static;
  }
  
  .image-article-container {
    width: 100%;
    max-width: 800px;
  }
}

@media (min-width: 1024px) {
  .article {
    display: block;
    position: relative;
  }

  .article-toc {
    position: absolute;
    top: 60px;
    right: 20px;
    width: 300px;
    max-height: calc(87vh - 160px);
    overflow-y: auto;
    background: #f8f9fa;
    border-left: 4px solid #0A868F;
    padding: 0 30px 12px;
    border-radius: 25px;
    z-index: 100;
    margin: 60px 0 0px;
    transition: all 0.3s ease;
  }

  .article-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 140px 0 20px;
    color: #2c3e50;
    line-height: 1.3;
  }
  
  .article-meta {
    margin: 0 0 30px;
  }
  
  .image-article-container {
    margin: 20px 0;
  }
  
  .article-body {
    max-width: 800px;
    margin: 0 auto;
  }
  
  .toc-hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
  }
}

@media (max-width: 1210px) {
  .article-toc {
    top: calc(var(--header-height, 80px) + 0px);
  }
}

@media (max-width: 600px) {
  .article-body p {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .call-to-action-article {
	margin-left: 10px;
    margin-right: 10px;
  }
  
  .cta-title-article {
    font-size: 1.4em;
  }
  
}

.article {
  position: relative;
}

.article-toc {
  transition: top 0.2s ease;
}

.article-toc.is-fixed {
  position: fixed;
  top: 120px;
}

.article-toc.is-bottom {
  position: absolute;
  top: auto !important;
  bottom: auto !important;
}

.article-toc .toc-list {
  max-height: 500px;
  overflow-y: auto;
  margin: 10px 0 0 0;
}

