.ed-reading-progress,
.ecd-reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
  z-index: 9999;
  pointer-events: none;
}

.ed-reading-progress-bar,
.ecd-reading-progress-bar {
  height: 100%;
  width: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  background: var(--gradient-brand, linear-gradient(135deg, #1E9FF2 0%, #00C3FF 100%));
  will-change: transform;
}

.ed-single-main,
.ecd-single-post-main {
  padding-top: 1.75rem;
  padding-bottom: 5rem;
  min-width: 0;
}

.ed-single-main .container,
.ecd-single-post-main .container,
.ecd-container {
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  box-sizing: border-box;
}

.ed-breadcrumb,
.ecd-breadcrumb {
  margin-bottom: 2rem;
  font-size: 0.875rem;
  color: var(--color-text-muted, #64748b);
}

.ed-breadcrumb a,
.ecd-breadcrumb a {
  color: var(--color-text-muted, #64748b);
  text-decoration: none;
  transition: color 0.2s ease;
}

.ed-breadcrumb a:hover,
.ecd-breadcrumb a:hover {
  color: var(--color-primary, #1E9FF2);
}

.ed-breadcrumb__list,
.ecd-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ed-breadcrumb__sep,
.ecd-breadcrumb__sep {
  color: var(--color-border, #e2e8f0);
  user-select: none;
}

.rank-math-breadcrumb p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
}

.rank-math-breadcrumb .separator {
  color: var(--color-border, #cbd5e1);
  padding: 0 0.15rem;
}

.ed-single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 3.5rem;
  align-items: stretch;
}

.ed-main-column {
  min-width: 0;
}

.ed-sidebar {
  min-width: 0;
  height: 100%;
}

.ed-sidebar__sticky {
  position: -webkit-sticky;
  position: sticky;
  top: calc(var(--ecd-header-height, 115px) + 1.25rem);
  display: flex;
  flex-direction: column;
  gap: 2rem;
  will-change: transform;
}

body.admin-bar .ed-sidebar__sticky {
  top: calc(var(--ecd-header-height, 115px) + 1.25rem + 32px);
}

.ed-sidebar-banner {
  width: 100%;
}

.ed-sidebar-banner__link {
  display: block;
  text-decoration: none;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ed-sidebar-banner__link:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.12);
}

.ed-sidebar-banner__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  border: 1px solid var(--color-border, #e2e8f0);
}

.ed-sidebar-banner__link--placeholder {
  background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid rgba(30, 159, 242, 0.25);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.15);
}

.ed-sidebar-placeholder-inner {
  padding: 2.25rem 1.75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ed-sidebar-placeholder-inner .ed-banner-badge {
  display: inline-block;
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #00C3FF;
  margin-bottom: 0.75rem;
}

.ed-sidebar-placeholder-inner .ed-banner-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 0.75rem;
  line-height: 1.35;
}

.ed-sidebar-placeholder-inner .ed-banner-desc {
  font-size: 0.875rem;
  line-height: 1.55;
  color: #94a3b8;
  margin: 0 0 1.5rem;
}

.ed-sidebar-placeholder-inner .ed-banner-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  background: var(--gradient-brand, linear-gradient(135deg, #1E9FF2 0%, #00C3FF 100%));
  color: #030306;
  font-weight: 700;
  font-size: 0.875rem;
  box-shadow: 0 4px 14px rgba(30, 159, 242, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ed-sidebar-banner__link:hover .ed-banner-cta {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(30, 159, 242, 0.45);
}

.ed-bottom-share-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.25rem 1.75rem;
  background: var(--color-bg-light, #f8fafc);
  border: 1px solid var(--color-border, #e2e8f0);
  border-radius: 10px;
  margin: 2.75rem 0;
}

.ed-bottom-share-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text-main, #0f172a);
}

.ed-bottom-share-buttons {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.ed-bottom-share-bar .ed-share-tooltip {
  left: 50%;
  top: auto;
  bottom: 125%;
  transform: translateX(-50%);
}

.ed-share-dock {
  min-width: 0;
}

.ed-share-dock-inner {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.ed-share-dock-label {
  font-size: 0.685rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted, #64748b);
  margin-bottom: 0.15rem;
}

.ed-share-dock-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.ed-share-btn,
.ecd-share-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid var(--color-border, #e2e8f0);
  color: var(--color-text-muted, #64748b);
  text-decoration: none;
  cursor: pointer;
  position: relative;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.ed-share-btn:hover,
.ecd-share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.ed-share-btn--fb:hover,
.ecd-share-btn--fb:hover {
  background: #1877F2;
  border-color: #1877F2;
  color: #ffffff;
}

.ed-share-btn--ln:hover,
.ecd-share-btn--ln:hover {
  background: #0A66C2;
  border-color: #0A66C2;
  color: #ffffff;
}

.ed-share-btn--tw:hover,
.ecd-share-btn--tw:hover {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
}

.ed-share-btn--wa:hover,
.ecd-share-btn--wa:hover {
  background: #25D366;
  border-color: #25D366;
  color: #ffffff;
}

.ed-share-btn--copy:hover,
.ecd-share-btn--copy:hover {
  background: var(--color-primary, #1E9FF2);
  border-color: var(--color-primary, #1E9FF2);
  color: #ffffff;
}

.ed-share-tooltip,
.ecd-share-tooltip {
  position: absolute;
  left: 125%;
  top: 50%;
  transform: translateY(-50%);
  background: #0f172a;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  border-radius: 10px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: opacity 0.2s ease;
}

.ed-share-tooltip.visible,
.ecd-share-tooltip.visible {
  opacity: 1;
}

.ed-article-main-column {
  min-width: 0;
}

.ed-article-hero {
  margin-bottom: 2.25rem;
}

.ed-hero-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.ed-category-badge,
.ecd-article-category-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.95rem;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: var(--font-weight-bold, 700);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(30, 159, 242, 0.08);
  color: var(--color-primary, #1E9FF2);
  border: 1px solid rgba(30, 159, 242, 0.25);
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.ed-category-badge:hover,
.ecd-article-category-pill:hover {
  background: var(--color-primary, #1E9FF2);
  color: #ffffff;
  transform: translateY(-1px);
}

.ed-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.825rem;
  color: var(--color-text-muted, #64748b);
  font-weight: 500;
}

.ed-article-title,
.ecd-article-title {
  font-size: clamp(2.1rem, 4vw, 3.15rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.025em;
  color: var(--color-text-main, #0f172a);
  margin-top: 0;
  margin-bottom: 1.25rem;
}

.ed-article-lead,
.ecd-article-lead {
  font-size: clamp(1.1rem, 1.8vw, 1.25rem);
  line-height: 1.65;
  color: #475569;
  margin-bottom: 1.75rem;
}

.ed-byline-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border, #e2e8f0);
}

.ed-byline-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ed-byline-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--color-border, #e2e8f0);
  flex-shrink: 0;
  background: #f1f5f9;
}

.ed-byline-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ed-byline-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.ed-byline-name-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.ed-byline-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-text-main, #0f172a);
}

.ed-byline-role {
  font-size: 0.725rem;
  font-weight: 600;
  color: var(--color-primary, #1E9FF2);
  background: rgba(30, 159, 242, 0.08);
  padding: 0.15rem 0.55rem;
  border-radius: 10px;
  border: 1px solid rgba(30, 159, 242, 0.2);
}

.ed-byline-dates {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.825rem;
  color: var(--color-text-muted, #64748b);
}

.ed-byline-sep {
  color: #cbd5e1;
}

.ed-byline-actions {
  display: flex;
  align-items: center;
}

.ed-author-card__actions {
  margin-top: 1rem;
  display: flex;
  align-items: center;
}

@media (max-width: 640px) {
  .ed-byline-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .ed-byline-actions {
    width: 100%;
  }

  .ed-google-source-btn {
    width: 100%;
    justify-content: center;
    padding: 0.45rem 1rem;
    font-size: 0.8rem;
    white-space: normal;
    text-align: center;
  }
}

.ed-article-audio-player {
  margin: 1.25rem 0 1.5rem;
  background: var(--color-bg-light, #f8fafc);
  border: 1px solid var(--color-border, #e2e8f0);
  border-radius: 10px;
  padding: 0.85rem 1.15rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  box-sizing: border-box;
}

.ed-audio-player-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ed-audio-play-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-brand, linear-gradient(135deg, #1E9FF2 0%, #00C3FF 100%));
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(30, 159, 242, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  padding: 0;
}

.ed-audio-play-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(30, 159, 242, 0.35);
}

.ed-audio-play-btn svg {
  width: 18px;
  height: 18px;
}

.ed-audio-main-controls {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.ed-audio-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.ed-audio-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ed-audio-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text-main, #0f172a);
}

.ed-audio-badge {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-primary, #1E9FF2);
  background: rgba(30, 159, 242, 0.08);
  padding: 0.12rem 0.5rem;
  border-radius: 10px;
}

.ed-audio-time-wrap {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text-muted, #64748b);
  font-variant-numeric: tabular-nums;
}

.ed-audio-time-sep {
  margin: 0 2px;
  color: #cbd5e1;
}

.ed-audio-progress-wrap {
  position: relative;
  width: 100%;
  height: 12px;
  display: flex;
  align-items: center;
}

.ed-audio-progress-track {
  width: 100%;
  height: 6px;
  background: #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.ed-audio-progress-bar {
  height: 100%;
  background: var(--gradient-brand, linear-gradient(135deg, #1E9FF2 0%, #00C3FF 100%));
  border-radius: 10px;
  transition: width 0.1s linear;
}

.ed-audio-seek-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  margin: 0;
}

.ed-audio-side-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.ed-audio-skip-btn,
.ed-audio-speed-btn,
.ed-audio-dl-btn {
  height: 32px;
  padding: 0 0.55rem;
  border-radius: 10px;
  border: 1px solid var(--color-border, #e2e8f0);
  background: #ffffff;
  color: #475569;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  box-sizing: border-box;
}

.ed-audio-skip-btn {
  width: 32px;
  padding: 0;
}

.ed-audio-dl-btn {
  width: 32px;
  padding: 0;
}

.ed-audio-skip-btn:hover,
.ed-audio-speed-btn:hover,
.ed-audio-dl-btn:hover {
  border-color: var(--color-primary, #1E9FF2);
  color: var(--color-primary, #1E9FF2);
  background: #f0f9ff;
}

@media (max-width: 640px) {
  .ed-article-audio-player {
    padding: 0.75rem 0.9rem;
    margin: 1rem 0 1.25rem;
  }

  .ed-audio-player-inner {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .ed-audio-main-controls {
    order: 3;
    width: 100%;
    flex: 1 1 100%;
  }

  .ed-audio-side-actions {
    margin-left: auto;
  }
}

.ed-hero-media,
.ecd-featured-media {
  margin: 0 0 2.75rem;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--color-bg-light, #f8fafc);
  border: 1px solid var(--color-border, #e2e8f0);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.ed-hero-img,
.ecd-featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ecd-page-main {
  padding-top: 1.75rem;
  padding-bottom: 5rem;
  min-width: 0;
}

.ecd-article-header {
  margin-bottom: 2.25rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border, #e2e8f0);
}

.ecd-article-mobile-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

@media (min-width: 1024px) {
  .ecd-article-mobile-meta {
    display: none;
  }
}

.ecd-mobile-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.825rem;
  color: #64748b;
  font-weight: 500;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 0.35rem 0.75rem;
  border-radius: 10px;
}

.ecd-article-layout {
  display: block;
}

@media (min-width: 1024px) {
  .ecd-article-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 3.5rem;
    align-items: stretch;
  }
}

.ecd-article-rail {
  margin-bottom: 2rem;
}

@media (min-width: 1024px) {
  .ecd-article-rail {
    margin-bottom: 0;
    width: 260px;
    height: 100%;
    min-width: 0;
  }
}

@media (max-width: 1023px) {
  .ecd-article-rail {
    display: none;
  }
}

.ecd-rail-sticky {
  position: -webkit-sticky;
  position: sticky;
  top: calc(var(--ecd-header-height, 115px) + 1.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  will-change: transform;
}

body.admin-bar .ecd-rail-sticky {
  top: calc(var(--ecd-header-height, 115px) + 1.5rem + 32px);
}

.ecd-rail-meta-group {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.ecd-rail-meta-row {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #e2e8f0;
}

.ecd-rail-meta-row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.ecd-rail-meta-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.05em;
}

.ecd-rail-meta-val {
  font-size: 0.92rem;
  font-weight: 600;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  line-height: 1.4;
}

.ecd-rail-meta-val--highlight {
  color: #0284c7;
}

.ecd-rail-meta-val--muted {
  color: #64748b;
}

.ecd-rail-share-group {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 1.25rem 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.ecd-rail-share-heading {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.05em;
  margin-bottom: 0.85rem;
}

.ecd-rail-share-icons {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  align-items: center;
}

.ed-bottom-share-buttons.ecd-rail-share-icons {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.ecd-share-btn {
  width: 100%;
  max-width: 40px;
  height: 38px;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #475569;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  padding: 0;
  box-sizing: border-box;
}

.ecd-share-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.ecd-share-btn:hover {
  border-color: var(--color-primary, #1E9FF2);
  color: var(--color-primary, #1E9FF2);
  background: #f0f9ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(30, 159, 242, 0.15);
}

.ecd-share-tooltip {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: #0f172a;
  color: #ffffff;
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: 10px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 10;
}

.ecd-share-btn.copied .ecd-share-tooltip,
.ecd-share-tooltip.is-visible {
  opacity: 1;
}

.ed-article,
.ecd-article,
.ecd-article-content-column {
  min-width: 0;
}

.ed-entry-content,
.ecd-entry-content {
  font-size: 1rem;
  line-height: 1.75;
  color: #334155;
}

.ed-entry-content p,
.ecd-entry-content p {
  margin-bottom: 1.25rem;
  line-height: 1.75;
}

.ed-entry-content h2,
.ecd-entry-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  margin: 2.25rem 0 1rem;
  line-height: 1.35;
  letter-spacing: -0.02em;
  scroll-margin-top: 100px;
}

.ed-entry-content h3,
.ecd-entry-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin: 1.75rem 0 0.75rem;
  line-height: 1.4;
  letter-spacing: -0.01em;
  scroll-margin-top: 100px;
}

.ed-entry-content h4,
.ecd-entry-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e293b;
  margin: 1.5rem 0 0.5rem;
  line-height: 1.45;
  scroll-margin-top: 100px;
}

.ed-entry-content strong,
.ecd-entry-content strong,
.ed-entry-content b,
.ecd-entry-content b {
  color: #0f172a;
  font-weight: 600;
}

.ed-entry-content ul,
.ecd-entry-content ul {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 1.75rem;
}

.ed-entry-content ul > li,
.ecd-entry-content ul > li {
  position: relative;
  padding-left: 26px;
  line-height: 1.65;
  color: #334155;
  margin-bottom: 0.75rem;
}

.ed-entry-content ul > li:last-child,
.ecd-entry-content ul > li:last-child {
  margin-bottom: 0;
}

.ed-entry-content ul > li::before,
.ecd-entry-content ul > li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background-color: #f0f9ff;
  border: 1.5px solid #7dd3fc;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%230284c7' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 10 3.5 3.5 6.5-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 9px 9px;
}

.ed-entry-content ol,
.ecd-entry-content ol {
  list-style: none;
  counter-reset: ecd-single-ol-counter;
  padding: 0;
  margin: 1.25rem 0 1.75rem;
}

.ed-entry-content ol > li,
.ecd-entry-content ol > li {
  counter-increment: ecd-single-ol-counter;
  position: relative;
  padding-left: 32px;
  line-height: 1.65;
  color: #334155;
  margin-bottom: 0.75rem;
}

.ed-entry-content ol > li:last-child,
.ecd-entry-content ol > li:last-child {
  margin-bottom: 0;
}

.ed-entry-content ol > li::before,
.ecd-entry-content ol > li::before {
  content: counter(ecd-single-ol-counter);
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: #0284c7;
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ed-entry-content blockquote,
.ecd-entry-content blockquote,
.ed-entry-content .wp-block-quote,
.ecd-entry-content .wp-block-quote {
  position: relative;
  background: linear-gradient(135deg, #f0f7fd 0%, #f8fbfe 100%);
  border: 1px solid #dbeafe;
  border-left: 4px solid var(--color-primary, #1E9FF2);
  border-radius: 10px;
  padding: 1.75rem 2.25rem 1.75rem 3.5rem;
  margin: 2rem 0;
  color: #1e293b;
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.75;
  box-shadow: 0 2px 8px rgba(30, 159, 242, 0.04);
  overflow: hidden;
}

.ed-entry-content blockquote::before,
.ecd-entry-content blockquote::before,
.ed-entry-content .wp-block-quote::before,
.ecd-entry-content .wp-block-quote::before {
  content: '';
  position: absolute;
  top: 1.5rem;
  left: 1.25rem;
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231E9FF2'%3E%3Cpath d='M14.017 21v-7.391c0-5.704 3.731-9.57 8.983-10.609l.995 2.151c-2.432.917-3.995 3.638-3.995 5.849h4v10h-9.983zm-14.017 0v-7.391c0-5.704 3.748-9.57 9-10.609l.996 2.151c-2.433.917-3.996 3.638-3.996 5.849h3.983v10h-9.983z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.9;
}

.ed-entry-content blockquote::after,
.ecd-entry-content blockquote::after,
.ed-entry-content .wp-block-quote::after,
.ecd-entry-content .wp-block-quote::after {
  content: '';
  position: absolute;
  top: -10px;
  right: 15px;
  width: 90px;
  height: 90px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231E9FF2'%3E%3Cpath d='M14.017 21v-7.391c0-5.704 3.731-9.57 8.983-10.609l.995 2.151c-2.432.917-3.995 3.638-3.995 5.849h4v10h-9.983zm-14.017 0v-7.391c0-5.704 3.748-9.57 9-10.609l.996 2.151c-2.433.917-3.996 3.638-3.996 5.849h3.983v10h-9.983z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.08;
  pointer-events: none;
}

.ed-entry-content blockquote p,
.ecd-entry-content blockquote p,
.ed-entry-content .wp-block-quote p,
.ecd-entry-content .wp-block-quote p {
  margin: 0;
  position: relative;
  z-index: 1;
}

.ed-entry-content blockquote p + p,
.ecd-entry-content blockquote p + p,
.ed-entry-content .wp-block-quote p + p,
.ecd-entry-content .wp-block-quote p + p {
  margin-top: 0.75rem;
}

.ed-entry-content blockquote cite,
.ecd-entry-content blockquote cite,
.ed-entry-content .wp-block-quote cite,
.ecd-entry-content .wp-block-quote cite {
  display: block;
  margin-top: 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  font-style: normal;
  color: var(--color-primary, #1E9FF2);
}

.ed-entry-content .ecd-table-responsive-wrapper,
.ecd-entry-content .ecd-table-responsive-wrapper {
  margin: 2rem 0;
}

.ed-entry-content .ecd-table-scroll-hint,
.ecd-entry-content .ecd-table-scroll-hint {
  display: none;
  align-items: center;
  gap: 8px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 10px;
  padding: 6px 14px;
  margin-bottom: 12px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #0284c7;
}

.ed-entry-content .ecd-table-responsive-wrapper.has-overflow .ecd-table-scroll-hint,
.ecd-entry-content .ecd-table-responsive-wrapper.has-overflow .ecd-table-scroll-hint {
  display: inline-flex;
}

.ed-entry-content .ecd-table-scroll-hint svg,
.ecd-entry-content .ecd-table-scroll-hint svg {
  flex-shrink: 0;
  animation: ecd-swipe-bounce 1.6s ease-in-out infinite;
}

.ed-entry-content .ecd-table-responsive,
.ecd-entry-content .ecd-table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  box-shadow: none;
  background: #ffffff;
}

.ed-entry-content .ecd-table-responsive::-webkit-scrollbar,
.ecd-entry-content .ecd-table-responsive::-webkit-scrollbar {
  height: 6px;
}

.ed-entry-content .ecd-table-responsive::-webkit-scrollbar-track,
.ecd-entry-content .ecd-table-responsive::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 10px;
}

.ed-entry-content .ecd-table-responsive::-webkit-scrollbar-thumb,
.ecd-entry-content .ecd-table-responsive::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}

.ed-entry-content .ecd-table-responsive::-webkit-scrollbar-thumb:hover,
.ecd-entry-content .ecd-table-responsive::-webkit-scrollbar-thumb:hover {
  background: #1E9FF2;
}

.ed-entry-content .ecd-table-responsive table,
.ecd-entry-content .ecd-table-responsive table,
.ed-entry-content table,
.ecd-entry-content table {
  width: 100%;
  min-width: 620px;
  border-collapse: separate;
  border-spacing: 0;
  margin: 0;
  border: none;
  font-size: 0.94rem;
  background: #ffffff;
}

.ed-entry-content table,
.ecd-entry-content table {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: none;
}

.ed-entry-content .ecd-table-responsive table,
.ecd-entry-content .ecd-table-responsive table {
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.ed-entry-content th,
.ecd-entry-content th {
  background: #0e1c31;
  color: #ffffff;
  font-weight: 700;
  padding: 15px 18px;
  text-align: left;
  border-bottom: 3px solid #1E9FF2;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.ed-entry-content td,
.ecd-entry-content td {
  padding: 14px 18px;
  border-bottom: 1px solid #e2e8f0;
  color: #334155;
  vertical-align: middle;
  line-height: 1.6;
  background: #ffffff;
}

.ed-entry-content td:first-child,
.ecd-entry-content td:first-child {
  font-weight: 700;
  color: #0f172a;
  background: #ffffff;
}

.ed-entry-content tr:hover td,
.ecd-entry-content tr:hover td {
  background: #f8fafc;
}

.ed-entry-content tr:hover td:first-child,
.ecd-entry-content tr:hover td:first-child {
  background: #f8fafc;
  color: #0284c7;
}

.ed-entry-content tr:last-child td,
.ecd-entry-content tr:last-child td {
  border-bottom: none;
}

.ed-entry-content .ecd-summary-card,
.ecd-entry-content .ecd-summary-card,
.ed-entry-content .summary-box,
.ecd-entry-content .summary-box,
.ed-entry-content .callout-box,
.ecd-entry-content .callout-box {
  background: #f4f9fd;
  border: 1px solid #e0f0fb;
  border-radius: 10px;
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
}

.ed-entry-content .ecd-summary-card h3,
.ecd-entry-content .ecd-summary-card h3,
.ed-entry-content .ecd-summary-card h4,
.ecd-entry-content .ecd-summary-card h4,
.ed-entry-content .summary-box h3,
.ecd-entry-content .summary-box h3,
.ed-entry-content .summary-box h4,
.ecd-entry-content .summary-box h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 1.25rem;
}

.ed-entry-content img,
.ecd-entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 1.75rem auto;
  display: block;
}

.ed-entry-content a,
.ecd-entry-content a {
  color: var(--color-primary, #1E9FF2);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.ed-entry-content a:hover,
.ecd-entry-content a:hover {
  color: var(--color-accent, #00C3FF);
}

.post-toc {
  background: var(--color-bg-light, #f8fafc);
  border: 1px solid var(--color-border, #e2e8f0);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0 2.5rem;
}

.toc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.toc-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-text-main, #0f172a);
}

.toc-toggle-btn {
  background: transparent;
  border: none;
  color: var(--color-text-muted, #64748b);
  cursor: pointer;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.post-toc.collapsed .toc-toggle-btn {
  transform: rotate(-90deg);
}

.post-toc.collapsed .toc-body {
  display: none !important;
}

.d-none,
.toc-sublist.d-none,
.drawer-toc-sublist.d-none {
  display: none !important;
}

.toc-body {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border, #e2e8f0);
}

.toc-sublist,
.drawer-toc-sublist {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.post-toc .toc-sublist > li,
.drawer-toc-sublist > li {
  padding-left: 0;
  margin-bottom: 0;
}

.post-toc .toc-sublist > li::before,
.drawer-toc-sublist > li::before {
  content: none !important;
  display: none !important;
}

.toc-sublist.level-3,
.drawer-toc-sublist.level-3 {
  padding-left: 1.5rem;
}

.toc-sublist.level-4,
.drawer-toc-sublist.level-4 {
  padding-left: 1.25rem;
}

.toc-item,
.drawer-toc-item {
  margin: 0.35rem 0;
}

.toc-link-wrapper,
.drawer-toc-link-wrapper {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  line-height: 1.4;
}

.toc-arrow-btn,
.drawer-toc-arrow-btn {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--color-text-muted, #64748b);
  cursor: pointer;
  padding: 0;
  border-radius: 10px;
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.15s ease, background-color 0.15s ease;
}

.toc-arrow-btn:hover,
.drawer-toc-arrow-btn:hover {
  color: var(--color-primary, #1E9FF2);
  background-color: rgba(30, 159, 242, 0.08);
}

.toc-arrow-btn.expanded,
.drawer-toc-arrow-btn.expanded {
  transform: rotate(90deg);
}

.toc-bullet-spacer,
.drawer-toc-bullet-spacer {
  width: 24px;
  height: 24px;
  display: inline-block;
  flex-shrink: 0;
}

.toc-link,
.drawer-toc-link {
  color: #475569;
  text-decoration: none;
  font-size: 0.925rem;
  transition: color 0.15s ease;
  line-height: 1.4;
}

.toc-link:hover,
.toc-link.active,
.drawer-toc-link:hover,
.drawer-toc-link.active {
  color: var(--color-primary, #1E9FF2);
  font-weight: 600;
}

.floating-toc-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-brand, linear-gradient(135deg, #1E9FF2 0%, #00C3FF 100%));
  color: #030306;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 6px 20px rgba(30, 159, 242, 0.35);
  opacity: 0;
  transform: scale(0.85);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.floating-toc-btn.visible {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.mobile-toc-drawer {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
}

.mobile-toc-drawer.open {
  display: block;
}

.mobile-toc-drawer .drawer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
}

.mobile-toc-drawer .drawer-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  max-height: 80vh;
  background: #ffffff;
  border-top: 1px solid var(--color-border, #e2e8f0);
  border-radius: 10px 10px 0 0;
  padding: 1.5rem;
  overflow-y: auto;
  z-index: 2;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
}

.mobile-toc-drawer .drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border, #e2e8f0);
}

.mobile-toc-drawer .drawer-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--color-text-main, #0f172a);
}

.mobile-toc-drawer .drawer-close-btn {
  background: transparent;
  border: none;
  color: var(--color-text-muted, #64748b);
  cursor: pointer;
  padding: 0.25rem;
}

.ed-incontent-banner {
  margin: 3.25rem 0;
}

.ed-incontent-banner__link {
  display: block;
  text-decoration: none;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ed-incontent-banner__link:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.12);
}

.ed-incontent-banner__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  border: 1px solid var(--color-border, #e2e8f0);
}

.ed-incontent-banner__link--placeholder {
  background: linear-gradient(135deg, #1d2538 0%, #0f172a 100%);
  border: 1px solid rgba(30, 159, 242, 0.25);
  padding: 2.25rem 2.5rem;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.2);
}

.ed-banner-placeholder-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.ed-banner-placeholder-inner .ed-banner-badge {
  display: inline-block;
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #00C3FF;
}

.ed-banner-placeholder-inner .ed-banner-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  line-height: 1.35;
}

.ed-banner-placeholder-inner .ed-banner-cta {
  margin-top: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.6rem;
  border-radius: 10px;
  background: var(--gradient-brand, linear-gradient(135deg, #1E9FF2 0%, #00C3FF 100%));
  color: #030306;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(30, 159, 242, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ed-incontent-banner__link:hover .ed-banner-cta {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(30, 159, 242, 0.4);
}

@media (min-width: 640px) {
  .ed-incontent-banner__link--placeholder .ed-banner-placeholder-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .ed-incontent-banner__link--placeholder .ed-banner-cta {
    margin-top: 0;
    flex-shrink: 0;
  }
}

.ed-banner-slider {
  position: relative;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.ed-banner-slider__track {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  width: 100%;
}

.ed-banner-slide {
  grid-column: 1 / -1;
  grid-row: 1 / -1;
  display: block;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s ease;
  pointer-events: none;
  text-decoration: none;
}

.ed-banner-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.ed-banner-slide__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  border: 1px solid var(--color-border, #e2e8f0);
  transition: transform 0.3s ease;
}

.ed-banner-slide:hover .ed-banner-slide__img {
  transform: scale(1.02);
}

.ed-banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  opacity: 0;
  transition: opacity 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.ed-banner-slider:hover .ed-banner-arrow {
  opacity: 1;
}

.ed-banner-arrow:hover {
  background: var(--color-primary, #1E9FF2);
  transform: translateY(-50%) scale(1.08);
}

.ed-banner-arrow--prev {
  left: 8px;
}

.ed-banner-arrow--next {
  right: 8px;
}

.ed-banner-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 5;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  padding: 3px 7px;
  border-radius: 10px;
}

.ed-banner-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease, width 0.2s ease;
}

.ed-banner-dot.active {
  background: var(--color-primary, #1E9FF2);
  width: 18px;
  border-radius: 10px;
}

.ed-banner-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(15, 23, 42, 0.35);
  z-index: 6;
  overflow: hidden;
  pointer-events: none;
}

.ed-banner-progress__bar {
  width: 100%;
  height: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  background: var(--gradient-brand, linear-gradient(135deg, #1E9FF2 0%, #00C3FF 100%));
  box-shadow: 0 0 8px rgba(0, 195, 255, 0.8), 0 0 2px rgba(30, 159, 242, 0.9);
}

@keyframes edBannerProgress {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.ed-banner-slider.is-animating .ed-banner-progress__bar {
  animation-name: edBannerProgress;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
}

.ed-banner-slider:hover .ed-banner-progress__bar,
.ed-banner-slider.is-paused .ed-banner-progress__bar {
  animation-play-state: paused;
}

.ed-btn,
.ecd-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none !important;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
}

.ed-btn-primary,
.ecd-action-btn {
  background: var(--gradient-brand, linear-gradient(135deg, #1E9FF2 0%, #00C3FF 100%));
  color: #030306 !important;
  box-shadow: 0 4px 15px rgba(30, 159, 242, 0.25);
}

.ed-btn-primary:hover,
.ecd-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(30, 159, 242, 0.45);
  color: #030306 !important;
}

.ecd-action-block {
  background: var(--gradient-dark, radial-gradient(circle at 50% 0%, #0e1c31 0%, #081220 45%, #030306 100%));
  border: 1px solid rgba(30, 159, 242, 0.25);
  border-radius: 10px;
  padding: 2.25rem 2.5rem;
  margin: 3.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: 0 12px 36px rgba(3, 3, 6, 0.25);
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .ecd-action-block {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
  }
}

.ecd-action-block__content {
  flex: 1;
  min-width: 0;
}

.ecd-action-block__badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #00C3FF;
  background: rgba(0, 195, 255, 0.1);
  border: 1px solid rgba(0, 195, 255, 0.25);
  padding: 0.3rem 0.75rem;
  border-radius: 10px;
  margin-bottom: 0.75rem;
}

.ecd-action-block__title {
  color: #ffffff;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
  margin: 0 0 0.6rem;
}

.ecd-action-block__desc {
  color: #94a3b8;
  font-size: 0.925rem;
  line-height: 1.6;
  margin: 0;
  max-width: 600px;
}

.ecd-action-block__action {
  flex-shrink: 0;
}

.ed-engagement-card,
.ecd-feedback-card {
  background: var(--color-bg-light, #f8fafc);
  border: 1px solid var(--color-border, #e2e8f0);
  border-radius: 10px;
  padding: 1.75rem 2rem;
  margin: 3rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .ed-engagement-card,
  .ecd-feedback-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.ed-feedback-widget,
.ecd-feedback-widget {
  display: flex;
  align-items: center;
}

.ed-feedback__actions,
.ecd-feedback__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.ed-feedback__question,
.ecd-feedback__question {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-main, #0f172a);
}

.ed-feedback__buttons,
.ecd-feedback__buttons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ed-feedback-btn,
.ecd-feedback-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  background: #ffffff;
  border: 1px solid var(--color-border, #e2e8f0);
  color: #334155;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.ed-feedback-btn:hover,
.ecd-feedback-btn:hover {
  border-color: var(--color-primary, #1E9FF2);
  color: var(--color-primary, #1E9FF2);
}

.ed-feedback-btn.active,
.ecd-feedback-btn.active {
  background: var(--color-primary, #1E9FF2);
  border-color: var(--color-primary, #1E9FF2);
  color: #ffffff;
}

.ed-feedback__thankyou,
.ecd-feedback__thankyou {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary, #1E9FF2);
}

.ed-rating-box,
.ecd-rating-box {
  display: flex;
  align-items: center;
}

.ed-rating-widget,
.ecd-rating-widget,
.superbox-rating-widget {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.ed-rating__label,
.ecd-rating__label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text-main, #0f172a);
}

.ed-rating__stars,
.ecd-rating__stars,
.rating-stars {
  display: inline-flex;
  flex-direction: row-reverse;
  align-items: center;
}

.star-btn {
  background: transparent;
  border: none;
  font-size: 1.25rem;
  color: #cbd5e1;
  cursor: pointer;
  padding: 0 0.1rem;
  line-height: 1;
  transition: color 0.15s ease, transform 0.15s ease;
}

.star-btn:hover,
.star-btn:hover ~ .star-btn,
.star-btn.active {
  color: #f59e0b;
}

.star-btn:hover {
  transform: scale(1.15);
}

.ed-rating__summary,
.ecd-rating__summary {
  font-size: 0.825rem;
  color: var(--color-text-muted, #64748b);
}

.ed-article-tags,
.ecd-article-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 2.5rem 0;
}

.ed-tags-label,
.ecd-tags-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text-muted, #64748b);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ed-tags-list,
.ecd-tags-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ed-tag-pill,
.ecd-tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 500;
  background: var(--color-bg-light, #f8fafc);
  border: 1px solid var(--color-border, #e2e8f0);
  color: #475569;
  text-decoration: none;
  transition: all 0.2s ease;
}

.ed-tag-pill:hover,
.ecd-tag-pill:hover {
  background: rgba(30, 159, 242, 0.08);
  border-color: rgba(30, 159, 242, 0.3);
  color: var(--color-primary, #1E9FF2);
}

.ed-author-card,
.ecd-author-card {
  display: flex;
  gap: 1.75rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 2.25rem;
  margin: 3.5rem 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.ed-author-card__avatar,
.ecd-author-card__avatar {
  width: 84px;
  height: 84px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #f0f9ff;
  box-shadow: 0 0 0 1px #bae6fd;
  flex-shrink: 0;
  background: #f1f5f9;
}

.ed-author-card__avatar a {
  display: block;
  width: 100%;
  height: 100%;
}

.ed-author-card__avatar img,
.ecd-author-card__img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.ed-author-card__content,
.ecd-author-card__content {
  flex: 1;
  min-width: 0;
}

.ed-author-card__header {
  margin-bottom: 0.45rem;
}

.ed-author-card__role,
.ecd-author-card__role {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0284c7;
  background: #e0f2fe;
  padding: 0.25rem 0.65rem;
  border-radius: 10px;
  margin-bottom: 0.45rem;
  line-height: 1.2;
}

.ed-author-card__name,
.ecd-author-card__name {
  font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  line-height: 1.25;
}

.ed-author-card__name a,
.ecd-author-card__name a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.ed-author-card__name a:hover,
.ecd-author-card__name a:hover {
  color: #1E9FF2;
}

.ed-author-card__bio,
.ecd-author-card__bio {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #475569;
  margin: 0.65rem 0 1.25rem;
}

.ed-author-card__bio p {
  margin: 0 0 0.75rem;
  line-height: 1.65;
}

.ed-author-card__bio p:last-child {
  margin-bottom: 0;
}

.ed-author-card__bio a {
  color: #0284c7;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ed-author-card__bio a:hover {
  color: #1E9FF2;
}

.ed-author-card__socials,
.ecd-author-card__socials {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.ecd-author-box-social-btn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  text-decoration: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
  padding: 0;
}

.ecd-author-box-social-btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.ecd-author-box-social-btn:hover {
  background: #f0f9ff;
  border-color: #1E9FF2;
  color: #1E9FF2;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(30, 159, 242, 0.15);
}

.ed-post-nav,
.ecd-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 3.5rem 0;
}

.ed-post-nav__link,
.ecd-post-nav__link {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.25rem 1.5rem;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid var(--color-border, #e2e8f0);
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.ed-post-nav__link:hover,
.ecd-post-nav__link:hover {
  transform: translateY(-2px);
  border-color: var(--color-primary, #1E9FF2);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.ed-post-nav__link--next,
.ecd-post-nav__link--next {
  text-align: right;
}

.ed-post-nav__label,
.ecd-post-nav__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary, #1E9FF2);
}

.ed-post-nav__title,
.ecd-post-nav__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-main, #0f172a);
  line-height: 1.4;
}

.ed-comments-wrap,
.ecd-comments-wrap {
  margin-top: 3.5rem;
}

.ed-related-section,
.ecd-related-section {
  margin-top: 5rem;
  padding-top: 2rem;
  border: none;
}

.ed-related-header,
.ecd-related-section__header {
  margin-bottom: 2.25rem;
}

.ed-related-badge,
.ecd-related-section__badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary, #1E9FF2);
  margin-bottom: 0.4rem;
}

.ed-related-title,
.ecd-related-section__title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--color-text-main, #0f172a);
  margin: 0;
}

.ed-related-grid,
.ecd-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.ed-related-card,
.ecd-related-card {
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--color-border, #e2e8f0);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.ed-related-card:hover,
.ecd-related-card:hover {
  transform: translateY(-4px);
  border-color: rgba(30, 159, 242, 0.4);
  box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.08);
}

.ed-related-card__link,
.ecd-related-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.ed-related-card__media,
.ecd-related-card__media {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--color-bg-light, #f8fafc);
}

.ed-related-card__img,
.ecd-related-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.ed-related-card:hover .ed-related-card__img,
.ecd-related-card:hover .ecd-related-card__img {
  transform: scale(1.04);
}

.ed-related-card__body,
.ecd-related-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ed-related-card__category,
.ecd-related-card__category {
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary, #1E9FF2);
  margin-bottom: 0.6rem;
}

.ed-related-card__title,
.ecd-related-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-text-main, #0f172a);
  margin: 0 0 0.65rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ed-related-card__excerpt,
.ecd-related-card__excerpt {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #64748b;
  margin: 0 0 1.25rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ed-related-card__footer,
.ecd-related-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.775rem;
  color: #64748b;
  padding-top: 0.85rem;
  border-top: 1px solid var(--color-border, #e2e8f0);
}

.ed-related-card__readmore,
.ecd-related-card__readmore {
  color: var(--color-primary, #1E9FF2);
  font-weight: 600;
  transition: transform 0.15s ease;
}

.ed-related-card:hover .ed-related-card__readmore,
.ecd-related-card:hover .ecd-related-card__readmore {
  transform: translateX(3px);
}

@media (max-width: 1024px) {
  .ed-single-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .ed-sidebar {
    order: 2;
    height: auto;
  }

  .ed-sidebar__sticky {
    position: static;
    top: auto;
  }

  .ed-article-layout-wrapper {
    display: block;
    max-width: 800px;
    margin: 0 auto;
  }

  .ed-share-dock {
    margin-bottom: 2rem;
  }

  .ed-share-dock-inner {
    position: static;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1.25rem;
    background: var(--color-bg-light, #f8fafc);
    border: 1px solid var(--color-border, #e2e8f0);
    border-radius: 10px;
  }

  .ed-share-dock-buttons {
    flex-direction: row;
    gap: 0.65rem;
  }

  .ed-share-btn,
  .ecd-share-btn {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 768px) {
  .ed-post-nav,
  .ecd-post-nav {
    grid-template-columns: 1fr;
  }

  .ed-author-card,
  .ecd-author-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .ed-author-card__socials,
  .ecd-author-card__socials {
    justify-content: center;
  }
}

.ed-comments-wrap,
.ecd-comments-wrap {
  margin-top: 3.5rem;
}

.ed-comments-area,
.ecd-comments-area {
  margin-top: 2rem;
}

.ed-comments-header {
  margin-bottom: 2.5rem;
}

.ed-comments-header__top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}

.ed-comments-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(30, 159, 242, 0.1);
  color: var(--color-primary, #1E9FF2);
  border: 1px solid rgba(30, 159, 242, 0.25);
}

.ed-comments-count-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.8rem;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
  background: #ffffff;
  border: 1px solid #e2e8f0;
}

.ed-comments-title,
.ecd-comments-title {
  font-size: clamp(1.6rem, 2.8vw, 2.15rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: #0f172a;
  margin: 0 0 0.6rem 0;
}

.ed-comments-subtitle {
  font-size: 1rem;
  line-height: 1.6;
  color: #64748b;
  margin: 0 0 1.25rem 0;
  max-width: 780px;
}

.ed-comments-trust-bar {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  flex-wrap: wrap;
}

.ed-comments-trust-stars {
  display: flex;
  align-items: center;
  gap: 3px;
}

.ed-comments-trust-text {
  font-size: 0.875rem;
  color: #475569;
}

.ed-comments-trust-text strong {
  color: #0f172a;
}

.ed-comment-list,
.ecd-comment-list {
  list-style: none;
  padding: 0;
  margin: 2.5rem 0 3.5rem 0;
}

.ed-comment-list li,
.ecd-comment-list li {
  list-style: none;
}

.ed-comment-list ol.children,
.ecd-comment-list ol.children {
  list-style: none;
  padding-left: 2rem;
  margin-top: 1rem;
  border-left: 2px solid rgba(30, 159, 242, 0.25);
}

.ed-comment-item,
.ecd-comment-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 1.6rem 1.8rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.ed-comment-item:hover,
.ecd-comment-item:hover {
  border-color: rgba(30, 159, 242, 0.4);
  box-shadow: 0 8px 24px rgba(30, 159, 242, 0.08);
}

.ed-comment-item--author {
  background: #f0f9ff;
  border-color: rgba(30, 159, 242, 0.35);
  box-shadow: 0 4px 16px rgba(30, 159, 242, 0.04);
}

.ed-comment-header-row,
.ecd-comment-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.ed-comment-avatar,
.ecd-comment-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(30, 159, 242, 0.25);
  flex-shrink: 0;
  background: #f1f5f9;
}

.ed-comment-avatar img,
.ecd-comment-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ed-comment-details,
.ecd-comment-details {
  flex-grow: 1;
}

.ed-comment-author-line {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.ed-comment-author-name,
.ecd-comment-author {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}

.ed-comment-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.65rem;
  border-radius: 10px;
  font-size: 0.725rem;
  font-weight: 700;
  line-height: 1;
}

.ed-comment-badge--verified {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.ed-comment-badge--author {
  background: rgba(30, 159, 242, 0.12);
  color: #0284c7;
  border: 1px solid rgba(30, 159, 242, 0.3);
}

.ed-comment-meta-subline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: #64748b;
  margin-top: 0.3rem;
  flex-wrap: wrap;
}

.ed-comment-stars {
  display: flex;
  align-items: center;
  gap: 2px;
}

.ed-comment-meta-sep {
  color: #cbd5e1;
}

.ed-comment-date,
.ecd-comment-date {
  color: #64748b;
}

.ed-comment-text,
.ecd-comment-text {
  font-size: 0.96rem;
  line-height: 1.68;
  color: #334155;
  margin: 0.5rem 0 1rem 0;
}

.ed-comment-text p,
.ecd-comment-text p {
  margin: 0 0 0.75rem 0;
}

.ed-comment-text p:last-child,
.ecd-comment-text p:last-child {
  margin-bottom: 0;
}

.ed-comment-pending,
.ecd-comment-pending {
  padding: 0.5rem 0.85rem;
  border-radius: 10px;
  background: #fef3c7;
  color: #92400e;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.ed-comment-reply-row,
.ecd-comment-reply {
  display: flex;
  justify-content: flex-end;
}

.comment-reply-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.95rem;
  border-radius: 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-primary, #1E9FF2);
  background: rgba(30, 159, 242, 0.08);
  border: 1px solid rgba(30, 159, 242, 0.2);
  text-decoration: none;
  transition: all 0.2s ease;
}

.comment-reply-link:hover {
  background: var(--color-primary, #1E9FF2);
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(30, 159, 242, 0.25);
}

.comment-respond,
.ed-comment-respond {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 2.25rem 2.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  margin-top: 3.5rem;
}

.comment-reply-title h3,
.ed-comment-reply-title h3 {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
  margin: 0 0 0.35rem 0;
}

.ed-comment-reply-desc {
  font-size: 0.925rem;
  line-height: 1.6;
  color: #64748b;
  margin: 0 0 1.5rem 0;
}

#cancel-comment-reply-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: #ef4444;
  margin-left: 0.75rem;
  text-decoration: none;
}

#cancel-comment-reply-link:hover {
  text-decoration: underline;
}

.ed-comment-logged-in-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 0.9rem;
  color: #475569;
  margin-bottom: 1.5rem;
}

.ed-comment-logout-link {
  color: #ef4444;
  text-decoration: none;
  font-weight: 600;
}

.ed-comment-logout-link:hover {
  text-decoration: underline;
}

.ed-comment-rating-picker {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 0.85rem 1.25rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}

.ed-comment-rating-label {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #0f172a;
}

.ed-rating-stars-select {
  display: inline-flex;
  flex-direction: row-reverse;
  gap: 4px;
}

.ed-rating-stars-select input {
  display: none;
}

.ed-rating-stars-select label {
  font-size: 1.5rem;
  color: #cbd5e1;
  cursor: pointer;
  transition: color 0.15s ease, transform 0.15s ease;
  line-height: 1;
}

.ed-rating-stars-select label:hover,
.ed-rating-stars-select label:hover ~ label,
.ed-rating-stars-select input:checked ~ label {
  color: #f59e0b;
}

.ed-rating-stars-select label:hover {
  transform: scale(1.15);
}

.ed-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.ed-form__group {
  margin-bottom: 1.25rem;
}

.ed-form__label,
.ecd-form__label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.4rem;
}

.ed-form__input,
.ecd-form__input,
.ed-form__textarea,
.ecd-form__textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  font-family: inherit;
  font-size: 0.9375rem;
  color: #0f172a;
  background: #f8fafc;
  transition: all 0.2s ease;
}

.ed-form__input:focus,
.ecd-form__input:focus,
.ed-form__textarea:focus,
.ecd-form__textarea:focus {
  background: #ffffff;
  border-color: var(--color-primary, #1E9FF2);
  outline: none;
  box-shadow: 0 0 0 3px rgba(30, 159, 242, 0.15);
}

.ed-form__textarea,
.ecd-form__textarea {
  resize: vertical;
  min-height: 120px;
}

.ed-comment-submit-btn,
.submit-comment-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.85rem;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  background: var(--gradient-brand, linear-gradient(135deg, #1E9FF2 0%, #00C3FF 100%));
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(30, 159, 242, 0.3);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.ed-comment-submit-btn:hover,
.submit-comment-btn:hover {
  opacity: 0.94;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 159, 242, 0.4);
}

@media (max-width: 768px) {
  .ed-comment-list ol.children,
  .ecd-comment-list ol.children {
    padding-left: 1rem;
  }

  .comment-respond,
  .ed-comment-respond {
    padding: 1.5rem 1.25rem;
  }

  .ed-form-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .ed-comments-trust-bar {
    width: 100%;
    box-sizing: border-box;
  }

  .ed-comment-item,
  .ecd-comment-item {
    padding: 1.25rem 1rem;
  }
}
