/*
Theme Name: Gestoria
Author: ICOGAM
Version: 1.0
*/
* {
    box-sizing: border-box;
    font-family: "Times New Roman", Times, serif;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}
.customize-support {
    .main {
        place-items: center;
    padding: 15px;
    }
}

.main {
    align-content: center;
}
a {
    color:#9D845C;
    text-decoration: none;
}

section {
    padding-top: 15px;
}
.wp-singular.page-template-default.page.page-id-14.logged-in.admin-bar.wp-theme-theme_gestoria.customize-support {
    .site-wrapper {
        min-height: 80dvh;
    }
}
.title {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 25vh;
    color: #FFFFFF;
    background: 
        linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url('./assets/images/header.png') center/cover no-repeat;
    background-size: cover;
    background-position: center;
    margin: 0;
    .title-block {
        text-transform: capitalize;
        text-align: center;
        font-style: italic;
        color: #0474BC;
        padding: 0;
        a {
            color: #FFFFFF;
        }
        h1 {
            position: relative;
            display: inline-block;
        }
    }
}

.conocenos {
    display: flex;
    justify-content: center;
    padding-bottom: 25px;
}

.block-conocenos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
    grid-template-areas:
        "img text"
        "firma firma";
    gap: 30px;
    align-items: center;
}

.block-conocenos-text {
    grid-area: text;
    h3 {
       color: #9D845C
    }
}

.block-conocenos-img {
    grid-area: img;
}

.firma {
    grid-area: firma;
    display: flex;
    justify-content: center;
}

.block-conocenos-img img {
    width: 100%;
    object-fit: cover;
}

.firma img {
    width: 60%;
}

.services {
    width: 100%;
  background-color: #9D845C;
  color: #FFFFFF;
  text-align: center;
  padding: 20px 20px;

  h2 {
    font-size: 2.5em;
    margin-bottom: 10px;
    margin-top: 0px;
  }

  .services-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;

    .service-box {
      position: relative;
      width: 100%;
      aspect-ratio: 410 / 250;
      overflow: hidden;
      border-radius: 10px;

      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }

      .info {
        position: absolute;
        inset: 0;
        background-color: rgba(0, 0, 0, 0.65);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 20px;
        text-align: center;
        color: #FFFFFF;
        overflow-y: auto;
      }

      h3 {
        margin: 0 0 10px 0;
        font-size: 1.3em;
        flex-shrink: 0;
      }

      p {
        font-size: 0.9em;
        line-height: 1.4;
        max-width: 100%;
      }
    }
  }

  @media (max-width: 992px) {
    .services-container {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 600px) {
    .services-container {
      grid-template-columns: 1fr;
    }
  }
}

.team {
  text-align: center;
  padding: 80px 20px;
  background-color: #FFFFFF;
  h2 {
    color: #9D845C;
    font-size: 2.2rem;
    margin-bottom: 10px;
    font-weight: 600;
  }
  .intro {
    color: #555555;
    font-size: 1rem;
    max-width: 700px;
    margin: 0 auto 50px;
    line-height: 1.6;
  }
  .team-roster {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    justify-content: flex-start;
    align-items: stretch;
    flex-wrap: nowrap;
    max-width: 70%;
    margin: 0;
    padding: 0;
    gap: 0;
    border-collapse: collapse;
    place-self: anchor-center;
    .single {
            text-align: center;
            flex: 1;
            margin: 0;
        .imagen {
            width: 100%;
            aspect-ratio: 1 / 1;
            background-color: #000000;
            padding: 10px;
            overflow: hidden;
            img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                display: block;
            }
        }
        h3 {
            margin-top: 15px;
            font-size: 1.1rem;
            color: #000000;
            font-weight: 100;
        }
        p {
            margin-top: 5px;
            color: #9D845C;
            font-size: 0.95rem;
        }
    }
  }
}


.last-posts {
    padding-top: 50px;
}

.last-posts .filtros {
    text-align: center;
}

.last-posts .filter-btn {
    color: #000000;
    padding: 3px 8px;
    margin: 0 5px;
    border: 0;
    background: none;
    cursor: pointer;
}

.last-posts .posts-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 40px auto;
}

.last-posts .post-item {
    padding-bottom: 15px;
    display: block;
    width: 100%;
    word-break: break-word;
}

.last-posts .date {
    color: #000000;
}

.last-posts h3 {
    font-size: 18px;
    margin-bottom: 5px;
    font-weight: bold;
}

.last-posts p {
    font-size: 14px;
    color: #333333;
    margin-bottom: 10px;
}

.last-posts a {
    color: #9D845C;
    text-decoration: none;
    font-weight: bold;
}

.menu-footer {
  background-color: #000000;
  border-top: 1px solid #333333;
  padding: 20px 0;
  text-align: right;
}

.menu-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 25px;
  padding-right: 15px;
}

.menu-footer ul a {
  color: #aaaaaa;
  font-size: 13px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.menu-footer ul a:hover {
  color: #ffffff;
}

.menu-footer span {
  color: #aaaaaa;
  font-size: 13px;
  padding-right: 15px;
}
.site-wrapper {
    width:100%;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    .main {
        flex: 1;
    }
    .main {
        flex: 1 0 auto;
        form {
            max-width: 600px;
            margin: 20px auto;
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px 30px;   
            label {
                grid-column: span 2;
                font-weight: bold;
                margin-bottom: 5px;
                display: block;
                color: #333333;
                font-size: 14px;
            }
            input[type="text"],
            input[type="email"],
            textarea {
                width: 100%;
                padding: 8px 10px;
                border: 1px solid #cccccc;
                border-radius: 4px;
                font-size: 14px;
                box-sizing: border-box;
                font-family: inherit;
                resize: vertical;
            }
            textarea {
                grid-column: span 2;
                min-height: 100px;
            }
            button,
            input[type="submit"] {
                grid-column: span 2;
                justify-self: center;
                padding: 12px 20px;
                background-color: #9D845C;
                color: #fff;
                font-weight: bold;
                font-size: 16px;
                border: none;
                border-radius: 5px;
                cursor: pointer;
                width: auto;
                max-width: 200px;
            }
        }
    }
}

.ubicacion {
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    padding: 40px 0;
}

.ubicacion-container {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
        "texto mapa"
        "imagen imagen";
    gap: 30px;
    align-items: center;
}

.ubicacion-texto {
    grid-area: texto;
    h3 {
        color: #9D845C;
    }
}

.ubicacion-mapa {
    grid-area: mapa;
}

.ubicacion-mapa iframe {
     width: 100%;
    height: 100%;
    min-height: 350px;
    border: 0;
}

.ubicacion-imagen {
    grid-area: imagen;
    display: flex;
    justify-content: center;
}

.ubicacion-imagen img {
    width: 60%;
    height: auto;
}

.single-post {
    display: flex;
    justify-content: center;
}

.single-post article {
    max-width: 800px;
    width: 100%;
    text-align: center;
}

.entry-content {
    margin-top: 30px;
    text-align: left;
    line-height: 1.7;
}

article h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #9D845C;
    text-align: center;
}

.single-post .post-meta {
    text-align: center;
    color: #9D845C;
    font-size: 14px;
    margin-bottom: 40px;
}

.single-post .entry-content {
    font-size: 18px;
    line-height: 1.7;
    color: #333333;
}

.single-post .entry-content p {
    margin-bottom: 20px;
}

.single-post .entry-content img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 30px 0;
}

.single-post .entry-content a {
    color: #9D845C;
    font-weight: bold;
}

.single-post .entry-content a:hover {
    text-decoration: underline;
}

.wp-block-button.is-style-outline.is-style-outline--1 {
    padding-top: 15px;
}
@media (max-width: 992px) {

    .last-posts .posts-container {
        grid-template-columns: repeat(2, 1fr);
        max-width: 90%;
    }

}

@media (max-width: 768px) {

.block-conocenos {
    width: 90%;
    grid-template-columns: 1fr;
    grid-template-areas:
        "text"
        "img1"
        "firma";
}

.block-conocenos-img:not(.firma) {
    grid-area: img1;
}

.firma {
    grid-area: firma;
}

.firma img {
    width: 100%;
}

.menu-footer {
  text-align: center;
}

.menu-footer ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  padding-right: 0;
  margin-bottom: 10px;
}

.menu-footer span {
  display: block;
  padding-right: 0;
}

.ubicacion-container {
    width: 90%;
    grid-template-columns: 1fr;
    grid-template-areas:
        "texto"
        "mapa"
        "imagen";
}

.ubicacion-imagen img {
    width: 100%;
}

}

@media (max-width: 600px) {

    .last-posts .posts-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .last-posts h3 {
        font-size: 20px;
    }

    .last-posts p {
        font-size: 15px;
    }

}