
.rncoe-gm{font-family:var(--rncoe-gm-font,Arial,sans-serif);color:var(--rncoe-gm-ink,#172033);font-size:var(--rncoe-gm-body-size,14px);line-height:1.55}
.rncoe-gm *{box-sizing:border-box}
.rncoe-gm-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:0 0 28px}
.rncoe-gm-toolbar h2{margin:0;color:var(--rncoe-gm-navy,#071d35);font-size:clamp(21px,var(--rncoe-gm-title-size,24px),36px);line-height:1.3;font-weight:750}
.rncoe-gm-toolbar p{margin:5px 0 0;color:var(--rncoe-gm-muted,#687385);font-size:.95em}
.rncoe-gm-search{width:min(375px,100%);display:flex;align-items:center;gap:10px;border:1px solid #dfe6ee;border-radius:14px;padding:0 15px;background:#fff;min-height:54px}
.rncoe-gm-search span{font-size:22px;color:var(--rncoe-gm-muted,#687385)}
.rncoe-gm-search input{width:100%;min-width:0;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;padding:12px 0!important;font:inherit!important;color:var(--rncoe-gm-ink,#172033)}
.rncoe-gm-event{margin:0 0 34px;padding:0 0 26px;border-bottom:0}
.rncoe-gm-event-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:20px}
.rncoe-gm-event-title-wrap{display:flex;gap:14px;align-items:flex-start;min-width:0}
.rncoe-gm-event-accent{width:5px;min-height:55px;border-radius:8px;background:var(--rncoe-gm-pink,#ec168c);flex:none}
.rncoe-gm-event-heading h3{margin:0;color:var(--rncoe-gm-navy,#071d35);font-size:var(--rncoe-gm-title-size,19px);line-height:1.35;font-weight:750}
.rncoe-gm-event-heading p{margin:5px 0 0;color:var(--rncoe-gm-muted,#687385);font-size:var(--rncoe-gm-date-size,11px)}
.rncoe-gm-event-category{font-size:11px;color:var(--rncoe-gm-blue,#15558a);background:var(--rncoe-gm-blue-light,#eff7ff);padding:8px 12px;border-radius:9px;font-weight:800;white-space:normal}
.rncoe-gm-description{font-size:.92em;color:var(--rncoe-gm-muted,#687385);margin-top:8px}
.rncoe-gm-description p{margin:5px 0}
.rncoe-gm-carousel{position:relative;padding:0}
.rncoe-gm-viewport{overflow:hidden;border-radius:15px}
.rncoe-gm-track{display:flex;align-items:stretch;gap:14px;transition:transform .35s ease;will-change:transform}
.rncoe-gm-photo{position:relative;flex:0 0 calc((100% - 28px)/3);min-width:0;border:1px solid #dfe6ee;border-radius:15px;overflow:hidden;background:#fff;cursor:zoom-in;padding:0;display:flex;flex-direction:column;text-align:left;box-shadow:0 2px 7px #071d3508;color:var(--rncoe-gm-muted,#687385)}
.rncoe-gm-photo-image{position:relative;display:block;overflow:hidden;background:#edf2f6;aspect-ratio:16/10;width:100%;flex:none}
.rncoe-gm-photo-image img{display:block;width:100%;height:100%;aspect-ratio:16/10;object-fit:cover;transition:transform .3s}
.rncoe-gm-photo:hover .rncoe-gm-photo-image img{transform:scale(1.025)}
.rncoe-gm-photo-caption{display:block;padding:10px 13px 11px;background:#fff;color:#65738a;font-size:12px;line-height:1.35;min-height:40px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rncoe-gm-image-fallback{display:none;position:absolute;inset:0;align-items:center;justify-content:center;color:#7b8796;font-size:13px;background:#edf2f6}
.rncoe-gm-photo-image.is-broken img{display:none}
.rncoe-gm-photo-image.is-broken .rncoe-gm-image-fallback{display:flex}
.rncoe-gm-photo:focus-visible{outline:3px solid var(--rncoe-gm-pink,#ec168c);outline-offset:3px}
.rncoe-gm-arrow{position:absolute;top:calc((100% - 40px)/2);transform:translateY(-50%);width:44px;height:44px;border:1px solid #dfe6ee;background:#fff;color:var(--rncoe-gm-navy,#071d35);border-radius:50%;display:grid;place-items:center;cursor:pointer;box-shadow:0 7px 22px #071d3514;z-index:2;font-size:24px;line-height:1;padding:0}
.rncoe-gm-arrow:hover:not(:disabled){background:var(--rncoe-gm-pink,#ec168c);border-color:var(--rncoe-gm-pink,#ec168c);color:#fff}
.rncoe-gm-arrow.prev{left:-19px}.rncoe-gm-arrow.next{right:-19px}
.rncoe-gm-arrow:disabled{opacity:.42;cursor:default}
.rncoe-gm-dots{display:flex;justify-content:center;gap:6px;margin-top:14px}
.rncoe-gm-dot{width:7px;height:7px;padding:0;border:0;border-radius:20px;background:#cbd5e1;cursor:pointer;transition:background .2s,width .2s}
.rncoe-gm-dot.active{width:24px;background:var(--rncoe-gm-pink,#ec168c)}
.rncoe-gm-no-photos,.rncoe-gm-empty{padding:20px;border:1px dashed #d7dfe8;border-radius:14px;color:var(--rncoe-gm-muted,#687385);font-size:.9em}
.rncoe-gm-empty{text-align:center}
.rncoe-gm [hidden]{display:none!important}
.rncoe-gm-lightbox{position:fixed;inset:0;background:rgba(3,12,24,.94);z-index:999999;display:flex;align-items:center;justify-content:center;padding:30px}
.rncoe-gm-lightbox[hidden],.rncoe-gm .rncoe-gm-lightbox[hidden]{display:none!important;visibility:hidden!important;pointer-events:none!important}
.rncoe-gm .rncoe-gm-lightbox:not([hidden]){display:flex!important;visibility:visible;pointer-events:auto}
.rncoe-gm-lightbox-inner{position:relative;width:min(1120px,100%);height:min(86vh,800px);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px}
.rncoe-gm-lightbox-inner img{max-width:100%;max-height:calc(100% - 48px);object-fit:contain;border-radius:5px;box-shadow:0 15px 50px #0006}
.rncoe-gm-lb-caption{color:#fff;text-align:center;font-size:13px}
.rncoe-gm-lb-close,.rncoe-gm-lb-arrow{position:absolute;border:1px solid #ffffff55;background:#ffffff16;color:#fff;border-radius:50%;display:grid;place-items:center;cursor:pointer;z-index:2;padding:0}
.rncoe-gm-lb-close{right:0;top:0;width:42px;height:42px;font-size:24px}
.rncoe-gm-lb-arrow{top:50%;transform:translateY(-50%);width:46px;height:46px;font-size:28px}
.rncoe-gm-lb-arrow.prev{left:0}.rncoe-gm-lb-arrow.next{right:0}
.rncoe-gm-lb-close:hover,.rncoe-gm-lb-arrow:hover{background:var(--rncoe-gm-pink,#ec168c);border-color:var(--rncoe-gm-pink,#ec168c)}
body.rncoe-gm-lightbox-open{overflow:hidden}
@media(max-width:800px){.rncoe-gm-toolbar{align-items:flex-start;flex-direction:column}.rncoe-gm-search{width:100%}.rncoe-gm-photo{flex-basis:calc((100% - 14px)/2)}.rncoe-gm-arrow.prev{left:6px}.rncoe-gm-arrow.next{right:6px}}
@media(max-width:560px){.rncoe-gm-event-heading h3{font-size:calc(var(--rncoe-gm-title-size,19px)*.9)}.rncoe-gm-event-category{display:none}.rncoe-gm-photo{flex-basis:100%}.rncoe-gm-track{gap:10px}.rncoe-gm-arrow{width:34px;height:34px}.rncoe-gm-arrow.prev{left:7px}.rncoe-gm-arrow.next{right:7px}.rncoe-gm-lightbox{padding:12px}.rncoe-gm-lightbox-inner{height:90vh}.rncoe-gm-lb-arrow{width:38px;height:38px}.rncoe-gm-lb-arrow.prev{left:2px}.rncoe-gm-lb-arrow.next{right:2px}}
@media(prefers-reduced-motion:reduce){.rncoe-gm *{scroll-behavior:auto!important;transition:none!important}}


/* v1.4.0: enforce the requested light card appearance even when theme button styles are global. */
.rncoe-gm .rncoe-gm-carousel,
.rncoe-gm .rncoe-gm-viewport,
.rncoe-gm .rncoe-gm-track { background: transparent !important; border: 0 !important; box-shadow: none !important; }
.rncoe-gm .rncoe-gm-photo,
.rncoe-gm button.rncoe-gm-photo {
  appearance: none !important; -webkit-appearance: none !important;
  background: #fff !important; color: #65738a !important;
  border: 1px solid #dfe6ee !important; border-radius: 15px !important;
  box-shadow: 0 2px 7px rgba(7,29,53,.03) !important;
  padding: 0 !important; margin: 0 !important; outline-offset: 3px;
  display: flex !important; flex-direction: column !important; align-items: stretch !important;
  text-align: left !important; overflow: hidden !important; min-height: 0 !important;
}
.rncoe-gm .rncoe-gm-photo::before,
.rncoe-gm .rncoe-gm-photo::after { content: none !important; display: none !important; }
.rncoe-gm .rncoe-gm-photo-image { display: block !important; position: relative !important; width: 100% !important; aspect-ratio: 16 / 10 !important; height: auto !important; overflow: hidden !important; background: #edf2f6 !important; padding: 0 !important; margin: 0 !important; }
.rncoe-gm .rncoe-gm-photo-image img { display: block !important; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover !important; border: 0 !important; border-radius: 0 !important; margin: 0 !important; padding: 0 !important; }
.rncoe-gm .rncoe-gm-photo-caption { display: block !important; width: 100% !important; min-height: 40px !important; padding: 10px 13px 11px !important; margin: 0 !important; background: #fff !important; color: #65738a !important; font-size: 12px !important; line-height: 1.35 !important; font-weight: 400 !important; text-transform: none !important; border: 0 !important; border-radius: 0 !important; }
.rncoe-gm .rncoe-gm-arrow { background: #fff !important; color: #071d35 !important; border: 1px solid #dfe6ee !important; border-radius: 50% !important; box-shadow: 0 7px 22px rgba(7,29,53,.08) !important; padding: 0 !important; min-width: 0 !important; min-height: 0 !important; text-transform: none !important; }
.rncoe-gm .rncoe-gm-arrow:hover:not(:disabled) { background: var(--rncoe-gm-pink,#ec168c) !important; border-color: var(--rncoe-gm-pink,#ec168c) !important; color: #fff !important; }
.rncoe-gm .rncoe-gm-dots { background: transparent !important; border: 0 !important; }
.rncoe-gm .rncoe-gm-dot { background: #cbd5e1 !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; min-width: 0 !important; min-height: 0 !important; }
.rncoe-gm .rncoe-gm-dot.active { background: var(--rncoe-gm-pink,#ec168c) !important; }
.rncoe-gm .rncoe-gm-image-fallback { display: none !important; position: absolute !important; inset: 0 !important; align-items: center !important; justify-content: center !important; color: #7b8796 !important; background: #edf2f6 !important; font-size: 13px !important; }
.rncoe-gm .rncoe-gm-photo-image.is-broken img { display: none !important; }
.rncoe-gm .rncoe-gm-photo-image.is-broken .rncoe-gm-image-fallback { display: flex !important; }

/* v1.6.0: captions may wrap naturally for long event titles and photo counts. */
.rncoe-gm .rncoe-gm-photo-caption {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    overflow-wrap: anywhere;
    word-break: normal;
    line-height: 1.45;
    min-height: 40px;
    height: auto;
    text-align: left;
}
.rncoe-gm .rncoe-gm-photo {
    height: auto;
    align-self: stretch;
}


/* v2.0.0: Event actions ("Read Post" link) & upgraded portal lightbox viewer */
.rncoe-gm .rncoe-gm-event-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex: none;
}
.rncoe-gm a.rncoe-gm-post-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 700;
    color: var(--rncoe-gm-navy, #071d35) !important;
    background: var(--rncoe-gm-pink-light, #fff1f8) !important;
    border: 1px solid rgba(236, 22, 140, .25) !important;
    padding: 7px 13px;
    border-radius: 9px;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.rncoe-gm a.rncoe-gm-post-link:hover,
.rncoe-gm a.rncoe-gm-post-link:focus-visible {
    background: var(--rncoe-gm-pink, #ec168c) !important;
    border-color: var(--rncoe-gm-pink, #ec168c) !important;
    color: #fff !important;
}
@media (max-width: 560px) {
    .rncoe-gm .rncoe-gm-event-heading { flex-direction: column; gap: 10px; }
    .rncoe-gm .rncoe-gm-event-actions { justify-content: flex-start; }
}

/* Portal Lightbox (mounted on document.body) */
.rncoe-gm-lightbox {
    position: fixed !important;
    inset: 0 !important;
    z-index: 999999 !important;
    padding: 0 !important;
    margin: 0 !important;
    font-family: var(--rncoe-gm-font, Inter, Arial, sans-serif);
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    justify-content: stretch;
    background: rgba(4, 13, 26, .95) !important;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff;
    box-sizing: border-box;
}
.rncoe-gm-lightbox * { box-sizing: border-box; }
.rncoe-gm-lightbox[hidden] {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}
.rncoe-gm-lb-backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.rncoe-gm-lb-shell {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding: 14px 20px 16px;
    gap: 10px;
}
.rncoe-gm-lb-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 44px;
    flex: none;
}
.rncoe-gm-lb-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
.rncoe-gm-lb-counter {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em;
    flex: none;
}
.rncoe-gm-lb-title {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, .92);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.rncoe-gm-lb-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: none;
    margin-right: 30px;
}
.rncoe-gm-lightbox .rncoe-gm-lb-btn {
    appearance: none !important;
    -webkit-appearance: none !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 50% !important;
    border: 1px solid rgba(255, 255, 255, .28) !important;
    background: rgba(255, 255, 255, .1) !important;
    color: #fff !important;
    display: inline-grid !important;
    place-items: center !important;
    font-size: 20px !important;
    line-height: 1 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    box-shadow: none !important;
    transition: background .18s ease, border-color .18s ease, transform .15s ease;
}
.rncoe-gm-lightbox .rncoe-gm-lb-btn:hover,
.rncoe-gm-lightbox .rncoe-gm-lb-btn:focus-visible {
    background: var(--rncoe-gm-pink, #ec168c) !important;
    border-color: var(--rncoe-gm-pink, #ec168c) !important;
    color: #fff !important;
    outline: none;
}
.rncoe-gm-lb-stage {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0 56px;
}
.rncoe-gm-lb-figure {
    position: relative;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.rncoe-gm-lb-img {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 210px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 18px 55px rgba(0, 0, 0, .55);
    opacity: 0;
    cursor: zoom-in;
    user-select: none;
    transition: opacity .22s ease, transform .22s ease;
}
.rncoe-gm-lb-img.is-loaded { opacity: 1; }
.rncoe-gm-lightbox.is-zoomed .rncoe-gm-lb-img {
    cursor: grab;
    transition: opacity .22s ease;
}
.rncoe-gm-lightbox.is-zoomed .rncoe-gm-lb-img:active { cursor: grabbing; }
.rncoe-gm-lb-spinner {
    position: absolute;
    width: 38px;
    height: 38px;
    border: 3px solid rgba(255, 255, 255, .2);
    border-top-color: var(--rncoe-gm-pink, #ec168c);
    border-radius: 50%;
    animation: rncoeGmSpin .75s linear infinite;
}
.rncoe-gm-lb-spinner[hidden] { display: none !important; }
@keyframes rncoeGmSpin { to { transform: rotate(360deg); } }

.rncoe-gm-lightbox .rncoe-gm-lb-arrow {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 50% !important;
    border: 1px solid rgba(255, 255, 255, .3) !important;
    background: rgba(7, 29, 53, .65) !important;
    color: #fff !important;
    display: grid !important;
    place-items: center !important;
    font-size: 30px !important;
    line-height: 1 !important;
    cursor: pointer !important;
    z-index: 3;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .35) !important;
    transition: background .18s ease, border-color .18s ease;
}
.rncoe-gm-lightbox .rncoe-gm-lb-arrow[hidden] { display: none !important; }
.rncoe-gm-lightbox .rncoe-gm-lb-arrow.prev { left: 4px !important; }
.rncoe-gm-lightbox .rncoe-gm-lb-arrow.next { right: 4px !important; }
.rncoe-gm-lightbox .rncoe-gm-lb-arrow:hover,
.rncoe-gm-lightbox .rncoe-gm-lb-arrow:focus-visible {
    background: var(--rncoe-gm-pink, #ec168c) !important;
    border-color: var(--rncoe-gm-pink, #ec168c) !important;
    outline: none;
}

.rncoe-gm-lb-footer {
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.rncoe-gm-lb-caption-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    max-width: 960px;
}
.rncoe-gm-lb-caption {
    color: rgba(255, 255, 255, .92);
    font-size: 13px;
    line-height: 1.45;
    text-align: center;
}
.rncoe-gm-lightbox a.rncoe-gm-lb-post-link {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--rncoe-gm-pink, #ec168c) !important;
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
}
.rncoe-gm-lightbox a.rncoe-gm-lb-post-link[hidden] { display: none !important; }
.rncoe-gm-lightbox a.rncoe-gm-lb-post-link:hover { opacity: .9; }

.rncoe-gm-lb-thumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: min(920px, 100%);
    overflow-x: auto;
    padding: 4px 6px;
    scrollbar-width: thin;
}
.rncoe-gm-lb-thumbs[hidden] { display: none !important; }
.rncoe-gm-lightbox .rncoe-gm-lb-thumb {
    appearance: none !important;
    -webkit-appearance: none !important;
    flex: none;
    width: 56px !important;
    height: 40px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 2px solid transparent !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    background: rgba(255, 255, 255, .1) !important;
    opacity: .55;
    cursor: pointer !important;
    transition: opacity .18s ease, border-color .18s ease, transform .18s ease;
}
.rncoe-gm-lightbox .rncoe-gm-lb-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.rncoe-gm-lightbox .rncoe-gm-lb-thumb:hover { opacity: .88; }
.rncoe-gm-lightbox .rncoe-gm-lb-thumb.is-active {
    opacity: 1;
    border-color: var(--rncoe-gm-pink, #ec168c) !important;
    transform: translateY(-2px);
}

@media (max-width: 640px) {
    .rncoe-gm-lb-shell { padding: 10px 10px 12px; }
    .rncoe-gm-lb-stage { padding: 0 40px; }
    .rncoe-gm-lb-img { max-height: calc(100vh - 190px); }
    .rncoe-gm-lightbox .rncoe-gm-lb-arrow { width: 38px !important; height: 38px !important; min-width: 38px !important; min-height: 38px !important; font-size: 24px !important; }
    .rncoe-gm-lightbox .rncoe-gm-lb-thumb { width: 46px !important; height: 34px !important; }
}


/* v3.0.0: RNCOE Posts Grid, Single Post Layout & Elementor Widgets */
.rncoe-gm .rncoe-posts-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 22px;
}
.rncoe-gm button.rncoe-posts-tab {
    appearance: none !important;
    -webkit-appearance: none !important;
    padding: 8px 16px !important;
    border-radius: 999px !important;
    border: 1px solid #dfe6ee !important;
    background: #fff !important;
    color: var(--rncoe-gm-ink, #172033) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.rncoe-gm button.rncoe-posts-tab:hover,
.rncoe-gm button.rncoe-posts-tab.is-active {
    background: var(--rncoe-gm-pink, #ec168c) !important;
    border-color: var(--rncoe-gm-pink, #ec168c) !important;
    color: #fff !important;
}

.rncoe-gm .rncoe-posts-grid {
    display: grid;
    grid-template-columns: repeat(var(--rncoe-posts-cols, 3), minmax(0, 1fr));
    gap: 22px;
}
.rncoe-gm .rncoe-post-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #dfe6ee;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(7, 29, 53, .05);
    transition: transform .22s ease, box-shadow .22s ease;
}
.rncoe-gm .rncoe-post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(7, 29, 53, .1);
}
.rncoe-gm a.rncoe-post-card-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    background: #edf2f6;
    overflow: hidden;
    text-decoration: none !important;
}
.rncoe-gm .rncoe-post-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}
.rncoe-gm .rncoe-post-card:hover .rncoe-post-card-media img {
    transform: scale(1.04);
}
.rncoe-gm .rncoe-post-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--rncoe-gm-navy, #071d35), var(--rncoe-gm-blue, #15558a));
    color: rgba(255, 255, 255, .85);
    font-weight: 800;
    letter-spacing: .12em;
    font-size: 18px;
}
.rncoe-gm .rncoe-post-card-pin {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--rncoe-gm-pink, #ec168c);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}
.rncoe-gm .rncoe-post-card-photos {
    position: absolute;
    bottom: 10px;
    right: 10px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(7, 29, 53, .82);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}
.rncoe-gm .rncoe-post-card-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 16px 18px 18px;
    gap: 8px;
}
.rncoe-gm .rncoe-post-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: var(--rncoe-gm-date-size, 11px);
    color: var(--rncoe-gm-muted, #687385);
}
.rncoe-gm .rncoe-post-card-cat {
    padding: 3px 9px;
    border-radius: 6px;
    background: var(--rncoe-gm-blue-light, #eff7ff);
    color: var(--rncoe-gm-blue, #15558a);
    font-weight: 700;
}
.rncoe-gm .rncoe-post-card-title {
    margin: 0;
    font-size: var(--rncoe-gm-title-size, 18px);
    line-height: 1.35;
    font-weight: 750;
}
.rncoe-gm .rncoe-post-card-title a {
    color: var(--rncoe-gm-navy, #071d35) !important;
    text-decoration: none !important;
}
.rncoe-gm .rncoe-post-card-title a:hover {
    color: var(--rncoe-gm-pink, #ec168c) !important;
}
.rncoe-gm .rncoe-post-card-venue {
    margin: 0;
    font-size: 12px;
    color: var(--rncoe-gm-blue, #15558a);
    font-weight: 600;
}
.rncoe-gm .rncoe-post-card-excerpt {
    margin: 0;
    font-size: .92em;
    color: var(--rncoe-gm-muted, #687385);
    line-height: 1.5;
}
.rncoe-gm a.rncoe-post-card-more {
    margin-top: auto;
    padding-top: 6px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 700;
    color: var(--rncoe-gm-pink, #ec168c) !important;
    text-decoration: none !important;
}
.rncoe-gm a.rncoe-post-card-more:hover {
    text-decoration: underline !important;
}

/* Single Post Default & Elementor Widget Styles */
.rncoe-single-post-wrap {
    max-width: 980px;
    margin: 36px auto 56px;
    padding: 0 20px;
}
.rncoe-single-header {
    margin-bottom: 24px;
}
.rncoe-single-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}
.rncoe-single-title {
    margin: 0 0 10px;
    color: var(--rncoe-gm-navy, #071d35);
    font-size: clamp(24px, 3.2vw, 36px);
    line-height: 1.25;
    font-weight: 800;
}
.rncoe-single-subtitle {
    margin: 0 0 14px;
    font-size: 1.1em;
    color: var(--rncoe-gm-muted, #687385);
    line-height: 1.5;
}
.rncoe-single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    padding: 12px 16px;
    border-radius: 10px;
    background: var(--rncoe-gm-blue-light, #eff7ff);
    color: var(--rncoe-gm-navy, #071d35);
    font-size: 13px;
}
.rncoe-single-hero {
    margin: 22px 0;
    border-radius: 14px;
    overflow: hidden;
    background: #edf2f6;
}
.rncoe-single-hero img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 540px;
    object-fit: cover;
}
.rncoe-single-content {
    margin: 24px 0 32px;
    line-height: 1.75;
    font-size: 1.04em;
}
.rncoe-single-gallery-section {
    margin: 34px 0;
}
.rncoe-gm-sg-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.rncoe-gm-sg-heading .rncoe-gm-event-accent {
    min-height: 28px;
}
.rncoe-gm-sg-heading h3 {
    margin: 0;
    color: var(--rncoe-gm-navy, #071d35);
    font-size: 20px;
}
.rncoe-gm-sg-heading h3 span {
    font-weight: 500;
    color: var(--rncoe-gm-muted, #687385);
    font-size: 15px;
}
.rncoe-gm .rncoe-gm-photo-grid {
    display: grid;
    grid-template-columns: repeat(var(--rncoe-gm-grid-cols, 3), minmax(0, 1fr));
    gap: 14px;
}
.rncoe-single-footer {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid #dfe6ee;
}
.rncoe-el-placeholder-box {
    padding: 36px 20px;
    border: 2px dashed #c3c4c7;
    border-radius: 12px;
    background: #f8fafc;
    color: #646970;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
}

@media (max-width: 900px) {
    .rncoe-gm .rncoe-posts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rncoe-gm .rncoe-gm-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 580px) {
    .rncoe-gm .rncoe-posts-grid { grid-template-columns: 1fr; }
    .rncoe-gm .rncoe-gm-photo-grid { grid-template-columns: 1fr; }
}


/* v3.2.0: Clean Elementor-style News Cards & [Prev, 1, 2, 3, ..., Next] Pagination */
.rncoe-gm .rncoe-posts-grid {
    gap: 28px;
}
.rncoe-gm .rncoe-post-card {
    border: 0 !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: 0 4px 20px rgba(7, 29, 53, .08) !important;
}
.rncoe-gm .rncoe-post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(7, 29, 53, .13) !important;
}
.rncoe-gm .rncoe-post-card-body {
    padding: 22px 24px 18px !important;
    gap: 14px;
}
.rncoe-gm .rncoe-post-card-title {
    font-size: 17px !important;
    font-weight: 500 !important;
    line-height: 1.48 !important;
}
.rncoe-gm .rncoe-post-card-title a {
    color: var(--rncoe-gm-blue, #15558a) !important;
}
.rncoe-gm .rncoe-post-card-title a:hover {
    color: var(--rncoe-gm-pink, #ec168c) !important;
}
.rncoe-gm a.rncoe-post-card-more {
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--rncoe-gm-blue, #15558a) !important;
    padding-top: 2px;
}
.rncoe-gm a.rncoe-post-card-more:hover {
    color: var(--rncoe-gm-pink, #ec168c) !important;
    text-decoration: none !important;
}
.rncoe-gm .rncoe-post-card-footer {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 13px 24px 15px;
    border-top: 1px solid #f0f2f5;
    color: #9aa3b2;
    font-size: 12px;
    line-height: 1.4;
}
.rncoe-gm .rncoe-post-card-sep {
    opacity: .65;
}

/* Pagination Bar: [Prev, 1, 2, 3, ..., Next] */
.rncoe-gm .rncoe-posts-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 34px 0 10px;
}
.rncoe-gm .rncoe-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 13px;
    border-radius: 9px;
    border: 1px solid #dfe6ee;
    background: #fff !important;
    color: var(--rncoe-gm-navy, #071d35) !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.rncoe-gm a.rncoe-page-btn:hover,
.rncoe-gm a.rncoe-page-btn:focus-visible {
    background: var(--rncoe-gm-pink, #ec168c) !important;
    border-color: var(--rncoe-gm-pink, #ec168c) !important;
    color: #fff !important;
}
.rncoe-gm .rncoe-page-btn.is-current {
    background: var(--rncoe-gm-navy, #071d35) !important;
    border-color: var(--rncoe-gm-navy, #071d35) !important;
    color: #fff !important;
    cursor: default;
}
.rncoe-gm .rncoe-page-btn.is-disabled {
    opacity: .42;
    cursor: default;
    pointer-events: none;
}
.rncoe-gm .rncoe-page-nav {
    padding: 0 16px;
}
.rncoe-gm .rncoe-page-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 40px;
    color: var(--rncoe-gm-muted, #687385);
    font-weight: 700;
    user-select: none;
}

.rncoe-gm-photo.is-video .rncoe-gm-photo-image {
  position: relative;
}
.rncoe-gm-photo.is-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.rncoe-gm-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.78);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  padding-left: 3px;
  pointer-events: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.rncoe-gm-lb-video {
  max-width: 100%;
  max-height: 78vh;
  border-radius: 6px;
  background: #000000;
}
.rncoe-gm-lb-thumb-video {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: #0f172a;
  color: #ffffff;
  font-size: 14px;
}
