:root {
  --color-bg: #000000;
  --color-text: #ffffff;
  --color-primary: #e50914;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

h1,
h2,
h3 {
  text-transform: uppercase;
  color: white;
}

.hidden {
  display: none;
}

body {
  background-color: var(--color-bg);
  font-family: "Inter", sans-serif;
  color: var(--color-text);
}

/* class de tags semanticas */

.site-feature {
  display: flex;
  width: 100%;
  justify-content: center;
  margin-top: 50px;
  margin-bottom: 70px;
}

.site-main {
  display: flex;
  width: 100%;
  justify-content: center;
  margin-bottom: 50px;
  margin-top: 50px;
}

a {
  font-weight: 500;
  color: #e83c43;
  text-decoration: inherit;
}

/* Utiliarias */
.flex {
  display: flex;
}

.grid {
  display: grid;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

/* GAP UTILITIES (rem) */
.gap-0 {
  gap: 0;
}

.gap-1 {
  gap: 0.25rem;
}

/* 4px */
.gap-2 {
  gap: 0.5rem;
}

/* 8px */
.gap-3 {
  gap: 0.75rem;
}

/* 12px */
.gap-4 {
  gap: 1rem;
}

/* 16px */
.gap-5 {
  gap: 1.25rem;
}

/* 20px */
.gap-6 {
  gap: 1.5rem;
}

/* 24px */
.gap-7 {
  gap: 1.75rem;
}

/* 28px */
.gap-8 {
  gap: 2rem;
}

/* 32px */
.gap-9 {
  gap: 2.5rem;
}

/* 40px */
.gap-10 {
  gap: 3rem;
}

/* 48px */
.gap-11 {
  gap: 3.5rem;
}

/* 56px */
.gap-12 {
  gap: 4rem;
}

/* 64px */
.gap-13 {
  gap: 5rem;
}

/* 80px */
.gap-14 {
  gap: 6rem;
}

/* 96px */

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.left-0 {
  left: 0;
}

.right-0 {
  right: 0;
}


/* ========================= 
            Container
==============================
*/

.container {
  width: 100%;
  max-width: 1500px;
}


/* ========================= 
            Header
==============================
*/


/* ============= Header Cover ============ */
.header-cover {
  background-size: cover;
  background-repeat: no-repeat;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.site-branding {
  z-index: 2;
}

/* =============== Header Overlay ================= */
.header-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: hsl(0deg 0% 0% / 58%);
  top: 0px;
  bottom: 0px;
}

/* ============= Nav =========== */
.site-navigation {
  width: 100%;

  display: flex;
  justify-content: center;
  align-items: center;
  background: #1a1a1a;
  overflow: auto;
}

/*================ Visual limiter ==================*/

.visual-limiter {
  display: grid;
  justify-content: center;
  align-items: center;
  height: 50px;
  border-right: 1px solid rgb(49, 49, 49);
  border-left: 1px solid rgb(49, 49, 49);
  text-transform: uppercase;
}

/* =================== Menu =================== */
ul#menu-main-menu {
  display: flex;
  list-style: none;
  gap: 1.875rem;
}

ul#menu-main-menu a {
  color: white;
  font-weight: 700;
  text-decoration: none;
}

ul#menu-main-menu a:hover {
  color: #e83c43;
}

:where(figure) {
  margin-bottom: 0px !important;
}

/*======================Search========================*/
.wrapper-input-search {
  width: 100%;
  position: relative;
  background: #0e0e0e;
  border: none;
  /* padding: 0.8rem; */
  border-radius: 30px;
}

input.style-search {
  width: 85%;
  background: #0e0e0e;
  border: none;
  padding: 0.8rem;
  border-radius: 30px;
  font-family: 'Inter';
  color: white;
}

.wrapper-input-search {
  width: 100%;
  position: relative;
  background: #0e0e0e;
  border: none;
  /* padding: 0.8rem; */
  border-radius: 30px;
}

.wrapper-input-search button.btn-search {
  position: absolute;
  width: 42px;
  height: 100%;
  right: 0;
  padding: 0px !important;
  background: transparent;
  border: none;
  cursor: pointer;
}

button.btn-search img {
  width: 100%;
}


/*===============================FEATURE (CONTAINER)================================*/
.feature {
  padding: 2rem 0;
}

.feature__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

/* ===============================
   CARD (BASE)
================================ */
.card {
  background: #1a1a1a;
  border-radius: 0.75rem;
  overflow: hidden;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

article.card.card--featured {
  position: relative;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* ===============================
   CARD MEDIA
================================ */
.card__media {
  position: relative;
  width: 100%;
  height: 100%;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===============================
   CARD CONTENT
================================ */
.card__content {
  padding: 1rem;
}

.first_card__content {
  padding: 1rem;
  bottom: 0;
  position: absolute;
  top: 75%;
  left: 35%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 1.125rem;
  font-weight: bold;
  z-index: 2;
}

.link_first_card {
  position: relative;
}

.overlay_card {
  width: 100%;
  inset: 0;
  background: linear-gradient(to top, rgb(0 0 0 / 60%), rgb(0 0 0 / 0%));
  position: absolute;
}

.card__title {
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -webkit-line-clamp: 2;
  margin-top: 5px;
}

/* ===============================
   VARIAÇÕES
================================ */

/* Card principal */
.card--featured .card__media {
  height: 400px;
}

.card--featured .card__title {
  font-size: 1.5rem;
}

/* Cards menores */
.card--compact .card__media {
  height: 200px;
}

.card--compact .card__title {
  font-size: 1rem;
}


/* ===============================
   FOOTER
================================ */
.site-footer {
  background: #0b0b0b;
  color: #b5b5b5;
  font-size: 0.95rem;
}

/* ===============================
   CONTAINER
================================ */
.footer__container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 3rem 1rem;
}

/* ===============================
   GRID
================================ */
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 2rem;
}

/* ===============================
   COLUNAS
================================ */
.footer__column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ===============================
   TITULOS
================================ */
.footer__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
}

/* ===============================
   SOBRE
================================ */
.footer__logo img {
  max-width: 140px;
}

.footer__text {
  line-height: 1.6;
}

/* ===============================
   LINKS
================================ */
.footer__link {
  color: #b5b5b5;
  transition: color 0.3s ease;
}

.footer__link:hover {
  color: #ffffff;
}

/* ===============================
   CATEGORIAS
================================ */
.footer__categories-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

li.footer__category {
  cursor: pointer;
  transition: color 0.3s ease;
  background: #000000;
  padding: 3px 7px;
  width: fit-content;
  border-radius: 15px;
  border: solid 1px #b5b5b5;

}

li.footer__category a {
  font-weight: 400;
  color: #b5b5b5;
}

.footer__category:hover {
  color: #ffffff;
}

/* ===============================
   BOTTOM
================================ */
.footer__bottom {
  border-top: 1px solid #1e1e1e;
  text-align: center;
  padding: 1rem;
  font-size: 0.85rem;
  color: #888;
}


/* ==================================================
   CONTENT
================================================== */
.content {
  padding: 3rem 0;
}

.content__header {
  margin-bottom: 2rem;
}

.content__title {
  font-size: 1.9rem;
  font-weight: 800;
  color: #ffffff;
}

/* ==================================================
   LAYOUT (MAIN + SIDEBAR)
================================================== */
.content__layout {
  display: grid;
  grid-template-columns: 3fr 1.2fr;
  gap: 2.5rem;
}

.post-single__main {
    padding: 2rem;
    background: #0f0f0f;
    border-radius: 0.75rem;
}

.separator {
    width: 100%;
    height: 1px;
    background: rgb(49, 49, 49);
    margin-top: 2.5rem !important;
    margin-bottom: 2.5rem !important;
}

/* ==================================================
   POSTS LIST
================================================== */
.posts__list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

/* ==================================================
   POST CARD
================================================== */
.post__card {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1.5rem;
  background: #0f0f0f;
  border-radius: 0.75rem;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

/* ==================================================
   POST MEDIA
================================================== */
.post__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==================================================
   POST CONTENT
================================================== */
.post__content {
  padding: 1.25rem 1.25rem 1.25rem 0;
  display: flex;
  flex-direction: column;
}

/* ==================================================
   TAGS
================================================== */
.post__tags {
  display: flex;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
}

.post__tags li {
  background: red;
  padding: 2px 5px;
  border-radius: 3px;
  font-size: small;
  font-weight: 500;
  color: white;
}

/* ==================================================
   POST TEXTS
================================================== */
.post__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0.5rem 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -webkit-line-clamp: 2;
}

.post__meta {
  font-size: 0.75rem;
  color: #8c8c8c;
}

.post__excerpt {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #b5b5b5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -webkit-line-clamp: 1;
}



/* ==================================================
   SIDEBAR
================================================== */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sidebar__block {
  background: #0f0f0f;
  padding: 1.5rem;
  border-radius: 0.75rem;
}

.sidebar__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* ==================================================
   SIDEBAR SOCIAL
================================================== */
.sidebar__icons {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.sidebar__icons .bi {
  font-size: 1.3rem;
  background: linear-gradient(180deg,
      #f5f5f5,
      #cfcfcf,
      #9e9e9e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sidebar__text {
  font-size: 0.9rem;
  color: #b5b5b5;
}

/* ==================================================
   SIDEBAR POSTS
================================================== */
.sidebar__list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sidebar-post__link {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1rem;
}

.sidebar-post__media img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 0.5rem;
}

.sidebar-post__title {
  font-size: 0.9rem;
  font-weight: 600;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -webkit-line-clamp: 2;
}

.sidebar-post__meta {
  font-size: 0.7rem;
  color: #888;
}

.sidebar-post__excerpt {
  font-size: 0.8rem;
  color: #aaa;
  line-height: 1.4;
}


/* ==================================================
   BANNERS
================================================== */


/* ==================================================
   BANNER HORIZONTAL
================================================== */
.banner {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.banner__link {
  display: block;
  background: linear-gradient(90deg, #0f0f0f, #1a1a1a);
  border-radius: 0.75rem;
  padding: 1rem 1.5rem;
  transition: background 0.3s ease, transform 0.3s ease;
}

.banner__link:hover {
  background: linear-gradient(90deg, #151515, #222);
  transform: translateY(-2px);
}

/* ==================================================
   CONTENT
================================================== */
.banner__content {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ==================================================
   META (TAG + DATA)
================================================== */
.banner__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}



.banner__tag {
  background: #e50914;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  border-radius: 0.25rem;
}

.banner__date {
  font-size: 0.75rem;
  color: #999;
  white-space: nowrap;
}


/* =================================================
  BANNER VIDEO
=================================================== */

.video-banner {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

span.video-banner__cta {
  align-self: flex-start;
  margin-top: 0.25rem;
  padding: 0.5rem 1.1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #e50914;
  border: 1px solid #e50914;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(2px);
  transition: background 0.3s ease, color 0.3s ease;
}

span.video-banner__tag {
  width: fit-content;
  display: inline-block;
  background: #e50914;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
}

.video-banner__link {
  position: relative;
  display: block;
  width: 100%;
  height: 260px;
  aspect-ratio: 16 / 5;
  background: gainsboro;
  background-size: cover;
  background-position: center;
  border-radius: 0.75rem;
  overflow: hidden;
}

.video-banner__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.1) saturate(1.05) brightness(.85);
  border: solid 1px;
}



.video-banner__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, .7) 100%),
    linear-gradient(to top, rgba(0, 0, 0, .75), rgba(0, 0, 0, .2));
}

.video-banner__content {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: 700px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.video-banner__title {
  font-size: clamp(1.4rem, 4vw, 2.4rem);
  font-weight: 900;
  text-shadow: 0 10px 30px rgba(0, 0, 0, .8);
}



/* ==================================================
   ELEMENTS
================================================== */
.banner__title {
  font-size: 1rem;
  font-weight: 700;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.banner__cta {
  font-size: 0.85rem;
  font-weight: 600;
  color: #e50914;
  white-space: nowrap;
}

/* ==================================================
   IMAGE BANNER
================================================== */

.image-banner {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

/* container clicável */
.image-banner__link {
  position: relative;
  display: block;
  width: 100%;
  height: 260px;
  aspect-ratio: 16 / 5;
  background: gainsboro;
  background-size: cover;
  background-position: center;
  border-radius: 0.75rem;
  overflow: hidden;
}



/* overlay escuro */
.image-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(0, 0, 0, 0.75) 0%,
      rgba(0, 0, 0, 0.3) 50%,
      rgba(0, 0, 0, 0) 100%);
}


/* conteúdo */
.image-banner__content {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: 520px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}


/* elementos */
.image-banner__tag {
  width: fit-content;
  display: inline-block;
  background: #e50914;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
}

.image-banner__title {
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.image-banner__cta {
  align-self: flex-start;
  margin-top: 0.25rem;
  padding: 0.5rem 1.1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #e50914;
  border: 1px solid #e50914;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(2px);
  transition: background 0.3s ease, color 0.3s ease;
}

/* ==================================================
   ANIMAÇÃO SUTIL (FUNDO)
================================================== */
.image-banner__link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  transform: scale(1);
  transition: transform 6s ease;
  z-index: -1;
}

.image-banner__link:hover::before {
  transform: scale(1.05);
}


/* ==================================================
   SIDEBAR HERO BANNER
================================================== */

/* container clicável */
.sidebar-hero-vertical__link {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 1rem;
  overflow: hidden;
  background: gainsboro;
  /* background-image: url(../images/divorcio-perfeito-lateral-blog.webp); */
  background-size: contain;
  background-position: center right;
  background-repeat: no-repeat;
  transition: transform 0.4s ease;
}

.sidebar-hero-horizontal__link {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: 1rem;
  overflow: hidden;
  background: gainsboro;
  /* background-image: url(../images/a-floresta-sombria-de-darkflix.png); */
  background-size: contain;
  background-position: center right;
  background-repeat: no-repeat;
  transition: transform 0.4s ease;
}

.sidebar-hero__link:hover {
  transform: translateY(-4px);
}

/* overlay escuro para legibilidade */
.sidebar-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(0, 0, 0, 0.85) 0%,
      rgba(0, 0, 0, 0.55) 45%,
      rgba(0, 0, 0, 0.15) 70%,
      rgba(0, 0, 0, 0) 100%);
  z-index: 0;
}

/* ==================================================
   CONTENT
================================================== */

.sidebar-hero__content {
  position: relative;
  z-index: 1;
  height: 100%;
  max-height: 470px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.75rem;
}

/* selo vermelho */

/* título branco */
.sidebar-hero__title {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
}

/* botão transparente com borda */
.sidebar-hero__button {
  align-self: flex-start;
  margin-top: 0.25rem;

  padding: 0.5rem 1.1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #e50914;

  border: 1px solid #e50914;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);

  backdrop-filter: blur(2px);
  transition: background 0.3s ease, color 0.3s ease;
}

.sidebar-hero__link:hover .sidebar-hero__button {
  background: #e50914;
  color: #fff;
}


.posts__fade-more {
  position: relative;
  margin-top: 3rem;
  margin-bottom: 50px;
  padding-top: 3rem;
  display: flex;
  justify-content: center;
}

.load-more {
  background: transparent;
  border: 2px solid #e50914;
  color: #e50914;
  padding: 0.75rem 2rem;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.03em;
}

.load-more:hover {
  background: #e50914;
  color: #fff;
  transform: translateY(-2px);
}

.posts__fade-more::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 120px;
  background: linear-gradient(to bottom,
      rgba(15, 15, 15, 0),
      rgba(15, 15, 15, 1));
  pointer-events: none;
  border-radius: 0.75rem;
}

/* ==================================================
   NEWSLETTER
================================================== */
.newsletter {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
}

.newsletter__box {
  background: linear-gradient(135deg, #0f0f0f, #1a1a1a);
  border-radius: 1rem;
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

/* ==================================================
   CONTENT
================================================== */
.newsletter__tag {
  display: inline-block;
  background: #e50914;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.newsletter__title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.newsletter__text {
  font-size: 0.95rem;
  color: #b5b5b5;
  max-width: 520px;
}

/* ==================================================
   FORM
================================================== */
.newsletter__form {
  display: flex;
  gap: 0.75rem;
}

.newsletter__form input {
  background: #111;
  border: 1px solid #333;
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  min-width: 260px;
  font-size: 0.9rem;
}

.newsletter__form input::placeholder {
  color: #777;
}

.newsletter__form input:focus {
  outline: none;
  border-color: #e50914;
}

.newsletter__form button {
  background: #e50914;
  border: none;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
}

.newsletter__form button:hover {
  background: #ff1f2c;
  transform: translateY(-2px);
}

/* ==================================================
   GLOBAL RESPONSIVE FIXES
================================================== */

/* Container sempre respirando */
@media (max-width: 1440px) {
  .container {
    padding-inline: 1.5rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding-inline: 1rem;
  }
}

/* ==================================================
   HEADER / NAV
================================================== */
@media (max-width: 900px) {
  .visual-limiter {
    border: none;
  }

  ul#menu-main-menu {
    gap: 1rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 700px) {
  ul#menu-main-menu {
    flex-wrap: wrap;
    justify-content: center;
  }

  .style-form-search {
    display: none;
  }
}

/* ==================================================
   FEATURE GRID
================================================== */
@media (max-width: 900px) {
  .feature__grid {
    grid-template-columns: 1fr;
  }

  .card--featured .card__media {
    height: auto;
  }
}

@media (max-width: 900px) {
  .first_card__content {
    padding: 1rem;
    bottom: 0;
    position: absolute;
    top: 41%;
    left: 35%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 1.125rem;
    font-weight: bold;
    z-index: 2;
  }
}

/* ==================================================
   MAIN + SIDEBAR
================================================== */
@media (max-width: 1024px) {
  .content__layout {
    grid-template-columns: 2.5fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 900px) {
  .content__layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    order: 2;
  }

  .posts {
    order: 1;
  }
}

/* ==================================================
   POSTS
================================================== */
@media (max-width: 768px) {
  .post__card {
    grid-template-columns: 1fr;
  }

  .post__media img {
    height: 200px;
  }

  .post__title {
    font-size: 1.1rem;
  }
}

/* ==================================================
   IMAGE BANNER
================================================== */
@media (max-width: 768px) {
  .image-banner__link {
    height: auto;
  }

  .image-banner__content {
    padding: 1rem;
  }
}

/* ==================================================
   SIDEBAR HERO
================================================== */
@media (max-width: 900px) {
  .sidebar-hero__link {
    aspect-ratio: 16 / 10;
    background-size: cover;
  }
}



/* ==================================================
   QUEBRA DO SIDEBAR EM 1280px
================================================== */
@media (max-width: 1280px) {
  .content__layout {
    grid-template-columns: 1fr;
  }

  .posts {
    order: 1;
  }

  .sidebar {
    order: 2;
  }

  .post__content {
    padding: 15px;
  }
}


/* ==================================================
   NEWSLETTER AND SIDEBAR
================================================== */
@media (max-width: 600px) {

  .image-banner__title,
  .image-banner__tag,
  .image-banner__cta {
    display: none;
  }

  .newsletter__form {
    margin-top: 10px;
    display: grid;
  }

  .newsletter__box {
    padding: 1.75rem;
    display: inline-block;
  }

  .newsletter__title {
    font-size: 1.25rem;
  }

  .sidebar-hero__link {
    aspect-ratio: 4 / 3;
  }

  .sidebar-hero__title {
    font-size: 1rem;
  }

  .footer__grid {
    display: grid;
    gap: 2rem;
  }

}

/* ==================================================
   FOOTER RESPONSIVO
================================================== */

/* Tablets */
@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__categories-list {
    grid-template-columns: 1fr;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .footer__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__column {
    align-items: center;
  }

  .footer__logo img {
    margin-bottom: 0.5rem;
  }

  .footer__text {
    max-width: 320px;
  }

  .footer__categories-list {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .footer__category {
    text-align: center;
  }

  .footer__bottom {
    font-size: 0.75rem;
    padding: 1.25rem 1rem;
  }
}


/* ==================================================
   POST SINGLE
================================================== */

.post-single {
  margin-top: 3rem;
}

/* ================= HEADER ================= */

.post-single__header {
  max-width: 900px;
  margin-bottom: 2rem;
}

.post-single__tags {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.post-single__tags li {
  background: #e50914;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  text-transform: uppercase;
}

.post-single__title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.post-single__meta {
  font-size: 0.85rem;
  color: #9a9a9a;
  display: flex;
  gap: 0.75rem;
}

/* ================= FEATURED IMAGE ================= */

.post-single__featured {
  width: 100%;
  max-width: 800px;
  border-radius: 1rem;
  overflow: hidden;
}

.post-single__featured img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
}

/* ================= CONTENT ================= */

.post-single__content {
  max-width: 900px;
}

.post-single__content p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #d1d1d1;
  margin-bottom: 1.5rem;
}

.post-single__content .lead {
  font-size: 1.2rem;
  font-weight: 500;
  color: #ffffff;
}

/* ================= HEADINGS ================= */

.post-single__content h2 {
  font-size: 1.5rem;
  margin: 2.5rem 0 1rem;
  font-weight: 800;
}

/* ================= BLOCKQUOTE ================= */

.post-single__content blockquote {
  border-left: 4px solid #e50914;
  padding-left: 1.25rem;
  margin: 2rem 0;
  font-size: 1.1rem;
  font-style: italic;
  color: #ffffff;
}


section.error-404.not-found {
  height: 25vh;
  display: grid;
  align-items: center;
}


/* ================= PAGINATION ================= */

.pagination {
  margin: 3rem 0;
  display: flex;
  justify-content: center;
}

.pagination__list {
  display: flex;
  gap: 0.5rem;
}

.pagination__item a,
.pagination__item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 0.75rem;
  background: #111;
  border-radius: 0.5rem;
  color: #ccc;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.pagination__item a:hover {
  background: #e50914;
  color: #fff;
}

.pagination__item span.current {
  background: #e50914;
  color: #fff;
  font-weight: 700;
}

/* ================= MODAL WITH POPUP ================= */

.popup-offer {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 1000;
}

.popup-offer.is-active {
  display: block;
}

/* Overlay */
.popup-offer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .7);
}

/* Container */
.popup-offer__content {
  position: relative;
  max-width: 760px;
  margin: auto;
  background: #0f0f0f;
  color: #fff;
  border-radius: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
}

.popup-offer__media {
  display: grid;
  align-items: center;
  justify-content: center;
}

/* Imagem */
.popup-offer__media img {
  width: 100%;
  object-fit: cover;
}

/* Conteúdo */
.popup-offer__body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  margin-top: 20px;
}

.popup-offer__body h2 {
  font-size: 1.8rem;
  line-height: 1.2;
}

.popup-offer__body p {
  color: #ccc;
  font-size: 1rem;
}

/* CTA */
.btn--primary {
  background: #e50914;
  color: #fff;
  padding: .9rem 1.2rem;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  text-decoration: none;
}

.btn--primary:hover {
  filter: brightness(1.1);
}

/* CTA secundário */
.popup-offer__later {
  background: none;
  border: none;
  color: #aaa;
  cursor: pointer;
  font-size: .9rem;
  align-self: flex-start;
}

/* Botão fechar */
.popup-offer__close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: 0;
  font-size: 1.4rem;
  color: #fff;
  cursor: pointer;
}

/* Mobile */
@media (max-width: 768px) {
  .popup-offer__content {
    grid-template-columns: 1fr;
    max-width: 90%;
  }
  
  .popup-offer__media img {
      width: 90%;
  }

  .popup-offer__media {
    max-height: 220px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
  }
}