/* Article wrapper */

.node--type-article {
  max-width: 848px;
  margin-inline: auto;
}

/* Article body */

.node--type-article .node__content {
  max-width: 680px;
  margin-inline: auto;
  line-height: 30px;
}

.node--type-article .text-content,
.node--type-article .cke_editable {
  line-height: 30px;
}

/* Featured image (Layout Builder block) */

.block-field-block-node-article-field-image {
  width: 100%;
  margin-bottom: 2rem;
}

.block-field-block-node-article-field-image img {
  height: 500px;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  border-radius: 0;
}

/* Article footer tags */

.article-footer__divider {
  border: none;
  border-top: 1px solid rgba(180, 240, 0, 0.15);
  margin: 2rem 0 1.5rem;
}

.article-footer__tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.article-footer__tags-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #a0aec0;
  margin-right: 0.25rem;
  white-space: nowrap;
}

.article-footer-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 1rem;
  background-color: rgba(180, 240, 0, 0.1);
  color: #B4F000;
  border-radius: var(--border-radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.article-footer-tag:hover {
  background-color: rgba(180, 240, 0, 0.2);
  color: #B4F000;
  text-decoration: none;
}

/* Article type badge */

.article-type-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: #0A1F44;
  background-color: #a0aec0;
}

.article-type-badge--news {
  background-color: #a0aec0;
  color: #0A1F44;
}

.article-type-badge--review {
  background-color: #FFC400;
  color: #0A1F44;
}

.article-type-badge--guide {
  background-color: #B4F000;
  color: #0A1F44;
}

.article-type-badge--feature {
  background-color: #FFC400;
  color: #0A1F44;
}

/* Article header */

.article-header {
  margin-bottom: 2rem;
}

/* Category tag badges */

.article-header__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.article-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.875rem;
  background-color: rgba(180, 240, 0, 0.1);
  color: #B4F000;
  border-radius: var(--border-radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  line-height: 1.25;
  transition: background-color 0.15s ease;
}

.article-tag-badge:hover {
  background-color: rgba(180, 240, 0, 0.2);
  color: #B4F000;
  text-decoration: none;
}

/* Title */

.article-header__title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  color: #F4F6F8;
  margin: 0 0 0.75rem 0;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

/* Subtitle */

.article-header__subtitle {
  font-size: 1rem;
  color: #a0aec0;
  margin: 0 0 1.5rem 0;
  line-height: 1.6;
}

/* Meta row */

.article-header__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.article-header__meta-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* Author */

.article-header__author {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.article-header__author-picture {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border-radius: var(--border-radius-full);
  overflow: hidden;
}

.article-header__author-picture img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

.article-header__author-picture .user--compact {
  width: 100%;
  height: 100%;
}

.article-header__author-name {
  font-weight: 600;
  font-size: 0.9375rem;
  color: #F4F6F8;
  white-space: nowrap;
}

/* Date and read time */

.article-header__details {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.article-header__date,
.article-header__read-time {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: #a0aec0;
  white-space: nowrap;
}

/* Separator line */

.article-header__divider {
  border: none;
  border-top: 1px solid rgba(180, 240, 0, 0.15);
  margin: 0;
}

/* Action buttons */

.article-header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.article-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0.4375rem 0.75rem;
  border: 1px solid rgba(180, 240, 0, 0.2);
  border-radius: var(--border-radius-ui);
  background: #0F2B5B;
  color: #718096;
  font-size: 0.875rem;
  cursor: pointer;
  opacity: 0.6;
  transition: none;
  line-height: 1;
}

.article-action-btn:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}
