/**
 * Property Services Elementor Widget
 *
 * Every rule is scoped to the section's root, .lgap-property-services. The
 * accent colour comes from the widget's Accent Color control through
 * --lgap-services-accent; it is used for the section title only, never for
 * service names, conditions or prices (it fails contrast as text on white).
 *
 * @package avantio-properties
 */

.lgap-property-services {
    --lgap-services-accent: #FFB800;
    --lgap-services-ink: #141414;
    --lgap-services-text: #333333;
    --lgap-services-muted: #595959;
    --lgap-services-line: #E0E0E0;
    --lgap-services-row-line: #EEEEEE;
    --lgap-services-display-font: "Playfair Display", serif;
    display: flex;
    flex-direction: column;
    gap: 22px;
    color: var(--lgap-services-text);
    font-family: "Josefin Sans", sans-serif;
    font-size: 16px;
    line-height: 1.4;
}

/* The theme sets its own font on paragraphs, lists and headings. */
.lgap-property-services * {
    font-family: inherit;
}

/* ========================================
   Section title
======================================== */
.lgap-property-services .lgap-services-header {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.lgap-property-services .lgap-services-title {
    margin: 0;
    font-family: var(--lgap-services-display-font);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--lgap-services-accent);
}

.lgap-property-services .lgap-services-separator {
    width: 100%;
    max-width: none;
    height: 0;
    margin: 0;
    border: 0;
    border-top: 1px solid var(--lgap-services-line);
    background: none;
}

/* ========================================
   The two groups: side by side, one column on phones
======================================== */
.lgap-property-services .lgap-services-groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
}

.lgap-property-services .lgap-services-group {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.lgap-property-services .lgap-services-group-title {
    margin: 0 0 8px;
    font-family: var(--lgap-services-display-font);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: normal;
    text-transform: none;
    color: #000000;
}

.lgap-property-services .lgap-services-list {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* ========================================
   A service: name and details, price on the right
======================================== */
.lgap-property-services .lgap-service {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin: 0;
    padding: 10px 0;
    border-bottom: 1px solid var(--lgap-services-row-line);
}

.lgap-property-services .lgap-service::before,
.lgap-property-services .lgap-service::marker {
    content: none;
}

.lgap-property-services .lgap-service-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.lgap-property-services .lgap-service-name {
    font-size: 16px;
    color: var(--lgap-services-ink);
    overflow-wrap: anywhere;
}

.lgap-property-services .lgap-service-details {
    font-size: 13px;
    color: var(--lgap-services-muted);
}

.lgap-property-services .lgap-service-price {
    flex-shrink: 0;
    max-width: 50%;
    font-size: 15px;
    font-weight: 600;
    color: var(--lgap-services-ink);
    text-align: right;
}

/* ========================================
   Editor placeholder
======================================== */
.elementor-widget-avantio-property-services .lgap-services-placeholder {
    padding: 24px;
    border: 1px dashed #C4C4C4;
    background: #F7F7F7;
    color: #333333;
    font-size: 14px;
    text-align: center;
}

.elementor-widget-avantio-property-services .lgap-services-placeholder p {
    margin: 0;
}

/* ========================================
   Phone: below the site's mobile breakpoint
======================================== */
@media (max-width: 767px) {
    .lgap-property-services {
        gap: 18px;
    }

    .lgap-property-services .lgap-services-groups {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }
}
