/* ==========================================================================
   EDITORIAL HERO
   ========================================================================== */

.dt-page-hero--editorial {
  padding: 5rem 0 4rem;
  background:
    radial-gradient(circle at top center, rgba(7, 134, 173, 0.14), transparent 38%),
    linear-gradient(180deg, rgba(5, 4, 32, 0.98) 0%, rgba(9, 12, 48, 0.96) 100%);
}

.dt-page-hero--editorial .dt-eyebrow,
.dt-page-hero--editorial .dt-title,
.dt-page-hero--editorial .dt-text,
.dt-page-hero--editorial .dt-meta-list,
.dt-page-hero--editorial .dt-meta-list a {
  color: var(--white);
}

.dt-page-hero--editorial .dt-eyebrow {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.14);
}

.dt-page-hero--editorial .dt-text,
.dt-page-hero--editorial .dt-meta-list {
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 991.98px) {
  .dt-page-hero--editorial {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
}

/* ==========================================================================
   EDITORIAL BUTTONS
   ========================================================================== */

.dt-button--secondary {
  color: var(--white);
  background: linear-gradient(120deg, #1cbb5f, #11883f);
  box-shadow: 0 16px 30px rgba(17, 136, 63, 0.2);
}

/* ==========================================================================
   META LIST
   ========================================================================== */

.dt-meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0 0;
  padding: 0;
  color: rgba(5, 4, 32, 0.64);
  font-size: 0.92rem;
  list-style: none;
}

.dt-meta-list li,
.dt-meta-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: inherit;
  text-decoration: none;
}

.dt-meta-list i {
  color: var(--secundario);
}

@media (max-width: 767.98px) {
  .dt-meta-list {
    gap: 0.75rem;
  }
}

/* ==========================================================================
   EDITORIAL LAYOUT
   ========================================================================== */

.dt-posts-layout,
.dt-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(17rem, 0.52fr);
  gap: 1.5rem;
}

@media (max-width: 991.98px) {
  .dt-posts-layout,
  .dt-article-layout {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   POST LIST
   ========================================================================== */

.dt-post-list {
  display: grid;
  gap: 1.25rem;
}

.dt-post-card {
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(5, 4, 32, 0.08);
  border-radius: 1.5rem;
  box-shadow: 0 22px 50px rgba(5, 4, 32, 0.08);
}

@media (max-width: 767.98px) {
  .dt-post-card {
    padding: 1.15rem;
    border-radius: 1.2rem;
  }
}

.dt-post-card__media {
  display: block;
  border-radius: 1.2rem;
  overflow: hidden;
}

.dt-post-card__media img,
.dt-article-hero__media img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.dt-post-card__body {
  display: grid;
  gap: 0.85rem;
}

.dt-post-card__title,
.dt-article-title {
  margin: 0;
  font-family: var(--fonth2_lg);
  font-size: clamp(1.55rem, 2.6vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.dt-post-card__title {
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}

@media (max-width: 767.98px) {
  .dt-article-title {
    max-width: 100%;
  }
}

.dt-post-card__title a,
.dt-sidebar-link,
.dt-tag-link {
  color: inherit;
  text-decoration: none;
}

/* ==========================================================================
   ARTICLE COVER
   ========================================================================== */

.dt-article-cover {
  display: grid;
  gap: 1.25rem;
}

.dt-article-cover__image {
  display: block;
  border-radius: 1.4rem;
  overflow: hidden;
  box-shadow: 0 22px 50px rgba(5, 4, 32, 0.12);
}

.dt-article-cover__image img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.dt-article-cover__summary {
  display: grid;
  gap: 0.9rem;
}

/* ==========================================================================
   SIDEBAR
   ========================================================================== */

.dt-sidebar {
  display: grid;
  gap: 1rem;
}

.dt-sidebar-block {
  padding: 1.3rem;
}

@media (max-width: 767.98px) {
  .dt-sidebar-block {
    padding: 1.15rem;
    border-radius: 1.2rem;
  }
}

.dt-sidebar-title {
  margin: 0 0 0.9rem;
  color: var(--dark);
  font-family: var(--fonth4_lg);
  font-size: 1.1rem;
}

.dt-search {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.dt-input {
  width: 100%;
  min-height: 3.5rem;
  padding: 0.95rem 1rem;
  color: var(--dark);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(5, 4, 32, 0.12);
  border-radius: 1rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.dt-search .dt-input {
  min-height: 3.2rem;
}

.dt-tag-list,
.dt-sidebar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.dt-tag-link,
.dt-sidebar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.8rem;
  color: rgba(5, 4, 32, 0.76);
  background: rgba(248, 252, 255, 0.96);
  border: 1px solid rgba(5, 4, 32, 0.08);
  border-radius: 999px;
}

/* ==========================================================================
   ARTICLE CONTENT
   ========================================================================== */

.dt-prose {
  display: grid;
  gap: 1rem;
  color: rgba(5, 4, 32, 0.8);
  font-size: 1.02rem;
  line-height: 1.78;
}

.dt-prose h2,
.dt-prose h3 {
  margin: 1.2rem 0 0;
  color: var(--dark);
  line-height: 1.2;
}

.dt-prose ul {
  margin: 0;
  padding-left: 1.2rem;
}

.dt-prose a {
  color: var(--secundario);
}

.dt-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.dt-share .dt-tag-link {
  background: rgba(255, 255, 255, 0.9);
}

/* ==========================================================================
   SOCIAL SHARE
   ========================================================================== */

.dt-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  color: var(--dark);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(5, 4, 32, 0.08);
  border-radius: 999px;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.dt-social-link:hover,
.dt-social-link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(7, 134, 173, 0.18);
}

/* ==========================================================================
   PREFOOTER CTA
   ========================================================================== */

.dt-prefooter-cta {
  padding: 2rem;
  background:
    radial-gradient(circle at top left, rgba(7, 134, 173, 0.14), transparent 42%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(248, 252, 255, 0.98));
}

@media (max-width: 767.98px) {
  .dt-prefooter-cta {
    padding: 1.15rem;
    border-radius: 1.2rem;
  }
}

/* ==========================================================================
   DIVIDER
   ========================================================================== */

.dt-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(7, 134, 173, 0.18) 18%, rgba(7, 134, 173, 0.18) 82%, transparent 100%);
}
