/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&family=Montserrat:wght@600;700;800&display=swap');

:root {
  --container-max: 1500px;
  --gutter: 16px;
  --color-bg: #ffffff;
  --color-text: #0a0a0a;
  --color-subtext: #d0d0d0;
  --color-accent: #ffd166;
  --color-card: #ffffff;
  --radius: 12px;
  --color-green: #228b22;
  --bg: rgb(43 41 41 / 90%);
}

/* Reset / Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Open Sans', arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #0d0d0d;
  background: #ffffff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #111111;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Typography */
h1,
h2,
h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #0d0d0d;
  margin: 0 0 12px 0;
}

h1 {
  font-size: 32px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

h2 {
  font-size: 24px;
  line-height: 1.7;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 18.72px;
  line-height: 1.7;
  letter-spacing: -0.005em;
}

p {
  margin: 0 0 16px 0;
}

ul {
  margin: 0 0 16px 24px;
  padding: 0;
}

li {
  margin: 6px 0;
}

/* Layout — Mobile (default) */
/* Category ribbon */
/* Header */
.header {
  background: var(--bg);
  backdrop-filter: saturate(130%) blur(6px);
}

.header__inner {
  padding: 16px;
  max-width: 1250px;
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 0 auto;
}

.header__logo {
  height: 18px;
  width: auto;
}

.hero__content .category {
  font-size: 12px;
  color: #6b7280;
  display: flex;
  justify-content: flex-end;
  margin-top: 15px;
}

.hero__content .category span {
  opacity: 0.9;
  padding-left: 5px;
  font-weight: 800;
}

.hero__content h1 {
  margin-top: 6px;
}

.hero__content {
  max-width: 1250px;
  width: 100%;
  margin: 0 auto;
}

main {
    max-width: 1250px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1em 3em;
}

/* Article blocks */
.stats {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      justify-content: space-between;
      gap: 5px;
      margin: 8px 0 12px;
      color: #6b7280;
      font-size: 14px;
}

.stats .author .stars {
  margin-top: 4px;
  font-size: 16px;
  color: #f59e0b;
}

.publish .date {
  white-space: nowrap;
}

section>.img-hero,
img.img-hero {
  width: 100%;
  border-radius: 0;
}

.article {
  font-size: 16px;
}

.article h2 strong,
.article h3 strong {
  font-weight: 800;
}

.article em {
  font-style: italic;
}

.article .attributes {
  margin: 25px 0;
}

/* Sticky CTA (mobile) */
.stickyContinueRead {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  background: #228b22;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  z-index: 50;
  border-radius: 0;
  width: 100% ;
}

/* Aside banners */
aside .banners {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

aside .banners a {
  display: block;
  border-radius: 0;
  overflow: hidden;
}

/* FAQ */
.faq .full-width-no-scroll {
  background: #fafafa;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
  padding: 3em 1em 3em;
  margin-top: 1em;
}

.faq header h2 {
  margin-bottom: 8px;
}

.faq content {
  display: block;
  margin-top: 8px;
}

.faq .question {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.faq .question:last-child {
  border-bottom: none;
}

.faq .question h3 {
  margin: 0 0 6px;
}

/* Utilities */
.row {
  display: flex;
  gap: 5px;
}

.column {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* Footer */
.footer {
  padding: 24px 24px 70px;
  background: #0d0d0d;
  border-top: 1px solid #1f1f1f;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
}

.footer__copy {
  margin: 0;
  color: #ffffff;
  font-size: 12px;
}

.footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 16px;
}

.footer__link {
  color: #ffffff;
  text-decoration: underline;
}

.footer__link img {
  max-width: 35px;
  max-height: 15px;
  margin: 0 auto;
}

/* Responsive */
@media (min-width: 768px) {
  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* Desktop — 12-column grid */
@media (min-width: 1024px) {
  body {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
  }

  main {
    grid-column: 1 / span 9;
    padding: 0 16px 24px;
  }

  .header,
  .footer{
    grid-column: 1 / span 12;
    padding: 24px 0;
  }

  .header__logo {
    height: 32px;
    width: auto;
  }

  aside {
    grid-column: 10 / span 3;
    padding: 0 16px 24px;
    position: sticky;
    top: 24px;
    align-self: start;
  }

  .container {
    width: 100%;
    max-width: 1250px;
    padding-left: 6rem;
    padding-right: 6rem;
    margin: 0 auto;
  }


  img.img-hero {
    border-radius: 8px;
  }

  aside .banners a {
    margin-top: 15px;
    border-radius: 15px;
  }

  .faq {
    grid-column: 1 / -1;
    padding: 0 16px 24px;
  }

  /* Desktop CTA can be non-sticky (inline) */
  .stickyContinueRead {
    position: static;
    display: inline-flex;
    margin: 16px 0;

    width: auto;
    border-radius: 9999px;
    cursor: pointer;
    background: #228b22;
    color: #ffffff;
  }

  .stickyContinueRead:hover {
    background: rgb(43 41 41 / 90%);
    text-decoration: none;
  }

  .footer__copy {
    margin: 0;
    color: #ffffff;
    font-size: 1rem;
  }
}