/* ===========================================
   article.css – Article page layer
   Matched to current article.php structure
   Universal theme preserved
   =========================================== */

.article-page .article-hero__title { color: #ffffff !important; }
.article-page .article-panel { background: #ffffff !important; }

.article-page {
  color: #05203a;
}

.article-page .btn {
  font-size: 1rem;
}

/* -------------------------------------------
   Hero
------------------------------------------- */

.article-page .article-hero {
  position: relative;
  min-height: 360px;
  padding: 3.25rem 0 2.75rem;
  background-size: cover;
  background-position: center;
  color: #fff;
  overflow: hidden;
}

.article-page .article-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(5, 32, 58, 0.72) 0%,
    rgba(5, 32, 58, 0.42) 45%,
    rgba(5, 32, 58, 0.22) 100%
  );
}

.article-page .article-hero__inner {
  position: relative;
  z-index: 2;
}

.article-page .article-hero__copy {
  max-width: 820px;
}

.article-page .article-hero__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.9);
}

.article-page .article-hero__breadcrumb a {
  color: #fff;
  text-decoration: none;
}

.article-page .article-hero__breadcrumb a:hover {
  text-decoration: underline;
}

.article-page .article-hero__eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}

.article-page .article-hero__title {
  margin: 0 0 0.8rem;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.5rem, 4.5vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: 0.01em;
  color: #fff;
}

.article-page .article-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-bottom: 0.9rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.92);
}

.article-page .article-hero__meta span {
  position: relative;
}

.article-page .article-hero__summary {
  max-width: 760px;
  margin: 0 0 1.2rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.96);
}

.article-page .article-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.article-page .article-hero__actions .btn {
  min-width: 0;
  padding: 0.85rem 1.25rem;
}

/* -------------------------------------------
   Main shell
------------------------------------------- */

.article-page .article-main {
  padding: 0 0 3.5rem;
}

.article-page .article-shell {
  margin-top: -1.25rem;
  position: relative;
  z-index: 3;
}

.article-page .article-panel {
  background: #fff;
  border: 1px solid #dde6f1;
  border-radius: 22px;
  box-shadow: 0 18px 42px rgba(5, 32, 58, 0.08);
  padding: 1.5rem;
}

.article-page .article-sidebar {
  position: sticky;
  top: 1.25rem;
  display: grid;
  gap: 1rem;
}

/* -------------------------------------------
   Article body
------------------------------------------- */

.article-page .article-body {
  font-family: "Share Tech", sans-serif;
  color: #1f2b3a;
  line-height: 1.8;
  font-size: 1.05rem;
}

.article-page .article-body > *:first-child {
  margin-top: 0;
}

.article-page .article-body h1,
.article-page .article-body h2,
.article-page .article-body h3,
.article-page .article-body h4,
.article-page .article-body h5,
.article-page .article-body h6 {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.02em;
  line-height: 1.05;
  color: #05203a;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.article-page .article-body h2 {
  font-size: clamp(2rem, 2.8vw, 2.8rem);
}

.article-page .article-body h3 {
  font-size: clamp(1.6rem, 2.1vw, 2.1rem);
}

.article-page .article-body p {
  margin-bottom: 1.15rem;
}

.article-page .article-body ul,
.article-page .article-body ol {
  margin-bottom: 1.2rem;
  padding-left: 1.3rem;
}

.article-page .article-body li + li {
  margin-top: 0.35rem;
}

.article-page .article-body a {
  color: #0b6cff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-page .article-body img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  margin: 1.5rem auto;
}

.article-page .article-body blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.1rem;
  border-left: 4px solid #3ba268;
  background: #f7fbf8;
  border-radius: 10px;
  color: #274052;
}

.article-page .article-body table {
  width: 100%;
  margin: 1.5rem 0;
  border-collapse: collapse;
  font-size: 0.98rem;
}

.article-page .article-body th,
.article-page .article-body td {
  border: 1px solid #d8e2ee;
  padding: 0.75rem;
  text-align: left;
}

.article-page .article-body th {
  background: #f4f8fc;
  color: #05203a;
}

/* -------------------------------------------
   Tag / share / bottom actions
------------------------------------------- */

.article-page .article-tags-block,
.article-page .article-share-row,
.article-page .article-bottom-actions {
  margin-top: 1.6rem;
  padding-top: 1.2rem;
  border-top: 1px solid #e3ebf4;
}

.article-page .article-block-title {
  margin: 0 0 0.8rem;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.7rem;
  line-height: 1;
  color: #05203a;
}

.article-page .article-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.article-page .article-tag-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid #d8e2ee;
  background: #f6f9fc;
  color: #274052;
  text-decoration: none;
  font-size: 0.92rem;
  line-height: 1;
  transition: all 0.15s ease;
}

.article-page .article-tag-chip:hover {
  border-color: #3ba268;
  color: #05203a;
  text-decoration: none;
  background: #fff;
}

.article-page .article-tag-chip.is-static {
  cursor: default;
}

.article-page .article-share-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1rem;
}

.article-page .article-share-row__label {
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5f6f86;
}

.article-page .article-share-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.article-page .article-share-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  border: 1px solid #d8e2ee;
  background: #fff;
  color: #274052;
  text-decoration: none;
  font-size: 0.92rem;
}

.article-page .article-share-link:hover {
  text-decoration: none;
  border-color: #0b6cff;
  color: #05203a;
}

.article-page .article-back-link {
  min-width: 0;
}

/* -------------------------------------------
   Sidebar cards
------------------------------------------- */

.article-page .article-side-card {
  background: #fff;
  border: 1px solid #dde6f1;
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(5, 32, 58, 0.06);
  padding: 1.2rem;
}

.article-page .article-side-card--soft {
  background: #f8fbff;
}

.article-page .article-cta-card {
  background: linear-gradient(
    135deg,
    rgba(5, 32, 58, 0.98),
    rgba(0, 104, 157, 0.9)
  );
  border-color: rgba(5, 32, 58, 0.98);
  color: #fff;
}

.article-page .article-side-card__eyebrow {
  display: inline-block;
  margin-bottom: 0.55rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6a7a91;
}

.article-page .article-cta-card .article-side-card__eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

.article-page .article-side-card__title {
  margin: 0 0 0.55rem;
  font-family: "Bebas Neue", sans-serif;
  font-size: 2rem;
  line-height: 1;
  color: #05203a;
}

.article-page .article-cta-card .article-side-card__title {
  color: #fff;
}

.article-page .article-side-card__text {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.65;
  color: #4b5870;
}

.article-page .article-cta-card .article-side-card__text {
  color: rgba(255, 255, 255, 0.94);
}

.article-page .article-side-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.article-page .article-side-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid #e3ebf4;
}

.article-page .article-side-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.article-page .article-side-list strong {
  color: #05203a;
}

.article-page .article-side-list span {
  color: #4b5870;
  text-align: right;
}

/* -------------------------------------------
   Suggestions
------------------------------------------- */

.article-page .article-suggestions {
  margin-top: 2rem;
}

.article-page .article-suggestions__head {
  margin-bottom: 1rem;
}

.article-page .article-suggestions__eyebrow {
  margin: 0 0 0.3rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6a7a91;
}

.article-page .article-suggestions__title {
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1;
  color: #05203a;
}

.article-page .article-suggestion-card {
  border: 1px solid #dde6f1;
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(5, 32, 58, 0.06);
  overflow: hidden;
  background: #fff;
}

.article-page .article-suggestion-card__image-link {
  display: block;
}

.article-page .article-suggestion-card__image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.article-page .article-suggestion-card__body {
  padding: 1.1rem 1.1rem 1.2rem;
}

.article-page .article-suggestion-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.75rem;
  margin-bottom: 0.65rem;
  font-size: 0.82rem;
  color: #6a7a91;
}

.article-page .article-suggestion-card__label {
  font-weight: 700;
}

.article-page .article-suggestion-card__title {
  margin: 0 0 0.6rem;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.85rem;
  line-height: 1;
}

.article-page .article-suggestion-card__title a {
  color: #05203a;
  text-decoration: none;
}

.article-page .article-suggestion-card__title a:hover {
  color: #0b6cff;
}

.article-page .article-suggestion-card__summary {
  margin: 0 0 0.95rem;
  font-size: 0.98rem;
  line-height: 1.65;
  color: #4b5870;
}

.article-page .article-suggestion-card__btn {
  min-width: 0;
}

/* -------------------------------------------
   Empty state
------------------------------------------- */

.article-page .article-empty-state {
  background: #fff;
  border: 1px solid #dde6f1;
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(5, 32, 58, 0.06);
  padding: 2rem 1.5rem;
  text-align: center;
  margin-top: 2rem;
}

.article-page .article-empty-state h1 {
  margin: 0 0 0.7rem;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
  color: #05203a;
}

.article-page .article-empty-state p {
  margin: 0 0 1rem;
  font-size: 1rem;
  color: #4b5870;
}

/* -------------------------------------------
   Responsive
------------------------------------------- */

@media (max-width: 991.98px) {
  .article-page .article-hero {
    min-height: auto;
    padding: 2.6rem 0 2.2rem;
  }

  .article-page .article-shell {
    margin-top: -0.75rem;
  }

  .article-page .article-panel {
    padding: 1.2rem;
  }

  .article-page .article-sidebar {
    position: static;
  }
}

@media (max-width: 767.98px) {
  .article-page .article-hero__copy {
    text-align: center;
    margin: 0 auto;
  }

  .article-page .article-hero__breadcrumb,
  .article-page .article-hero__meta,
  .article-page .article-hero__actions {
    justify-content: center;
  }

  .article-page .article-hero__actions .btn {
    width: 100%;
  }

  .article-page .article-panel {
    padding: 1rem;
    border-radius: 18px;
  }

  .article-page .article-side-card {
    border-radius: 18px;
  }

  .article-page .article-share-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .article-page .article-suggestion-card__image {
    height: 200px;
  }
}