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

/* Blog Hero */
.blog-hero {
  width: 100%;
  background: #0A6342;
  padding: 40px 6% 35px 6%;
  margin: 0;
}

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

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

/* Blog Index */
.blog-index-cont {
  width: 100%;
  padding: 35px 6% 50px 6%;
  background: #f7f7f7;
}

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

/* Cards Grid */
.blog-grid {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 0;
  padding: 0;
}

.blog-card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
}

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

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

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

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

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

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

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

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

.blog-card p {
  font-family: 'Roboto', sans-serif;
  font-size: 0.86em;
  color: #555;
  line-height: 1.6em;
  margin: 0 0 16px 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.82em;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 9px 18px;
  border-radius: 3px;
  text-decoration: none;
  align-self: flex-start;
}

/* =============================================
   ARTICLE PAGE - Mobile
   ============================================= */

.article-hero {
  width: 100%;
  background: #0A6342;
  padding: 38px 6% 32px 6%;
}

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

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

.article-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

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

/* Article Layout - single column on mobile */
.article-layout {
  width: 100%;
  padding: 35px 6% 50px 6%;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.article-sidebar {
  width: 100%;
  order: 2;
  margin-top: 40px;
}

.article-content {
  order: 1;
}

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

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

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

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

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

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

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

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

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

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

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

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

/* Stats */
.article-stats {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0 24px 0;
}

.article-stat {
  background: #0A6342;
  color: #fff;
  padding: 16px 16px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.article-stat .stat-num {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.5em;
  display: block;
  line-height: 1em;
  flex-shrink: 0;
}

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

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

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

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

.article-table td {
  padding: 9px 12px;
  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; }
.article-table .check-no  { color: #c0392b; }
.article-table .check-warn{ color: #e67e22; }

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

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

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

.faq-icon {
  font-size: 1.2em;
  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 16px 0; }
.faq-answer p { margin: 0 0 10px 0; font-size: 0.92em; }
.faq-answer.open { display: block; }

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

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

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

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

.article-cta-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.btn-cta-green {
  display: inline-block;
  background: #36945F;
  color: #fff;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.88em;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 12px 28px;
  border-radius: 3px;
  text-decoration: none;
  width: 100%;
  max-width: 280px;
  text-align: center;
}

.btn-cta-orange {
  display: inline-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: 12px 28px;
  border-radius: 3px;
  text-decoration: none;
  width: 100%;
  max-width: 280px;
  text-align: center;
}

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

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

.blog-breadcrumb a { color: #36945F; text-decoration: none; }
.blog-breadcrumb span { margin: 0 5px; }

/* Sidebar cards - mobile */
.sidebar-card {
  background: #f7f7f7;
  border-radius: 6px;
  padding: 18px 16px;
  margin: 0 0 18px 0;
}

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

.sidebar-toc { list-style: none; margin: 0; padding: 0; }
.sidebar-toc li { margin: 0 0 7px 0; padding: 0 0 7px 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.83em; color: #444; text-decoration: none; line-height: 1.4em; }

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

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

.sidebar-cta p {
  font-family: 'Roboto', sans-serif;
  font-size: 0.8em;
  color: rgba(255,255,255,0.82);
  margin: 0 0 14px 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.85em;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 10px 16px;
  border-radius: 3px;
  text-decoration: none;
  margin: 0 0 8px 0;
}
