/* Apadana landing article styles (برای محتوای HTML آماده شده) */

/* Hide broken empty images */
img[src=""] {
  display: none !important;
}

.content-article,
.entry-content {
  color: #333333;
  font-family: 'iranyekan', 'IRANYekanX', sans-serif;
  font-feature-settings: "lnum", "ss02";
}

.content-article h1,
.entry-content h1 {
  font-size: 2rem;
  line-height: 1.5;
  font-weight: 800;
  color: #2c2c2c;
  margin: 0 0 18px;
}

.content-article h2,
.entry-content h2 {
  margin-top: 26px;
  margin-bottom: 12px;
  font-size: 1.45rem;
  line-height: 1.6;
  font-weight: 800;
  color: #2c2c2c;
}

.content-article h3,
.entry-content h3 {
  margin-top: 18px;
  margin-bottom: 10px;
  font-size: 1.1rem;
  line-height: 1.7;
  font-weight: 800;
  color: #2c2c2c;
}

.content-article p,
.entry-content p {
  line-height: 2.05;
  color: #666666;
  font-size: 1rem;
  margin: 10px 0;
}

.content-article a,
.entry-content a {
  color: #d40000;
  text-decoration: none;
}

.content-article a:hover,
.entry-content a:hover {
  text-decoration: underline;
}

.content-article img,
.entry-content img {
  width: 100%;
  max-width: 100%;
  border-radius: 20px;
  box-shadow: 0 0 10px -6px rgba(0, 0, 0, 0.25);
}

.content-article table,
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #eee;
  margin: 16px 0;
}

.content-article th,
.entry-content th,
.content-article td,
.entry-content td {
  padding: 12px 10px;
  border: 1px solid #eeeeee;
  vertical-align: top;
  text-align: right;
}

.content-article th,
.entry-content th {
  background: #f9f9f9;
  font-weight: 800;
  color: #2c2c2c;
}

.content-article ul,
.entry-content ul {
  margin: 12px 0;
  padding-right: 22px;
  color: #666666;
}

.content-article li,
.entry-content li {
  margin: 8px 0;
  line-height: 2;
}

.content-article {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px 48px;
}

.apadana-landing-page .content-article {
  padding-bottom: 64px;
}

/* ── CTA blocks ── */
.apadana-landing-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
  padding: 20px;
  background: linear-gradient(135deg, rgba(212, 0, 0, 0.06) 0%, rgba(122, 0, 0, 0.04) 100%);
  border: 1px solid rgba(212, 0, 0, 0.15);
  border-radius: 20px;
}

.apadana-landing-cta--inline {
  justify-content: center;
}

.apadana-landing-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 800;
  text-decoration: none !important;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.apadana-landing-cta__btn--primary {
  background: #bd0b04;
  color: #ffffff !important;
  flex: 1 1 220px;
}

.apadana-landing-cta__btn--primary:hover {
  background: #a80000;
}

.apadana-landing-cta__btn--secondary {
  background: #ffffff;
  color: #d40000 !important;
  border: 2px solid #d40000;
  flex: 1 1 220px;
}

.apadana-landing-cta__btn--secondary:hover {
  background: #d40000;
  color: #ffffff !important;
}

/* ── Experience box ── */
.apadana-landing-experience {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin: 36px 0 28px;
  padding: 24px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 0 10px -6px rgba(0, 0, 0, 0.25);
  border-right: 4px solid #bd0b04;
}

.apadana-landing-experience__icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d40000 0%, #7a0000 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
}

.apadana-landing-experience__title {
  margin: 0 0 10px;
  font-size: 1.2rem;
  font-weight: 800;
  color: #2c2c2c;
}

.apadana-landing-experience__text {
  margin: 0;
  line-height: 2;
  color: #666666;
}

/* ── Author box ── */
.apadana-landing-author {
  display: flex;
  gap: 18px;
  margin: 28px 0 0;
  padding: 24px;
  background: #f9f9f9;
  border-radius: 20px;
  border: 1px solid #eeeeee;
}

.apadana-landing-author__avatar img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: none;
}

.apadana-landing-author__label {
  margin: 0 0 4px;
  font-size: 0.82rem;
  color: #666666;
  font-weight: 600;
}

.apadana-landing-author__name {
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 800;
  color: #2c2c2c;
}

.apadana-landing-author__bio {
  margin: 0 0 14px;
  line-height: 2;
  color: #666666;
}

.apadana-landing-author__sources-title {
  margin: 0 0 8px;
  font-size: 0.95rem;
  font-weight: 800;
  color: #2c2c2c;
}

.apadana-landing-author__sources ul {
  margin: 0;
  padding-right: 18px;
}

.apadana-landing-author__sources li {
  margin: 6px 0;
  font-size: 0.92rem;
}

@media (max-width: 768px) {
  .apadana-landing-cta {
    flex-direction: column;
    padding: 16px;
  }

  .apadana-landing-cta__btn {
    width: 100%;
    flex: 1 1 auto;
  }

  .apadana-landing-experience,
  .apadana-landing-author {
    flex-direction: column;
    padding: 18px;
  }

  .content-article h1,
  .entry-content h1 {
    font-size: 1.5rem;
  }

  .content-article h2,
  .entry-content h2 {
    font-size: 1.25rem;
  }
}

