/*!
Theme Name: Hello Elementor Child
Theme URI: https://crocoblock.com/
Author: Crocoblock
Author URI: https://crocoblock.com/
Description: Child theme for Hello Elementor with all CrocoBlock features compatibility.
Template: hello-elementor
Version: 1.0.0
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: hello-elementor-child
*/


section.event-form-name.em.pixelbones.em-event-editor-section {
    background-color: #c5c5c5 !important;
    padding: 10px;
    border-radius: 10px;
}

body .em.pixelbones{ --font-family:arial, --font-size:14px; --font-weight: normal; --line-height:16px; }

/* ============================================
   LFN — Pojedynczy projekt (event-single)
   ============================================ */

.em.pixelbones .event-details-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
}

/* Grid 2-kolumnowy: treść (2fr) | metadane (1fr) */
.em.pixelbones .event-columns {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

.em.pixelbones .event-column {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Karty sekcji */
.em.pixelbones .event-section {
    background: #fff;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 1px 8px rgba(0,0,0,.06);
    border: 1px solid #edf0f7;
}

/* Nagłówki sekcji */
.em.pixelbones.em-event .event-section h2 {
    margin: 0 0 .85rem !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: #1a3a6b !important;
    padding-bottom: .5rem;
    border-bottom: 2px solid #edf0f7;
    line-height: 1.3;
}

.em.pixelbones.em-event .event-section h3 {
    margin: 0 0 .5rem;
    font-size: 1rem !important;
    font-weight: 600;
    color: #333;
}

/* Pastylki daty i godziny */
.lfn-event-when {
    display: flex;
    gap: .65rem;
    flex-wrap: wrap;
    margin: .25rem 0 .75rem;
}

.lfn-pill {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: #f0f4ff;
    border: 1px solid #c8d8f5;
    border-radius: 20px;
    padding: .3rem .9rem;
    font-size: .9rem;
    font-weight: 500;
    color: #1a3a6b;
    line-height: 1.5;
}

/* Opis projektu */
.em.pixelbones .event-notes {
    line-height: 1.75;
    color: #333;
    font-size: .95rem;
}

/* Grupy metadanych */
.lfn-meta-group {
    margin: .6rem 0;
}

.lfn-meta-label {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #999;
    margin-bottom: .3rem;
}

.lfn-meta-group ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.lfn-meta-group ul li {
    padding: .15rem 0;
    font-size: .9rem;
    color: #333;
}

.lfn-meta-group ul li::before {
    content: '◦ ';
    color: #bbb;
}

.lfn-meta-group p {
    margin: .25rem 0;
    font-size: .9rem;
    color: #888;
}

hr.lfn-meta-divider {
    border: none;
    border-top: 1px solid #edf0f7;
    margin: .65rem 0;
}

/* Zdjęcie projektu */
.em.pixelbones .event-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
    object-fit: cover;
}

.em.pixelbones .location-image img,
.em.pixelbones .category-image img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Formularz rezerwacji */
.em.pixelbones .booking-form {
    background: #f5f8ff;
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid #dde6f8;
}

/* Kontakt / Kierownik */
.lfn-contact-block {
    font-size: .92rem;
    line-height: 1.65;
    color: #333;
}

/* Tagi / kategorie — linki */
.em.pixelbones .em-item-taxonomy a {
    display: inline-block;
    background: #f0f4ff;
    border: 1px solid #c8d8f5;
    border-radius: 4px;
    padding: .15rem .55rem;
    font-size: .8rem;
    color: #1a3a6b;
}

/* Accessibility: respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
    text-decoration: none;
    margin: .1rem .15rem .1rem 0;
}

.em.pixelbones .em-item-taxonomy a:hover {
    background: #d0ddf5;
}

.em.pixelbones .em-item-meta-line {
    margin: .5rem 0;
    font-size: .9rem;
}

/* Responsywność */
@media (max-width: 900px) {
    .em.pixelbones .event-columns {
        grid-template-columns: 1fr;
    }
    .em.pixelbones .event-details-wrapper {
        padding: 1rem .5rem;
    }
}

@media (max-width: 600px) {
    .lfn-event-when {
        flex-direction: column;
        align-items: flex-start;
    }
}