/* ==========================================================
   CIUDADHOME — Estilos secciones del medio de la home
   Subir a: public_html/css/ciudadhome-home.css

   CÓMO EDITAR:
   Cada sección está comentada. Buscá la sección que querés
   cambiar y modificá los valores. Después subís el archivo
   al servidor y listo, sin compilar nada.
   ========================================================== */


/* ==========================================================
   SECCIONES — Fondos y espaciado
   ========================================================== */

/* Secciones con fondo gris (proyectos, agentes, noticias) */
.box_shadow {
    background: #f5f5f5;   /* ← color de fondo de sección */
    margin: 30px 0;
    padding: 40px 0;
}

/* Espaciado superior de secciones */
.padtop70, .padtop702 { padding-top: 20px; }
.padtop30 { padding-top: 20px; }

/* ==========================================================
   TÍTULOS DE SECCIÓN (h2)
   ========================================================== */

.projecthome h2,
.homehouse h2,
.areahome h2,
.discover h2 {
    font-size: 2rem;       /* ← tamaño del título */
    font-weight: 700 !important;
    color: #222;             /* ← color del texto */
    margin-bottom: 1px;
    line-height: 1.2;
}

/* Subtítulo debajo del título */
.projecthome > .row > .col-12 > p,
.homehouse   > .row > .col-12 > p,
.areahome    > .row > .col-12 > p,
.discover    > .row > .col-12 > p {
    color: #666;             /* ← color del subtítulo */
    font-size: 0.95rem;
    margin-bottom: 20px;
}


/* ==========================================================
   CARDS DE PROYECTOS
   ========================================================== */

/* Tarjeta contenedora */
.projecthome .item {
    height: 100%;
    background-color: #f6f6f6;  /* ← fondo de la card */
    border-radius: 6px;          /* ← redondez de esquinas. 0 = cuadrado */
    overflow: hidden;
}

/* Espacio entre cards */
.projecthome > .row > div {
    margin-bottom: 20px;
}

/* Imagen de la card */
.projecthome .item .img img.thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;          /* ← redondez de la imagen */
}

/* Zona de texto de la card */
.projecthome .item .description {
    background: #fff;            /* ← fondo del texto */
    padding: 8px 10px 12px;
}

/* Nombre del proyecto */
.projecthome .item .description h5 {
    font-weight: 700;
    font-size: 1rem;             /* ← tamaño del nombre */
    color: #222;                 /* ← color del nombre */
    margin-top: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.projecthome .item .description h5:hover {
    color: var(--primary-color); /* ← color al pasar el mouse */
}

/* Dirección / ciudad */
.projecthome .item .description .dia_chi {
    color: #4f4f4f;              /* ← color de la dirección */
    font-size: 0.85rem;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 26px;
}

/* Texto general dentro de la card */
.projecthome .item .description a { color: #000; text-decoration: none; }
.projecthome .item p { padding: 5px 0; margin: 0; }


/* ==========================================================
   CARDS DE PROPIEDADES (En venta / En alquiler)
   ========================================================== */

/* Tarjeta */
.hourseitem {
    margin-top: 20px;
    background: #fff;
}

/* Imagen */
.hourseitem .img .thumb {
    width: 100%;
    border-radius: 6px;          /* ← redondez de imagen */
    object-fit: cover;
    height: 100%;
}

/* Badge de tipo (Venta / Alquiler) */
.hourseitem .img .shorttitle {
    position: absolute;
    top: 5px;
    left: 10px;
    background: rgba(0,0,0,0.7); /* ← fondo del badge */
    color: #fff;                  /* ← color texto badge */
    font-size: 13px;
    padding: 4px 6px 2px;
    border-radius: 3px;
}

/* Zona de texto */
.hourseitem .info {
    padding: 10px 0;
}

/* Nombre de la propiedad */
.hourseitem h3 {
    height: 42px;
    overflow: hidden;
    font-weight: 700;
    font-size: 1rem;             /* ← tamaño nombre propiedad */
    margin-bottom: 8px;
}
.hourseitem h3 a {
    color: #000;                 /* ← color nombre */
    font-size: 16px;
}
.hourseitem h3 a:hover {
    color: var(--primary-color); /* ← color hover nombre */
}

/* Ciudad */
.hourseitem .city {
    color: #4f4f4f;              /* ← color ciudad */
    font-size: 0.85rem;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Íconos de datos (m², habitaciones, baños) */
.hourseitem p {
    margin: 0;
    padding: 0;
    margin-top: 5px;
    font-size: 15px;
    color: #333;                 /* ← color datos */
}
.hourseitem p.threemt { font-size: 0.9em; display: flex; }
.hourseitem p.threemt span { font-size: 13.5px; float: left; margin-right: 10%; }


/* ==========================================================
   SECCIÓN CIUDADES (Buscar por ciudad)
   ========================================================== */

/* Cada ciudad */
.itemarea {
    flex: auto;
    position: relative;
}
.itemarea img {
    border-radius: 6px;          /* ← redondez de imagen de ciudad */
    width: 100%;
    object-fit: cover;
    height: 100%;
}

/* Nombre de la ciudad sobre la imagen */
.itemarea h4 {
    position: absolute;
    width: 100%;
    bottom: 2px;
    left: 0;
    right: 0;
    text-align: center;
    color: #fff;                 /* ← color texto ciudad */
    font-weight: 700;
    font-size: 20px;             /* ← tamaño texto ciudad */
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}


/* ==========================================================
   AGENTES
   ========================================================== */

.agents-grid .fr-grid-box {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
}

/* ==========================================================
   NOTICIAS / BLOG
   ========================================================== */

.blog-container .grid-in {
    border-radius: 6px;          /* ← redondez de cards de noticias */
    overflow: hidden;
    background: #fff;
}
.blog-container .grid-h {
    background-color: #f6f6f6;   /* ← fondo zona de texto noticia */
    padding: 15px;
    min-height: 220px;
}
.blog-container .grid-h a h2 {
    font-size: 16px;
    color: #212131;              /* ← color título noticia */
    line-height: 1.5;
}
.blog-container .grid-h a h2:hover {
    color: var(--primary-color); /* ← color hover título noticia */
}


/* ==========================================================
   RESPONSIVE — ajustes móvil
   ========================================================== */

@media (max-width: 768px) {
    .box_shadow    { padding: 30px 0; }
    .padtop70, .padtop702 { padding-top: 20px; }

    .projecthome h2,
    .homehouse h2,
    .areahome h2,
    .discover h2 { font-size: 1.25rem; }

    .itemarea h4 { font-size: 24px; }
    .hourseitem h3 { font-size: 0.95rem; }
}

@media (max-width: 480px) {
    .box_shadow { padding: 22px 0; }
    .projecthome h2,
    .homehouse h2 { font-size: 1.1rem; }
}

.item-price-wrap li.h-type {
  background-color: #ff5500;
  font-weight: 600;
  margin-right: 27px;
}

.topsearch .input-group-lg {
  background-color: hsl(0, 0%, 100%);
  justify-content: center;
  padding: 25px 20px 5px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.topsearch .typesearch a.active {
  background: #ff3e0c !important;
  color: #fff;
}

.topsearch .btn {
  background: #ff3e0c;
  color: #fff;
  font-size: 15px !important;
}

.topsearch .typesearch a {
  background-color: hsl(0, 0%, 100%) !important;
  border: none !important;
  border-right-width: medium;
  border-right-style: none;
  border-right-color: currentcolor;
  border-right: 1px solid #fff !important;
  color: var(--primary-color);
  display: inline-block;
  float: left;
  font-weight: 600 !important;
  margin: 0;
  padding: 8px 12px;
}

::placeholder {
  color: #686868 !important;
  opacity: 1;
}

.status-label.label-success {
  background-color: #ff3e0c;
  border-radius: 4px;
  font-weight: 600;
}

.item-price-wrap li:not(:last-child)::after {
  border-right: 25px solid transparent;
  border-top: 30px solid rgb(255, 62, 12);
  left: 100%;
}

.list-agency .agents-grid .fr-grid-footer-flex-right .prt-view {
  align-items: center;
  background: #ff3e0c;
  border-radius: 5px;
  color: #fff !important;
  display: inline-flex;
  height: 30px;
  justify-content: center;
  padding: 4px 18px;
  text-decoration: none;
}

.blog-container .container-grid .grid-h .blog-excerpt p {
  color: #5b5b5b;
  display: block;
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 15px;
}

.blog-container .container-grid .grid-h .blog-excerpt p {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 3 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.item-price-wrap li.h-type {
  font-weight: 700;
}

.btn-search {
  display: inline-block;
  font-weight: 700 !important;
}