

/* Image noticia principal home */
.image-with-text {
  width: 570px;
  height: 550px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  margin: 32px auto;
}

.image-with-text img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-with-text .overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.45) 40%, rgba(0,0,0,0.6) 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.image-with-text .overlay h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.1;
  font-weight: 700;
}

.image-with-text .overlay p {
  margin: 0;
  font-size: 14px;
  opacity: 0.95;
}

@media (max-width: 1000px) {
  .image-with-text { width: 100%; height: auto; aspect-ratio: 570 / 550; margin: 16px 0; }
}
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Stack Sans Text", sans-serif;
  font-optical-sizing: auto;
  font-weight: 200;
  font-style: normal;
}

html, body {
  overflow-x: hidden;
}

strong {
  font-weight: bold;
}

 /* sidebar noticias  */

.contenido-sidebar {
  flex: 0 0 307px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-titulo {
  font-size: 12px;
  font-weight: 700;
  color: #2d3ad3;
  margin: 0;
  text-transform: uppercase;
}

.noticia-item {
  display: flex;
  gap: 8px;
  padding: 8px 0;
}

.noticia-numero {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 50%;
  background-color: #0b02ff;
  color: #ffffff;
  font-size: 10px;
  font-weight: 600;
}

.noticia-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.noticia-titulo {
  font-size: 14px;
  font-weight: 700;
  color: #1c1c1c;
  margin: 0;
  line-height: 1.3;
}

.noticia-fecha {
  font-size: 12px;
  color: #a7a7a7;
  margin: 0;
}

.noticia-thumb {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 0;
  flex-shrink: 0;
}

.noticia-divider {
  height: 1px;
  background-color: #e0e0e0;
  margin: 4px 0;
}
  /* fin sidebar  */

@media (max-width: 1000px) {
  .contenido-container {
    flex-direction: column;
    gap: 24px;
  }
  .contenido-main,
  .contenido-sidebar {
    max-width: 100%;
    flex: 1;
  }
  .seccion-contenido {
    padding: 24px 20px;
  }
}


.seccion-noticias {
  display: flex;
  flex-direction: column;
  gap: 19px;
  width: 100%;
}

.noticia-card {
  background-color: #eee;
  display: flex;
  align-items: center;
  padding: 16px;
  border-radius: 12px;
  width: 100%;
  gap: 16px;
  min-height: 126px;
}

.noticia-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}

.vertical-text {
  display: flex;
  height: 46px;
  align-items: center;
  justify-content: center;
  width: 15px;
}

.vertical-text p {
  font-family: 'Inter', sans-serif;
  font-weight: normal;
  font-size: 12px;
  color: #1c1c1c;
  transform: rotate(-90deg);
  margin: 0;
  white-space: nowrap;
}

.vertical-line {
  height: 62.5px;
  width: 0;
  position: relative;
}

.vertical-line::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 100%;
  background: url('../img/vector-vertical.svg') no-repeat center;
  background-size: cover;
}

.noticia-body {
  flex: 1 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.noticia-titulo {
  flex: 1 0 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.noticia-titulo p {
  font-family: 'Helvetica', sans-serif;
  font-weight: bold;
  font-size: 20px;
  color: black;
  margin: 0;
  line-height: normal;
  width: 100%;
  white-space: pre-wrap;
}

.noticia-fecha {
  display: flex;
  align-items: flex-start;
}

.noticia-fecha p {
  font-family: 'Inter', sans-serif;
  font-weight: normal;
  font-size: 12px;
  color: #383838;
  margin: 0;
}

.noticia-imagen {
  display: flex;
  align-items: center;
}

.noticia-imagen img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 0;
}

@media (max-width: 768px) {
  .seccion-noticias {
    width: 100%;
  }

  .noticia-card {
    width: 100%;
    min-height: auto;
    gap: 12px;
    padding: 12px;
  }

  .noticia-titulo p {
    font-size: 16px;
  }

  .noticia-imagen img {
    width: 72px;
    height: 72px;
  }
}

.sidebar-carros {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  justify-content: center;
  width: 391px;
}

.sidebar-titulo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-titulo p {
  font-family: 'Helvetica', sans-serif;
  font-weight: bold;
  font-size: 32px;
  color: black;
  margin: 0;
}

.sidebar-box {
  background-color: #b9b9b9;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 12px;
  width: 100%;
}

.sidebar-header {
  display: flex;
  align-items: flex-start;
  width: 100%;
}

.sidebar-header p {
  font-weight: bold;
  font-size: 10px;
  color: #2a34ff;
  margin: 0;
  text-transform: uppercase;
}

.modelos-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.modelo-item {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  width: 100%;
}

.modelo-numero {
  background-color: #555;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.modelo-numero p {
  font-weight: normal;
  font-size: 8px;
  color: white;
  margin: 0;
}

.modelo-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  justify-content: center;
  color: black;
  flex: 1;
}

.modelo-nombre {
  font-weight: bold;
  font-size: 20px;
  margin: 0;
}

.modelo-desc {
  font-weight: normal;
  font-size: 12px;
  margin: 0;
}

.modelo-separator {
  height: 1.915px;
  width: 100%;
  position: relative;
}

.modelo-separator::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../img/frame-separator.svg') no-repeat center;
  background-size: cover;
}

@media (max-width: 1200px) {
  .seccion-masnoticias {
    padding: 32px 20px;
  }
  .masnoticias-content {
    flex-direction: column;
    width: 100%;
  }
  .seccion-noticias,
  .sidebar-carros {
    width: 100%;
  }
}

/* Sección Noticias Inicio */
.seccion-noticiasinicio {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  padding: 32px 240px;
  width: 100%;
}

.frame-layout {
  display: flex;
  gap: 23px;
  align-items: center;
  justify-content: center;
  min-height: 303px;
  width: 100%;
}

.frame-layout.reversed {
  flex-direction: row-reverse;
  min-height: 536px;
}

.frame-image-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 299px;
  width: 316px;
  flex-shrink: 0;
}

.frame-image-wrapper {
  width: 239px;
  height: 231px;
  position: relative;
}

.frame-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.frame-content {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  border-radius: 12px;
  background-color: #ffffff;
}

.frame-text {
  font-size: 16px;
  color: black;
  width: 603px;
  white-space: pre-wrap;
  margin: 0;
  line-height: normal;
}

.divider-line {
  width: 762px;
  height: 0;
  border-top: 1px solid #383838;
  position: relative;
}

.frame-image-container-dark {
  background-color: #484848;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 10px;
  border-radius: 12px;
  width: 308px;
  height: 536px;
  flex-shrink: 0;
}

.frame-image-dark {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 1200px) {
  .seccion-noticiasinicio {
    padding: 32px 20px;
  }
  .frame-layout {
    flex-direction: column;
    gap: 16px;
  }
  .frame-layout.reversed {
    flex-direction: column;
  }
  .frame-image-container,
  .frame-image-container-dark,
  .frame-content {
    width: 100%;
    height: auto;
  }
  .frame-text {
    width: 100%;
  }
  .divider-line {
    width: 100%;
  }
}