/* =============================================
   BLOG - Desktop Styles
   enlinea.uic.mx
   ============================================= */

/* Blog Hero */
.blog-hero {
  width: 100%;
  background: #0A6342;
  padding: 60px 10% 50px 10%;
  margin: 0;
}

.blog-hero h1 {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: 2.4em;
  color: #ffffff;
  margin: 0 0 10px 0;
  padding: 0;
  line-height: 1.2em;
}

.blog-hero p {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 1.05em;
  color: rgba(255,255,255,0.85);
  margin: 0;
  padding: 0;
}

/* Blog Index Container */
.blog-index-cont {
  width: 100%;
  padding: 60px 10% 70px 10%;
  background: #f7f7f7;
}

.blog-index-cont h2.section-title {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.6em;
  color: #0A6342;
  margin: 0 0 35px 0;
  padding: 0 0 12px 0;
  border-bottom: 3px solid #36945F;
  display: inline-block;
}

/* Cards Grid */
.blog-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.blog-card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  flex: 1 1 calc(33.333% - 20px);
  max-width: calc(33.333% - 20px);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.blog-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.14);
  transform: translateY(-3px);
}

.blog-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.blog-card-img-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #0A6342 0%, #36945F 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-card-img-placeholder span {
  font-size: 3em;
  color: rgba(255,255,255,0.4);
}

.blog-card-body {
  padding: 22px 22px 24px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px 0;
}

.blog-card-cat {
  display: inline-block;
  background: #36945F;
  color: #fff;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.7em;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 3px;
  text-decoration: none;
}

.blog-card-date {
  font-family: 'Roboto', sans-serif;
  font-size: 0.78em;
  color: #888;
}

.blog-card h3 {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.15em;
  color: #222;
  margin: 0 0 10px 0;
  padding: 0;
  line-height: 1.35em;
}

.blog-card p {
  font-family: 'Roboto', sans-serif;
  font-size: 0.88em;
  color: #555;
  line-height: 1.6em;
  margin: 0 0 18px 0;
  padding: 0;
  flex: 1;
}

.blog-card-link {
  display: inline-block;
  background: #0A6342;
  color: #fff;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.85em;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 9px 20px;
  border-radius: 3px;
  text-decoration: none;
  transition: background 0.2s;
  align-self: flex-start;
}

.blog-card-link:hover {
  background: #36945F;
}

/* =============================================
   ARTICLE PAGE
   ============================================= */

/* Article Hero */
.article-hero {
  width: 100%;
  background: #0A6342;
  padding: 55px 10% 45px 10%;
}

.article-hero-cat {
  display: inline-block;
  background: #36945F;
  color: #fff;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.75em;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 3px;
  margin: 0 0 15px 0;
}

.article-hero h1 {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: 2.4em;
  color: #fff;
  margin: 0 0 14px 0;
  padding: 0;
  line-height: 1.2em;
  max-width: 750px;
}

.article-hero-meta {
  display: flex;
  align-items: center;
  gap: 20px;
}

.article-hero-meta span {
  font-family: 'Roboto', sans-serif;
  font-size: 0.85em;
  color: rgba(255,255,255,0.75);
}

/* Article Layout */
.article-layout {
  width: 100%;
  padding: 60px 10% 70px 10%;
  background: #fff;
  display: flex;
  gap: 50px;
  align-items: flex-start;
}

/* Main Content */
.article-content {
  flex: 1;
  min-width: 0;
}

.article-featured-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 6px;
  margin: 0 0 40px 0;
  display: block;
}

.article-featured-img-placeholder {
  width: 100%;
  height: 420px;
  background: linear-gradient(135deg, #0A6342 0%, #36945F 100%);
  border-radius: 6px;
  margin: 0 0 40px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-featured-img-placeholder span {
  font-size: 5em;
  color: rgba(255,255,255,0.25);
}

.article-content h2 {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.55em;
  color: #0A6342;
  margin: 40px 0 14px 0;
  padding: 0;
  line-height: 1.2em;
}

.article-content h3 {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.2em;
  color: #222;
  margin: 30px 0 10px 0;
  padding: 0;
  line-height: 1.3em;
}

.article-content p {
  font-family: 'Roboto', sans-serif;
  font-size: 1em;
  color: #444;
  line-height: 1.75em;
  margin: 0 0 18px 0;
  padding: 0;
}

.article-content strong {
  color: #222;
  font-weight: 700;
}

.article-content ul {
  margin: 0 0 20px 0;
  padding: 0 0 0 24px;
}

.article-content ul li {
  font-family: 'Roboto', sans-serif;
  font-size: 1em;
  color: #444;
  line-height: 1.75em;
  margin: 0 0 6px 0;
  padding: 0;
}

.article-content ul li::marker {
  color: #36945F;
}

/* Highlight box */
.article-highlight {
  background: #f0f7f3;
  border-left: 4px solid #36945F;
  padding: 20px 22px;
  margin: 24px 0;
  border-radius: 0 4px 4px 0;
}

.article-highlight p {
  margin: 0;
  color: #333;
}

/* Stats box */
.article-stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin: 24px 0 30px 0;
}

.article-stat {
  flex: 1 1 120px;
  background: #0A6342;
  color: #fff;
  padding: 20px 18px;
  border-radius: 6px;
  text-align: center;
}

.article-stat .stat-num {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.6em;
  display: block;
  line-height: 1.1em;
  margin-bottom: 6px;
}

.article-stat .stat-label {
  font-family: 'Roboto', sans-serif;
  font-size: 0.78em;
  line-height: 1.4em;
  color: rgba(255,255,255,0.85);
}

/* Comparison table */
.article-table-wrap {
  overflow-x: auto;
  margin: 24px 0 30px 0;
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Roboto', sans-serif;
  font-size: 0.92em;
}

.article-table th {
  background: #0A6342;
  color: #fff;
  padding: 12px 16px;
  text-align: left;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.95em;
}

.article-table td {
  padding: 11px 16px;
  border-bottom: 1px solid #e8e8e8;
  color: #444;
  vertical-align: middle;
}

.article-table tr:nth-child(even) td {
  background: #f7f7f7;
}

.article-table .check-yes { color: #36945F; font-size: 1.1em; }
.article-table .check-no  { color: #c0392b; font-size: 1.1em; }
.article-table .check-warn{ color: #e67e22; font-size: 1.1em; }

/* FAQ Accordion */
.article-faq {
  margin: 10px 0 30px 0;
}

.faq-item {
  border-bottom: 1px solid #e0e0e0;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 18px 0;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: 1em;
  color: #0A6342;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-question:hover { color: #36945F; }

.faq-icon {
  font-size: 1.3em;
  line-height: 1;
  transition: transform 0.2s;
  flex-shrink: 0;
}

.faq-question.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  display: none;
  padding: 0 0 18px 0;
}

.faq-answer p {
  margin: 0 0 10px 0;
}

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

/* Article source note */
.article-source {
  font-family: 'Roboto', sans-serif;
  font-size: 0.78em;
  color: #999;
  font-style: italic;
  margin: -10px 0 20px 0;
}

/* CTA Article */
.article-cta {
  background: #f0f7f3;
  border: 1px solid #c5e0d3;
  border-radius: 6px;
  padding: 32px 30px;
  margin: 40px 0 0 0;
  text-align: center;
}

.article-cta h3 {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.4em;
  color: #0A6342;
  margin: 0 0 10px 0;
}

.article-cta p {
  font-family: 'Roboto', sans-serif;
  font-size: 0.95em;
  color: #555;
  margin: 0 0 22px 0;
}

.article-cta-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.btn-cta-green {
  display: inline-block;
  background: #36945F;
  color: #fff;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.9em;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 12px 28px;
  border-radius: 3px;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-cta-green:hover { background: #0A6342; }

.btn-cta-orange {
  display: inline-block;
  background: #f6a04e;
  color: #fff;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.9em;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 12px 28px;
  border-radius: 3px;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-cta-orange:hover { background: #e08830; }

/* Sidebar */
.article-sidebar {
  width: 280px;
  flex-shrink: 0;
}

.sidebar-card {
  background: #f7f7f7;
  border-radius: 6px;
  padding: 22px 20px;
  margin: 0 0 24px 0;
}

.sidebar-card h4 {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.95em;
  color: #0A6342;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 14px 0;
  padding: 0 0 10px 0;
  border-bottom: 2px solid #36945F;
}

.sidebar-toc {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-toc li {
  margin: 0 0 8px 0;
  padding: 0 0 8px 0;
  border-bottom: 1px solid #e8e8e8;
}

.sidebar-toc li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.sidebar-toc a {
  font-family: 'Roboto', sans-serif;
  font-size: 0.85em;
  color: #444;
  text-decoration: none;
  line-height: 1.4em;
}

.sidebar-toc a:hover { color: #36945F; }

.sidebar-cta {
  background: #0A6342;
  border-radius: 6px;
  padding: 24px 20px;
  text-align: center;
}

.sidebar-cta h4 {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.05em;
  color: #fff;
  margin: 0 0 10px 0;
  padding: 0;
}

.sidebar-cta p {
  font-family: 'Roboto', sans-serif;
  font-size: 0.82em;
  color: rgba(255,255,255,0.82);
  margin: 0 0 16px 0;
  line-height: 1.5em;
}

.sidebar-cta a {
  display: block;
  background: #f6a04e;
  color: #fff;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.88em;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 11px 18px;
  border-radius: 3px;
  text-decoration: none;
  margin: 0 0 8px 0;
  transition: background 0.2s;
}

.sidebar-cta a:hover { background: #e08830; }

/* Breadcrumb */
.blog-breadcrumb {
  width: 100%;
  background: #fff;
  padding: 12px 10% 12px 10%;
  border-bottom: 1px solid #eee;
}

.blog-breadcrumb nav {
  font-family: 'Roboto', sans-serif;
  font-size: 0.82em;
  color: #888;
}

.blog-breadcrumb a {
  color: #36945F;
  text-decoration: none;
}

.blog-breadcrumb a:hover { text-decoration: underline; }

.blog-breadcrumb span { margin: 0 6px; }

@media screen and (min-width: 1799px) {
  .blog-hero,
  .blog-index-cont,
  .blog-breadcrumb,
  .article-hero,
  .article-layout {
    padding-left: 15%;
    padding-right: 15%;
  }
}

@media screen and (min-width: 2000px) {
  .blog-hero h1,
  .article-hero h1 {
    font-size: 2.8em;
  }
  .article-content p,
  .article-content ul li {
    font-size: 1.1em;
  }
}
