/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* ===== ESTILOS PARA LISTA DE OBRAS (Shortcode) ===== */
.dangc-obras-lista {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.dangc-obra-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dangc-obra-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.dangc-obra-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: stretch;
}

.dangc-obra-image {
    width: 300px;
    min-width: 300px;
    height: 200px;
    overflow: hidden;
    background: #f5f5f5;
    flex-shrink: 0;
}

.dangc-obra-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.dangc-obra-item:hover .dangc-obra-image img {
    transform: scale(1.05);
}

.dangc-obra-content {
    padding: 20px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.dangc-obra-titulo {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 12px;
    color: #333;
}

.dangc-obra-descricao {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 15px;
    flex: 1;
}

.dangc-obra-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #888;
    padding-top: 12px;
    border-top: 1px solid #eee;
    flex-wrap: wrap;
}

.dangc-obra-contratante,
.dangc-obra-codigo {
    display: inline-block;
}

.dangc-obra-contratante strong {
    color: #555;
}

.dangc-obra-codigo {
    color: #999;
    font-weight: 600;
}

/* Responsivo */
@media (max-width: 768px) {
    .dangc-obra-link {
        flex-direction: column;
    }
    
    .dangc-obra-image {
        width: 100%;
        height: 200px;
    }
    
    .dangc-obra-content {
        padding: 20px;
    }
    
    .dangc-obra-meta {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .dangc-obras-lista {
        padding: 10px;
    }
    
    .dangc-obra-titulo {
        font-size: 18px;
    }
    
    .dangc-obra-descricao {
        font-size: 14px;
    }
}
