/*
 Theme Name:   BirdCom
 Theme URI:    https://birdcom.es
 Description:  BirdCom Comunicación y Diseño
 Author:       Dani Moreno
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

@font-face {
  font-family: "museo_sans500";
  src: url("fonts/museosans_500-webfont.woff2") format("woff2"),
    url("fonts/museosans_500-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "museo_sans700";
  src: url("fonts/museosans_700-webfont.woff2") format("woff2"),
    url("fonts/museosans_700-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "museo_sans900";
  src: url("fonts/museosans_900-webfont.woff2") format("woff2"),
    url("fonts/museosans_900-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "museo_sans100";
  src: url("fonts/museosans-100-webfont.woff2") format("woff2"),
    url("fonts/museosans-100-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "museo_sans300";
  src: url("fonts/museosans-300-webfont.woff2") format("woff2"),
    url("fonts/museosans-300-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@media (max-width: 800px) {
  p {
    font-size: 18px !important;
  }
}

/* - - - - SIDEBAR BLOG - - - - */

.wp-block-search__inside-wrapper {
  height: 35px;
  margin-top: 12px;
}

#wp-block-search__input-1 {
  height: 35px;
}

.is-right-sidebar {
  width: 25% !important;
}

div#right-sidebar h2 {
  font-size: 20px;
  margin-bottom: 10px;
}
.widget-area .widget {
  padding: 0px;
}

/*Contenido blog*/

.single-post .inside-article {
  padding-right: 40px;
  padding-left: 0px;
}

/* related post*/
img.attachment-thumbnail.size-thumbnail.wp-post-image {
  width: 100%;
  /* height: 140px; */
  object-fit: cover;
  border: solid 3px #e9ac5c;
  padding-right: 6px;
  padding-left: 6px;
  padding-top: 6px;
  padding-bottom: 6px;
}

/* Caja buscar*/
.gb-container.gb-container-99a2592f {
  background-color: #ecac5cdb;
  padding: 18px 9px;
  max-width: 1360px;
}

/* Fondo del buscador */
#wp-block-search__input-1 {
  height: 35px;
  background-color: white;
}
/* Color y tamaño de la etiqueta "Buscador" */
.wp-block-search__label {
  color: #ffffff;
  font-size: 17px;
}

/* Texto buscar*/
label.wp-block-search__label {
  text-transform: uppercase;
}

/* Botón de "BUSCAR" */
.wp-block-search__button {
  background: #0d826d;
  color: #fff;
  border: none;
  font-size: 15px;
  text-transform: uppercase;
}
/* Autor container */
.autor-text {
  display: flex;
  flex-direction: column;
}
h2.autor {
  margin-bottom: 12px !important;
}

.linkedin-logo {
  order: 2;
}
.author-position {
  order: 3;
  margin-top: 12px;
  margin-bottom: 10px;
}

.author-name {
  color: #12b597 !important;
  font-weight: 800;
  font-size: 16px;
  margin-top: 12px;
  margin-bottom: 12px;
}

/* Author image */
.autor-imagen .wp-block-image {
  display: flex !important;
  justify-content: center;
}
.autor-imagen img {
  width: 100%;
  /*border-radius: 50% !important;*/
}

.autor-imagen .wp-block-image img {
  height: auto;
  max-width: 100% !important;
  vertical-align: bottom;
}

@media (max-width: 800px) {
  /* Img del autor */
  .autor-imagen img {
    width: 80%;
  }

  /*Area del widget*/
  .widget-area .widget {
    padding-top: 0px;
    padding-right: 12px;
    padding-bottom: 0px;
    padding-left: 12px;
  }
}

a {
  text-decoration: none;
}
h1 {
  font-family: "museo_sans900";
}
h2 {
  font-family: "museo_sans700" !important;
  color: #e9ac5c;
}
h3 {
  font-family: "museo_sans500";
  color: #e9ac5c;
}
h4,
h5,
h6 {
  font-family: "museo_sans500";
}

p {
  font-family: "museo_sans300";
}

@media (max-width: 800px) {
  h1 {
    font-size: 36px;
  }
}

/* - - MENU - - */
.menu-item-1302 {
  background-color: #12b597;
}
.mega-menu-row {
  padding-top: 24px !important;
  padding-bottom: 24px !important;
}
@media (max-width: 800px) {
  ul#mega-menu-primary {
    padding-bottom: 24px !important;
  }
  
}

.menu-item-1302 a {
  color: white !important;
}
.menu-item-1302:hover a {
  color: black !important;
}
#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item-has-children > a.mega-menu-link > span.mega-indicator {
  vertical-align: middle;
}

/* - - FOOTER - - */
.footerP p {
  margin-bottom: 0.5em;
}
.wp-container-44.wp-block-columns {
  margin-bottom: 0px;
}
.icono-social {
  width: 20px;
  height: 20px;
  fill: #fff;
}
.icono-social a:hover {
  fill: #12b597;
}
.first-icon {
  margin-right: 10px;
}
/* form*/
button#wpforms-submit-130 {
  background-color: #12b597;
  border: none;
  padding: 0.5em 3em 0.5em 3em;
  color: white;
  font-family: "museo_sans500";
  text-transform: uppercase;
}

/* - - - Index - - - */

img.wp-image-25 {
  margin-right: 12px;
}

.TituloServ {
  color: white;
  text-transform: uppercase;
  font-family: "museo_sans700";
  font-size: 20px;
}

.marcasMvl {
  display: none;
}

.confie {
  margin-bottom: 12px !important;
}

/* - - Aerotermia - - -*/
.servicios p {
  margin-bottom: 5px;
}

@media (max-width: 800px) {
  .gb-container-15942907 .gb-grid-wrapper {
    flex-direction: row-reverse;
  }
}
/*Aerotermia por suelo radiante - - -*/

.ventajasAE .alignwide {
  margin-left: 0px;
  width: 100%;
}

.bloqueInstalacionAE .wp-block-image .alignright {
  float: right;
  margin: 0.5em 0 0.5em 20em;
}

@media (max-width: 800px) {
  .gb-container-f2535cbb > .gb-inside-container {
    padding: 12px 12px 12px !important;
  }
}

/* - - Aerotermia por radiadores - - -*/
.aeRadiadoresS,
.bannerS {
  display: none;
}

/* ventilacion suelo radinate*/
.h1_PgsAerotermia {
  color: #e9ac5c !important;
}

/*columnas doble flujo*/
.dobleF div {
  padding: 1em;
}

/*PAG PRODUCTO*/

/* Pestañas */

li.advgb-tab {
  border-bottom: 2px solid #efb571 !important;
  margin: 1em !important;
  padding: 0 1em 0em 1em;
}

li.advgb-tab:hover {
  border-bottom: 2px solid #12b597 !important;
}

.advgb-tabs-60399514-b700-47be-a9a3-069bd4763a98
  ul.advgb-tabs-panel
  li.advgb-tab.advgb-tab-active {
  border-bottom: 2px solid #12b597 !important;
}

.separador {
  max-width: 20%;
  margin-bottom: 10px;
}

/* - - - SUBVENCIONES - - - */
.ayudas a {
  text-decoration: none;
  color: black;
}

/* - - - Calderas catálogo - - -*/
.calderas .wp-block-columns {
  padding: 24px 0 24px 0;
}

h4 a {
  font-family: "museo_sans100";
  text-decoration: none;
  line-height: 12px;
}

.gb-container.gb-container-98109ad3.alignwide {
  margin: 0;
  width: 100%;
}

/* - - - PROYECTOS - - - */
#pregunta {
  max-width: 55%;
  margin: 24px;
}

.respuesta {
  max-width: 55%;
  margin-left: auto;
}

.encuesta p {
  margin: 0;
}
.flotante,
.mostrar {
  display: none;
}
p.mostrar {
  padding: 12px;
  background: #12b597;
}
.mostrar a {
  text-decoration: none;
  color: white;
  font-family: "museo_sans700";
  font-size: 20px;
}
#close a {
  text-decoration: none;
  color: #e9ac61;
  font-size: 20px;
}

/* - - Pagina de proyectos - - */

.bloqueP hr {
  display: none;
}
.proyecto {
  max-width: 29%;
  float: left;
  margin: 1em;
}
.bloqueP {
  overflow: hidden;
  padding-bottom: 2em;
}

.proyecto img:hover {
  opacity: 0.5;
}

.infoP {
  display: none;
}

.paginacionP a {
  text-decoration: none;
  color: #e9ac5c;
  font-family: "museo_sans500";
  font-size: 20px;
  padding: 5px;
}

span.page-numbers.current {
  color: #12b597;
  font-family: "museo_sans700";
  font-size: 20px;
  padding: 5px;
}

/* - - - BLOG - - - - */
.blog article {
  width: 33.3333%;
  box-sizing: border-box;
}
.blog article h2,
h3 {
  font-size: 20px;
}
body.blog main#main {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  margin-right: 10px;
}
.entry-summary {
  display: none;
}

/* - - - PAGINA DE AUTOR - - - -*/
.author article h2,
h3 {
  font-size: 20px;
}

.author .inside-article {
  display: flex;
  flex-direction: column-reverse;
}
.author article {
  width: 33.3333%;
  box-sizing: border-box;
}

.author #main {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  margin-right: 10px;
}

.author .page-header {
  display: block;
  width: 100%;
}

/* - - - PAG CATEGORIA - - -*/
.archive.category article h2,
h3 {
  font-size: 20px;
}

.archive.category .inside-article {
  display: flex;
  flex-direction: column-reverse;
}
.archive.category article {
  width: 33.3333%;
  box-sizing: border-box;
}

.archive.category #main {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  margin-right: 10px;
}

.archive.category .page-header {
  display: block;
  width: 100%;
}

/* - - - PAG buscar - - -*/
.search article h2,
h3 {
  font-size: 20px;
}

.search .inside-article {
  display: flex;
  flex-direction: column-reverse;
}
.search article {
  width: 33.3333%;
  box-sizing: border-box;
}

.search #main {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  margin-right: 10px;
}

.search .page-header {
  display: block;
  width: 100%;
}
.search .entry-title {
  display: block;
  width: 100%;
}
.search .type-page {
  display: none;
}
.search .attachment-full.size-full.wp-post-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.search .proyectos .wp-post-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover !important;
  object-position: bottom;
}

.search .post-image {
  height: auto;
  max-width: 100%;
}

/*boton buscar*/
.wp-block-search__button:hover {
  color: #0d826d;
  background-color: #ffffff;
}

footer.entry-meta {
  display: none;
}
.entry-meta {
  display: none;
}
.blog .inside-article {
  display: flex;
  flex-direction: column-reverse;
}

.blog.separate-containers .inside-article {
  padding: 0px 24px 0px 0px;
}

.post-image {
  margin-top: 0px !important;
  margin-bottom: 12px;
}

img.attachment-full.size-full.wp-post-image {
  height: 160px;
}

.body .entry-header {
  height: 100px;
}

nav#nav-below {
  flex: 1 1 100%;
  clear: both;
  margin-bottom: 0;
  padding-left: 0px;
}

/*Uncategorized*/
li.cat-item.cat-item-1 {
  display: none;
}

/* - - - - - - - - - - - - - - - -*/

/* - - - MEDIA QUERIES - - - - */

/* - - - - - - - - - - - - - - - -*/

@media (max-width: 800px) {
  h2 {
    font-size: 30px;
  }

  /*bloque marcas*/
  .marcasEsc {
    display: none;
  }

  .marcasMvl {
    display: block;
  }

  .bloqAire .wp-block-columns {
    flex-direction: column-reverse;
  }

  /* Aerotermia blq como trabajamos */

  .has-text-align-right {
    text-align: left;
  }

  .bloqIz div {
    display: flex;
    flex-wrap: wrap;
  }

  .wp-block-buttons > .wp-block-button.wp-block-button__width-50 {
    width: 90%;
  }

  /* - - Aerotermia por radiadores - - -*/
  .aeRadiadoresS,
  .bannerS {
    display: block;
  }

  .bannerXL,
  .aeRadiadoresXL {
    display: none;
  }

  .wp-block-columns.how {
    flex-direction: column-reverse;
  }

  /* - - Calderas - - - */
  .colXS .wp-block-column {
    max-width: 46%;
    float: left;
  }
  .wp-block-columns.colXS {
    gap: 24px !important;
  }

  h4 a {
    font-family: "museo_sans100";
    font-size: 20px;
    text-decoration: none;
    line-height: 12px;
  }

  /* - - - Subvenciones - - - */
  .gb-block-image.gb-block-image-442e0994 {
    max-width: 100%;
  }
  .wp-container-14.wp-block-columns {
    flex-direction: column-reverse;
  }

  /* - - proyecto - - */

  .single-proyectos h1.entry-title {
    margin: 0 10px;
  }
  .proyecto {
    max-width: 45%;
    float: left;
    margin: 0.5em;
  }
  .proyecto p {
    margin-bottom: 0px;
  }
  /* - - - Filtro proyectos - - -*/
  .mostrar {
    display: block;
  }
  .filtroEscritorio {
    display: none;
  }

  /* - - VMC - - */
  h2.gb-headline-bd5069b3 {
    display: none;
  }

  /* - - BLOG - -*/
  .blog article {
    width: 50%;
  }

  img.attachment-full.size-full.wp-post-image {
    height: 100px;
  }

  .blog article {
    width: auto;
    box-sizing: border-box;
  }

  body.blog main#main {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-right: 0px !important;
    margin: auto;
    padding: 12px;
  }
  .blog .inside-article {
    padding: 0px !important;
  }

  /*Anterior y Siguiente bloques*/
  a.prev.page-numbers {
    display: block;
    padding-bottom: 12px;
  }
  a.next.page-numbers {
    display: block;
    padding-top: 12px;
  }

  /* Widged BLOG */
  .blog .is-right-sidebar {
    width: 100% !important;
  }

  /* - - Articulo del blog - -*/
  .blog .post-template-default .inside-article {
    margin-left: 12px;
    margin-right: 12px;
  }
  .autor-imagen img {
    width: 25%;
  }

  .post-template-default #right-sidebar {
    width: 100% !important;
  }

  .post-template-default.separate-containers .inside-article {
    padding: 0px 12px 0px 12px;
  }

  /* - - - PAGINA DE AUTOR - - -*/

  .author article {
    width: 50%;
  }

  .author article {
    width: auto;
    box-sizing: border-box;
  }

  .author #main {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-right: 0px !important;
    margin-bottom: auto;
    padding: 12px;
  }
  .author .page-header {
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 1;
    grid-row-end: 3;
    overflow: hidden;
  }
  .author .inside-article {
    padding: 0px !important;
  }
  .author .separate-containers .site-main {
    margin: 0px !important;
  }
  .author .vcard {
    font-size: 20px;
    font-family: "museo_sans700";
  }

  .author .is-right-sidebar {
    width: 100% !important;
  }

  .author main#main {
    margin-top: 0px !important;
  }

  .autor header.page-header {
    padding: 12px !important;
  }

  /* - - - PAG CATEGORIA - - -*/
  body.archive.category article {
    width: 50%;
  }

  body.archive.category article {
    width: auto;
    box-sizing: border-box;
  }

  body.archive.category #main {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-right: 0px !important;
    margin-bottom: auto;
    padding: 12px;
  }
  body.archive.category .page-header {
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 1;
    grid-row-end: 3;
    overflow: hidden;
  }
  body.archive.category .inside-article {
    padding: 0px !important;
  }
  body.archive.category .separate-containers .site-main {
    margin: 0px !important;
  }
  body.archive.category.vcard {
    font-size: 20px;
    font-family: "museo_sans700";
  }

  body.archive.category .is-right-sidebar {
    width: 100% !important;
  }

  body.archive.category main#main {
    margin-top: 0px !important;
  }

  body.archive.category header.page-header {
    padding: 12px !important;
  }

  /* - - PAG BUSCAR - - - */

  body.search .page-header {
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 1;
    grid-row-end: 3;
    overflow: hidden;
  }
  .search article {
    width: 50%;
  }

  .search article {
    width: auto;
    box-sizing: border-box;
  }

  .search #main {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-right: 0px !important;
    margin-bottom: auto;
    padding: 12px;
  }
  .search .inside-article {
    padding: 0px !important;
  }
  .search .separate-containers .site-main {
    margin: 0px !important;
  }
  .search .vcard {
    font-size: 20px;
    font-family: "museo_sans700";
  }

  .search .is-right-sidebar {
    width: 100% !important;
  }

  .search main#main {
    margin-top: 0px !important;
  }
  .search .proyectos .wp-post-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    object-position: bottom !important;
  }

  .search header.page-header {
    padding: 12px !important;
  }
  /*footer*/
  .rrss .wp-container-26 {
    margin-bottom: 0px;
  }
  .rrss figure {
    margin-bottom: 0;
  }

  /*Climatizacion por aerotermia*/

  .imgClimatizacion {
    content: url(https://irtesc.es/wp-content/uploads/2022/09/climatizacion-por-aerotermia-movil-1.jpg) !important;
    max-width: 100%;
  }
  .gb-container-3e23441d:before {
    opacity: 0.3 !important;
  }
  .wp-container-6.wp-block-columns.columnClimatizacion {
    flex-direction: column-reverse;
  }
  /*Radiadores de alta temperatura*/
  .gb-container.gb-container-1b7d699a.bk-radiadores-altaT {
    background-image: url(https://irtesc.es/wp-content/uploads/2022/07/aerotermia-por-radiadores-alta-temperatura.jpg) !important;
  }

  /*Aerotermia por conductos*/
  .gb-container.gb-container-3e23441d.bk-conductos {
    background-image: url(https://irtesc.es/wp-content/uploads/2022/08/aerotermia-por-radiadores-alta-temperatura.jpg) !important;
  }
  .gb-container.gb-container-afc903ca {
    background-color: rgb(255 255 255 / 52%);
  }

  /* Aerotermia suelo radiante */
  .sueloRadiante.gb-container-3e23441d {
    background-image: url(https://irtesc.es/wp-content/uploads/2023/02/banner-movil-suelo-radiante.jpg) !important;
  }

  .gb-container-9de78e06 {
    background-image: url(https://irtesc.es/wp-content/uploads/2022/07/habi-movil.jpg);
    min-height: 400px !important;
  }
  .wp-container-3.wp-block-columns {
    margin-bottom: 0px;
  }
  .hueco {
    display: none;
  }
  .contenedorAS .wp-container-8 {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
  }

  .bannerASR .wp-block-columns {
    margin-bottom: 0;
  }

  /*Plan renove de calderas*/
  .bloqPlanRenove
    .wp-block-columns:not(.is-not-stacked-on-mobile)
    > .wp-block-column {
    flex-basis: 40% !important;
  }

  .bloqPlanRenove .wp-block-columns {
    display: flex;
    gap: 12px;
    margin-bottom: 0.75em;
  }

  .bloqPlanRenove .wp-block-columns p {
    font-size: 16px !important;
  }
}

/* ERROR 404 */

.error404 .entry-header {
  display: flex;
  justify-content: center;
}
.heading-404 {
  font-size: 18px;
  text-align: center;
  margin-right: auto;
  margin-left: auto;
  font-weight: 500 !important;
  padding: 10px 20px;
}
.img-404 {
  height: auto;
  width: 400px;
  margin-right: auto;
  margin-left: auto;
}

.container-content-404 {
  display: flex;
  flex-direction: row;
  justify-content: center;
}
.container-buttons {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 50%;
}
.container-content-404 .container-search-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 50%;
}
.container-buttons .button:last-child {
  margin-left: 20px;
}
.container-buttons .buttons-404 {
  display: flex;
  justify-content: center;
}

.container-content-404 form {
  margin-right: auto !important;
  margin-left: auto !important;
}
@media (max-width: 800px) {
  .container-content-404 {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .container-buttons {
    width: 100%;
  }
  .container-content-404 .container-search-form {
    margin-top: 20px;
    width: 100%;
  }
}
/* POST RELACIONADOS */
.rp4wp-related-posts ul > li {
  padding-bottom: 48px !important;
}
.rp4wp-related-post-image {
  padding-bottom: 12px !important;
}

.rp4wp-related-posts ul {
  display: grid;
  grid-template-columns: repeat(4, 210px);
  grid-gap: 20px;
}
.rp4wp-related-posts ul a {
  font-size: 16px;
}
.rp4wp-related-posts ul p {
  font-size: 12px;
}

@media (max-width: 800px) {
  .rp4wp-related-posts ul {
    grid-template-columns: repeat(2, 45%);
  }
}

/* Paginación de Proyectos */

.pagination-container.paginacionP {
  display: none;
}

/* Imagen zona contacto */
@media (max-width: 768px) {
  .hidden-mobile {
    display: none !important;
  }
}

.mega-menu-item-1274 a {
  background: #e9ac5c !important;
  color: white !important;
}
.mega-menu-item-1274 a:hover {
  background: #ffffff !important;
  color: #e9ac5c !important;
}
a.mega-menu-link {
  margin: 0px 5px 0px 5px !important;
}

/* miguitas . . . */
nav.rank-math-breadcrumb {
  padding: 12px;
  margin: 0 40px 0 0;
  background-color: #f9f9f9;
}
nav.rank-math-breadcrumb p {
  margin: 0;
}

@media (max-width: 800px) {
  nav.rank-math-breadcrumb {
    padding: 6;
  }
}

/*FORMULARIO PARA LOS POST*/
div#wpforms-13493 {
  padding: 24px;
  background-color: #f9f9f9;
}
.gb-inside-container.formPost {
  padding: 24px 0;
  margin-top: 24px;
  margin-bottom: 48px !important;
  border-top: 1px solid #e9ac5c;
  border-bottom: 1px solid #e9ac5c;
}
button#wpforms-submit-13493:hover {
  background-color: #e9ac5c;
}
button#wpforms-submit-13493 {
  background-color: #12b597;
  color: white;
  border-radius: 30px;
  padding: 6px 15px;
}
/* BUSCADOR PROYECTOS */
li.sf-field-search label {
    width: 100%;
}
input.sf-input-text {
    width: 70%;
}
input.sf-input-text {
    border: 1px solid #a7a7a7;
}


/* PROYECTOS */

.h2-proyectos {
  font-size: 36px;
  color: black;
  margin-bottom: 30px;
  line-height: 1.2em;
  font-weight: 400;
}

.h3-proyectos {
  font-size: 24px;
  color: black;
  margin-bottom: 30px;
  line-height: 1.2em;
  font-family: 'museo_sans700';

}
.boton-proyectos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 20px;
  font-family: 'museo_sans700';
  padding: 10px 15px;
  background-color: #e9ac5c;
  color: #ffffff;
  text-decoration: none;
  border-radius: 10px;
  width: 100%;
}
.boton-proyectos:hover{
  color: #e9ac5c;
  background-color: white;
}

.boton-proyectos-2 {
  display: flex;
  justify-content: center;
  margin: auto;
  font-family: 'museo_sans700';
  padding: 10px 15px;
  background-color: #12B597;
  color: #ffffff;
  text-decoration: none;
  border-radius: 10px;
  margin-bottom: 40px;
  margin: auto;
}
.boton-proyectos-2:hover{
  color: black;
  background-color: #e9ac5c;
}

p.txt-intro {
  font-size: 18px;
  font-family: 'museo_sans700';
  text-align: left;
}




.proyectos-container {
  display: flex;
  flex-wrap: nowrap; 
  gap: 20px;
  width: 100%;
}

.proyecto-ind {
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 5px;
  overflow: hidden;
  background-color: #f5f7fa;
}

.principal {
  flex-direction: column;
  flex: 1;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-bottom: 30px;
}

.principal .imagen img {
  width: 100%;
  height: auto;
}

.lista-proyectos {
  display: flex;
  flex-direction: column;
  flex: 2;
  gap: 10px;
  max-width: 60%; 
}

.lista-proyectos-2column{
  display: flex;
  flex-direction: column;
  flex: 2;
  gap: 10px;
  max-width: 100%; 
}

.lista-proyectos .proyecto {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 600px; 
}

.lista-proyectos img {
  width: 100%;
  object-fit: cover;
  display: block;
}

.imagen img {
    display: block;
    width: 170px;
    height: auto;
}

.contenido {
    padding: 10px;
}

.titulo {
    font-size: 14px;
    font-weight: bold;
}

.descripcion {
    font-size: 12px;
    color: #555;
}

/* Ajustes responsivos */
@media (max-width: 768px) {
    .proyectos-container {
        flex-direction: column;
        align-items: center;
    }

    .lista-proyectos {
        width: 100%;
    }

    .lista-proyectos .proyecto {
        width: 100%;
    }
}



/**** proyectos****/

/* CONTENEDOR GENERAL */
.proyectos-container {
  display: flex;
  gap: 25px;
}

/* ENLACE QUE ENVUELVE EL BLOQUE PRINCIPAL */
.proyectos-container > a {
  flex: 1;
  min-width: 0;
  display: flex;
}

/* BLOQUE PRINCIPAL */
.principal {
  flex: 1;
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  text-decoration: none;
}

/* IMAGEN GRANDE */
.principal .imagen {
  width: 100%;
  height: 420px;
  overflow: hidden;
}

.principal .imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* CONTENIDO PRINCIPAL */
.principal .contenido {
  padding: 15px;
}

.principal .titulo {
  font-size: 18px;
  margin-bottom: 10px;
  color: #c87c2a;
}

.principal .descripcion {
  font-size: 14px;
  color: #666;
}

/* LISTA DERECHA */
.lista-proyectos {
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex: 1;
}

/* ITEM DERECHO */
.proyecto-ind {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: #f3f5f6;
  border-radius: 10px;
  border: 1px solid #e2e6ea;
}

.proyecto-ind:hover {
  background: #eef2f4;
}

/* IMAGEN DERECHA CUADRADA */
.lista-proyectos .imagen {
  width: 90px;
  height: 90px;
  min-width: 90px;
}

.lista-proyectos .imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* TEXTO DERECHA */
.proyecto-ind .titulo {
  font-size: 14px;
  color: #c87c2a;
  margin: 0 0 5px;
}

.proyecto-ind .descripcion {
  font-size: 12px;
  color: #666;
  margin: 0;
  line-height: 1.4;
}

.proyecto-item img {
    width: 180px;
    height: 140px;
    margin-right: 0;
    object-fit: cover;
    flex-shrink: 0;
}

.proyecto-item {
    display: flex;
    align-items: center;
    background: #f0f4f8;
    border-radius: 5px;
    padding: 15px;
    overflow: hidden;
    gap: 30px;
}

/* LINKS LIMPIOS */
.proyectos-container a {
  text-decoration: none;
  color: inherit;
}

img.attachment-thumbnail.size-thumbnail.wp-post-image {
    width: 105%;
    object-fit: contain;
    border: none;
    padding: 0px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .proyectos-container {
    flex-direction: column;
  }

  /* El <a> que envuelve el card grande ocupa todo el ancho */
  .proyectos-container > a {
    width: 100%;
    max-width: 100%;
  }

  .principal {
    max-width: 100%;
  }

  /* Imagen grande más pequeña en mobile */
  .principal .imagen {
    height: 250px;
  }

  /* Cards pequeños: imagen más compacta */
  .lista-proyectos .imagen {
    width: 70px;
    height: 70px;
    min-width: 70px;
  }

  /* Descripción de cards pequeños: ocultar en mobile para no saturar */
  .proyecto-ind .descripcion {
    display: none;
  }
  .lista-proyectos {
    max-width: 90%;
  }
}