body {
    background: #f7f9fc;
    font-family: "Source Sans Pro", sans-serif;
}
.preload {
    border: 1.2px solid #1abc9c;
    width: 50%;
}
header nav li {
    margin: 0 10px;
}
header nav li a {
    text-decoration: none;
    color: #333333;
    font-family: "Source ", sans-serif;
    font-weight: bold;
}
header nav li a:hover {
    border-bottom: 2px solid #1abc9c;
    padding-bottom: 5px;
}

.logo img {
    width: 150px;
}

.post {
    background: #fff;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 50px;
}
.post .content-post {
    position: relative;
    padding: 65px 100px;
}
.post .category {
    background: #1abc9c;
    padding: 5px 10px;
    color: white;
    position: absolute;
    right: -11px;
    top: 30px;
    text-transform: capitalize;
}
.post figure {
    margin: 0;
}
.post h1 {
    font-size: 40px;
}
.post h2 {
    font-weight: normal;
    font-style: italic;
}

.post p {
    line-height: 1.6;
}
.post a {
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
}
.post .tag {
    margin: 0 5px;
}
.post footer {
    margin-top: 45px;
    background: none;
}

.masonry {
    column-count: 2;
    -moz-column-count: 2;
    -webkit-column-count: 2;
    column-gap: 4px;
    -moz-column-gap: 4px;
    -webkit-column-gap: 4px;
}
.masonry .gallery-image {
    display: inline-block;
    width: 100%;
    margin-bottom: 20px;
    padding: 4px;
    border: 1px solid #000;
}
cite,
.cite {
    font-size: 22px;
    line-height: 1.7;
    display: block;
    margin-top: 20px;
    color: #909090;
}
cite span,
.cite span {
    color: #7f7f7f;
    font-size: 16px;
}
cite .img-cite,
.cite .img-cite {
    position: absolute;
    left: -20px;
}
.image-w-text div {
    max-width: 720px;
}
.image-w-text span.cite-2,
span.cite-2 {
    color: #999999;
    padding-left: 15px;
    border-left: 4px solid #eeeeee;
    display: block;
    line-height: 1.7;
    font-size: 19px;
}
.pagination ul li {
    margin: 0 15px;
}
.pagination ul li a {
    display: block;
    background: #ffffff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
    text-decoration: none;
    color: #333;
    padding: 10px 15px;
}

.footer footer {
    background: #1abc9c;
    padding: 45px;
    text-align: center;
    color: #ffffff;
}
.footer footer .logo {
    opacity: 0.4;
}
.footer footer p {
    opacity: 0.4;
}
.footer footer nav ul {
    margin-top: 45px;
}
.footer footer .divider-2 {
    margin: 45px auto;
    width: 90%;
}
.footer footer nav ul li {
    margin: 0 10px;
}
.footer footer nav ul li a {
    color: white;
    text-decoration: none;
}
.footer footer .social-media-footer li a {
    display: block;
    width: 25px;
    height: 25px;
}
a.btn-bar {
    background: url("../img/nav-icon.png") no-repeat;
}

.grid-item {
    width: 464px;
    height: 120px;
    float: left;
}

.grid-item--height2 {
    height: 260px;
}
.grid-item--height3 {
    height: 328px;
}
.grid-item--height4 {
    height: 308px;
}
.grid-item--height5 {
    height: 240px;
}

.page {
    background: #fff;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 50px;
    position: relative;
    padding: 65px 100px;
}
.page p,
.page cite {
    line-height: 1.6;
}
.page h3 {
    color: #b2b2b2;
    font-size: 22px;
    letter-spacing: 1px;
    font-weight: 300;
}
.page .latest-posts {
    max-width: 350px;
}
.page ul li {
    margin: 15px 0;
}

.page-contact .input-container input {
    font-family: "Source ", sans-serif;
    background: #f7f9fc;
    border: 0;
    width: 100%;
    height: 35px;
    max-width: 310px;
    padding: 7px 0 5px 15px;
    display: block;
    margin: 10px 0;
}
.page-contact .input-container .input-subject {
    margin: 20px 0;
    max-width: 98%;
}
.page-contact .input-container textarea {
    width: 98%;
    border: 0;
    background: #f7f9fc;
    resize: vertical;
    padding: 25px 0 0 15px;
}
.page-contact .form-contact .send-message a {
    display: block;
    text-decoration: none;
    font-weight: bold;
    margin-top: 25px;
    font-size: 19px;
}

.custom-wrapper {
    margin-bottom: 1em;
    -webkit-font-smoothing: antialiased;
    height: 3em;
    overflow: hidden;
    -webkit-transition: height 0.5s;
    -moz-transition: height 0.5s;
    -ms-transition: height 0.5s;
    transition: height 0.5s;
}
.custom-wrapper ul li a {
    display: block;
    text-align: center;
}

.custom-wrapper.open {
    height: 9em;
}

.custom-menu-3 {
    text-align: right;
}

.custom-toggle {
    width: 34px;
    height: 34px;
    display: block;
    position: absolute;
    top: 60px;
    right: 20px;
    display: none;
}

.custom-toggle .bar {
    background-color: #1abc9c;
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 100px;
    position: absolute;
    top: 18px;
    right: 7px;
}

.buttons-social-media-share {
    margin-bottom: 20px;
}

.buttons-social-media-share .share-buttons {
    margin: 0;
    padding: 0;
}

.buttons-social-media-share .share-buttons li {
    list-style-type: none;
    float: left;
    margin-right: 10px;
}

/* Buscador global de rutas del sidebar */
.menu-search {
    padding: .5rem .5rem 0;
}
.menu-search-box {
    display: flex;
    align-items: center;
    gap: .45rem;
    width: 100%;
    background: #fff;
    color: #3c4043;
    border: 1px solid #dadce0;
    border-radius: .5rem;
    padding: .45rem .6rem;
    font-size: .85rem;
    text-align: left;
    cursor: pointer;
}
.menu-search-box:hover {
    border-color: #bdc1c6;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .12);
}
.menu-search-icon {
    color: #5f6368;
    font-size: .8rem;
}
.menu-search-placeholder {
    flex: 1;
    min-width: 0;
    color: #9aa0a6;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.menu-search-kbd {
    font-family: inherit;
    font-size: .65rem;
    line-height: 1;
    padding: .2rem .35rem;
    border-radius: .25rem;
    background: #f1f3f4;
    color: #5f6368;
    white-space: nowrap;
}
/* En sidebar mini colapsado solo queda el icono */
.sidebar-collapse .menu-search-placeholder,
.sidebar-collapse .menu-search-kbd {
    display: none;
}
.sidebar-collapse .menu-search-box {
    justify-content: center;
    padding: .45rem 0;
}
/* Overlay de la paleta centrada */
.menu-palette-overlay[hidden] {
    display: none;
}
.menu-palette-overlay {
    position: fixed;
    inset: 0;
    z-index: 1070;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 12vh 1rem 1rem;
    background: rgba(32, 33, 36, .45);
}
body.menu-palette-open {
    overflow: hidden;
}
.menu-palette {
    width: min(580px, 94vw);
    background: #fff;
    color: #212529;
    border-radius: .75rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .35);
    overflow: hidden;
}
.menu-palette-input-row {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .8rem 1rem;
    border-bottom: 1px solid #e8eaed;
}
.menu-palette-icon {
    color: #5f6368;
}
.menu-palette-input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    font-size: 1.05rem;
    color: #202124;
    background: transparent;
    padding: 0;
}
.menu-palette-input::placeholder {
    color: #9aa0a6;
}
.menu-palette-close {
    border: 0;
    background: transparent;
    color: #5f6368;
    cursor: pointer;
    padding: .25rem .4rem;
    border-radius: .25rem;
}
.menu-palette-close:hover {
    background: #f1f3f4;
}
/* Resultados dentro de la paleta */
.menu-search-results {
    max-height: min(340px, calc(100vh - 260px));
    overflow-y: auto;
    padding: .4rem;
    background: #fff;
    color: #212529;
}
.menu-search-item {
    display: flex;
    align-items: center;
    gap: .6rem;
    width: 100%;
    border: 0;
    background: transparent;
    text-align: left;
    padding: .45rem .55rem;
    border-radius: .375rem;
    cursor: pointer;
    color: inherit;
}
.menu-search-item.active {
    background: #007bff;
    color: #fff;
}
.menu-search-item.active .menu-search-item-crumb {
    color: rgba(255, 255, 255, .8);
}
.menu-search-item-icon {
    width: 1.4rem;
    text-align: center;
    opacity: .7;
}
.menu-search-item-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.menu-search-item-name {
    font-size: .85rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.menu-search-item-crumb {
    font-size: .72rem;
    color: #6c757d;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.menu-search-item-ext {
    font-size: .7rem;
    opacity: .5;
}
.menu-search-empty {
    padding: .8rem .6rem;
    font-size: .85rem;
    color: #6c757d;
    text-align: center;
}
.menu-search-footer {
    margin-top: .25rem;
    padding: .4rem .55rem .25rem;
    border-top: 1px solid #dee2e6;
    font-size: .7rem;
    color: #6c757d;
    text-align: center;
}
