/* =====================================================
   FAMILIO GAMES BLOG
   ===================================================== */

.hpb-blog {
  --hpb-yellow: #ffc107;
  --hpb-bg: #090b12;
  --hpb-panel: #121521;
  --hpb-panel-2: #171a28;
  --hpb-border: rgba(255, 255, 255, 0.09);
  --hpb-text: #ffffff;
  --hpb-muted: rgba(255, 255, 255, 0.66);

  padding-bottom: 80px;
}


/* =====================================================
   WRAPPER
   ===================================================== */

.hpb-wrap {
  width: min(1320px, calc(100% - 40px));
  margin: 0 auto;
}


/* =====================================================
   HERO
   ===================================================== */

.hpb-hero {
  padding: 84px 0 52px;
}

.hpb-kicker {
  margin: 0 0 16px;

  color: var(--hpb-yellow);

  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hpb-hero h1 {
  max-width: 900px;

  margin: 0;

  color: #ffffff;

  font-family: Sora, system-ui, sans-serif;
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.hpb-hero-lead {
  max-width: 760px;

  margin: 26px 0 0;

  color: var(--hpb-muted);

  font-size: 1.08rem;
  line-height: 1.8;
}


/* =====================================================
   TOPIC LINKS
   ===================================================== */

.hpb-topic-nav {
  display: flex;
  flex-wrap: wrap;

  gap: 10px;

  margin-top: 30px;
}

.hpb-topic-link {
  display: inline-flex;
  align-items: center;

  padding: 10px 15px;

  border: 1px solid var(--hpb-border);
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.035);

  color: rgba(255, 255, 255, 0.82);

  font-size: 0.85rem;
  font-weight: 600;

  text-decoration: none;

  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.hpb-topic-link:hover {
  transform: translateY(-2px);

  background: rgba(255, 193, 7, 0.08);
  border-color: rgba(255, 193, 7, 0.28);

  color: #ffffff;
}


/* =====================================================
   SECTION HEADER
   ===================================================== */

.hpb-section {
  padding: 34px 0;
}

.hpb-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;

  gap: 24px;

  margin-bottom: 24px;
}

.hpb-section-heading h2 {
  margin: 0;

  color: #ffffff;

  font-family: Sora, system-ui, sans-serif;
  font-size: clamp(1.7rem, 2.6vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.035em;
}

.hpb-section-heading p {
  max-width: 540px;

  margin: 0;

  color: var(--hpb-muted);

  font-size: 0.94rem;
  line-height: 1.65;
}


/* =====================================================
   FEATURED ARTICLE
   ===================================================== */

.hpb-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);

  min-height: 460px;

  overflow: hidden;

  border: 1px solid var(--hpb-border);
  border-radius: 28px;

  background:
    linear-gradient(
      145deg,
      rgba(26, 29, 45, 0.98),
      rgba(13, 15, 24, 0.98)
    );

  text-decoration: none;

  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);

  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.hpb-featured:hover {
  transform: translateY(-4px);

  border-color: rgba(255, 193, 7, 0.25);

  box-shadow: 0 30px 74px rgba(0, 0, 0, 0.36);
}

.hpb-featured-media {
  position: relative;

  min-height: 420px;

  overflow: hidden;

  background:
    radial-gradient(
      circle at 30% 30%,
      rgba(255, 193, 7, 0.12),
      transparent 45%
    ),
    #0c0f18;
}

.hpb-featured-media img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  display: block;

  transition: transform 0.5s ease;
}

.hpb-featured:hover .hpb-featured-media img {
  transform: scale(1.025);
}

.hpb-featured-media::after {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(9, 11, 18, 0) 65%,
      rgba(9, 11, 18, 0.28) 100%
    );

  pointer-events: none;
}

.hpb-featured-fallback {
  width: 100%;
  height: 100%;

  min-height: 420px;

  background:
    radial-gradient(
      circle at 35% 35%,
      rgba(255, 193, 7, 0.16),
      transparent 36%
    ),
    radial-gradient(
      circle at 70% 60%,
      rgba(92, 60, 255, 0.14),
      transparent 38%
    ),
    #10131e;
}

.hpb-featured-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: clamp(32px, 5vw, 58px);
}

.hpb-featured-label {
  margin-bottom: 16px;

  color: var(--hpb-yellow);

  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hpb-featured-copy h2 {
  margin: 0;

  color: #ffffff;

  font-family: Sora, system-ui, sans-serif;
  font-size: clamp(2rem, 3vw, 3.1rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.045em;
}

.hpb-featured-excerpt {
  margin: 20px 0 0;

  color: var(--hpb-muted);

  font-size: 1rem;
  line-height: 1.75;
}

.hpb-featured-meta {
  margin-top: 22px;

  color: rgba(255, 255, 255, 0.45);

  font-size: 0.8rem;
  font-weight: 600;
}

.hpb-featured-action {
  display: inline-flex;
  align-items: center;

  width: fit-content;

  margin-top: 26px;

  color: var(--hpb-yellow);

  font-size: 0.9rem;
  font-weight: 700;
}


/* =====================================================
   ARTICLE GRID
   ===================================================== */

.hpb-grid {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 22px;
}

.hpb-card {
  overflow: hidden;

  border: 1px solid var(--hpb-border);
  border-radius: 22px;

  background:
    linear-gradient(
      145deg,
      rgba(24, 27, 41, 0.96),
      rgba(13, 15, 23, 0.98)
    );

  text-decoration: none;

  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.hpb-card:hover {
  transform: translateY(-4px);

  border-color: rgba(255, 193, 7, 0.22);

  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.26);
}

.hpb-card-media {
  aspect-ratio: 16 / 10;

  overflow: hidden;

  background: #10131c;
}

.hpb-card-media img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  display: block;

  transition: transform 0.4s ease;
}

.hpb-card:hover .hpb-card-media img {
  transform: scale(1.035);
}

.hpb-card-fallback {
  width: 100%;
  height: 100%;

  background:
    radial-gradient(
      circle at 30% 30%,
      rgba(255, 193, 7, 0.15),
      transparent 42%
    ),
    #111522;
}

.hpb-card-body {
  padding: 22px;
}

.hpb-card-meta {
  display: block;

  margin-bottom: 11px;

  color: rgba(255, 255, 255, 0.42);

  font-size: 0.76rem;
  font-weight: 600;
}

.hpb-card h3 {
  margin: 0;

  color: #ffffff;

  font-family: Sora, system-ui, sans-serif;
  font-size: 1.18rem;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.hpb-card-excerpt {
  margin: 13px 0 0;

  color: var(--hpb-muted);

  font-size: 0.9rem;
  line-height: 1.7;
}

.hpb-card-action {
  display: inline-flex;

  margin-top: 17px;

  color: var(--hpb-yellow);

  font-size: 0.84rem;
  font-weight: 700;
}


/* =====================================================
   RESOURCE HUB
   ===================================================== */

.hpb-resource-panel {
  position: relative;

  overflow: hidden;

  margin-top: 34px;
  padding: clamp(30px, 5vw, 48px);

  border: 1px solid var(--hpb-border);
  border-radius: 26px;

  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(101, 66, 255, 0.13),
      transparent 34%
    ),
    radial-gradient(
      circle at 0% 100%,
      rgba(255, 193, 7, 0.09),
      transparent 32%
    ),
    rgba(18, 21, 33, 0.96);
}

.hpb-resource-panel h2 {
  margin: 0;

  color: #ffffff;

  font-family: Sora, system-ui, sans-serif;
  font-size: clamp(1.7rem, 2.5vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.035em;
}

.hpb-resource-panel > p {
  max-width: 700px;

  margin: 14px 0 0;

  color: var(--hpb-muted);

  line-height: 1.75;
}

.hpb-resource-links {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 12px;

  margin-top: 26px;
}

.hpb-resource-link {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 16px;

  padding: 16px 18px;

  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 15px;

  background: rgba(255, 255, 255, 0.035);

  color: rgba(255, 255, 255, 0.88);

  font-size: 0.88rem;
  font-weight: 600;

  text-decoration: none;

  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.hpb-resource-link:hover {
  transform: translateY(-2px);

  background: rgba(255, 193, 7, 0.065);
  border-color: rgba(255, 193, 7, 0.2);

  color: #ffffff;
}

.hpb-resource-link span:last-child {
  color: var(--hpb-yellow);
}


/* =====================================================
   PRODUCT CTA
   ===================================================== */

.hpb-product-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 34px;

  margin-top: 34px;
  padding: clamp(30px, 5vw, 52px);

  border: 1px solid rgba(255, 193, 7, 0.18);
  border-radius: 26px;

  background:
    radial-gradient(
      circle at 0% 50%,
      rgba(255, 193, 7, 0.13),
      transparent 34%
    ),
    linear-gradient(
      145deg,
      rgba(27, 25, 17, 0.95),
      rgba(13, 15, 23, 0.98)
    );
}

.hpb-product-cta-copy {
  max-width: 760px;
}

.hpb-product-cta h2 {
  margin: 0;

  color: #ffffff;

  font-family: Sora, system-ui, sans-serif;
  font-size: clamp(1.7rem, 2.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.hpb-product-cta p {
  margin: 14px 0 0;

  color: var(--hpb-muted);

  line-height: 1.7;
}

.hpb-product-cta-actions {
  display: flex;
  flex-wrap: wrap;

  gap: 10px;

  flex-shrink: 0;
}

.hpb-product-cta .btn {
  border-radius: 999px;

  padding: 11px 18px;

  font-weight: 700;
}


/* =====================================================
   PAGINATION
   ===================================================== */

.hpb-pagination {
  margin-top: 42px;
}

.hpb-pagination .page-link {
  border-color: rgba(255, 255, 255, 0.08);

  background: rgba(255, 255, 255, 0.035);

  color: rgba(255, 255, 255, 0.8);
}

.hpb-pagination .page-link:hover {
  background: rgba(255, 193, 7, 0.08);

  color: #ffffff;
}

.hpb-pagination .disabled .page-link {
  background: rgba(255, 255, 255, 0.02);

  color: rgba(255, 255, 255, 0.35);
}


/* =====================================================
   EMPTY STATE
   ===================================================== */

.hpb-empty {
  padding: 60px 30px;

  border: 1px solid var(--hpb-border);
  border-radius: 24px;

  background: rgba(255, 255, 255, 0.03);

  text-align: center;
}

.hpb-empty h2 {
  color: #ffffff;
}

.hpb-empty p {
  color: var(--hpb-muted);
}


/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 1050px) {

  .hpb-featured {
    grid-template-columns: 1fr;
  }

  .hpb-featured-media {
    min-height: 360px;
  }

  .hpb-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hpb-resource-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hpb-product-cta {
    align-items: flex-start;
    flex-direction: column;
  }

}


@media (max-width: 700px) {

  .hpb-wrap {
    width: min(100% - 28px, 1320px);
  }

  .hpb-hero {
    padding: 54px 0 32px;
  }

  .hpb-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .hpb-grid {
    grid-template-columns: 1fr;
  }

  .hpb-resource-links {
    grid-template-columns: 1fr;
  }

  .hpb-featured-media {
    min-height: 250px;
  }

  .hpb-featured-copy {
    padding: 26px;
  }

  .hpb-product-cta-actions {
    width: 100%;
  }

  .hpb-product-cta-actions .btn {
    flex: 1 1 auto;
  }

}

/* =====================================================
   BLOG ARTICLE
   ===================================================== */

.hpb-article {
  --hpb-yellow: #ffc107;
  --hpb-border: rgba(255, 255, 255, 0.09);
  --hpb-muted: rgba(255, 255, 255, 0.66);

  padding-bottom: 90px;
}


/* =====================================================
   ARTICLE HEADER
   ===================================================== */

.hpb-article-header {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;

  padding: 64px 0 38px;
}

.hpb-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;

  gap: 8px;

  margin-bottom: 28px;

  color: rgba(255, 255, 255, 0.42);

  font-size: 0.79rem;
  font-weight: 600;
}

.hpb-breadcrumbs a {
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
}

.hpb-breadcrumbs a:hover {
  color: var(--hpb-yellow);
}

.hpb-breadcrumb-separator {
  color: rgba(255, 255, 255, 0.25);
}

.hpb-article-kicker {
  margin: 0 0 15px;

  color: var(--hpb-yellow);

  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hpb-article-title {
  max-width: 1000px;

  margin: 0;

  color: #ffffff;

  font-family: Sora, system-ui, sans-serif;
  font-size: clamp(2.5rem, 5.4vw, 5.1rem);
  line-height: 1.01;
  font-weight: 700;
  letter-spacing: -0.055em;
}

.hpb-article-intro {
  max-width: 850px;

  margin: 26px 0 0;

  color: rgba(255, 255, 255, 0.76);

  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.8;
}

.hpb-article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;

  gap: 8px 14px;

  margin-top: 25px;

  color: rgba(255, 255, 255, 0.44);

  font-size: 0.8rem;
  font-weight: 600;
}

.hpb-meta-divider {
  width: 4px;
  height: 4px;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.28);
}


/* =====================================================
   HERO IMAGE
   ===================================================== */

.hpb-article-hero {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 54px;

  overflow: hidden;

  border: 1px solid var(--hpb-border);
  border-radius: 26px;

  background: #11141e;

  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.32);
}

.hpb-article-hero img {
  display: block;

  width: 100%;
  height: auto;

  max-height: 680px;

  object-fit: cover;
}


/* =====================================================
   MAIN READING COLUMN
   ===================================================== */

.hpb-article-layout {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hpb-article-reading {
  width: min(100%, 820px);
  margin: 0 auto;
}


/* =====================================================
   ARTICLE BODY TYPOGRAPHY
   ===================================================== */

.hpb-article-body {
  color: rgba(255, 255, 255, 0.82);

  font-family: Inter, system-ui, sans-serif;
  font-size: 1.12rem;
  line-height: 1.78;
}

.hpb-article-body p,
.hpb-article-body li {
  font-size: inherit;
}

.hpb-article-body li {
  line-height: 1.72;
}

.hpb-article-body p {
  margin: 0 0 1.25em;
}

.hpb-article-body h2 {
  display: table;
  max-width: 100%;

  margin: 1.75em 0 0.65em;

  padding-top: 18px;

  color: #ffffff;

  font-family: Sora, system-ui, sans-serif;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.035em;

  background-image:
    linear-gradient(
      var(--hpb-yellow),
      var(--hpb-yellow)
    );

  background-repeat: no-repeat;
  background-position: left top;
  background-size: 42px 3px;
}


.hpb-article-body h3 {
  margin: 1.9em 0 0.7em;

  color: #ffffff;

  font-family: Sora, system-ui, sans-serif;
  font-size: 1.3rem;
  line-height: 1.35;
  font-weight: 650;
}

.hpb-article-body h4 {
  margin: 1.65em 0 0.6em;

  color: rgba(255, 255, 255, 0.94);

  font-size: 1.08rem;
  font-weight: 700;
}

.hpb-article-body strong {
  color: #ffffff;
  font-weight: 650;
}

.hpb-article-body a {
  color: var(--hpb-yellow);

  text-decoration-color: rgba(255, 193, 7, 0.45);
  text-underline-offset: 3px;
}

.hpb-article-body a:hover {
  color: #ffd454;
}

.hpb-article-body h2 a,
.hpb-article-body h3 a {
  color: inherit;
  text-decoration: none;
}

.hpb-article-body h2 a:hover,
.hpb-article-body h3 a:hover {
  color: var(--hpb-yellow);
}

.hpb-article-body ul,
.hpb-article-body ol {
  margin: 0 0 1.65em;
  padding-left: 1.55em;
}

.hpb-article-body li {
  margin-bottom: 0.5em;
  padding-left: 0.25em;
}

.hpb-article-body li::marker {
  color: var(--hpb-yellow);
}

.hpb-article-body blockquote {
  margin: 2em 0;
  padding: 20px 24px;

  border-left: 4px solid var(--hpb-yellow);
  border-radius: 0 14px 14px 0;

  background: rgba(255, 193, 7, 0.055);

  color: rgba(255, 255, 255, 0.82);
}

.hpb-article-body hr {
  margin: 42px 0;

  border: 0;
  border-top: 1px solid var(--hpb-border);
}


/* Tables */

.hpb-article-body table {
  width: 100%;

  margin: 28px 0;

  border-collapse: separate;
  border-spacing: 0;

  overflow: hidden;

  border: 1px solid var(--hpb-border);
  border-radius: 15px;

  background: rgba(255, 255, 255, 0.025);
}

.hpb-article-body th,
.hpb-article-body td {
  padding: 12px 14px;

  border-bottom: 1px solid rgba(255, 255, 255, 0.07);

  text-align: left;
  vertical-align: top;
}

.hpb-article-body th {
  color: #ffffff;

  background: rgba(255, 193, 7, 0.07);

  font-weight: 650;
}

.hpb-article-body tr:last-child td {
  border-bottom: 0;
}


/* Existing inline blog images */

.hpb-article-body .blog-inline-image {
  margin: 28px -40px !important;
}

.hpb-article-body .blog-inline-image img {
  width: 100% !important;
  height: auto !important;

  border: 1px solid var(--hpb-border);
  border-radius: 20px !important;

  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.26);
}


/* =====================================================
   SMALL PRODUCT BRIDGE
   ===================================================== */

.hpb-article-product-bridge {
  display: grid;
  grid-template-columns: 1fr auto;

  gap: 28px;

  align-items: center;

  margin: 34px 0 38px;
  padding: 26px 28px;

  border: 1px solid rgba(255, 193, 7, 0.18);
  border-radius: 20px;

  background:
    radial-gradient(
      circle at 0% 50%,
      rgba(255, 193, 7, 0.11),
      transparent 42%
    ),
    rgba(19, 20, 28, 0.96);
}

.hpb-article-product-bridge-label {
  display: block;

  margin-bottom: 7px;

  color: var(--hpb-yellow);

  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hpb-article-product-bridge strong {
  display: block;

  color: #ffffff;

  font-family: Sora, system-ui, sans-serif;
  font-size: 1.15rem;
  line-height: 1.4;
}

.hpb-article-product-bridge p {
  margin: 8px 0 0;

  color: var(--hpb-muted);

  font-size: 0.88rem;
  line-height: 1.6;
}

.hpb-article-product-bridge-actions {
  display: flex;
  flex-direction: column;

  gap: 8px;

  min-width: 190px;
}

.hpb-article-product-bridge .btn {
  border-radius: 999px;

  padding: 10px 16px;

  font-size: 0.84rem;
  font-weight: 700;
}


/* =====================================================
   ARTICLE END RESOURCE PANEL
   ===================================================== */

.hpb-article-resources {
  margin-top: 64px;
  padding: 34px;

  border: 1px solid var(--hpb-border);
  border-radius: 22px;

  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(102, 67, 255, 0.12),
      transparent 38%
    ),
    rgba(18, 21, 32, 0.96);
}

.hpb-article-resources h2 {
  margin: 0;

  color: #ffffff;

  font-family: Sora, system-ui, sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hpb-article-resources > p {
  margin: 10px 0 0;

  color: var(--hpb-muted);

  line-height: 1.65;
}

.hpb-article-resource-grid {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 10px;

  margin-top: 22px;
}

.hpb-article-resource-link {
  display: flex;
  justify-content: space-between;
  align-items: center;

  gap: 14px;

  padding: 14px 16px;

  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;

  background: rgba(255, 255, 255, 0.03);

  color: rgba(255, 255, 255, 0.85);

  font-size: 0.86rem;
  font-weight: 600;

  text-decoration: none;

  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.hpb-article-resource-link:hover {
  transform: translateY(-2px);

  border-color: rgba(255, 193, 7, 0.2);

  background: rgba(255, 193, 7, 0.06);

  color: #ffffff;
}

.hpb-article-resource-link span:last-child {
  color: var(--hpb-yellow);
}


/* =====================================================
   GALLERY
   ===================================================== */

.hpb-gallery {
  width: min(1180px, calc(100% - 40px));

  margin: 70px auto 0;
}

.hpb-gallery-header {
  margin-bottom: 20px;
}

.hpb-gallery-header .hpb-kicker {
  margin-bottom: 8px;
}

.hpb-gallery-header h2 {
  margin: 0;

  color: #ffffff;

  font-family: Sora, system-ui, sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
}

.hpb-gallery-grid {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 14px;
}

.hpb-gallery-item {
  overflow: hidden;

  aspect-ratio: 16 / 10;

  border: 1px solid var(--hpb-border);
  border-radius: 17px;

  background: #11141d;
}

.hpb-gallery-item img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  display: block;
}


/* =====================================================
   BACK TO BLOG
   ===================================================== */

.hpb-back-row {
  width: min(820px, calc(100% - 40px));

  margin: 42px auto 0;
}

.hpb-back-link {
  display: inline-flex;
  align-items: center;

  gap: 7px;

  color: rgba(255, 255, 255, 0.56);

  font-size: 0.87rem;
  font-weight: 600;

  text-decoration: none;
}

.hpb-back-link:hover {
  color: var(--hpb-yellow);
}


/* =====================================================
   RESPONSIVE ARTICLE
   ===================================================== */

@media (max-width: 900px) {

  .hpb-article-body .blog-inline-image {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .hpb-article-product-bridge {
    grid-template-columns: 1fr;
  }

  .hpb-article-product-bridge-actions {
    flex-direction: row;

    min-width: 0;
  }

  .hpb-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}


@media (max-width: 600px) {

  .hpb-article-header {
    width: calc(100% - 28px);

    padding: 44px 0 28px;
  }

  .hpb-article-hero,
  .hpb-article-layout,
  .hpb-gallery,
  .hpb-back-row {
    width: calc(100% - 28px);
  }

  .hpb-article-title {
    font-size: clamp(2.25rem, 11vw, 3.4rem);
  }

  .hpb-article-hero {
    margin-bottom: 38px;

    border-radius: 19px;
  }

  .hpb-article-body {
    font-size: 1rem;
    line-height: 1.78;
  }

  .hpb-article-product-bridge {
    padding: 22px;
  }

  .hpb-article-product-bridge-actions {
    flex-direction: column;
  }

  .hpb-article-product-bridge-actions .btn {
    width: 100%;
  }

  .hpb-article-resources {
    padding: 25px 20px;
  }

  .hpb-article-resource-grid {
    grid-template-columns: 1fr;
  }

  .hpb-gallery-grid {
    grid-template-columns: 1fr;
  }

}