/* =========================================================
   GOTIFIESTAS EVENTOS — SINGLE + ULTIMATE MEMBER
   Usa la paleta global de Astra y hereda sus tipografías.
   ========================================================= */

:root {
    --gf-event-accent: var(--ast-global-color-1, #d10b13);
    --gf-event-bg: var(--ast-global-color-4, #070707);
    --gf-event-panel: var(--ast-global-color-5, #111111);
    --gf-event-panel-2: var(--ast-global-color-5, #111111);
    --gf-event-text: var(--ast-global-color-3, #ffffff);
    --gf-event-muted: color-mix(in srgb, var(--ast-global-color-3, #ffffff) 62%, transparent);
    --gf-event-border: color-mix(in srgb, var(--ast-global-color-3, #ffffff) 11%, transparent);
    --gf-event-border-strong: color-mix(in srgb, var(--ast-global-color-3, #ffffff) 19%, transparent);
    --gf-event-radius: 6px;
    --gf-event-gap: 16px;
}

.gf-event-single-page,
.gf-event-single-page #page,
.gf-event-single-page .site-content {
    background: var(--gf-event-bg);
}

.gf-event-single-page #primary.gf-single-event,
#primary.gf-single-event {
    width: 100%;
    max-width: none;
    float: none;
    margin: 0;
    padding: 0;
    color: var(--gf-event-text);
    background: var(--gf-event-bg);
}

.gf-single-event *,
.gf-single-event *::before,
.gf-single-event *::after {
    box-sizing: border-box;
}

.gf-single-event a,
.gf-single-event a:visited {
    color: var(--gf-event-text);
    text-decoration: none;
}

.gf-single-event button,
.gf-single-event input,
.gf-single-event select,
.gf-single-event textarea {
    font: inherit;
}

.gf-single-event__inner {
    width: min(1220px, calc(100% - 40px));
    margin: 0 auto;
    padding: 20px 0 42px;
}

/* Breadcrumb */
.gf-event-breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    margin: 0 0 18px;
    color: var(--gf-event-muted);
    font-size: 12px;
    line-height: 1.4;
}

.gf-event-breadcrumb a,
.gf-event-breadcrumb a:visited {
    color: var(--gf-event-accent);
}

.gf-event-breadcrumb span {
    color: inherit;
}

.gf-event-breadcrumb a:hover,
.gf-event-breadcrumb a:focus-visible {
    color: var(--gf-event-accent);
    opacity: .82;
}

.gf-event-breadcrumb i {
    font-size: 8px;
    opacity: 0.55;
}

.gf-event-breadcrumb span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Toolbar */
.gf-event-toolbar {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
    margin: -3px 0 14px;
}

.gf-event-toolbar__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    padding: 8px 13px;
    border: 1px solid var(--gf-event-border);
    border-radius: var(--gf-event-radius);
    background: var(--ast-global-color-4, #0d0d0d);
    color: var(--gf-event-text);
    cursor: pointer;
    font-size: 12px;
    line-height: 1;
    transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease;
}

.gf-event-toolbar__button:hover,
.gf-event-toolbar__button:focus-visible,
.gf-event-toolbar__button.is-active {
    border-color: var(--gf-event-accent);
    color: var(--gf-event-accent);
    background: rgba(255, 255, 255, 0.025);
}

.gf-event-toolbar__button:active {
    transform: translateY(1px);
}

/* Hero */
.gf-event-hero {
    display: grid;
    grid-template-columns: minmax(290px, 430px) minmax(0, 1fr);
    gap: 28px;
    align-items: stretch;
    margin-bottom: 18px;
}

.gf-event-poster {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--gf-event-border);
    border-radius: var(--gf-event-radius);
    background: var(--ast-global-color-5, #111111);
    aspect-ratio: 4 / 5;
    min-height: 0;
    isolation: isolate;
}

.gf-event-poster__backdrop {
    position: absolute;
    z-index: 0;
    inset: -7%;
    display: block;
    width: 114%;
    height: 114%;
    object-fit: cover;
    filter: blur(24px) brightness(.58) saturate(.82);
    transform: scale(1.05);
    pointer-events: none;
    user-select: none;
}

.gf-event-poster__open {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: transparent;
    cursor: zoom-in;
}

.gf-event-poster__open,
.gf-event-poster__open:hover,
.gf-event-poster__open:focus,
.gf-event-poster__open:active {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.gf-event-poster__image {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.gf-event-poster__expand {
    position: absolute;
    z-index: 2;
    right: 12px;
    bottom: 12px;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;

    border-radius: 50%;
    background: color-mix(in srgb, var(--ast-global-color-4, #070707) 82%, transparent);
    color: var(--gf-event-text);
    opacity: .86;
    transition: background .2s ease, color .2s ease, opacity .2s ease;
}

.gf-event-poster__open:hover .gf-event-poster__expand,
.gf-event-poster__open:focus-visible .gf-event-poster__expand {
    background: var(--gf-event-accent);
    color: var(--gf-event-text);
    opacity: 1;
}

.gf-event-poster__open:focus-visible {
    outline: 2px solid var(--gf-event-accent);
    outline-offset: -2px;
}

.gf-event-poster__placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: var(--gf-event-muted);
    font-size: 44px;
    background: var(--ast-global-color-5, #111111);
}

.gf-event-summary {
    display: flex;
    flex-direction: column;
    justify-content: top;
    min-width: 0;
    padding: 6px 4px 4px 0;
}

.gf-event-kicker {
    align-self: flex-start;
    margin-bottom: 10px;
    color: var(--gf-event-accent) !important;
    font-size: 12px;
    line-height: 1.2;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.gf-event-summary h1 {
    margin: 0 0 24px;
    color: var(--gf-event-text);
    font-size: clamp(34px, 4.1vw, 56px);
    line-height: 1.04;
    letter-spacing: -.025em;
}

.gf-event-facts {
display:none;    
/* display: grid; */
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 22px;
}

.gf-event-fact {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 9px;
    align-items: start;
    min-width: 0;
}

.gf-event-fact > i {
    margin-top: 2px;
    color: var(--gf-event-accent);
    font-size: 16px;
    text-align: center;
}

.gf-event-fact div {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.gf-event-fact strong {
    overflow: hidden;
    margin: 0 0 3px;
    color: var(--gf-event-text);
    font-size: 12px;
    line-height: 1.35;
    text-overflow: ellipsis;
}

.gf-event-fact span {
    color: var(--gf-event-muted);
    font-size: 11px;
    line-height: 1.45;
}

.gf-event-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0 0 18px;
}

.gf-event-tags a,
.gf-event-tags > span {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    padding: 5px 12px;
    border: 1px solid var(--ast-global-color-6);
    font-size: 11px;
    line-height: 1;
    transition: background .2s ease, color .2s ease;
}

.gf-event-tags a,
.gf-event-tags a:visited {
    color: var(--gf-event-text);
}

.gf-event-tags > span {
    color: var(--gf-event-text);
}

.gf-event-tags a:hover,
.gf-event-tags a:focus-visible {
    background: var(--ast-global-color-5, #111111);
    color: var(--gf-event-text);
}

.gf-event-intro,
.gf-event-long-description {
    color: var(--gf-event-text);
    font-size: 13px;
    line-height: 1.62;
}

.gf-event-intro {
    max-width: 760px;
    margin-bottom: 22px;
}

.gf-event-intro p,
.gf-event-long-description p {
    margin: 0 0 10px;
}

.gf-event-intro p:last-child,
.gf-event-long-description p:last-child {
    margin-bottom: 0;
}

.gf-event-intro a,
.gf-event-intro a:visited,
.gf-event-long-description a,
.gf-event-long-description a:visited {
    color: var(--gf-event-accent) !important;
    text-decoration: underline;
    text-underline-offset: 2px;
    overflow-wrap: anywhere;
}

.gf-event-intro a:hover,
.gf-event-intro a:focus-visible,
.gf-event-long-description a:hover,
.gf-event-long-description a:focus-visible {
    color: var(--gf-event-accent) !important;
    opacity: .82;
}

.gf-event-primary-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 4px;
}

.gf-event-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 42px;
    padding: 10px 17px;
    border: 1px solid transparent;
    border-radius: var(--gf-event-radius);
    cursor: pointer;
    font-size: 12px;
    line-height: 1.1;
    text-transform: uppercase;
    transition: opacity .2s ease, transform .2s ease, background .2s ease, border-color .2s ease;
}

.gf-event-button:hover {
    transform: translateY(-1px);
}

.gf-event-button--primary,
.gf-event-button--primary:visited {
    border-color: var(--gf-event-accent);
    background: var(--gf-event-accent);
    color: var(--gf-event-text);
}

.gf-event-button--primary:hover {
    filter: brightness(1.08);
    color: var(--gf-event-text);
}

.gf-event-button--secondary,
.gf-event-button--secondary:visited {
    border-color: var(--gf-event-border-strong);
    background: transparent;
    color: var(--gf-event-text);
}

.gf-event-button--secondary:hover {
    border-color: var(--gf-event-muted);
    background: rgba(255, 255, 255, .035);
    color: var(--gf-event-text);
}

.gf-event-share {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 30px;
    color: var(--gf-event-muted);
    font-size: 12px;
}

.gf-event-share > span {
    margin-right: 3px;
}

.gf-event-share a,
.gf-event-share button {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid var(--gf-event-border);
    border-radius: 50%;
    background: transparent;
    color: var(--gf-event-text);
    cursor: pointer;
    font-size: 16px;
    transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.gf-event-share a:hover,
.gf-event-share button:hover {
    border-color: var(--gf-event-accent);
    background: rgba(255, 255, 255, .025);
    color: var(--gf-event-accent);
}

/* Content */
.gf-event-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(290px, .95fr);
    gap: var(--gf-event-gap);
    align-items: start;
}

.gf-event-content-main,
.gf-event-content-aside {
    display: grid;
    gap: var(--gf-event-gap);
    min-width: 0;
}

.gf-event-panel {
    overflow: hidden;
    border: 1px solid var(--gf-event-border);
    border-radius: var(--gf-event-radius);
    background: var(--ast-global-color-5, #111111);
}

.gf-event-panel > h2 {
    margin: 0;
    padding: 17px 18px 12px;
    color: var(--gf-event-text);
    font-size: 14px;
    line-height: 1.2;
    text-transform: uppercase;
}

.gf-event-people-panel {
    padding-bottom: 16px;
}

.gf-event-profile-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    padding: 0 18px;
}

.gf-event-profile-grid--shops {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gf-event-profile-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 0;
    border: 1px solid var(--gf-event-border);
    border-radius: var(--gf-event-radius);
    background: var(--ast-global-color-5, #111111);
    color: var(--gf-event-text) !important;
    text-align: center;
    transition: border-color .2s ease, transform .2s ease, background .2s ease;
}

.gf-event-profile-card:hover {
    border-color: rgba(255, 255, 255, .25);
    background: var(--ast-global-color-5, #101010);
    transform: translateY(-2px);
}

.gf-event-profile-card__image {
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--ast-global-color-5, #171717);
    color: var(--gf-event-muted);
    font-size: 28px;
}

.gf-event-profile-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.75) contrast(1.04);
}

.gf-event-profile-card__name {
    overflow: hidden;
    padding: 10px 8px 2px;
    font-size: 14px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gf-event-profile-card__meta {
    padding: 0 8px 10px;
    color: var(--gf-event-accent);
    font-size: 10px;
}

.gf-event-description-panel {
    padding-bottom: 19px;
}

.gf-event-long-description,
.gf-event-description-panel > .gf-event-muted {
    padding: 0 18px;
}

.gf-event-muted {
    color: var(--gf-event-muted);
    font-size: 12px;
    line-height: 1.55;
}

/* Detail card */
.gf-event-detail-panel {
    padding: 8px 18px;
}

.gf-event-detail-row {
    display: grid;
    grid-template-columns: 20px 67px minmax(0, 1fr);
    gap: 9px;
    align-items: baseline;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.gf-event-detail-row:last-child {
    border-bottom: 0;
}

.gf-event-detail-row > i {
    color: var(--gf-event-muted);
    font-size: 12px;
    text-align: center;
}

.gf-event-detail-row > span {
    color: var(--gf-event-text);
    font-size: 12px;
}

.gf-event-detail-row > strong {
    color: var(--gf-event-muted);
    font-size: 11px;
    line-height: 1.5;
}

.gf-event-detail-row--stack {
    grid-template-rows: auto auto auto;
}

.gf-event-detail-row--stack > strong,
.gf-event-detail-row--stack > em,
.gf-event-detail-row--stack > a {
    grid-column: 3;
}

.gf-event-detail-row--stack > em {
    color: var(--gf-event-muted);
    font-size: 11px;
    font-style: normal;
    line-height: 1.5;
}

.gf-event-detail-row--stack > a {
    margin-top: 3px;
    color: var(--gf-event-accent);
    font-size: 10px;
    text-decoration: underline;
    text-transform: uppercase;
}

/* Organizer */
.gf-event-organizer-panel {
    padding-bottom: 12px;
}

.gf-event-organizer {
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 0 17px 8px;
    padding: 8px;
    border-radius: var(--gf-event-radius);
    color: var(--gf-event-text) !important;
    transition: background .2s ease;
}

.gf-event-organizer:hover {
    background: rgba(255, 255, 255, .035);
}

.gf-event-organizer__avatar {
    display: grid;
    place-items: center;
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    overflow: hidden;
    border: 1px solid var(--gf-event-border);
    border-radius: 50%;
    background: var(--ast-global-color-5, #111111);
    color: var(--gf-event-accent);
    font-size: 20px;
}

.gf-event-organizer__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gf-event-organizer > span:last-child {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.gf-event-organizer strong {
    overflow: hidden;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gf-event-organizer em {
    margin-top: 5px;
    color: var(--gf-event-accent);
    font-size: 10px;
    font-style: normal;
    text-transform: uppercase;
}

.gf-event-organizer-panel > .gf-event-muted {
    margin: 0;
    padding: 0 18px 10px;
}

.gf-event-text-action {
    margin: 0 18px 7px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--gf-event-accent);
    cursor: pointer;
    font-size: 11px;
    text-decoration: underline;
    text-transform: uppercase;
}

/* Frontend editor */
body.gf-event-editor-open {
    overflow: hidden;
}

.gf-event-editor[hidden] {
    display: none !important;
}

.gf-event-editor {
    position: fixed;
    z-index: 999999;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
}

.gf-event-editor__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .82);
    backdrop-filter: blur(5px);
}

.gf-event-editor__dialog {
    position: relative;
    display: flex;
    flex-direction: column;
    width: min(900px, 100%);
    max-height: min(92vh, 980px);
    overflow: hidden;
    border: 1px solid var(--gf-event-border-strong);
    border-radius: 8px;
    background: var(--ast-global-color-5, #111111);
    box-shadow: 0 30px 100px rgba(0, 0, 0, .6);
}

.gf-event-editor__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--gf-event-border);
}

.gf-event-editor__header span {
    color: var(--gf-event-accent);
    font-size: 10px;
    text-transform: uppercase;
}

.gf-event-editor__header h2 {
    margin: 3px 0 0;
    color: var(--gf-event-text);
    font-size: 22px;
}

.gf-event-editor__header button {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid var(--gf-event-border);
    border-radius: 50%;
    background: transparent;
    color: var(--gf-event-text);
    cursor: pointer;
}

.gf-event-editor__form {
    overflow-y: auto;
    padding: 18px;
}

.gf-event-editor__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.gf-event-editor__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    margin: 0;
}

.gf-event-editor__field--wide {
    grid-column: 1 / -1;
}

.gf-event-editor__field > span {
    color: var(--gf-event-text);
    font-size: 11px;
}

.gf-event-editor__field small {
    color: var(--gf-event-muted);
    font-size: 10px;
    line-height: 1.4;
}

.gf-event-editor__field input,
.gf-event-editor__field select,
.gf-event-editor__field textarea {
    width: 100%;
    min-height: 42px;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid var(--gf-event-border-strong);
    border-radius: 5px;
    outline: none;
    background: var(--ast-global-color-5, #151515);
    color: var(--gf-event-text);
    font-size: 13px;
    line-height: 1.45;
}

.gf-event-editor__field textarea {
    resize: vertical;
}

.gf-event-profile-picker {
    position: relative;
}

.gf-event-profile-picker > small i {
    margin-right: 5px;
    color: var(--gf-event-accent);
}

.gf-event-profile-picker__control {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    width: 100%;
    min-height: 48px;
    padding: 7px 9px;
    border: 1px solid var(--gf-event-border-strong);
    border-radius: 5px;
    background: var(--ast-global-color-5, #151515);
    cursor: text;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.gf-event-profile-picker:focus-within .gf-event-profile-picker__control {
    border-color: var(--gf-event-accent);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--gf-event-accent) 22%, transparent);
}

.gf-event-profile-chips {
    display: contents;
}

.gf-event-profile-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    min-height: 32px;
    padding: 4px 5px 4px 9px;
    border: 1px solid color-mix(in srgb, var(--gf-event-accent) 35%, var(--gf-event-border-strong));
    border-radius: 999px;
    background: color-mix(in srgb, var(--gf-event-accent) 10%, #1b1b1b);
    color: var(--gf-event-text);
    font-size: 11px;
    line-height: 1.2;
}

.gf-event-profile-chip.is-new {
    border-style: dashed;
    background: var(--ast-global-color-5, #1b1b1b);
}

.gf-event-profile-chip > i {
    flex: 0 0 auto;
    color: var(--gf-event-accent);
    font-size: 10px;
}

.gf-event-profile-chip__name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gf-event-profile-chip__badge {
    flex: 0 0 auto;
    padding: 2px 5px;
    border: 1px solid var(--gf-event-border-strong);
    border-radius: 999px;
    color: var(--gf-event-muted);
    font-size: 8px;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.gf-event-profile-chip__remove {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 24px;
    height: 24px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--gf-event-muted);
    cursor: pointer;
}

.gf-event-profile-chip__remove:hover,
.gf-event-profile-chip__remove:focus-visible {
    outline: none;
    background: color-mix(in srgb, var(--gf-event-accent) 20%, transparent);
    color: var(--gf-event-text);
}

.gf-event-profile-picker__search {
    display: flex;
    flex: 1 1 220px;
    align-items: center;
    gap: 7px;
    min-width: 150px;
}

.gf-event-profile-picker__search > i {
    flex: 0 0 auto;
    color: var(--gf-event-muted);
    font-size: 11px;
}

.gf-event-editor__field .gf-event-profile-picker__search input[type="search"] {
    flex: 1 1 auto;
    width: auto;
    min-width: 100px;
    min-height: 32px;
    padding: 4px 2px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--gf-event-text);
    font-size: 13px;
}

.gf-event-editor__field .gf-event-profile-picker__search input[type="search"]:focus {
    border: 0;
    box-shadow: none;
}

.gf-event-profile-picker__search input[type="search"]::-webkit-search-cancel-button {
    opacity: .55;
    cursor: pointer;
}

.gf-event-profile-suggestions {
    position: relative;
    z-index: 2;
    width: 100%;
    margin-top: -1px;
    max-height: 280px;
    overflow-y: auto;
    border: 1px solid var(--gf-event-border-strong);
    border-radius: 5px;
    background: var(--ast-global-color-5, #111111);
    box-shadow: 0 16px 36px rgba(0, 0, 0, .5);
}

.gf-event-profile-suggestions[hidden] {
    display: none !important;
}

.gf-event-profile-suggestions__label {
    padding: 8px 11px 6px;
    border-bottom: 1px solid var(--gf-event-border);
    color: var(--gf-event-muted);
    font-size: 9px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.gf-event-profile-suggestions__item,
.gf-event-profile-suggestions__create {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 9px 11px;
    border: 0;
    border-bottom: 1px solid var(--gf-event-border);
    border-radius: 0;
    background: transparent;
    color: var(--gf-event-text);
    text-align: left;
    cursor: pointer;
}

.gf-event-profile-suggestions__item:last-child,
.gf-event-profile-suggestions__create:last-child {
    border-bottom: 0;
}

.gf-event-profile-suggestions__item:hover,
.gf-event-profile-suggestions__item.is-active,
.gf-event-profile-suggestions__item:focus-visible,
.gf-event-profile-suggestions__create:hover,
.gf-event-profile-suggestions__create.is-active,
.gf-event-profile-suggestions__create:focus-visible {
    outline: none;
    background: color-mix(in srgb, var(--gf-event-accent) 12%, #151515);
}

.gf-event-profile-suggestions__item:disabled,
.gf-event-profile-suggestions__item.is-selected {
    opacity: .58;
    cursor: default;
}

.gf-event-profile-suggestions__item:disabled:hover {
    background: transparent;
}

.gf-event-profile-suggestions__item > i,
.gf-event-profile-suggestions__create > i {
    color: var(--gf-event-accent);
    text-align: center;
}

.gf-event-profile-suggestions__name {
    min-width: 0;
    overflow: hidden;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gf-event-profile-suggestions__reuse {
    color: var(--gf-event-muted);
    font-size: 9px;
    white-space: nowrap;
}

.gf-event-profile-suggestions__create {
    grid-template-columns: 22px minmax(0, 1fr);
    background: var(--ast-global-color-5, #151515);
}

.gf-event-profile-suggestions__create span {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.gf-event-profile-suggestions__create strong {
    color: var(--gf-event-text);
    font-size: 11px;
}

.gf-event-profile-suggestions__create small {
    overflow: hidden;
    color: var(--gf-event-muted);
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gf-event-profile-suggestions__notice,
.gf-event-profile-suggestions__loading,
.gf-event-profile-suggestions__empty {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 11px;
    color: var(--gf-event-muted);
    font-size: 11px;
    line-height: 1.45;
}

.gf-event-profile-suggestions__notice {
    border-top: 1px solid var(--gf-event-border);
    color: var(--gf-event-muted);
}

.gf-event-profile-suggestions__notice i,
.gf-event-profile-suggestions__loading i,
.gf-event-profile-suggestions__empty i {
    margin-top: 2px;
    color: var(--gf-event-accent);
}

.gf-event-editor__field input:focus,
.gf-event-editor__field select:focus,
.gf-event-editor__field textarea:focus {
    border-color: var(--gf-event-accent);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--gf-event-accent) 22%, transparent);
}

.gf-event-editor__status {
    min-height: 20px;
    margin-top: 14px;
    color: var(--gf-event-text);
    font-size: 12px;
}

.gf-event-editor__status.is-error {
    color: var(--gf-event-accent);
}

.gf-event-editor__footer {
    display: flex;
    justify-content: flex-end;
    gap: 9px;
    margin-top: 8px;
    padding-top: 14px;
    border-top: 1px solid var(--gf-event-border);
}

.gf-event-toast {
    position: fixed;
    z-index: 1000001;
    right: 18px;
    bottom: 18px;
    max-width: min(380px, calc(100vw - 36px));
    padding: 12px 15px;
    border: 1px solid var(--gf-event-border-strong);
    border-radius: 6px;
    background: var(--ast-global-color-5, #161616);
    color: var(--gf-event-text);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .45);
    font-size: 12px;
    line-height: 1.45;
}

.gf-event-toast.is-error {
    border-color: var(--gf-event-accent);
}

/* Ultimate Member — Eventos seguidos */
.gf-followed-events-empty {
    display: grid;
    place-items: center;
    gap: 10px;
    min-height: 170px;
    padding: 24px;
    border: 1px solid var(--gf-event-border);
    border-radius: 6px;
    background: var(--ast-global-color-5, #111111);
    color: var(--gf-event-muted);
    text-align: center;
}

.gf-followed-events-empty i {
    color: var(--gf-event-accent);
    font-size: 30px;
}

.gf-followed-events-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.gf-followed-event-card {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--gf-event-border);
    border-radius: 6px;
    background: var(--ast-global-color-5, #111111);
}

.gf-followed-event-image {
    display: grid;
    place-items: center;
    min-height: 135px;
    overflow: hidden;
    background: var(--ast-global-color-5, #171717);
    color: var(--gf-event-muted);
}

.gf-followed-event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gf-followed-event-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 14px;
}

.gf-followed-event-date {
    color: var(--gf-event-accent);
    font-size: 10px;
    text-transform: uppercase;
}

.gf-followed-event-body h3 {
    margin: 6px 0 12px;
    font-size: 17px;
    line-height: 1.2;
}

.gf-followed-event-body h3 a,
.gf-followed-event-body h3 a:visited {
    color: var(--gf-event-accent);
}

.gf-followed-event-link,
.gf-followed-event-link:visited,
.gf-followed-event-link:hover,
.gf-followed-event-link:focus-visible {
    color: var(--gf-event-accent) !important;
    font-size: 11px;
}

/* Cartel a pantalla completa — siempre cabe completo en el viewport. */
.gf-image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000000;
    display: grid;
    place-items: center;
    padding: 12px;
    overflow: hidden;
    background: color-mix(in srgb, var(--ast-global-color-4, #000) 96%, transparent);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, visibility .2s ease;
}

.gf-image-lightbox.gf-image-lightbox-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.gf-image-lightbox-content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: calc(100vw - 24px);
    height: calc(100vh - 24px);
    max-height: calc(100vh - 24px);
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}

@supports (height: 100dvh) {
    .gf-image-lightbox-content {
        height: calc(100dvh - 24px);
        max-height: calc(100dvh - 24px);
    }
}

.gf-image-lightbox-img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    margin: auto;
    object-fit: contain;
    object-position: center;
}

.gf-image-lightbox-close {
    position: absolute;
    z-index: 2;
    top: 18px;
    right: 18px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--gf-event-accent);
    color: var(--gf-event-text);
    cursor: pointer;
}

.gf-image-lightbox-close:focus-visible {
    outline: 2px solid var(--gf-event-text);
    outline-offset: 3px;
}

body.gf-image-lightbox-active {
    overflow: hidden !important;
}

/* Las fuentes y pesos quedan en manos de Astra. El plugin solo define tamaño,
   estructura y jerarquía, no una familia o peso propios. */
.gf-single-event,
.gf-single-event button,
.gf-single-event input,
.gf-single-event select,
.gf-single-event textarea {
    color: var(--gf-event-text);
}

/* Tablet */
@media (max-width: 980px) {
    .gf-event-hero {
        grid-template-columns: minmax(250px, 36%) minmax(0, 1fr);
        gap: 22px;
    }

    .gf-event-summary h1 {
        font-size: clamp(30px, 5vw, 44px);
        margin-bottom: 18px;
    }

    .gf-event-facts {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .gf-event-profile-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gf-event-content-grid {
        grid-template-columns: minmax(0, 1.6fr) minmax(250px, .85fr);
    }

    .gf-followed-events-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile — composición vertical del mockup */
@media (max-width: 767px) {
    .gf-single-event__inner {
        width: min(100% - 24px, 620px);
        padding: 13px 0 26px;
    }

    .gf-event-breadcrumb {
        margin-bottom: 12px;
        font-size: 10px;
    }

    .gf-event-toolbar {
        justify-content: flex-start;
        margin: 0 0 10px;
    }

    .gf-event-toolbar__button {
        min-height: 34px;
        padding: 7px 10px;
        font-size: 10px;
    }

    .gf-event-hero {
        display: flex;
        flex-direction: column;
        gap: 14px;
        margin-bottom: 10px;
    }

    .gf-event-poster {
        width: 100%;
        aspect-ratio: 4 / 5;
    }

    .gf-event-summary {
        padding: 0 2px;
    }

    .gf-event-kicker {
        margin: 1px 0 8px;
        font-size: 10px;
    }

    .gf-event-summary h1 {
        margin-bottom: 15px;
        font-size: clamp(28px, 8.2vw, 40px);
        line-height: 1.08;
    }

    .gf-event-facts {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 16px;
    }

    .gf-event-fact {
        grid-template-columns: 20px minmax(0, 1fr);
        gap: 8px;
    }

    .gf-event-fact strong {
        font-size: 11px;
    }

    .gf-event-fact span {
        font-size: 10px;
    }

    .gf-event-tags {
        gap: 5px;
        margin-bottom: 13px;
    }

    .gf-event-tags a {
        min-height: 25px;
        padding: 5px 10px;
        font-size: 9px;
    }

    .gf-event-intro,
    .gf-event-long-description {
        font-size: 12px;
        line-height: 1.55;
    }

    .gf-event-intro {
        margin-bottom: 15px;
    }

    .gf-event-primary-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .gf-event-button {
        width: 100%;
        min-height: 42px;
        padding: 10px 12px;
        font-size: 10px;
    }

    .gf-event-share {
        justify-content: center;
        gap: 7px;
        margin-top: 10px;
        padding: 8px;
        border: 1px solid var(--gf-event-border);
        border-radius: var(--gf-event-radius);
    }

    .gf-event-share a,
    .gf-event-share button {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .gf-event-content-grid {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .gf-event-content-main,
    .gf-event-content-aside {
        width: 100%;
        gap: 10px;
    }

    .gf-event-content-aside {
        order: -1;
    }

    .gf-event-panel > h2 {
        padding: 14px 14px 10px;
        font-size: 12px;
    }

    .gf-event-profile-grid,
    .gf-event-profile-grid--shops {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
        padding: 0 13px;
    }

    .gf-event-profile-card__name {
        font-size: 12px;
    }

    .gf-event-profile-card__meta {
        font-size: 9px;
    }

    .gf-event-detail-panel {
        padding: 6px 14px;
    }

    .gf-event-detail-row {
        grid-template-columns: 18px 62px minmax(0, 1fr);
        gap: 7px;
        padding: 12px 0;
    }

    .gf-event-detail-row > span,
    .gf-event-detail-row > strong,
    .gf-event-detail-row--stack > em {
        font-size: 10px;
    }

    .gf-event-description-panel {
        padding-bottom: 14px;
    }

    .gf-event-long-description,
    .gf-event-description-panel > .gf-event-muted {
        padding: 0 14px;
    }

    .gf-event-organizer {
        margin-inline: 12px;
    }

    .gf-event-editor {
        place-items: stretch;
        padding: 0;
    }

    .gf-event-editor__dialog {
        width: 100%;
        height: 100dvh;
        max-height: none;
        border: 0;
        border-radius: 0;
    }

    .gf-event-editor__grid {
        grid-template-columns: 1fr;
    }

    .gf-event-editor__field--wide {
        grid-column: auto;
    }

    .gf-event-editor__footer {
        display: grid;
        grid-template-columns: 1fr;
    }

    .gf-followed-event-card {
        grid-template-columns: 92px minmax(0, 1fr);
    }

    .gf-followed-event-image {
        min-height: 112px;
    }

    .gf-followed-event-body {
        padding: 11px;
    }

    .gf-followed-event-body h3 {
        font-size: 15px;
    }
}

@media (max-width: 420px) {
    .gf-event-profile-grid,
    .gf-event-profile-grid--shops {
        grid-template-columns: 1fr 1fr;
    }

    .gf-event-share > span {
        width: 100%;
        margin: 0 0 2px;
        text-align: center;
    }
}
