/*
Theme Name: AIXA Labs
Description: Tema personalizado para AIXA Labs - Especialistas en automatización AI y agentes de voz
Author: AIXA Labs
Version: 1.0
Text Domain: aixa-labs
*/

/* Import Tailwind CSS */
@import url('https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css');

/* Import Font Awesome */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

/* Import custom styles */
@import url('assets/css/styles.css');

/* WordPress specific styles */
.wp-block-group {
    margin: 0;
}

.wp-block-group__inner-container {
    max-width: none;
}

/* Admin bar compatibility */
body.admin-bar {
    padding-top: 32px;
}

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

/* WordPress alignment classes */
.alignleft {
    float: left;
    margin-right: 1rem;
}

.alignright {
    float: right;
    margin-left: 1rem;
}

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

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

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

/* WordPress gallery styles */
.wp-block-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

/* WordPress button styles */
.wp-block-button__link {
    @apply inline-flex items-center px-8 py-4 bg-gradient-to-r from-blue-600 to-purple-600 text-white font-semibold rounded-lg transition-all duration-300 hover:from-blue-700 hover:to-purple-700 hover:scale-105 hover:shadow-lg hover:shadow-blue-500/25;
}

/* WordPress navigation styles */
.wp-block-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.wp-block-navigation li {
    display: inline-block;
    margin-right: 2rem;
}

.wp-block-navigation a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.wp-block-navigation a:hover {
    color: #60a5fa;
}

/* WordPress post content */
.entry-content {
    line-height: 1.6;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

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

.entry-content ul,
.entry-content ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.entry-content blockquote {
    border-left: 4px solid #3b82f6;
    padding-left: 1rem;
    margin: 2rem 0;
    font-style: italic;
    color: #d1d5db;
}

/* WordPress comment styles */
.comment-list {
    list-style: none;
    padding: 0;
}

.comment {
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(31, 41, 55, 0.5);
    border-radius: 0.5rem;
}

.comment-author {
    font-weight: bold;
    color: #3b82f6;
}

.comment-meta {
    font-size: 0.875rem;
    color: #9ca3af;
    margin-bottom: 0.5rem;
}

/* WordPress pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    background: rgba(31, 41, 55, 0.5);
    color: white;
    text-decoration: none;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background: #3b82f6;
}

.pagination .current {
    background: #3b82f6;
}

/* WordPress widget styles */
.widget {
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(31, 41, 55, 0.5);
    border-radius: 0.5rem;
}

.widget-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: white;
}

.widget ul {
    list-style: none;
    padding: 0;
}

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

.widget a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.widget a:hover {
    color: #3b82f6;
}

/* WordPress search form */
.search-form {
    display: flex;
    margin-bottom: 1rem;
}

.search-field {
    flex: 1;
    padding: 0.5rem;
    background: rgba(31, 41, 55, 0.5);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 0.25rem 0 0 0.25rem;
    color: white;
}

.search-submit {
    padding: 0.5rem 1rem;
    background: #3b82f6;
    border: 1px solid #3b82f6;
    border-radius: 0 0.25rem 0.25rem 0;
    color: white;
    cursor: pointer;
}

/* WordPress accessibility */
.screen-reader-text {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* WordPress responsive embeds */
.wp-block-embed {
    position: relative;
    overflow: hidden;
    padding-bottom: 56.25%;
    height: 0;
}

.wp-block-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

