
        .tm-articles-section {
  --tm-articles-bg: #f8fafc;
  --tm-articles-card-bg: #ffffff;
  --tm-articles-text: #0f172a;
  --tm-articles-muted: #64748b;
  --tm-articles-border: #e2e8f0;
  --tm-articles-primary: #2563eb;
  --tm-articles-primary-dark: #1d4ed8;
  --tm-articles-soft: #eff6ff;
  --tm-articles-radius-lg: 28px;
  --tm-articles-radius-md: 20px;
  --tm-articles-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  --tm-articles-shadow-hover: 0 24px 60px rgba(15, 23, 42, 0.14);

  direction: rtl;
  text-align: right;
  font-family: inherit;
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.08), transparent 34%),
    var(--tm-articles-bg);
  padding: 96px 20px;
  color: var(--tm-articles-text);
}

.tm-articles-section * {
  box-sizing: border-box;
}

.tm-articles-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

.tm-articles-header {
  max-width: 680px;
  margin-bottom: 40px;
}

.tm-articles-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  padding: 7px 14px;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--tm-articles-primary);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
}

.tm-articles-title {
  margin: 0;
  color: var(--tm-articles-text);
  font-size: 40px;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.tm-articles-description {
  margin: 16px 0 0;
  color: var(--tm-articles-muted);
  font-size: 17px;
  font-weight: 400;
  line-height: 2;
}

.tm-articles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.tm-articles-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--tm-articles-border);
  border-radius: var(--tm-articles-radius-lg);
  background: var(--tm-articles-card-bg);
  box-shadow: var(--tm-articles-shadow);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.tm-articles-card:hover {
  transform: translateY(-6px);
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: var(--tm-articles-shadow-hover);
}

.tm-articles-image-link {
  display: block;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  background: var(--tm-articles-soft);
}

.tm-articles-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 320ms ease;
}

.tm-articles-card:hover .tm-articles-image {
  transform: scale(1.045);
}

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

.tm-articles-date {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  padding: 5px 11px;
  border-radius: 999px;
  background: #f1f5f9;
  color: var(--tm-articles-muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.8;
}

.tm-articles-card-title {
  margin: 0;
  color: var(--tm-articles-text);
  font-size: 20px;
  font-weight: 850;
  line-height: 1.65;
}

.tm-articles-card-text {
  margin: 10px 0 22px;
  color: var(--tm-articles-muted);
  font-size: 15px;
  font-weight: 400;
  line-height: 2;
}

.tm-articles-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 44px;
  margin-top: auto;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--tm-articles-primary);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.6;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.tm-articles-link:hover,
.tm-articles-link:focus-visible {
  background: var(--tm-articles-primary-dark);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
}

.tm-articles-link:focus-visible,
.tm-articles-image-link:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 4px;
}

/* Desktop: 1024px به بالا */
@media (min-width: 1024px) {
  .tm-articles-section {
    padding-top: 96px;
    padding-bottom: 96px;
  }

  .tm-articles-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
}

/* Tablet: 768px تا 1023px */
@media (min-width: 768px) and (max-width: 1023px) {
  .tm-articles-section {
    padding: 76px 20px;
  }

  .tm-articles-header {
    max-width: 620px;
    margin-bottom: 32px;
  }

  .tm-articles-title {
    font-size: 34px;
  }

  .tm-articles-description {
    font-size: 16px;
  }

  .tm-articles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .tm-articles-card-body {
    padding: 22px;
  }

  .tm-articles-card-title {
    font-size: 19px;
  }
}

/* Mobile: تا 767px */
@media (max-width: 767px) {
  .tm-articles-section {
    padding: 56px 16px;
  }

  .tm-articles-header {
    margin-bottom: 26px;
  }

  .tm-articles-eyebrow {
    margin-bottom: 12px;
    font-size: 13px;
  }

  .tm-articles-title {
    font-size: 28px;
    line-height: 1.45;
  }

  .tm-articles-description {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.9;
  }

  .tm-articles-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .tm-articles-card {
    border-radius: 22px;
  }

  .tm-articles-card-body {
    padding: 20px;
  }

  .tm-articles-date {
    font-size: 12px;
  }

  .tm-articles-card-title {
    font-size: 18px;
    line-height: 1.7;
  }

  .tm-articles-card-text {
    margin-bottom: 18px;
    font-size: 14px;
    line-height: 1.95;
  }

  .tm-articles-link {
    width: 100%;
    min-height: 48px;
    padding: 11px 16px;
    font-size: 14px;
  }
}
