/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */


/* =========================================================
   IABSC Single Event Page
   ========================================================= */

:root {
  --iabsc-blue: #0b376d;
  --iabsc-gold: #d9a72f;
  --iabsc-text: #20242a;
  --iabsc-muted: #5c6470;
  --iabsc-border: #e5e5e5;
  --iabsc-bg-soft: #faf8f2;
  --iabsc-event-width: 720px;
}

.single-tribe_events {
  background: #fff;
}

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

/* Main page wrapper */
.single-tribe_events .tribe-events-pg-template,
.single-tribe_events .tribe-events-single {
  max-width: 900px !important;
  margin: 0 auto !important;
  padding: 42px 24px 58px !important;
  color: var(--iabsc-text);
}

/* Shared content width */
.single-tribe_events .tribe-events-content,
.single-tribe_events .tribe-events-c-subscribe-dropdown,
.single-tribe_events .tribe-events-event-meta,
.single-tribe_events .tribe-events-nav-pagination,
.single-tribe_events .tribe-common.event-tickets,
.single-tribe_events .tribe-tickets__tickets-wrapper,
.single-tribe_events .tribe-tickets__rsvp-wrapper,
.single-tribe_events .tribe-tickets__tickets,
.single-tribe_events .tribe-tickets__rsvp {
  width: 100% !important;
  max-width: var(--iabsc-event-width) !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}

/* Back link */
.single-tribe_events .tribe-events-back {
  margin: 0 0 24px !important;
}

.single-tribe_events .tribe-events-back a {
  color: var(--iabsc-blue) !important;
  font-weight: 800 !important;
  font-size: 15px !important;
  text-decoration: none !important;
}

.single-tribe_events .tribe-events-back a:hover {
  color: var(--iabsc-gold) !important;
}

/* Event title */
.single-tribe_events .tribe-events-single-event-title {
  max-width: var(--iabsc-event-width) !important;
  margin: 0 0 12px !important;
  color: var(--iabsc-blue) !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(42px, 5vw, 60px) !important;
  line-height: 0.98 !important;
  font-weight: 700 !important;
  letter-spacing: -0.035em !important;
}

.single-tribe_events .tribe-events-single-event-title::after {
  content: "";
  display: block;
  width: 100%;
  height: 5px;
  margin-top: 12px;
  background: var(--iabsc-gold);
}

/* Date / cost */
.single-tribe_events .tribe-events-schedule {
  max-width: var(--iabsc-event-width) !important;
  margin: 0 0 26px !important;
  color: var(--iabsc-text) !important;
  font-size: 15px !important;
  line-height: 1.4 !important;
}

.single-tribe_events .tribe-events-cost,
.single-tribe_events .tribe-events-schedule .tribe-events-cost {
  color: var(--iabsc-blue) !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  margin-left: 6px !important;
}

/* Event content */
.single-tribe_events .tribe-events-content {
  margin-bottom: 28px !important;
  color: var(--iabsc-text) !important;
  font-size: 16px !important;
  line-height: 1.58 !important;
}

.single-tribe_events .tribe-events-content h1,
.single-tribe_events .tribe-events-content h2,
.single-tribe_events .tribe-events-content h3,
.single-tribe_events .tribe-events-content h4 {
  margin: 0 0 12px !important;
  color: var(--iabsc-blue) !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.02em !important;
}

.single-tribe_events .tribe-events-content p {
  margin: 0 0 16px !important;
}

/* Add to calendar */
.single-tribe_events .tribe-events-c-subscribe-dropdown {
  margin-top: 24px !important;
  margin-bottom: 42px !important;
}

.single-tribe_events .tribe-events-c-subscribe-dropdown__container {
  margin: 0 !important;
}

.single-tribe_events .tribe-events-c-subscribe-dropdown__button,
.single-tribe_events .tribe-events-c-subscribe-dropdown button {
  min-height: 0 !important;
  padding: 12px 18px !important;
  border: 1px solid var(--iabsc-gold) !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: var(--iabsc-blue) !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}

.single-tribe_events .tribe-events-c-subscribe-dropdown__button:hover,
.single-tribe_events .tribe-events-c-subscribe-dropdown button:hover {
  background: var(--iabsc-gold) !important;
  color: var(--iabsc-blue) !important;
}

/* =========================================================
   Tickets + RSVP same width
   ========================================================= */

.single-tribe_events .tribe-common.event-tickets,
.single-tribe_events .event-tickets,
.single-tribe_events .tribe-tickets__tickets-wrapper,
.single-tribe_events .tribe-tickets__rsvp-wrapper {
  display: block !important;
  width: 100% !important;
  max-width: var(--iabsc-event-width) !important;
  margin: 0 0 36px 0 !important;
  padding: 0 !important;
}

/* Ticket box */
.single-tribe_events .tribe-tickets__tickets,
.single-tribe_events .tribe-tickets__tickets-form,
.single-tribe_events .tribe-tickets__tickets-item,
.single-tribe_events .tribe-tickets__tickets-footer {
  width: 100% !important;
  max-width: none !important;
}

.single-tribe_events .tribe-tickets__tickets {
  border: 1px solid var(--iabsc-border) !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: 0 8px 24px rgba(11, 55, 109, 0.06) !important;
}

/* RSVP box */
.single-tribe_events .tribe-tickets__rsvp {
  width: 100% !important;
  max-width: none !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid var(--iabsc-border) !important;
  border-top: 6px solid var(--iabsc-gold) !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: 0 8px 24px rgba(11, 55, 109, 0.08) !important;
  overflow: hidden !important;
}

/* RSVP two-column layout */
.single-tribe_events .tribe-tickets__rsvp.tribe-common-g-row,
.single-tribe_events .tribe-tickets__rsvp > .tribe-common-g-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  flex-wrap: nowrap !important;
}

/* RSVP login notice */
.single-tribe_events .tribe-tickets__rsvp-message,
.single-tribe_events .tribe-tickets__rsvp-ar {
  width: 100% !important;
  margin: 0 !important;
  padding: 14px 18px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--iabsc-border) !important;
  background: var(--iabsc-bg-soft) !important;
  color: var(--iabsc-text) !important;
}

/* RSVP details column */
.single-tribe_events .tribe-tickets__rsvp-details-wrapper,
.single-tribe_events .tribe-tickets__rsvp-details {
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
}

.single-tribe_events .tribe-tickets__rsvp-details {
  padding: 34px !important;
}

/* RSVP action column */
.single-tribe_events .tribe-tickets__rsvp-actions-wrapper {
  flex: 0 0 235px !important;
  width: 235px !important;
  max-width: 235px !important;
  border-left: 1px dashed var(--iabsc-border) !important;
}

.single-tribe_events .tribe-tickets__rsvp-actions {
  height: 100% !important;
  padding: 34px 26px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
}

/* Ticket + RSVP buttons */
.single-tribe_events .tribe-common-c-btn,
.single-tribe_events button.tribe-common-c-btn,
.single-tribe_events .tribe-tickets__rsvp-actions-button-going {
  min-width: 120px !important;
  padding: 14px 26px !important;
  border: 1px solid var(--iabsc-gold) !important;
  border-radius: 0 !important;
  background: var(--iabsc-gold) !important;
  color: var(--iabsc-blue) !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  line-height: 1 !important;
}

.single-tribe_events .tribe-common-c-btn:hover,
.single-tribe_events button.tribe-common-c-btn:hover,
.single-tribe_events .tribe-tickets__rsvp-actions-button-going:hover {
  background: var(--iabsc-blue) !important;
  border-color: var(--iabsc-blue) !important;
  color: #fff !important;
}



/* =========================================================
   Event Details / Venue / Organizer
   ========================================================= */

.single-tribe_events .tribe-events-event-meta {
  margin: 36px 0 28px !important;
  padding: 28px 0 20px !important;
  border-top: 1px solid var(--iabsc-border) !important;
  border-bottom: 1px solid var(--iabsc-border) !important;
  background: transparent !important;
}

.single-tribe_events .tribe-events-event-meta::before,
.single-tribe_events .tribe-events-event-meta::after {
  display: none !important;
}

.single-tribe_events .tribe-events-meta-group {
  padding: 0 26px 8px 0 !important;
  margin: 0 !important;
}

.single-tribe_events .tribe-events-meta-group .tribe-events-single-section-title {
  margin: 0 0 12px !important;
  color: var(--iabsc-blue) !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  letter-spacing: 0.1em !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
}

.single-tribe_events .tribe-events-meta-group dt {
  margin: 8px 0 2px !important;
  color: #111 !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: 1.3 !important;
}

.single-tribe_events .tribe-events-meta-group dd {
  margin: 0 0 7px !important;
  color: var(--iabsc-text) !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
}

/* Links */
.single-tribe_events a {
  color: #c99a24;
}

.single-tribe_events a:hover {
  color: var(--iabsc-blue);
}

/* Previous / next links */
.single-tribe_events .tribe-events-nav-pagination {
  margin: 26px 0 0 !important;
  padding: 22px 0 0 !important;
  border-top: 1px solid var(--iabsc-border) !important;
}

.single-tribe_events .tribe-events-nav-pagination a {
  color: var(--iabsc-blue) !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

.single-tribe_events .tribe-events-nav-pagination a:hover {
  color: var(--iabsc-gold) !important;
}

/* External event registration button */
.single-tribe_events .tribe-events-content p:has(.iabsc-event-button) {
  margin: 28px 0 24px !important;
}

.single-tribe_events .tribe-events-content a.iabsc-event-button,
.single-tribe_events a.iabsc-event-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 260px !important;
  min-height: 56px !important;
  padding: 0 30px !important;
  background: var(--iabsc-gold) !important;
  border: 1px solid var(--iabsc-gold) !important;
  border-radius: 0 !important;
  color: var(--iabsc-blue) !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  text-align: center !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  text-decoration: none !important;
}

.single-tribe_events .tribe-events-content a.iabsc-event-button:hover,
.single-tribe_events a.iabsc-event-button:hover {
  background: var(--iabsc-blue) !important;
  border-color: var(--iabsc-blue) !important;
  color: #fff !important;
}

/* Mobile */
@media (max-width: 767px) {
  .single-tribe_events .tribe-events-pg-template,
  .single-tribe_events .tribe-events-single {
    padding: 34px 20px 48px !important;
  }

  .single-tribe_events .tribe-events-single-event-title {
    font-size: 40px !important;
  }

  .single-tribe_events .tribe-events-content {
    font-size: 15px !important;
  }

  .single-tribe_events .tribe-tickets__rsvp.tribe-common-g-row,
  .single-tribe_events .tribe-tickets__rsvp > .tribe-common-g-row {
    display: block !important;
  }

  .single-tribe_events .tribe-tickets__rsvp-actions-wrapper {
    width: 100% !important;
    max-width: none !important;
    border-left: 0 !important;
    border-top: 1px dashed var(--iabsc-border) !important;
  }

  .single-tribe_events .tribe-tickets__rsvp-details {
    padding: 28px 22px !important;
    border-right: 0 !important;
    border-bottom: 1px dashed var(--iabsc-border) !important;
  }

  .single-tribe_events .tribe-tickets__rsvp-actions {
    padding: 26px 22px !important;
  }

  .single-tribe_events .tribe-events-meta-group {
    width: 100% !important;
    padding-right: 0 !important;
    margin-bottom: 22px !important;
  }
}

.home header,
.home .site-header,
.home #masthead {
  display: none !important;
}