/* ============================================
   Global Reset - Override Bootstrap defaults
   ============================================ */
a {
  text-decoration: none !important;
}

/* ============================================
   Custom Styles - Event & Campaign Overrides
   ============================================ */

/* Event Grid Layout */
.event-grid-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 767.97px) {
  .event-grid-wrapper {
    grid-template-columns: 1fr;
  }
}

.event-grid-card {
  background: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #2a2a2a;
  transition: all 0.3s ease-in;
}
.event-grid-card:hover {
  border-color: #ffbb00;
}

.event-grid-card__image {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.event-grid-card__image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  pointer-events: none;
}
.event-grid-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.event-grid-card__title {
  position: absolute;
  bottom: 12px;
  left: 16px;
  right: 16px;
  z-index: 2;
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}
.event-grid-card__title a {
  color: #ffffff;
  transition: color 0.3s;
}
.event-grid-card__title a:hover {
  color: #ffbb00;
}

.event-grid-card__body {
  padding: 16px;
}
.event-grid-card__info {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 14px;
  color: #909090;
}
.event-grid-card__info svg {
  flex-shrink: 0;
}
.event-grid-card__info span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.event-grid-card__btn {
  display: block;
  width: 100%;
  text-align: center;
  background: #ffbb00;
  color: #000;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 16px;
  border-radius: 8px;
  margin-top: 16px;
  transition: background 0.3s;
  text-decoration: none;
}
.event-grid-card__btn:hover {
  background: #e6a800;
  color: #000;
}

/* Event Detail Page */
.event-detail-card {
  background: #efeae8;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #efeae8;
}
.event-detail-card__hero {
  position: relative;
  height: 400px;
  overflow: hidden;
}
@media (max-width: 767.97px) {
  .event-detail-card__hero {
    height: 260px;
  }
}
.event-detail-card__hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  pointer-events: none;
}
.event-detail-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.event-detail-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  z-index: 2;
}
.event-detail-card__hero-title {
  color: #ffffff;
  font-size: 28px;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}
@media (max-width: 767.97px) {
  .event-detail-card__hero-title {
    font-size: 20px;
  }
}
.event-detail-card__content {
  padding: 24px;
}
.event-detail-card__title {
  color: #000;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
}
.event-detail-card__des {
  color: #909090;
  font-size: 15px;
  line-height: 1.7;
}

/* Event Detail Sidebar */
.event-detail-sidebar {
  position: sticky;
  top: 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.event-detail-sidebar__widget {
    background: #f3eeeb !important;
    border: 1px solid #e0dedd !important;
    border-radius: 12px;
    padding: 24px;
}
.event-detail-sidebar__heading {
  color: #000;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 0;
}
.event-detail-sidebar__widget .event-schedule-wrapper ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.event-detail-sidebar__widget .event-schedule-wrapper ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.event-detail-sidebar__widget .event-schedule-wrapper ul li .icon-wrapper {
  flex-shrink: 0;
  margin-top: 2px;
}
.event-detail-sidebar__widget .event-schedule-wrapper ul li .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.event-detail-sidebar__widget .event-schedule-wrapper ul li .content-wrapper .title {
  color: #646464;
  font-size: 15px;
}
.event-detail-sidebar__widget .event-schedule-wrapper ul li .content-wrapper .des {
  color: #000;
  font-size: 15px;
  font-weight: 500;
}
.event-detail-sidebar__widget .event-schedule-wrapper ul li .content-wrapper a.des {
  color: #ffbb00;
  text-decoration: none;
}
.event-detail-sidebar__widget .event-schedule-wrapper ul li .content-wrapper a.des:hover {
  text-decoration: underline;
}
.event-detail-sidebar__widget .event-schedule-wrapper ul li .content-wrapper #copy-des {
  display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: #efeae8;
    border: 1px solid #909090;
    border-radius: 6px;
    padding: 8px 12px;
    color: #565151 !important;
    font-size: 13px;
    word-break: break-all;
    width: 100%;
}
.event-detail-sidebar__widget .event-schedule-wrapper ul li .content-wrapper #copy-des .copy-icon {
  cursor: pointer;
  flex-shrink: 0;
}

/* Event Map Placeholder */
.event-map-placeholder {
  background: #2a2a2a;
  border-radius: 8px;
  padding: 40px 20px;
  text-align: center;
}
.event-map-placeholder svg {
  margin-bottom: 12px;
}
.event-map-placeholder__location {
  color: #ffffff;
  font-size: 14px;
  margin-bottom: 4px;
}
.event-map-placeholder__note {
  color: #909090;
  font-size: 13px;
  margin: 0;
}

/* Register Button */
.event-register-btn {
  display: block;
  width: 100%;
  text-align: center;
  background: #ffbb00;
  color: #000;
  font-weight: 600;
  font-size: 16px;
  padding: 14px 24px;
  border-radius: 8px;
  margin-top: 24px;
  transition: background 0.3s;
  text-decoration: none;
}
.event-register-btn:hover {
  background: #e6a800;
  color: #000;
}

/* Campaign Card - Light Theme */
.single-campaign {
  background: #ece6dd36 !important;
  border: 1px solid #cdc8c3 !important;
  border-radius: 20px !important;
  padding: 12px 12px 24px !important;
  transition: all 0.3s ease;
}
.single-campaign:hover {
  border-color: #d5d0ca !important;
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}
.single-campaign .top-area {
  border-radius: 14px !important;
  overflow: hidden;
}
.single-campaign .top-area .thumbnail {
  border-radius: 14px;
  transition: transform 0.5s ease;
}
.single-campaign:hover .top-area .thumbnail {
  transform: scale(1.03);
}
.single-campaign .top-area .badge {
  background: #e5a83bfa !important;
  color: #ffffff !important;
  border-radius: 6px !important;
  font-weight: 500 !important;
  font-size: 12px !important;
  padding: 9px 12px !important;
}
.single-campaign h5 a {
  color: #1a1a1a !important;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  transition: color 0.3s;
}
.single-campaign h5 a:hover {
  color: #E5A83B !important;
}
.single-campaign .btm-wraper .percentage-label,
.single-campaign .btm-wrapper .percentage-label {
  color: #E5A83B !important;
  font-weight: 600;
  font-size: 14px;
}
.single-campaign .progress-wrapper,
.single-campaign .progress {
  background: #ece6dd !important;
  height: 6px !important;
  border-radius: 3px !important;
  overflow: hidden;
}
.single-campaign .progress-bar,
.single-campaign .progress-container {
  background: #E5A83B !important;
  border-radius: 3px !important;
}
.single-campaign .sm-info-wrapper span {
  color: #6b6b6b !important;
  font-size: 14px;
}
.single-campaign .sm-info-wrapper span b {
  color: #1a1a1a !important;
}
.single-campaign .ch-btn.ch-primary-btn {
    background: #E5A83B !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    font-weight: normal;
    font-size: 16px;
    padding: 14px 24px;
    transition: all 0.3s;
}
.single-campaign .ch-btn.ch-primary-btn:hover {
  background: #d4993a !important;
  box-shadow: 0 4px 15px rgba(229, 168, 59, 0.3);
}

/* Primary Button Text Color Override */
.ch-primary-btn {
  color: #fff !important;
}

/* Campaign Filter Area - Light Theme */
.campaign-filter-area .filter-select {
  background: #ece6dd !important;
  border: 1.5px solid #ece6dd !important;
  color: #1a1a1a !important;
  border-radius: 5px !important;
}
.ch-campaign-filter-nav .nav-link {
  background: #ffffff !important;
  color: #1a1a1a !important;
  border: 1.5px solid #e8e5e1 !important;
  border-radius: 50px !important;
}
.ch-campaign-filter-nav .nav-link.active,
.ch-campaign-filter-nav .nav-link:hover {
  background: #1a1a1a !important;
  color: #ffffff !important;
  border-color: #1a1a1a !important;
}

/* Campaign Donation Page - Light Theme */
.campaign-donation-area .ch-white-btn {
  background: #E5A83B;
  color: #000;
}
.campaign-donation-area .ch-white-btn:hover {
  background: #d4993a;
  color: #000;
}
.campaign-donation-area .single-campaign.version-2.campaign-details {
    background: #f3edea00 !important;
    border: 1px solid #dfd8ce !important;
    border-radius: 10px !important;
    padding: 20px !important;
    transition: all 0.3s ease;
    backdrop-filter: blur(100px);
}
.campaign-donation-area .single-campaign.version-2.campaign-details:hover {
  border: 1px solid #e8e5e1 !important;
}
.campaign-donation-area .donation-input {
  width: 100%;
  background: #f7f5f2 !important;
  border: 1.5px solid #e8e5e1 !important;
  color: #1a1a1a !important;
  border-radius: 12px;
}
.campaign-donation-area .donation-input:focus {
  border-color: #E5A83B !important;
  outline: none;
}
.campaign-donation-area .input-with-currency .currency-icon {
  color: #6b6b6b;
}
.campaign-donation-area .donation-amount-wrapper .fixed-donation-amount {
  background: #f7f5f2 !important;
  border: 1.5px solid #e8e5e1 !important;
  color: #1a1a1a !important;
}
.campaign-donation-area .donation-amount-wrapper .fixed-donation-amount:hover {
  background: #E5A83B !important;
  color: #1a1a1a !important;
  border-color: #E5A83B !important;
}
.campaign-donation-area .image-gallery-left-nav .image-gallery-svg,
.campaign-donation-area .image-gallery-right-nav .image-gallery-svg {
  color: #ffffff;
  width: 36px;
  height: 36px;
}
.campaign-donation-area .image-gallery-left-nav,
.campaign-donation-area .image-gallery-right-nav {
  background: rgba(0,0,0,0.5);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.campaign-donation-area .image-gallery-left-nav:hover,
.campaign-donation-area .image-gallery-right-nav:hover {
  background: rgba(0,0,0,0.7);
}

/* Gallery image fallback bg */
.campaign-donation-area .image-gallery-slide,
.campaign-donation-area .image-gallery-image {
  background: #f0ece8;
}
.campaign-donation-area .image-gallery-thumbnail .image-gallery-thumbnail-image {
  background: #f0ece8;
}

/* Donation input height fix */
.campaign-donation-area .donation-input {
  height: 50px;
  padding: 12px 12px 12px 55px;
}


.single-campaign h5, .single-campaign h3{
  color: #000;
}

.form-check-input {
    border-color: #484747 !important;
    background: transparent;
}

.ch-checkout-page-wrapper .form-check .form-check-input:checked:before {
    content: '';
    position: absolute;
    width: 4px;
    height: 1px;
    background: #ffffff;
    top: 8px;
    left: 2px;
    transform: rotate(45deg);
}

.ch-checkout-page-wrapper .form-check .form-check-input:checked {
    position: relative;
}

.ch-checkout-page-wrapper .form-check .form-check-input:checked:after {
    content: '';
    position: absolute;
    width: 8px;
    height: 1px;
    background: #ffffff;
    top: 6px;
    left: 4px;
    transform: rotate(315deg);
}

.ch-auction-details-tab-panel ~ section.ch-fea-section {
    padding-top: 0;
}