/*
Theme Name: Osorio
Description: A basic WordPress theme for Osorio
Version: 1.0.2
Author: Lextop | By: Jenner Acosta
*/

/* Add font-face */
@font-face {
    font-family: 'Athelas';
    src: url('assets/fonts/Athelas-Regular.ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Athelas';
    src: url('assets/fonts/Athelas-Bold.ttf');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Athelas';
    src: url('assets/fonts/Athelas-Italic.ttf');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Athelas';
    src: url('assets/fonts/Athelas-BoldItalic.ttf');
    font-weight: bold;
    font-style: italic;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Athelas', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

.entry-content ul{
    padding-left: 4rem;
}

.container{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
}

.alignfull {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    max-width: 1000%;
    width: auto;
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Header Styles */
.site-header {
    background-color: var(--secondary-color, #2c3e50);
    color: white;
    padding: 1rem 0;
    position: relative;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.custom-logo {
    height: 60px;
}

.site-title {
    font-size: 2rem;
    margin: 0;
    text-align: center;
}

.site-title a {
    color: white;
    text-decoration: none;
}

.site-description {
    text-align: center;
    margin-top: 0.5rem;
    font-style: italic;
}

/* Navigation */
.main-navigation {
    padding: 0.5rem 0;
    display: none;
}

@media (min-width: 920px) {
    .main-navigation {
        display: block;
    }
}

.main-navigation ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.main-navigation li {
    margin: 0 1rem;
}

.main-navigation a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    display: block;
    transition: background-color 0.3s;
}

.main-navigation a:hover {
    background-color: var(--primary-color);
}

.site-socials {
    display: flex;
    gap: 1rem;
}

.site-socials ul{
    display: flex;
    justify-content: center;
    gap: 1rem;
    list-style: none;
}

.site-socials a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
}

.site-socials a:hover {
    color: var(--primary-color);
    opacity: .75;
}

.language-switcher {
    display: flex;
    justify-content: center;
    gap: 1rem;
    list-style: none;
}

/* Content Area */
.site-main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}


/* Posts */
.post {
    border-bottom: 1px solid #eee;
    display: flex;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
}

.post:last-child {
    border-bottom: none;
}

.entry-thumbnail img{
    width: 150px;
    height: auto;
    margin-right: 1rem;
    flex-shrink: 0;
    object-fit: cover;
    aspect-ratio: 4/3;
}

.post-single .entry-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 5/3;
    margin: 0 auto 2rem;
}

.entry-title {
    font-size: 1.8rem;
}

.entry-title a {
    color: var(--secondary-color, #3498db);
    text-decoration: none;
}

.entry-title a:hover {
    color: var(--secondary-color, #2c3e50);
}

.entry-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.entry-content {
    line-height: 1.7;
}

.entry-content p a {
    color: var(--primary-color, #2c3e50);
    text-decoration: none;
}

.entry-content p {
    margin-bottom: 1rem;
}

/* Sidebar */
.sidebar {
    background-color: white;
    padding: 2rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    height: fit-content;
}

.widget {
    margin-bottom: 2rem;
}

.widget-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.widget ul {
    list-style: none;
}

.widget li {
    margin-bottom: 0.5rem;
}

.widget a {
    color: var(--primary-color, #2c3e50);
    text-decoration: none;
}

.widget a:hover {
    text-decoration: underline;
}

/* Footer */
.site-footer {
    background-color: var(--primary-color, #2c3e50);
    color: white;
    padding: 2rem 0;
    margin-top: 2rem;
}

.site-footer a {
    color: #FFFFFF95;
    text-decoration: none;
}

.container-footer {
    display: flex;
    flex-direction: column;
    text-align: center;
}

@media (min-width: 768px) {
    .container-footer {
        text-align: left;
    }
}

.footer-navigation{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3rem;
}

@media (min-width: 768px) {
    .footer-navigation {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-contact{
    order: 1;
}

.footer-menu{
    order: 0;
}

@media (min-width: 768px) {
    .footer-contact, .footer-menu {
        order: initial;
    }

    .footer-menu {
        display: flex;
        flex-direction: column;
        align-items: end;
    }
}

.footer-logo img{
    height: 90px;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.footer-social a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
}

.footer-copy{
    margin-top: 2rem;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .site-main {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 1rem auto;
    }

    .main-navigation ul {
        flex-direction: column;
        align-items: center;
    }

    .main-navigation li {
        margin: 0.25rem 0;
    }
}

.front-page .entry-content{
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.quote_cover{
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    width: fit-content;
    margin: auto;
}

.quote_cover::before{
    content: '\f10e';
    font-family: 'Font Awesome 6 Free', serif;
    font-weight: 900;
    font-size: 4rem;
}

.quote_cover h2 {
    font-size: 2rem!important;
    line-height: 1.25;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.quote_cover p {
    margin: 0;
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1.25;
}

.flag-quote{
    padding: 2rem 0;
}

.wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-radius: 8px;
}

.wpcf7-form input,
.wpcf7-form textarea,
.wpcf7-form select {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
}

.wpcf7-form input[type="submit"] {
    background: var(--primary-color, #3498db);
    color: #fff;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 700;
    transition: background 0.3s;
}

.wpcf7-form input[type="submit"]:hover {
    background: var(--secondary-color, #2c3e50);
}

.single-areas__header{
    gap: 1rem;
    min-height: 300px;
    background-position: center bottom;
    background-size: cover;
    background-repeat: no-repeat;
}

.single-areas__header img{
    width: 100px;
    height: 100px;
    margin-top: 3rem;
}

.single-areas .areas {
    padding: 4rem 1rem;
}

.single-areas__navigation{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    margin-top: 3rem;
}

.single-areas__navigation .button{
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    border-radius: 100%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: background 0.3s;
}

.single-areas__navigation .button:hover{
    background: var(--secondary-color);
    color: #fff;
}

.single-areas__navigation .button.disabled{
    opacity: 0.5;
    cursor: not-allowed;
}

.single-areas__navigation .button.disabled:hover{
    background: transparent;
    color: var(--secondary-color);
}

.archive-areas{
    display: flex;
    flex-direction: column;
    padding: 4rem 1rem;
}

/* Single Equipo Styles */
.single-equipo-page {
    padding: 4rem 0;
}

@media (min-width: 768px) {
    .article-single-equipo {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

.single-equipo__image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: block;
}

@media (min-width: 768px) {
    .single-equipo__image img {
        margin: 0 auto;
    }
}

.single-equipo__title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0;
    text-align: center;
}

.single-equipo__position {
    font-size: 1.4rem;
    text-align: center;
}

.single-equipo__email,
.single-equipo__linkedin {
    display: flex;
    justify-content: center;
}

@media (min-width: 768px) {
    .single-equipo__title,
    .single-equipo__position{
        text-align: left;
    }

    .single-equipo__email,
    .single-equipo__linkedin {
        justify-content: flex-start;
    }
}

.single-equipo__email a {
    color: var(--secondary-color);
    text-decoration: none;
}
.single-equipo__linkedin a{
    color: var(--primary-color);
    text-decoration: none;
    font-size: 2rem;
}

.single-equipo__email a:hover,
.single-equipo__linkedin a:hover {
    text-decoration: underline;
}
.single-equipo__description {
    line-height: 1.6;
}

.archive-equipo .container {
    flex-direction: column;
    padding: 2rem 1rem;
}

.archive-equipo__title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

.archive-equipo__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.archive-equipo__item {
    text-align: center;
    border-radius: 8px;
}

.archive-equipo__item a {
    text-decoration: none;
    color: inherit;
}

.archive-equipo__image img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 3/4;
    object-fit: cover;
    margin-bottom: 1rem;
}

.archive-equipo__name {
    font-size: 1.5rem;
    font-weight: bold;
}

.archive-equipo__position {
    font-size: 1.6rem;
    color: #777;
    line-height: 1;
}

.archive-equipo__email,
.archive-equipo__linkedin {
    display: flex;
    justify-content: center;
}

.archive-equipo__linkedin {
    font-size: 2rem;
    color: var(--primary-color);
}

.archive-equipo__email{
    margin-top: 0.5rem;
}

.archive-equipo__hero-image{
    width: 100%;
    height: auto;
    margin-bottom: 1.5rem;
}

.post-navigation{
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.post-navigation a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.post-navigation a:hover {
    text-decoration: underline;
    color: var(--primary-color);
}

.archive-title{
    margin-bottom: 2rem;
}

.wp-block-search {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.wp-block-search__input {
    padding: 0.5rem 1rem;
    border: 1px solid #ccc;
    border-radius: 4px 0 0 4px;
    font-size: 1rem;
    flex: 1;
}

.wp-block-search__button {
    padding: 0.5rem 1.5rem;
    background: var(--primary-color, #3498db);
    color: #fff;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-weight: 700;
    transition: background 0.3s;
}

.wp-block-search__button:hover {
    background: var(--secondary-color, #2c3e50);
}

.wp-block-search__label{
    display: none;
}

.nav-bars{
    background: transparent;
    border: none;
    color: #FFFFFF;
    font-size: 1.5rem;
    cursor: pointer;
}

@media (min-width: 920px) {
    .nav-bars {
        display: none;
    }
}

.mobile-navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--secondary-color, #2c3e50);
    z-index: 1000;
}

.mobile-navigation ul {
    list-style: none;
    padding: 1rem;
    margin: 0;
}

.mobile-navigation li {
    margin: 0.5rem 0;
}

.mobile-navigation a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    display: block;
}

.mobile-navigation a:hover {
    background-color: var(--primary-color, #3498db);
}

.mobile-navigation.active {
    display: block;
}

.archive-equipo__subtitle {
    text-align: center;
    margin-bottom: 1.5rem;
}

.archive-equipo__taxonomy-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.archive-equipo__taxonomy-item a {
    display: inline-block;
    text-decoration: none;
    font-size: 1.4rem;
    transition: background 0.2s, color 0.2s;
    color: var(--secondary-color);
}

.archive-equipo__taxonomy-item a:hover {
    text-decoration: underline;
}

.archive-equipo__taxonomy-item.active a {
    color: var(--primary-color);
    font-weight: bold;
}