/*
Theme Name: YoSoyIchtus
Theme URI: https://yosoyichtus.com
Author: Antigravity & Yo Soy Ichtus
Author URI: https://yosoyichtus.com
Description: Tema personalizado y moderno diseñado para el Ministerio de Música Ichtus y la Comunidad Católica Yo Soy Ichtus en Mérida, Yucatán. Construido con la tecnología de Temas de Bloques de WordPress.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: yosoyichtus
*/

/* Custom variables and adjustments */
body {
    font-family: 'Inter', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

/* Custom premium styling for card hover micro-animations */
.yosoyichtus-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.yosoyichtus-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(10, 25, 47, 0.15) !important;
}

/* Glow effect for main action buttons */
.yosoyichtus-glow-btn {
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px 0 rgba(212, 175, 55, 0.4);
}
.yosoyichtus-glow-btn:hover {
    box-shadow: 0 6px 20px 0 rgba(212, 175, 55, 0.6);
    transform: scale(1.03);
}

/* Glassmorphism panel styling */
.yosoyichtus-glass {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}
.yosoyichtus-glass-dark {
    background: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Force identical size and crop for member photos */
.yosoyichtus-card figure.is-style-rounded img {
    width: 150px !important;
    height: 150px !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    margin: 0 auto !important;
    display: block !important;
}

/* Style latest posts block on homepage */
.yosoyichtus-latest-posts.wp-block-latest-posts {
    padding: 0;
    margin: 0;
}
.yosoyichtus-latest-posts.is-grid li {
    background: #ffffff !important;
    padding: 1.5rem !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}
.yosoyichtus-latest-posts.is-grid li:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 12px 24px rgba(10, 25, 47, 0.1) !important;
}
.yosoyichtus-latest-posts a.wp-block-latest-posts__post-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    color: #0a192f !important;
    text-decoration: none !important;
}
.yosoyichtus-latest-posts a.wp-block-latest-posts__post-title:hover {
    color: #0ea5e9 !important;
}
.yosoyichtus-latest-posts time.wp-block-latest-posts__post-date {
    font-size: 0.85rem !important;
    color: #64748b !important;
    display: block !important;
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
}
.yosoyichtus-latest-posts .wp-block-latest-posts__post-excerpt {
    font-size: 0.9rem !important;
    color: #64748b !important;
    line-height: 1.5 !important;
}

/* Style featured image in latest posts cards */
.yosoyichtus-latest-posts .wp-block-latest-posts__featured-image {
    margin-bottom: 1rem !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    float: none !important;
}
.yosoyichtus-latest-posts .wp-block-latest-posts__featured-image img {
    width: 100% !important;
    height: 180px !important;
    object-fit: cover !important;
    border-radius: 8px !important;
}

/* Premium styling for social media wrappers */
.yosoyichtus-social-wrapper {
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}
.yosoyichtus-social-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(10, 25, 47, 0.15) !important;
}
