/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.3
Text Domain: Avada
*/

/* Keep Avada global form rules from overriding the reference design. */
body.de-dream-page .de-site .de-site__form-field input[type="text"],
body.de-dream-page .de-site .de-site__form-field input[type="email"],
body.de-dream-page .de-site .de-site__form-field textarea {
    height: auto;
    min-height: 48px;
    width: 100%;
    padding: 12px 0;
    border: 0;
    border-bottom: 1px solid var(--de-border);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    font: inherit;
    color: var(--de-foreground);
}
body.de-dream-page .de-site .de-site__form-field input:focus,
body.de-dream-page .de-site .de-site__form-field textarea:focus {
    border-bottom-color: var(--de-accent);
}

/* DreamEscapes: Featured Location (Lefkada) */
.de-site .de-lefkada { padding: 0 24px 112px; background: var(--de-background); color: var(--de-foreground); }
.de-site .de-lefkada__header { margin: 0 0 48px; padding: 0; }
.de-site .de-lefkada__title { margin: 0 0 20px; padding: 0; color: var(--de-foreground); font-family: "Cormorant Garamond", Georgia, serif; font-size: 3rem; font-weight: 400; letter-spacing: -0.015em; line-height: 1.1; }
.de-site .de-lefkada__intro { max-width: 44rem; margin: 0; padding: 0; color: var(--de-muted-foreground); font-family: "Karla", Arial, sans-serif; font-size: 1.125rem; font-weight: 400; line-height: 1.625; }
/* Each photograph retains its natural aspect ratio, with no cropping. */
.de-site .de-lefkada__gallery { column-count: 3; column-gap: 32px; column-fill: balance; margin: 0; padding: 0; }
.de-site .de-lefkada__figure { display: inline-block; width: 100%; max-width: 100%; margin: 0 0 32px; padding: 0; border: 0; break-inside: avoid; page-break-inside: avoid; vertical-align: top; }
.de-site .de-lefkada__image-link { display: block; width: 100%; margin: 0; padding: 0; border: 0; background: var(--de-card); text-decoration: none; }
.de-site .de-lefkada__photo { display: block; position: static; width: 100%; max-width: 100%; height: auto; max-height: none; aspect-ratio: auto; margin: 0; padding: 0; border: 0; border-radius: 2px; object-fit: contain; transform: none; }
.de-site .de-lefkada__caption { margin: 12px 0 0; padding: 0 0 14px; border-bottom: 1px solid var(--de-border); color: var(--de-muted-foreground); font-family: "Karla", Arial, sans-serif; font-size: 0.875rem; font-weight: 400; letter-spacing: 0.025em; line-height: 1.5; }
.de-site .de-lefkada__image-link:focus-visible { outline: 2px solid var(--de-accent); outline-offset: 5px; }
.de-site .de-lefkada__image-link:hover + .de-lefkada__caption,
.de-site .de-lefkada__image-link:focus-visible + .de-lefkada__caption { border-bottom-color: var(--de-accent); color: var(--de-primary); }
.de-site .de-lefkada__cta { max-width: 100%; margin: 16px 0 0; }
@media (min-width: 1401px) {
    .de-site .de-lefkada { padding-right: 48px; padding-left: 48px; }
}
@media (max-width: 980px) {
    .de-site .de-lefkada__gallery { column-count: 2; }
}
@media (max-width: 600px) {
    .de-site .de-lefkada { padding: 0 20px 80px; }
    .de-site .de-lefkada__header { margin-bottom: 32px; }
    .de-site .de-lefkada__title { font-size: 2.5rem; }
    .de-site .de-lefkada__intro { font-size: 1rem; }
    .de-site .de-lefkada__gallery { column-count: 1; }
    .de-site .de-lefkada__figure { margin-bottom: 24px; }
}
