.shum-blog,
.shum-blog * {
  box-sizing: border-box;
}

.shum-blog {
  --shum-red: #ed171d;
  --shum-red-dark: #bd1016;
  --shum-bg: #06131f;
  --shum-panel: #0a1a28;
  --shum-panel-light: #0e2233;
  --shum-line: rgba(255, 255, 255, .08);
  --shum-text: #f6f8fa;
  --shum-muted: #aab5bf;
  width: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--shum-bg);
  color: var(--shum-text);
  font-family: 'Inter', 'Montserrat', Arial, sans-serif;
  line-height: 1.45;
}

.shum-blog a {
  color: inherit;
  text-decoration: none;
}

.shum-blog img {
  max-width: 100%;
}

.shum-blog__container {
  width: min(calc(100% - 32px), 1180px);
  margin: 0 auto;
}

.shum-blog__hero {
  min-height: 355px;
  position: relative;
  background-color: #05111c;
  background-image: var(--shum-blog-hero);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.shum-blog__hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 82px;
  background: linear-gradient(180deg, transparent, var(--shum-bg));
  pointer-events: none;
}

.shum-blog__hero-inner {
  min-height: 355px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
  padding: 35px 0 55px;
}

.shum-blog__hero h1 {
  margin: 0;
  color: #fff;
  font: 800 clamp(36px, 4vw, 58px) / .98 'Archivo', 'Inter', Arial, sans-serif;
  letter-spacing: -.035em;
  text-transform: uppercase;
}

.shum-blog__hero h1 strong {
  display: inline-block;
  margin-top: 8px;
  color: var(--shum-red);
  font: inherit;
}

.shum-blog__hero p {
  margin: 23px 0 0;
  color: #d5dce2;
  font-size: 14px;
  line-height: 1.55;
}

.shum-blog__body {
  position: relative;
  z-index: 2;
  padding: 0 0 34px;
}

.shum-blog__search {
  width: min(100%, 350px);
  height: 43px;
  display: flex;
  align-items: center;
  margin: -13px auto 25px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 5px;
  background: #091925;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .22);
}

.shum-blog .shum-blog__search input[type='search'] {
  min-width: 0;
  height: 100%;
  flex: 1;
  margin: 0;
  padding: 0 7px 0 15px;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
  color: #fff;
  font: 400 13px / 1.2 'Inter', Arial, sans-serif;
}

.shum-blog__search input::placeholder {
  color: #697784;
  opacity: 1;
}

.shum-blog__search button {
  width: 45px;
  height: 41px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #c0c9d0;
  cursor: pointer;
}

.shum-blog svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.shum-blog__search svg {
  width: 17px;
  height: 17px;
  stroke-width: 1.8;
}

.shum-blog-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--shum-line);
  border-radius: 8px;
  background: linear-gradient(145deg, var(--shum-panel), #081722);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .13);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.shum-blog-card:hover {
  transform: translateY(-3px);
  border-color: rgba(237, 23, 29, .42);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .22);
}

.shum-blog-card--featured {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  margin-bottom: 15px;
}

.shum-blog-card__image {
  display: block;
  overflow: hidden;
  background: #132536;
}

.shum-blog-card:not(.shum-blog-card--featured) .shum-blog-card__image {
  aspect-ratio: 1.8 / 1;
}

.shum-blog-card--featured .shum-blog-card__image {
  min-height: 330px;
}

.shum-blog-card__photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 72% center;
  transition: transform .35s ease;
}

.shum-blog-card:not(.shum-blog-card--featured) .shum-blog-card__photo {
  object-position: 70% center;
}

.shum-blog-card:hover .shum-blog-card__photo {
  transform: scale(1.025);
}

.shum-blog-card__content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px 18px 16px;
}

.shum-blog-card--featured .shum-blog-card__content {
  justify-content: center;
  padding: 34px 34px 30px;
}

.shum-blog-card__meta {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 0 0 12px;
}

.shum-blog-card__category {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  padding: 4px 8px;
  border-radius: 3px;
  background: var(--shum-red);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .025em;
  line-height: 1.1;
  text-transform: uppercase;
}

.shum-blog-card time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #c1c9d0;
  font-size: 10px;
}

.shum-blog-card time svg {
  width: 13px;
  height: 13px;
  stroke-width: 1.65;
}

.shum-blog-card h2 {
  margin: 0 0 12px;
  color: #fff;
  font: 750 19px / 1.25 'Inter', Arial, sans-serif;
  letter-spacing: -.02em;
}

.shum-blog-card--featured h2 {
  font-size: clamp(25px, 2.35vw, 35px);
  line-height: 1.18;
}

.shum-blog-card h2 a,
.shum-blog-card h2 a:visited {
  color: #fff;
  text-decoration: none;
}

.shum-blog-card h2 a:hover {
  color: #ff3c42;
}

.shum-blog-card p {
  margin: 0 0 17px;
  color: var(--shum-muted);
  font-size: 12px;
  line-height: 1.55;
}

.shum-blog-card--featured p {
  max-width: 510px;
  color: #c5ced5;
  font-size: 14px;
}

.shum-blog-card__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: #ff3339 !important;
  font-size: 11px;
  font-weight: 700;
}

.shum-blog-card--featured .shum-blog-card__more {
  min-height: 43px;
  padding: 11px 17px;
  border-radius: 4px;
  background: var(--shum-red);
  color: #fff !important;
}

.shum-blog-card__more svg,
.shum-blog__cta-button svg {
  width: 15px;
  height: 15px;
  stroke-width: 1.8;
  transition: transform .2s ease;
}

.shum-blog-card__more:hover svg,
.shum-blog__cta-button:hover svg {
  transform: translateX(3px);
}

.shum-blog__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.shum-blog__grid .shum-blog-card__content {
  min-height: 225px;
}

.shum-blog__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 22px 0 28px;
}

.shum-blog__pagination .page-numbers {
  min-width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border-radius: 4px;
  color: #c3cbd2;
  font-size: 11px;
  font-weight: 650;
}

.shum-blog__pagination a.page-numbers:hover,
.shum-blog__pagination .current {
  background: var(--shum-red);
  color: #fff;
}

.shum-blog__pagination .prev,
.shum-blog__pagination .next {
  min-width: auto;
  color: #98a5af;
}

.shum-blog__empty {
  margin: 20px 0 28px;
  padding: 55px 24px;
  border: 1px solid var(--shum-line);
  border-radius: 8px;
  background: var(--shum-panel);
  color: var(--shum-muted);
  text-align: center;
}

.shum-blog__cta {
  min-height: 130px;
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) 300px;
  align-items: center;
  column-gap: 28px;
  row-gap: 8px;
  position: relative;
  margin-top: 30px;
  padding: 22px 28px 18px;
  overflow: hidden;
  border: 1px solid var(--shum-line);
  border-radius: 8px;
  background: linear-gradient(105deg, #081927, #0c1d2a 65%, #071722);
}

.shum-blog__cta::before {
  content: '';
  width: 175px;
  height: 175px;
  position: absolute;
  right: -70px;
  bottom: -125px;
  border: 1px solid rgba(237, 23, 29, .2);
  border-radius: 50%;
}

.shum-blog__cta-icon {
  width: 100px;
  height: 100px;
  display: grid;
  grid-row: 1 / span 2;
  place-items: center;
  background: transparent;
  transform: none;
}

.shum-blog__cta-icon img {
  width: 100px;
  height: 100px;
  display: block;
  object-fit: contain;
  object-position: center;
}

.shum-blog__cta-copy {
  margin: 0;
}

.shum-blog__cta-copy h2 {
  margin: 0 0 7px;
  color: #fff;
  font: 750 clamp(20px, 2vw, 27px) / 1.15 'Inter', Arial, sans-serif;
  letter-spacing: -.02em;
}

.shum-blog__cta-copy p {
  margin: 0;
  color: var(--shum-muted);
  font-size: 12px;
}

.shum-blog__cta-button {
  min-width: 300px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  position: relative;
  z-index: 2;
  padding: 13px 23px;
  border-radius: 5px;
  background: var(--shum-red);
  color: #fff !important;
  font-size: 12px;
  font-weight: 750;
  transition: background .2s ease, transform .2s ease;
}

.shum-blog__cta-button:hover {
  transform: translateY(-1px);
  background: var(--shum-red-dark);
}

.shum-blog__benefits {
  grid-column: 3;
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  position: relative;
  z-index: 2;
  margin: -8px 0 0;
  padding: 0;
  color: #9aa7b1;
  font-size: 12px;
  list-style: none;
}

.shum-blog__benefits {
  flex-wrap: nowrap;
}

.shum-blog__benefits li {
  flex: 0 0 auto;
  white-space: nowrap;
}

.shum-blog__benefits li::before {
  content: '✓';
  margin-right: 5px;
  color: var(--shum-red);
}

body.shumavto-blog-page .page-header,
body.shumavto-blog-page .entry-title {
  display: none !important;
}

@media (max-width: 900px) {
  .shum-blog-card--featured {
    grid-template-columns: 1fr;
  }

  .shum-blog-card--featured .shum-blog-card__image {
    min-height: 280px;
    aspect-ratio: 1.8 / 1;
  }

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

  .shum-blog__cta {
    grid-template-columns: 90px minmax(0, 1fr);
    column-gap: 22px;
    row-gap: 14px;
  }

  .shum-blog__cta-icon {
    width: 90px;
    height: 90px;
    grid-row: auto;
  }

  .shum-blog__cta-icon img {
    width: 90px;
    height: 90px;
  }

  .shum-blog__cta-button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .shum-blog__benefits {
    grid-column: 1 / -1;
    justify-content: center;
  }
}

@media (max-width: 620px) {
  .shum-blog__container {
    width: calc(100% - 22px);
  }

  .shum-blog__hero,
  .shum-blog__hero-inner {
    min-height: 310px;
  }

  .shum-blog__hero {
    background-position: 64% center;
  }

  .shum-blog__hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(4, 15, 25, .96), rgba(4, 15, 25, .72) 58%, rgba(4, 15, 25, .12));
  }

  .shum-blog__hero h1 {
    font-size: 36px;
  }

  .shum-blog__hero p {
    max-width: 80%;
    font-size: 12px;
  }

  .shum-blog__search {
    margin-top: -8px;
  }

  .shum-blog-card--featured .shum-blog-card__image {
    min-height: 210px;
  }

  .shum-blog-card--featured .shum-blog-card__content {
    padding: 24px 20px 22px;
  }

  .shum-blog-card--featured h2 {
    font-size: 24px;
  }

  .shum-blog__grid {
    grid-template-columns: 1fr;
  }

  .shum-blog__cta {
    grid-template-columns: 1fr;
    padding: 25px 20px;
    text-align: center;
  }

  .shum-blog__cta-icon {
    grid-row: auto;
    margin: 0 auto;
  }

  .shum-blog__cta-button {
    grid-column: auto;
    min-width: 0;
  }

  .shum-blog__benefits {
    grid-column: auto;
    flex-direction: column;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shum-blog *,
  .shum-blog *::before,
  .shum-blog *::after {
    transition-duration: .01ms !important;
  }
}
