/* News-portal visual layer. Additive only — loads after the existing stylesheets
   and re-styles the same markup/classes; nothing here changes HTML or removes rules. */

:root {
  --news-accent: #007fff;
  --news-accent-dark: #0056b3;
  --news-ink: #111;
  --news-muted: #757575;
  --news-line: #e5e5e5;
  --news-panel: #f6f8fb;
}

/* Category badge (breadcrumb) */
#sitePath .breadcrumbs {
  margin: 24px 350px 20px 0;
}

#sitePath .breadcrumbs .breadcrumbs__item {
  color: var(--news-muted);
}

#sitePath .breadcrumbs .breadcrumbs__item .breadcrumbs__link {
  background: var(--news-accent);
  border-radius: 3px;
  color: #fff;
  font: 700 11px/1 roboto, roboto_;
  letter-spacing: 0.06em;
  padding: 5px 10px;
  text-transform: uppercase;
}

#sitePath .breadcrumbs .breadcrumbs__item .breadcrumbs__link:hover {
  background: var(--news-accent-dark);
  color: #fff;
}

#sitePath .breadcrumbs .breadcrumbs__item:after {
  color: var(--news-line);
}

/* Headline typography */
#article_title {
  border-left: 4px solid var(--news-accent);
  font: 800 36px/1.25 oswald, oswald_;
  letter-spacing: -0.01em;
  padding-left: 18px;
}

/* Byline / date */
.author_section {
  background: var(--news-panel);
  border-radius: 8px;
  padding: 10px 14px;
}

.article_author {
  color: var(--news-ink);
  font-weight: 700;
}

.author_prefix {
  color: var(--news-accent);
}

.date_section {
  color: var(--news-muted);
  position: relative;
}

.date_section:before {
  color: var(--news-line);
  content: "•";
  margin: 0 8px;
}

/* Section headings — article kicker style */
.art_content .art_sub_title {
  border-bottom: 2px solid var(--news-line);
  color: var(--news-ink);
  font: 800 22px/1.4 oswald, oswald_;
  margin: 36px 0 18px;
  padding-bottom: 10px;
  position: relative;
}

.art_content .art_sub_title:before {
  background: var(--news-accent);
  bottom: -2px;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  width: 48px;
}

/* Pull-quote — the 5th paragraph in the article is the client quote */
.art_content > p:nth-of-type(5) {
  border-left: 3px solid var(--news-accent);
  color: var(--news-ink);
  font: 500 19px/1.5 oswald, oswald_;
  margin: 28px 0;
  padding: 4px 0 4px 20px;
}

/* Figures */
.article-gallery-picture__image {
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(17, 17, 17, 0.12);
}

/* Cards: process steps, pricing plans, testimonial */
.feedback {
  background: #fff;
  border: 1px solid var(--news-line);
  border-radius: 12px;
  padding: 24px;
}

.feedback__header,
.feedback__body {
  border-bottom-color: var(--news-line);
}

.feedback__photo {
  border: 3px solid var(--news-panel);
}

.feedback .feedback__name {
  color: var(--news-ink);
  font: 800 20px/1.3 oswald, oswald_;
}

.feedback .feedback__position {
  color: var(--news-accent);
  font: 600 14px/1.3 roboto, roboto_;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* FAQ */
.art_content p strong {
  color: var(--news-accent-dark);
}

/* Sidebar "popular" list — ranked news cards */
.news-box-popular {
  counter-reset: news-rank;
}

.news-box-popular__item {
  counter-increment: news-rank;
}

.news-box-article-tile {
  border: 1px solid var(--news-line);
  border-radius: 10px;
  border-bottom-width: 1px;
  padding: 10px;
  transition: box-shadow 0.2s ease-out, transform 0.2s ease-out;
}

.news-box-article-tile:hover {
  box-shadow: 0 6px 16px rgba(17, 17, 17, 0.1);
  transform: translateY(-1px);
}

.news-box-article-tile__photo {
  border-radius: 6px;
}

.news-box-article-tile__meta {
  position: relative;
}

.news-box-article-tile__meta:before {
  color: var(--news-accent);
  content: counter(news-rank, decimal-leading-zero);
  display: block;
  font: 800 12px/1 oswald, oswald_;
  letter-spacing: 0.05em;
}

.news-box__tab[aria-selected="true"] {
  color: var(--news-accent);
}

.news-box__tab[aria-selected="true"],
.news-box__tab:focus {
  border-bottom-color: var(--news-accent);
}

/* Comments */
.commentsApp__commentAuthor {
  color: var(--news-ink);
  font-weight: 700;
}

.commentsApp__commentDate {
  color: var(--news-muted);
}

@media (max-width: 900px) {
  #article_title {
    font-size: 26px;
    padding-left: 14px;
  }

  .art_content > p:nth-of-type(5) {
    font-size: 17px;
  }

  .feedback {
    padding: 18px;
  }
}
