/* =========================================================
   CarpetCare.pro
   styles-article.css
   Shared article page styling
   ========================================================= */
   
   
.article-hero-byline {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.article-hero-author-photo {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
  border: 2px solid rgba(255,255,255,.35);
}

.article-hero-author-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.article-hero-author-name {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
}

.article-hero-author-name a {
  color: #fff;
  text-decoration: none;
}

.article-hero-author-name a:hover {
  color: #f2e6c9;
}

.article-hero-author-role {
  color: rgba(255,255,255,.78);
  font-size: 0.95rem;
  line-height: 1.45;
}

@media (max-width: 991.98px) {
  .article-hero-byline {
    justify-content: center;
    text-align: left;
  }
}

@media (max-width: 575.98px) {
  .article-hero-byline {
    gap: 0.85rem;
  }

  .article-hero-author-photo {
    width: 52px;
    height: 52px;
  }

  .article-hero-author-role {
    font-size: 0.9rem;
  }
}

.article-hero-authors {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

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

.article-hero-author-photo {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
  border: 2px solid rgba(255,255,255,.35);
  flex: 0 0 58px;
}

.article-hero-author-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.article-hero-author-name {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
}

.article-hero-author-name a {
  color: #fff;
  text-decoration: none;
}

.article-hero-author-name a:hover {
  color: #f2e6c9;
}

.article-hero-author-role {
  color: rgba(255,255,255,.78);
  font-size: 0.95rem;
  line-height: 1.45;
}

@media (max-width: 991.98px) {
  .article-hero-authors {
    justify-items: center;
  }

  .article-hero-byline {
    max-width: 640px;
    width: 100%;
    justify-content: center;
    text-align: left;
  }
}

@media (max-width: 575.98px) {
  .article-hero-byline {
    gap: 0.85rem;
    align-items: flex-start;
  }

  .article-hero-author-photo {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
  }

  .article-hero-author-role {
    font-size: 0.9rem;
  }
}   
   

/* =========================================================
   01. Article shell / layout
   ========================================================= */

.article-shell {
  padding-top: 3.5rem;
  padding-bottom: 5rem;
}

.article-main {
  max-width: 820px;
}

/* =========================================================
   02. Featured / inline images
   ========================================================= */

.article-image {
  width: 100%;
  border-radius: 1.5rem;
  box-shadow: 0 20px 55px rgba(13,39,66,.12);
  margin-bottom: 2rem;
}

.article-image-float {
  width: 100%;
  border-radius: 1.25rem;
  box-shadow: 0 18px 45px rgba(13,39,66,.10);
  margin-bottom: 1.5rem;
}

@media (min-width: 992px) {
  .article-image-float {
    width: 50%;
    float: right;
    margin-left: 1.75rem;
  }
}

/* =========================================================
   03. Article body
   ========================================================= */

.article-body {
  color: var(--ccp-charcoal);
  font-size: 1.08rem;
  line-height: 1.9;
}

.article-body p {
  margin-bottom: 1.35rem;
  color: var(--ccp-charcoal);
}

.article-body h2 {
  color: var(--ccp-navy);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  font-size: clamp(1.3rem, 1.9vw, 1.65rem);
  margin-top: 3rem;
  margin-bottom: 0.85rem;
}

.article-body h3 {
  color: var(--ccp-navy);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  font-size: 1.35rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.article-body ul,
.article-body ol {
  margin-bottom: 1.5rem;
  padding-left: 1.4rem;
}

.article-body li {
  margin-bottom: 0.6rem;
}

.article-body strong {
  color: var(--ccp-charcoal);
}

.article-body em {
  color: var(--ccp-navy);
}

.article-body a {
  color: var(--ccp-navy);
  font-weight: 700;
}

.article-body a:hover {
  color: var(--ccp-gold);
}

/* =========================================================
   04. Contributors
   ========================================================= */

.article-contributors {
  margin-top: 3.5rem;
  padding: 2rem;
  border: 1px solid var(--ccp-border);
  border-radius: 1.5rem;
  background: linear-gradient(180deg, #fff, var(--ccp-cream));
  box-shadow: 0 18px 50px rgba(13,39,66,.06);
}

.article-contributors h3 {
  color: var(--ccp-navy);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0;
}

.contributor-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.contributor-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1rem;
  border: 1px solid rgba(13,39,66,.08);
  border-radius: 1.25rem;
  background: rgba(255,255,255,.88);
}

.contributor-photo {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(13,39,66,.10);
  border: 2px solid rgba(13,39,66,.08);
}

.contributor-content h4 {
  color: var(--ccp-navy);
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.contributor-role {
  color: var(--ccp-gold);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
}

.contributor-content p {
  color: var(--ccp-muted);
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.contributor-content a {
  color: var(--ccp-navy);
  font-weight: 700;
  text-decoration: none;
}

.contributor-content a:hover {
  color: var(--ccp-gold);
}

/* =========================================================
   05. Sidebar
   ========================================================= */

.article-sidebar {
  position: sticky;
  top: 130px;
}

.article-sidebar-card {
  background: #fff;
  border: 1px solid var(--ccp-border);
  border-radius: 1.5rem;
  padding: 1.4rem;
  box-shadow: 0 14px 40px rgba(13,39,66,.06);
  margin-bottom: 1.25rem;
}

.article-sidebar-card h4,
.article-sidebar-card h5 {
  color: var(--ccp-navy);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.article-sidebar-card ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.article-sidebar-card li + li {
  margin-top: 0.85rem;
}

.article-sidebar-card a {
  color: var(--ccp-navy);
  text-decoration: none;
  font-weight: 700;
}

.article-sidebar-card a:hover {
  color: var(--ccp-gold);
}

.article-sidebar-card .btn {
  margin-top: 0.4rem;
}

/* =========================================================
   06. Coming soon boxes
   ========================================================= */

.article-soon-box {
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: 1.25rem;
  background: var(--ccp-soft-blue);
  border: 1px solid rgba(13,39,66,.10);
  box-shadow: 0 14px 40px rgba(13,39,66,.05);
}

.article-soon-box h5 {
  color: var(--ccp-navy);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.article-soon-box .coming-soon {
  color: #8b1e1e;
}

.article-soon-box .card,
.article-soon-box .card-body {
  border: 0;
  box-shadow: none;
  background: #fff;
  border-radius: 1rem;
}

/* =========================================================
   07. Responsive
   ========================================================= */

@media (max-width: 991.98px) {
  .article-shell {
    padding-top: 2.5rem;
    padding-bottom: 4rem;
  }

  .article-sidebar {
    position: static;
    margin-top: 3rem;
  }
}

@media (max-width: 767.98px) {
  .article-body {
    font-size: 1.02rem;
  }
}

@media (max-width: 575.98px) {
  .article-contributors {
    padding: 1.5rem;
  }

  .contributor-card {
    grid-template-columns: 1fr;
  }

  .contributor-photo {
    width: 84px;
    height: 84px;
  }
}

.article-callout {
  position: relative;
  margin: 3rem 0;
  padding: 1.75rem 2rem;

  background:
    linear-gradient(
      135deg,
      rgba(247,250,253,1) 0%,
      rgba(255,250,240,1) 100%
    );

  border: 2px solid rgba(216,185,122,.45);
  border-radius: 20px;

  box-shadow:
    0 15px 35px rgba(0,0,0,.08),
    0 0 0 8px rgba(216,185,122,.08);

  overflow: hidden;
}

.article-callout::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 8px;
  height: 100%;
  background: linear-gradient(
    180deg,
    #d8b97a 0%,
    #b89352 100%
  );
}

.article-callout-label {
  display: inline-block;
  margin-bottom: .9rem;
  padding: .35rem .8rem;

  background: #1f3b63;
  color: #fff;

  border-radius: 999px;

  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.article-callout p:last-child {
  margin-bottom: 0;
}