/* Blog — editorial layout */
.odm-blog-main {
  padding: 28px 0 72px;
  min-height: 60vh;
  background:
    radial-gradient(900px 420px at 12% -10%, rgba(255, 171, 121, 0.12), transparent 60%),
    radial-gradient(700px 360px at 90% 0%, rgba(96, 165, 250, 0.08), transparent 55%),
    #0f0f12;
}

.odm-blog__crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 18px;
  font-size: 13px;
  color: #8b8b93;
}

.odm-blog__crumbs a {
  color: #cfcfd6;
  text-decoration: none;
}

.odm-blog__crumbs a:hover {
  color: #ffab79;
}

.odm-blog__eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffab79;
}

.odm-blog__h1,
.odm-blog-post__h1 {
  margin: 0 0 12px;
  font-family: Unbounded, Manrope, sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: clamp(1.7rem, 3.2vw, 2.55rem);
  color: #f5f5f7;
}

.odm-blog__lead,
.odm-blog-post__excerpt {
  margin: 0 0 22px;
  max-width: 720px;
  color: #b0b0b8;
  font-size: 1.05rem;
  line-height: 1.55;
}

.odm-blog__toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
  align-items: center;
  margin: 0 0 10px;
}

.odm-blog__search {
  position: relative;
  flex: 1 1 260px;
  min-width: min(100%, 220px);
}

.odm-blog__search i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #8b8b93;
  pointer-events: none;
}

.odm-blog__search input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px 12px 40px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px !important;
  corner-shape: unset !important;
  background: #1a1a1f;
  color: #f3f3f5;
  font: inherit;
}

.odm-blog__search input:focus {
  outline: none;
  border-color: rgba(255, 171, 121, 0.45);
  box-shadow: 0 0 0 3px rgba(255, 171, 121, 0.12);
}

.odm-blog__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.odm-blog__chip {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px !important;
  corner-shape: unset !important;
  background: transparent;
  color: #cfcfd6;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.odm-blog__chip.is-active,
.odm-blog__chip:hover {
  background: rgba(255, 171, 121, 0.16);
  border-color: rgba(255, 171, 121, 0.4);
  color: #fff;
}

.odm-blog__count {
  margin: 0 0 16px;
  min-height: 1.2em;
  color: #8b8b93;
  font-size: 13px;
}

.odm-blog__empty {
  margin: 24px 0;
  color: #9a9aa3;
}

.odm-blog__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}

.odm-blog-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-radius: 14px !important;
  corner-shape: unset !important;
  overflow: hidden;
  background: #17171c;
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  min-height: 100%;
}

.odm-blog-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 171, 121, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.odm-blog-card__media {
  aspect-ratio: 16 / 9;
  background: #111;
  overflow: hidden;
}

.odm-blog-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.odm-blog-card__body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.odm-blog-card__meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.odm-blog-card__audience {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 6px !important;
  corner-shape: unset !important;
  font-size: 11px;
  font-weight: 700;
  color: #1a1a1f;
  background: #ffab79;
}

.odm-blog-card__views {
  font-size: 12px;
  color: #8b8b93;
  font-variant-numeric: tabular-nums;
}

.odm-blog-card__views::before {
  content: "👁 ";
  font-size: 11px;
}

.odm-blog-card__title {
  margin: 0;
  font-family: Unbounded, Manrope, sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.35;
  color: #f3f3f5;
  letter-spacing: -0.02em;
}

.odm-blog-card__excerpt {
  margin: 0;
  font-size: 0.9rem;
  color: #9a9aa3;
  line-height: 1.45;
}

.odm-blog-card__date {
  margin-top: auto;
  font-size: 12px;
  color: #75757e;
}

.odm-blog__seo-note {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #9a9aa3;
  font-size: 0.95rem;
  line-height: 1.6;
}

.odm-blog__seo-note h2 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  color: #e8e8ec;
}

.odm-blog__seo-note a {
  color: #ffab79;
}

.odm-blog-post__meta {
  margin: 0 0 10px;
  font-size: 13px;
  color: #8b8b93;
}

.odm-blog-post__cover {
  margin: 0 0 28px;
  border-radius: 12px !important;
  corner-shape: unset !important;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.odm-blog-post__cover img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
}

.odm-blog-post__body {
  max-width: 760px;
  color: #d5d5db;
  font-size: 1.05rem;
  line-height: 1.7;
}

.odm-blog-post__body h2,
.odm-blog-post__body h3 {
  color: #f5f5f7;
  margin: 1.6em 0 0.55em;
  line-height: 1.3;
}

.odm-blog-post__body p {
  margin: 0 0 1em;
}

.odm-blog-post__body ul,
.odm-blog-post__body ol {
  margin: 0 0 1em;
  padding-left: 1.25em;
}

.odm-blog-post__body code {
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(255, 171, 121, 0.12);
  color: #ffc4a0;
  font-size: 0.95em;
}

.odm-blog-post__body a {
  color: #ffab79;
}

.odm-blog-post__body table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.2em;
  font-size: 0.95rem;
}

.odm-blog-post__body th,
.odm-blog-post__body td {
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 10px;
  text-align: left;
}

.odm-blog-post__faq {
  max-width: 760px;
  margin-top: 40px;
}

.odm-blog-post__faq h2 {
  color: #f5f5f7;
  font-size: 1.35rem;
}

.odm-blog-faq-item {
  margin: 0 0 14px;
  padding: 14px 16px;
  border-radius: 8px !important;
  corner-shape: unset !important;
  background: #1a1a1f;
}

.odm-blog-faq-item strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
}

.odm-blog-faq-item p {
  margin: 0;
  color: #b0b0b8;
  line-height: 1.55;
}

.odm-blog-post__foot {
  max-width: 760px;
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.odm-blog-post__cta {
  display: inline-flex;
  align-items: center;
  padding: 12px 18px;
  border-radius: 8px !important;
  corner-shape: unset !important;
  background: #ffab79;
  color: #1a1a1f;
  font-weight: 700;
  text-decoration: none;
}

.odm-blog-post__back {
  color: #cfcfd6;
  text-decoration: none;
}

.odm-blog-post__back:hover {
  color: #ffab79;
}

@media (max-width: 640px) {
  .odm-blog-main {
    padding-top: 18px;
  }
  .odm-blog__grid {
    grid-template-columns: 1fr;
  }
}
