/* Structural defaults only. Appearance lives in the editable Elementor model. */
:where(.aigae-rg-dynamic) { margin: 0; overflow-wrap: anywhere; }
:where(.aigae-rg-dynamic .aigae-guide-icon) { width: 20px; height: 20px; flex: 0 0 20px; fill: currentColor; vertical-align: middle; }
:where(.aigae-rg-photo) { display: grid; place-items: center; aspect-ratio: 5 / 6; overflow: hidden; background: #edf1e9; }
:where(.aigae-rg-photo img) { display: block; width: 100%; height: 100%; object-fit: cover; }
.aigae-rg-photo { font-size: 34px; font-weight: 700; color: #43683c; }
.elementor-element.elementor-widget-aigae-guide-photo { height: auto; flex-shrink: 0; aspect-ratio: 5 / 6; }
.elementor-element.elementor-widget-aigae-guide-photo > .elementor-widget-container { height: auto; }
:where(.aigae-rg-dynamic) .aigae-guide-icon { width: 20px; height: 20px; flex: 0 0 20px; }
:where(.aigae-rg-contact) { display: grid; gap: 10px; }
:where(.aigae-rg-contact a, .aigae-rg-contact-text, .aigae-rg-badge) { display: flex; align-items: center; gap: 10px; }
:where(.aigae-rg-email-button a) { justify-content: center; }
:where(.aigae-rg-badge) { height: 100%; }
:where(.aigae-rg-list) { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
:where(.aigae-rg-list li) { display: flex; align-items: start; gap: 10px; min-width: 0; }
:where(.aigae-rg-list-badges) { display: flex; flex-wrap: wrap; }
:where(.aigae-rg-list-badges li) { align-items: center; background: #fff; border-radius: 22px; padding: 8px; }
:where(.aigae-rg-list-tiles) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
:where(.aigae-rg-list-tiles li) { flex-direction: column; align-items: center; text-align: center; padding: 12px 8px 20px; background: #eeefea; border: 1px solid #d8ded4; border-radius: 12px; }
:where(.aigae-rg-excursion) { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 15px; padding: 18px 0; border-bottom: 1px solid #e6e7e5; }
:where(.aigae-rg-datebox) { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 58px; height: 62px; border-radius: 12px; color: #43683c; background: #edf1e9; }
:where(.aigae-rg-datebox > span) { font-size: 24px; font-weight: 700; line-height: 1.2; }
:where(.aigae-rg-datebox small) { font-size: 11px; }
:where(.aigae-rg-excursion time) { display: block; font-size: 13px; color: #69756d; margin: 5px 0; }
:where(.aigae-rg-excursion p) { margin: 8px 0; }
:where(.aigae-rg-excursion-empty) { padding: 18px 20px; background: #e2ebdd; border-radius: 13px; }
.aigae-rg-editor-empty { padding: 12px; border: 1px dashed #b6c5b0; color: #667466; font-size: 13px; }
@media (max-width: 800px) { :where(.aigae-rg-list-tiles) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Fallback variables remain empty unless their Elementor controls are set. */
:where(.aigae-rg-photo img) { object-position: var(--aigae-photo-x, 50%) var(--aigae-photo-y, 50%); }

/* Excursion layouts: defaults preserve the pre-1.7 list and saved widget styles. */
:where(.aigae-rg-excursions-grid) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
:where(.aigae-rg-excursion) { min-width: 0; grid-template-columns: var(--aigae-calendar-template, minmax(max-content, 64px) minmax(0, 1fr)); }
:where(.aigae-rg-excursion-content) { min-width: 0; }
:where(.aigae-rg-no-calendar, .aigae-rg-calendar-top) { --aigae-calendar-template: minmax(0, 1fr); }
:where(.aigae-rg-excursions > .aigae-rg-pagination) { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; grid-column: 1 / -1; margin-top: 16px; }
:where(.aigae-rg-excursions .aigae-rg-page-button) { font: inherit; line-height: 1.4; min-width: 40px; min-height: 40px; padding: 8px 12px; border: 1px solid #43683c; border-radius: 6px; color: #43683c; background: #fff; cursor: pointer; }
:where(.aigae-rg-excursions .aigae-rg-page-button[aria-current="page"]) { color: #fff; background: #43683c; }
:where(.aigae-rg-excursions .aigae-rg-page-button:is(:hover, :focus-visible):not(:disabled)) { color: #fff; background: #0a472b; }
:where(.aigae-rg-excursions .aigae-rg-page-button:focus-visible) { outline: 2px solid #fe810c; outline-offset: 3px; }
:where(.aigae-rg-excursions .aigae-rg-page-button:disabled) { opacity: .45; cursor: default; }
.aigae-rg-excursions > .aigae-rg-excursion[hidden],
.aigae-rg-excursions > .aigae-rg-pagination[hidden],
.aigae-rg-excursions > .aigae-rg-page-status[hidden] { display: none !important; }
.aigae-rg-excursions > .aigae-rg-page-status:not([hidden]) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
:where(.aigae-rg-excursions-grid > .aigae-rg-excursion-empty) { grid-column: 1 / -1; }

/* Alignment names shared by text and flex controls; widget rules override defaults. */
:where(.aigae-rg-dynamic) { --aigae-align-left: flex-start; --aigae-align-center: center; --aigae-align-right: flex-end; }
/* State variables preserve active/hover defaults after customizing the normal state. */
.aigae-rg-excursions .aigae-rg-page-button {
    color: var(--aigae-page-normal-color, #43683c);
    background-color: var(--aigae-page-normal-background-color, #fff);
    border-color: var(--aigae-page-normal-border-color, #43683c);
}
.aigae-rg-excursions .aigae-rg-page-button[aria-current="page"] {
    color: var(--aigae-page-active-color, #fff);
    background-color: var(--aigae-page-active-background-color, #43683c);
    border-color: var(--aigae-page-active-border-color, var(--aigae-page-normal-border-color, #43683c));
}
.aigae-rg-excursions .aigae-rg-page-button:is(:hover, :focus-visible):not(:disabled) {
    color: var(--aigae-page-hover-color, #fff);
    background-color: var(--aigae-page-hover-background-color, #0a472b);
    border-color: var(--aigae-page-hover-border-color, var(--aigae-page-active-border-color, var(--aigae-page-normal-border-color, #43683c)));
}

/* OceanWP resets article/nav to block. Structural classes must outrank that reset. */
.aigae-rg-excursions > .aigae-rg-excursion { display: grid; }
.aigae-rg-excursions > .aigae-rg-pagination { display: flex; }
