/* News portal theme — additive styling layered on top of the existing stylesheets. */

:root {
  --news-accent: #007fff;
  --news-accent-dark: #0057b8;
  --news-ink: #111;
  --news-muted: #757575;
  --news-line: #e5e5e5;
  --news-card-shadow: 0 6px 18px rgba(17, 17, 17, 0.08);
  --news-card-shadow-hover: 0 12px 28px rgba(17, 17, 17, 0.14);
}

/* Category badge (breadcrumb → pill) */
.breadcrumbs {
  height: auto;
  margin-bottom: 20px;
}

.breadcrumbs .breadcrumbs__item {
  color: #fff;
  background: var(--news-accent);
  border-radius: 4px;
  display: inline-block;
  font: 700 11px/1 roboto, roboto_, sans-serif;
  letter-spacing: 0.08em;
  padding: 5px 10px;
  text-transform: uppercase;
}

.breadcrumbs .breadcrumbs__item:after {
  content: none;
}

/* Headline */
#article_title {
  letter-spacing: -0.01em;
  line-height: 1.2;
  padding-bottom: 14px;
  position: relative;
}

#article_title:before {
  background: linear-gradient(90deg, var(--news-accent), var(--news-accent-dark));
  border-radius: 2px;
  bottom: 0;
  content: "";
  height: 4px;
  position: absolute;
  left: 0;
  width: 56px;
}

/* Byline */
.author_section {
  align-items: center;
  color: var(--news-muted);
  display: flex;
  font: 400 13px/1.4 roboto, roboto_, sans-serif;
}

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

.author_prefix {
  color: var(--news-muted);
  font-style: italic;
  font-weight: 400;
  margin-right: 4px;
  text-transform: lowercase;
}

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

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

/* Drop cap on the opening paragraph */
.art_content > p:first-of-type::first-letter {
  color: var(--news-accent);
  float: left;
  font: 700 54px/0.85 oswald, oswald_, sans-serif;
  padding: 4px 8px 0 0;
}

/* Section headings */
.art_content .art_sub_title {
  border-left: 4px solid var(--news-accent);
  margin: 32px 0 16px;
  padding-left: 12px;
}

/* Article imagery */
.article-gallery-picture {
  margin: 20px 0;
}

.article-gallery-picture__image {
  border-radius: 10px;
  box-shadow: var(--news-card-shadow);
  display: block;
  transition: box-shadow 0.2s ease;
  width: 100%;
}

.art_content > .article-gallery-picture:first-of-type .article-gallery-picture__image {
  border-radius: 14px;
  box-shadow: var(--news-card-shadow-hover);
}

/* Feedback cards: process steps, plans, gallery captions, testimonials */
.feedback {
  background: #fff;
  border: 1px solid var(--news-line);
  border-radius: 12px;
  box-shadow: var(--news-card-shadow);
  margin: 16px 0;
  overflow: hidden;
  padding: 16px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.feedback:hover {
  box-shadow: var(--news-card-shadow-hover);
  transform: translateY(-2px);
}

.feedback__header,
.feedback__body {
  border-bottom: none !important;
}

.feedback__photo {
  border-radius: 8px;
  overflow: hidden;
}

.feedback__photo img {
  border-radius: 8px;
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

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

.feedback__position {
  color: var(--news-accent);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

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

/* News-box sidebar tabs */
.news-box__tab {
  color: var(--news-muted);
  font-weight: 700;
  letter-spacing: 0.04em;
  position: relative;
  transition: color 0.2s ease;
}

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

.news-box__tab[aria-selected="true"]:after {
  background: var(--news-accent);
  border-radius: 2px;
  bottom: -1px;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  right: 0;
}

.news-box-article-tile {
  border-radius: 8px;
  transition: background-color 0.2s ease;
}

.news-box-article-tile:hover {
  background-color: #f5f9ff;
}

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

.news-box-article-tile__title {
  color: var(--news-ink);
}

/* Comments */
.commentsApp__comment {
  background: #fafafa;
  border-left: 3px solid var(--news-accent);
  border-radius: 0 8px 8px 0;
  margin-bottom: 12px;
  padding: 12px 16px;
}

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

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

/* Contact / registration block */
.reg__item {
  padding-left: 4px;
}

.map-container {
  border-radius: 10px;
  box-shadow: var(--news-card-shadow);
  overflow: hidden;
}

@media (max-width: 768px) {
  #article_title {
    font-size: 26px;
  }

  .art_content > p:first-of-type::first-letter {
    font-size: 40px;
  }
}
