/* 
 Theme Name:     Effective Digital Marketing - Child
 Author:         Effective Digital Marketing, LLC
 Author URI:     https://www.effectivedigital.us
 Template:       Divi
 Version:        1.1.0
 Date:           10/21/2025
 Description:    A Child Theme built using the elegantmarketplace.com Child theme maker. Developed by Andrew Palmer for Elegant Marketplace www.elegantmarketplace.com Free to use and duplicate as many times as you like
 Wordpress Version: 6.8.3
*/ 

/* ----------- PUT YOUR CUSTOM CSS BELOW THIS LINE -- DO NOT EDIT ABOVE THIS LINE --------------------------- */ 

/* ----- Google Review Button ----- */
/*
#greview {
	bottom: 100px;
	position: fixed;
	left: -120px;
	z-index: 99999999;
	transition: 1s ease-out !important;
}
#greview::after {
	box-sizing: inherit;
}
#greview::before {
	box-sizing: inherit;
}
#greview a:active {
	outline: none;
}
#greview a:hover {
	outline: none;
}
#greview img {    
	max-width: 180px !important;
	margin: 0;
}
#greview picture {    
	margin: 0;
}
#greview:hover {
    left: 0px !important;
    transition: 1s ease-in !important;
}
@media (max-width: 700px){
	#greview {
		display:none !important;
	}
}*/

/* ----- Move reCAPTCHA v3 badge to the left ----- */
/*
.grecaptcha-badge {
  width: 70px !important;
  overflow: hidden !important;
  transition: all 0.3s ease !important;
  left: 4px !important;
  z-index: 99999999 !important;
}

.grecaptcha-badge:hover {
  width: 256px !important;
}

@media (max-width: 700px) {
.grecaptcha-badge {
	display:none
	}
}*/

/* ----- WP Forms CSS ----- */
.wpforms-submit {
	font-size: 20px !important;
	text-transform: uppercase !important;
    background:#d4af37 !important;
    color: #000000 !important;
    border: 2px solid #d4af37 !important;
	border-radius: 10px !important;
    transition-duration: .2s !important;
    float: right !important;
}
.wpforms-submit:hover {
	font-size: 20px !important;
	text-transform: uppercase !important;
    background: rgba(212, 175, 55, 0.85) !important;
    color: rgba(0,0,0,0.85) !important;
    border: 2px solid rgba(255,255,255,0.85) !important;
	border-radius: 10px !important;
    transition-duration: .2s !important;
    float: right !important;
}

/* ----- Footer Social Icons not Stacked ----- */
/*
.et-social-icons {
	list-style-type:none;
	font-size: 24px!important;
}
.et-social-icon {
	display: inline;
	margin:0 5px 0 5px;
}
.et-social-icon::marker {
	color:transparent !important;
}*/

/* ----- Bigger Logo Size > 980px ----- */
/*
@media (max-width: 980px) {
.et_header_style_left #logo {
    width: 5em;
    height: auto !important;
}
.logo_container {
    height: 8em !important;
    margin-top: -1.5em
}
}*/

/* ----- Logo Sizing on Tablet & Mobile ----- */
/*
@media ( max-width: 980px ) {
.logo_container {
    height: 9em !important;
    width: 100% !important;
    margin-top: -2em
}
}*/

/* ----- Setting the breakpoint of the mobile menu ----- */
/*
@media only screen and ( max-width: 1190px ) {
#top-menu-nav, #top-menu {
	display: none;
	}
#et_top_search {
	display: none;
	}
#et_mobile_nav_menu {
	display: block;
	}
}*/

/* ----- hide mobile header ----- */
/*
@media (max-width: 1190px) {
#main-header { display:none; }
#page-container {
padding-top:0px !important;
margin-top:-1px !important
}
}*/

/* =====================================================
   EVENTS — SCHEDULE LIST
   ===================================================== */

.events-list{
  display:flex;
  flex-direction:column;
  gap:18px;
}

.event-item{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;

  /* CHANGED: WHITE background (Upcoming + Past) */
  background:#fff;
  border:none;

  padding:24px 28px;
  border-radius:10px;
  box-shadow:0px 2px 18px rgba(0,0,0,0.3);

  /* Prevent “hover jump” from inherited transforms/transitions */
  transform:none !important;
}

/* If Divi/theme applies hover transform, kill it */
.event-item:hover{
  transform:none !important;
}

/* Overlay link ABOVE content so anywhere clicks the event */
.event-card-overlay{
  position:absolute;
  inset:0;
  z-index:10;
  border-radius:10px;

  /* Make sure it actually catches clicks */
  display:block;
}

/* Content can be below overlay */
.event-coverbox,
.event-meta{
  position:relative;
  z-index:5;
}

/* Button ABOVE overlay so button still works */
.event-action{
  position:relative;
  z-index:20;
  display:flex;
  align-items:center;
}

/* Ensure button is clickable even with overlay */
.event-action .et_pb_button{
  position:relative;
  z-index:30;
  margin:0 !important;
}

/* CHANGED: square image box replacing date box */
.event-coverbox{
  flex:0 0 160px;
  width:160px;
  height:160px;
  border-radius:10px;
  overflow:hidden;
  background:#f2f2f2;
  box-shadow:inset 0 0 0 1px rgba(0,0,0,0.08);
}

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

.event-coverbox-fallback{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:12px;
  font-weight:900;
  letter-spacing:1px;
  text-transform:uppercase;
  color:#333;
}

.event-meta{
  flex:1 1 auto;
  min-width:0;
  text-align:center;
}

.event-title{
  color:#d4af37;
  font-size:34px;
  font-weight:900;
  letter-spacing:1px;
  text-transform:uppercase;
}

/* NEW: date shown as subtitle under title */
.event-date-subtitle{
  margin-top:8px;
  font-size:16px;
  font-weight:900;
  color:#111;
  letter-spacing:1px;
  text-transform:uppercase;
  opacity:0.95;
}

.event-location{
  margin-top:10px;
  font-size:16px;
  font-weight:700;
  color:#000;
  text-transform:uppercase;
  opacity:0.9;
}


/* =====================================================
   FIGHTS — EVENT FIGHT CARDS
   ===================================================== */

.et-fights-list{
  margin-top:40px;
  display:flex;
  flex-direction:column;
  gap:18px;
}

.et-fight-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;

  /* CHANGED: WHITE background */
  background:#fff;
  border:none;

  padding:20px 24px;
  border-radius:10px;
  box-shadow:0px 2px 18px rgba(0,0,0,0.25);
}

.et-corner{
  display:flex;
  align-items:center;
  gap:14px;
  width:30%;
  min-width:0;
}

.et-corner--right{
  justify-content:flex-end;
  text-align:right;
}

.et-fighter-img{
  width:110px;
  height:110px;
  object-fit:cover;
  border-radius:10px;
  background:rgba(0,0,0,0.08);
}

.et-fighter-text{
  display:flex;
  flex-direction:column;
  gap:8px;
}

/* Names (BLACK) */
.et-fighter-name{
  color:#000 !important;
  font-size:32px;
  font-weight:900;
  line-height:1;
  text-transform:uppercase;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:260px;
}

.et-fighter-link{
  color:inherit !important;
  text-decoration:none;
}

.et-fighter-link:hover{
  text-decoration:underline;
}

/* WINNER badge: force content-width only (no stretching) */
.et-winner-badge{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;

  width:auto !important;
  flex:0 0 auto !important;
  align-self:flex-start;

  background:#d4af37;
  color:#111;
  font-size:12px;
  font-weight:900;
  letter-spacing:1px;
  text-transform:uppercase;
  padding:6px 10px;
  border-radius:8px;

  white-space:nowrap;
}

.et-fight-center{
  width:40%;
  text-align:center;
}

.et-weight-class{
  font-size:16px;
  font-weight:900;
  letter-spacing:3px;
  text-transform:uppercase;
  color:#333;
}

.et-vs{
  margin-top:6px;
  font-size:44px;
  font-weight:900;
  letter-spacing:2px;
  color:#d4af37;
}


/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 980px){

  .event-item{
    flex-direction:column;
    align-items:flex-start;
    gap:18px;
  }

  .event-meta{
    width:100%;
    text-align:left;
  }

  .event-coverbox{
    width:100%;
    max-width:240px;
    height:240px;
    flex:0 0 auto;
  }

  .event-action{
    width:100%;
    justify-content:flex-start;
  }

  .et-fight-row{
    flex-direction:column;
    gap:16px;
  }

  .et-corner,
  .et-corner--right{
    width:100%;
    justify-content:space-between;
    text-align:left;
  }

  .et-fight-center{
    width:100%;
  }

  .et-fighter-name{
    font-size:26px;
    max-width:100%;
  }

  .et-fighter-img{
    width:90px;
    height:90px;
  }
}

/* LEFT box: same footprint as old date box */
.event-leftbox{
  flex: 0 0 150px;      /* adjust if your old datebox width was different */
  width: 150px;
  display:flex;
  align-items:center;
  justify-content:center;
}

/* Confined thumbnail */
.event-thumb{
  width: 150px;         /* same as event-leftbox */
  height: 150px;        /* make it a square like the old date block */
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border-radius: 10px;  /* match your card styling */
  background: rgba(255,255,255,0.06);
}

.event-thumb img{
  width: 100%;
  height: 100%;
  object-fit: contain;  /* no cropping */
  display:block;
}

/* Date subtitle under title */
.event-subdate{
  margin-top: 6px;
  font-size: 20px;
  opacity: 0.85;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: black;
}

.aka-fighter-search{
  margin: 0 0 18px;
}

.aka-fighter-search-input{
  width: 100%;
  max-width: 520px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.18);
  background: #fff;
  font-size: 16px;
  outline: none;
}

.aka-fighter-search-input:focus{
  border-color: rgba(235,192,46,0.9);
  box-shadow: 0 0 0 3px rgba(235,192,46,0.25);
}


