/* ═══════════════════════════════════════════════════
   Downham Events Plugin — style.css v3.0
   Brand colours: Downham Hall Corporate Palette
   Primary:    #1B6471
   Secondary1: #76A2AA
   Secondary2: #BFD9CC
   Accents:    #646B73 #DDDED8 #FFEED9 #F4E4DE #FFFCF6
   Fonts:      Libre Franklin (body), TeX Gyre Pagella (headings)
═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Libre+Franklin:wght@300;400;500;600&family=Oooh+Baby&display=swap');

:root {
    --dh-primary:    #1B6471;
    --dh-primary-dk: #144d58;
    --dh-primary-lt: #e8f3f5;
    --dh-sec1:       #76A2AA;
    --dh-sec1-lt:    #d6e8eb;
    --dh-sec2:       #BFD9CC;
    --dh-sec2-lt:    #edf5f0;
    --dh-accent1:    #646B73;
    --dh-accent2:    #DDDED8;
    --dh-accent3:    #FFEED9;
    --dh-accent4:    #F4E4DE;
    --dh-cream:      #FFFCF6;
    --dh-ink:        #1a2325;
    --dh-ink-soft:   #3d4f52;
    --dh-ink-muted:  #646B73;
    --dh-border:     #DDDED8;
    --dh-white:      #ffffff;
    --dh-radius:     10px;
    --dh-font-head:  'Libre Franklin', system-ui, sans-serif;
    --dh-font-body:  'Libre Franklin', system-ui, sans-serif;
    --dh-ease:       .22s ease;
}

/* ══════════════════════════════════════════════
   ARCHIVE / SHORTCODE — Grid + Filter Bar
══════════════════════════════════════════════ */

.de-wrapper,
.de-archive-wrap {
    font-family: var(--dh-font-body);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.de-archive-header {
    padding: 2rem 0 1.5rem;
}

.de-archive-title {
    font-family: var(--dh-font-head);
    font-size: clamp(24px, 4vw, 34px);
    font-weight: 300;
    color: var(--dh-primary);
    margin-bottom: 6px;
    letter-spacing: -.01em;
}

.de-archive-sub {
    font-size: 14px;
    color: var(--dh-ink-muted);
    font-weight: 400;
}

/* ── Filter Bar ──────────────────────────── */
.de-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 2rem;
    padding-bottom: 1.25rem;
    border-bottom: 1.5px solid var(--dh-border);
}

.de-filter-btn {
    appearance: none;
    background: transparent;
    border: 1.5px solid var(--dh-border);
    border-radius: 999px;
    padding: 6px 18px;
    font-size: 12px;
    font-family: var(--dh-font-body);
    font-weight: 500;
    color: var(--dh-ink-muted);
    cursor: pointer;
    letter-spacing: .03em;
    transition: all var(--dh-ease);
}

.de-filter-btn:hover {
    border-color: var(--dh-sec1);
    color: var(--dh-primary);
    background: var(--dh-sec1-lt);
}

.de-filter-btn.active {
    background: var(--dh-primary);
    border-color: var(--dh-primary);
    color: #fff;
    font-weight: 600;
}

/* ── Events Grid — 3 column ──────────────── */
.de-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem;
}

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

@media (max-width: 580px) {
    .de-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Event Card ──────────────────────────── */
.de-card {
    background: var(--dh-white);
    border: 1.5px solid var(--dh-border);
    border-radius: var(--dh-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform var(--dh-ease), box-shadow var(--dh-ease), border-color var(--dh-ease);
    animation: de-fade-up .4s ease both;
}

.de-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(27,100,113,.12);
    border-color: var(--dh-sec1);
}

.de-card__img-wrap {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
    background: var(--dh-primary-lt);
}

.de-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .45s ease;
}

.de-card:hover .de-card__img { transform: scale(1.05); }

.de-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--dh-primary);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 999px;
    font-family: var(--dh-font-body);
}

.de-card__body {
    padding: 1.1rem 1.3rem 1.4rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    background: var(--dh-cream);
}

.de-card__date {
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--dh-sec1);
    font-weight: 600;
    margin: 0 0 7px;
    font-family: var(--dh-font-body);
}

.de-card__title {
    font-family: var(--dh-font-head);
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.35;
    margin: 0 0 8px;
    color: var(--dh-ink);
}

.de-card__title a {
    color: var(--dh-ink);
    text-decoration: none;
    transition: color var(--dh-ease);
}

.de-card__title a:hover { color: var(--dh-primary); }

.de-card__price {
    font-size: 12px;
    color: var(--dh-ink-muted);
    margin: 0 0 .9rem;
    font-weight: 400;
}

.de-card__link {
    margin-top: auto;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    color: var(--dh-primary);
    text-decoration: none;
    transition: color var(--dh-ease);
    font-family: var(--dh-font-body);
}

.de-card__link:hover { color: var(--dh-sec1); }

.de-no-events {
    grid-column: 1/-1;
    text-align: center;
    color: var(--dh-ink-muted);
    padding: 3rem 0;
    font-size: 1rem;
}

/* Skeleton */
.de-skeleton {
    border-radius: var(--dh-radius);
    height: 320px;
    background: var(--dh-accent2);
    animation: de-shimmer 1.4s infinite;
    background-size: 200% 100%;
}

@keyframes de-shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@keyframes de-fade-up {
    from { opacity:0; transform:translateY(14px); }
    to   { opacity:1; transform:translateY(0); }
}

.de-card:nth-child(1){animation-delay:.04s}
.de-card:nth-child(2){animation-delay:.08s}
.de-card:nth-child(3){animation-delay:.12s}
.de-card:nth-child(4){animation-delay:.16s}
.de-card:nth-child(5){animation-delay:.20s}
.de-card:nth-child(6){animation-delay:.24s}


/* ══════════════════════════════════════════════
   HERO BANNER — single event page
══════════════════════════════════════════════ */

.de-hero {
    width: 100%;
    min-height: 420px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: flex-end;
    margin-bottom: 0;
}

.de-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(27, 100, 113, 0.15) 0%,
        rgba(20, 77, 88, 0.75)   60%,
        rgba(20, 77, 88, 0.92)   100%
    );
}

.de-hero__content {
    position: relative;
    z-index: 1;
    padding: 2.5rem 3rem;
    width: 100%;
    max-width: 860px;
}

.de-hero__badge {
    display: inline-block;
    background: var(--dh-sec1);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 999px;
    margin-bottom: 14px;
    font-family: var(--dh-font-body);
}

.de-hero__heading {
    font-family: var(--dh-font-head) !important;
    font-size: clamp(26px, 4vw, 44px) !important;
    font-weight: 500 !important;
    color: #fff !important;
    line-height: 1.2 !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
    text-shadow: 0 2px 12px rgba(0,0,0,.25);
}

.de-hero__sub {
    font-size: 16px;
    color: var(--dh-sec2);
    font-family: var(--dh-font-body);
    font-weight: 400;
    margin: 0 0 1.5rem;
    letter-spacing: .01em;
}

.de-hero__cta {
    display: inline-block;
    background: var(--dh-sec1);
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 13px 32px;
    border-radius: 5px;
    text-decoration: none;
    font-family: var(--dh-font-body);
    border: 2px solid var(--dh-sec1);
    transition: all var(--dh-ease);
}

.de-hero__cta:hover {
    background: var(--dh-primary);
    border-color: var(--dh-primary);
    color: #fff !important;
}

@media (max-width: 640px) {
    .de-hero { min-height: 300px; }
    .de-hero__content { padding: 1.5rem; }
    .de-hero__heading { font-size: 24px !important; }
}

/* ══════════════════════════════════════════════
   SINGLE EVENT PAGE
══════════════════════════════════════════════ */

.de-single-wrap {
    font-family: var(--dh-font-body);
}

.de-single-inner-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.25rem 3rem;
}

/* Breadcrumb */
.de-breadcrumb {
    font-size: 12px;
    color: var(--dh-ink-muted);
    padding: 1rem 0 1.5rem;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    font-family: var(--dh-font-body);
}

.de-breadcrumb a {
    color: var(--dh-ink-muted);
    text-decoration: none;
    transition: color var(--dh-ease);
}

.de-breadcrumb a:hover { color: var(--dh-primary); }
.de-breadcrumb span   { color: var(--dh-border); }

/* Two-column layout */
.de-single-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 3rem;
}

/* Image column */
.de-single-img-col { position: relative; }

.de-single-img {
    width: 100%;
    border-radius: var(--dh-radius);
    display: block;
    aspect-ratio: 3/2.4;
    object-fit: cover;
}

.de-single-img-placeholder {
    width: 100%;
    aspect-ratio: 3/2.4;
    background: var(--dh-primary-lt);
    border-radius: var(--dh-radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.de-single-badge {
    display: inline-block;
    background: var(--dh-primary);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 999px;
    margin-top: 12px;
    font-family: var(--dh-font-body);
}

/* Date + price dark pill under image */
.de-single-pill {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    background: var(--dh-primary);
    border-radius: 8px;
    padding: .75rem 1.1rem;
    margin-top: 14px;
}

.de-single-pill-date {
    font-size: 12px;
    color: var(--dh-sec2);
    font-family: var(--dh-font-body);
    font-weight: 500;
    letter-spacing: .02em;
}

.de-single-pill-price {
    margin-left: auto;
    font-size: 14px;
    font-weight: 600;
    color: var(--dh-accent3);
    font-family: var(--dh-font-body);
}

/* Content column */
.de-single-cat-label {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--dh-sec1);
    margin-bottom: 10px;
    font-family: var(--dh-font-body);
}

/* Title — force override theme */
.de-single-wrap h1.de-single-title,
.de-single-title {
    font-family: var(--dh-font-head) !important;
    font-size: 26px !important;
    font-weight: 500 !important;
    color: var(--dh-ink) !important;
    line-height: 1.3 !important;
    margin: 0 0 1.2rem 0 !important;
    padding: 0 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

/* Meta bar */
.de-single-meta-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    background: var(--dh-primary-lt);
    border-left: 3px solid var(--dh-primary);
    border-radius: 0 8px 8px 0;
    padding: .85rem 1.1rem;
    margin-bottom: 1.4rem;
}

.de-single-meta-date {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: var(--dh-ink-soft);
    font-weight: 500;
    font-family: var(--dh-font-body);
}

.de-single-meta-date svg { flex-shrink: 0; color: var(--dh-primary); }

.de-single-meta-price {
    margin-left: auto;
    font-size: 1.1rem;
    font-family: var(--dh-font-body);
    color: var(--dh-primary-dk);
    font-weight: 600;
}

/* Description */
.de-single-desc {
    font-size: 14px;
    color: var(--dh-ink-soft);
    line-height: 1.85;
    margin-bottom: 1.5rem;
    font-family: var(--dh-font-body);
    font-weight: 400;
}

.de-single-desc p { margin-bottom: .85rem; }

.de-single-desc a {
    color: var(--dh-primary);
    border-bottom: 1px solid rgba(27,100,113,.25);
    text-decoration: none;
    transition: border-color var(--dh-ease);
}

.de-single-desc a:hover { border-color: var(--dh-primary); }

/* Hide first h2 in content (duplicates meta bar) */
.de-single-desc > h2:first-child,
.de-single-desc > h2:first-of-type { display: none !important; }

/* ── CTA Buttons ─────────────────────────── */
.de-single-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 1.75rem;
}

.de-btn {
    display: inline-block;
    padding: 11px 28px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .07em;
    text-transform: uppercase;
    font-family: var(--dh-font-body);
    text-decoration: none;
    cursor: pointer;
    transition: all var(--dh-ease);
    border: 2px solid var(--dh-sec1);
}

.de-btn--primary {
    background: var(--dh-sec1);
    color: #fff !important;
}

.de-btn--primary:hover {
    background: var(--dh-primary);
    border-color: var(--dh-primary);
    color: #fff !important;
}

.de-btn--outline {
    background: transparent;
    color: var(--dh-sec1) !important;
}

.de-btn--outline:hover {
    background: var(--dh-sec1);
    color: #fff !important;
}

/* ── Share Bar ────────────────────────────── */
.de-single-share {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 1.2rem;
    border-top: 1.5px solid var(--dh-border);
}

.de-single-share-label {
    font-size: 11px;
    color: var(--dh-ink-muted);
    letter-spacing: .07em;
    text-transform: uppercase;
    margin-right: 4px;
    font-family: var(--dh-font-body);
    font-weight: 600;
}

.de-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--dh-primary-lt);
    border: 1.5px solid var(--dh-sec1-lt);
    color: var(--dh-primary);
    text-decoration: none;
    transition: all var(--dh-ease);
}

.de-share-btn:hover { background: var(--dh-primary); color: #fff; border-color: var(--dh-primary); }
.de-share-btn--fb:hover { background: #1877f2; border-color: #1877f2; color: #fff; }
.de-share-btn--ig:hover { background: #e1306c; border-color: #e1306c; color: #fff; }

/* ── Related Events ──────────────────────── */
.de-related {
    border-top: 1.5px solid var(--dh-border);
    padding-top: 2rem;
    margin-top: 1rem;
}

.de-related-title {
    font-family: var(--dh-font-head);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--dh-primary);
    margin-bottom: 1.5rem;
    letter-spacing: -.01em;
}

.de-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
}

/* ── Responsive ──────────────────────────── */
@media (max-width: 768px) {
    .de-single-inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .de-single-meta-price { margin-left: 0; }
    .de-single-pill-price { margin-left: 0; }
}

@media (max-width: 480px) {
    .de-related-grid { grid-template-columns: 1fr 1fr; }
}

/* ══════════════════════════════════════════════
   FOOTER EVENTS WIDGET
══════════════════════════════════════════════ */

.de-widget-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.de-widget-item {
    border-bottom: 1px solid rgba(221,222,216,.2);
    padding: 10px 0;
}

.de-widget-item:first-child { padding-top: 0; }
.de-widget-item:last-child  { border-bottom: none; padding-bottom: 0; }

.de-widget-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: opacity .2s ease;
}

.de-widget-link:hover { opacity: .75; }

/* Square thumbnail */
.de-widget-thumb {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 7px;
    overflow: hidden;
    background: rgba(118,162,170,.25);
}

.de-widget-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.de-widget-img-placeholder {
    width: 100%;
    height: 100%;
    background: rgba(118,162,170,.2);
}

/* Info column */
.de-widget-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    flex: 1;
}

.de-widget-name {
    font-size: 13px;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.4;
    font-family: 'Libre Franklin', system-ui, sans-serif;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.de-widget-date {
    font-size: 11px;
    color: #BFD9CC;
    font-family: 'Libre Franklin', system-ui, sans-serif;
    font-weight: 400;
    letter-spacing: .01em;
}

.de-widget-price {
    font-size: 11px;
    color: #FFEED9;
    font-family: 'Libre Franklin', system-ui, sans-serif;
    font-weight: 600;
}

.de-widget-viewall {
    display: inline-block;
    margin-top: 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    color: #76A2AA;
    text-decoration: none;
    font-family: 'Libre Franklin', system-ui, sans-serif;
    transition: color .2s ease;
    border-bottom: 1px solid rgba(118,162,170,.3);
    padding-bottom: 1px;
}

.de-widget-viewall:hover { color: #BFD9CC; border-color: #BFD9CC; }

/* ══════════════════════════════════════════════
   ELEMENTOR UPCOMING EVENTS WIDGET
══════════════════════════════════════════════ */

.de-el-heading {
    font-family: 'Libre Franklin', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(221,222,216,.25);
}

.de-el-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.de-el-item {
    border-bottom: 1px solid rgba(221,222,216,.2);
    padding: 12px 0;
}

.de-el-item:first-child { padding-top: 0; }
.de-el-item:last-child  { border-bottom: none; padding-bottom: 0; }

.de-el-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: opacity .2s ease;
}

.de-el-link:hover { opacity: .75; }

/* Square thumbnail */
.de-el-thumb {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 7px;
    overflow: hidden;
    background: rgba(118,162,170,.2);
}

.de-el-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
}

.de-el-img-placeholder {
    width: 100%;
    height: 100%;
    background: rgba(118,162,170,.15);
}

/* Info */
.de-el-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    flex: 1;
}

.de-el-name {
    font-size: 13px;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.4;
    font-family: 'Libre Franklin', system-ui, sans-serif;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.de-el-date {
    font-size: 11px;
    color: #BFD9CC;
    font-family: 'Libre Franklin', system-ui, sans-serif;
    font-weight: 400;
    letter-spacing: .01em;
}

.de-el-price {
    font-size: 11px;
    color: #FFEED9;
    font-family: 'Libre Franklin', system-ui, sans-serif;
    font-weight: 600;
}

.de-el-viewall {
    display: inline-block;
    margin-top: 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .05em;
    color: #76A2AA;
    text-decoration: none;
    font-family: 'Libre Franklin', system-ui, sans-serif;
    transition: color .2s ease;
    border-bottom: 1px solid rgba(118,162,170,.3);
    padding-bottom: 1px;
}

.de-el-viewall:hover { color: #BFD9CC; border-color: #BFD9CC; }

.de-el-empty {
    font-size: 13px;
    color: rgba(255,255,255,.5);
    font-family: 'Libre Franklin', system-ui, sans-serif;
}

/* ══════════════════════════════════════════════
   COUNTDOWN TIMER
══════════════════════════════════════════════ */
.de-countdown {
    background: var(--dh-primary-lt);
    border: 1.5px solid var(--dh-sec1-lt);
    border-radius: var(--dh-radius);
    padding: 1rem 1.25rem;
    margin-bottom: 1.25rem;
    text-align: center;
}
.de-countdown-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--dh-sec1);
    margin: 0 0 10px;
    font-family: var(--dh-font-body);
}
.de-countdown-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.de-cd-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    min-width: 52px;
}
.de-cd-num {
    font-size: 28px;
    font-weight: 600;
    color: var(--dh-primary);
    font-family: var(--dh-font-body);
    line-height: 1;
}
.de-cd-lbl {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--dh-ink-muted);
    font-family: var(--dh-font-body);
}
.de-cd-sep {
    font-size: 22px;
    font-weight: 600;
    color: var(--dh-sec1);
    margin-bottom: 14px;
    font-family: var(--dh-font-body);
}

/* ══════════════════════════════════════════════
   SOLD OUT + SEATS LEFT
══════════════════════════════════════════════ */
.de-sold-out-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #fde8e8;
    color: #a00;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 7px 16px;
    border-radius: 999px;
    border: 1.5px solid #f5c0c0;
    margin-bottom: 1rem;
    font-family: var(--dh-font-body);
}
.de-seats-left {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #FFEED9;
    color: #7a4a00;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    padding: 7px 16px;
    border-radius: 999px;
    border: 1.5px solid #f5d5a0;
    margin-bottom: 1rem;
    font-family: var(--dh-font-body);
}

/* ══════════════════════════════════════════════
   WAITLIST FORM
══════════════════════════════════════════════ */
.de-waitlist-wrap {
    background: var(--dh-primary-lt);
    border: 1.5px solid var(--dh-sec1-lt);
    border-radius: var(--dh-radius);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
}
.de-waitlist-title {
    font-family: var(--dh-font-head) !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: var(--dh-primary) !important;
    margin: 0 0 6px !important;
}
.de-waitlist-sub {
    font-size: 13px;
    color: var(--dh-ink-muted);
    margin: 0 0 1rem;
    font-family: var(--dh-font-body);
}
.de-waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.de-wl-input {
    padding: 9px 12px;
    border: 1.5px solid var(--dh-border);
    border-radius: 5px;
    font-size: 13px;
    color: var(--dh-ink);
    font-family: var(--dh-font-body);
    background: #fff;
    max-width: 340px;
}
.de-wl-input:focus {
    border-color: var(--dh-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(27,100,113,.1);
}
.de-wl-msg {
    font-size: 13px;
    font-weight: 500;
    margin: 4px 0 0;
    font-family: var(--dh-font-body);
}

/* Sold out badge on event card */
.de-card__badge--sold-out {
    background: #a00 !important;
}

/* ── Filter button pointer-events fix for Elementor ── */
.de-filter-bar { position: relative; z-index: 10; }
.de-filter-btn { position: relative; z-index: 10; pointer-events: auto !important; cursor: pointer !important; }
.de-wrapper { position: relative; }

/* ══════════════════════════════════════════════
   SOCIAL MEDIA BAR — single event page
══════════════════════════════════════════════ */
.de-social-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 1.25rem;
    margin-top: .25rem;
    border-top: 1.5px solid var(--dh-border);
}

.de-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    font-family: var(--dh-font-body);
    text-decoration: none;
    letter-spacing: .03em;
    transition: all var(--dh-ease);
    border: 1.5px solid transparent;
}

.de-social-btn span { line-height: 1; }

/* Facebook — brand blue */
.de-social-fb {
    background: #1877f2;
    color: #fff;
    border-color: #1877f2;
}
.de-social-fb:hover {
    background: #0d65d9;
    border-color: #0d65d9;
    color: #fff;
}

/* Instagram — gradient feel using brand-safe solid */
.de-social-ig {
    background: #e1306c;
    color: #fff;
    border-color: #e1306c;
}
.de-social-ig:hover {
    background: #c0255a;
    border-color: #c0255a;
    color: #fff;
}

/* YouTube — red */
.de-social-yt {
    background: #ff0000;
    color: #fff;
    border-color: #ff0000;
}
.de-social-yt:hover {
    background: #cc0000;
    border-color: #cc0000;
    color: #fff;
}

/* LinkedIn — blue */
.de-social-li {
    background: #0a66c2;
    color: #fff;
    border-color: #0a66c2;
}
.de-social-li:hover {
    background: #084e96;
    border-color: #084e96;
    color: #fff;
}

@media (max-width: 480px) {
    .de-social-btn { flex: 1; justify-content: center; }
}
