/*
Theme Name: Entrepalmas
Theme URI: https://entrepalmas.com.co
Author: Zepelin Digital
Author URI: https://zepelin.co
Description: Tema WordPress corporativo para Entrepalmas - 34 años sembrando futuro y sostenibilidad en la industria palmera colombiana.
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: entrepalmas
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, responsive-layout
*/

/* ========================================
   WORDPRESS DEFAULT STYLES
   ======================================== */

.alignleft {
    display: inline;
    float: left;
    margin-right: 1.5em;
}

.alignright {
    display: inline;
    float: right;
    margin-left: 1.5em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.alignwide {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

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

.wp-caption {
    margin-bottom: 1.5em;
    max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption-text {
    text-align: center;
}

.gallery-caption,
.wp-caption-text {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.5em;
}

/* WordPress blocks */
.wp-block-image img {
    height: auto;
    max-width: 100%;
}

/* Screen reader text */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Skip link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #8FA826;
    color: #fff;
    padding: 8px 16px;
    z-index: 100000;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* Admin bar offset */
body.admin-bar .site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .site-header {
        top: 46px;
    }
}

/* WordPress menu active/current */
.nav-menu .current-menu-item a,
.nav-menu .current_page_item a {
    color: #8FA826;
    background-color: rgba(143, 168, 38, 0.05);
}

/* Blog content styles */
.entry-content h2,
.entry-content h3,
.entry-content h4 {
    color: #111827;
    font-weight: 700;
    margin-top: 1.5em;
    margin-bottom: 0.75em;
}

.entry-content p {
    margin-bottom: 1.25em;
    color: #4b5563;
    line-height: 1.75;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 1.25em;
    padding-left: 1.5em;
}

.entry-content li {
    margin-bottom: 0.5em;
    color: #4b5563;
}

.entry-content a {
    color: #8FA826;
    text-decoration: underline;
}

.entry-content a:hover {
    color: #7A8F20;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
}

.entry-content blockquote {
    border-left: 4px solid #8FA826;
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #374151;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s;
}

.pagination a {
    background-color: #f3f4f6;
    color: #4b5563;
}

.pagination a:hover {
    background-color: rgba(143, 168, 38, 0.1);
    color: #8FA826;
}

.pagination .current {
    background-color: #8FA826;
    color: #fff;
    font-weight: 700;
}
