/* =========================================================
   LN Individual Events Styles
   File: /ln-events-styles.css
   ========================================================= */


/* =========================================================
   [ln_event_single] Hero
   ========================================================= */

.ln-evt-hero{
  background: #0c5d7300 url(/wp-content/uploads/2024/03/Wave-hlaf-com.png);
    color: #fff;
    padding: 120px 0 160px;
    margin-bottom: 0;
    background-position: bottom;
    background-size: cover;
}

.ln-evt-hero-inner{
  max-width:1440px;
  margin:0 auto;
  text-align:center;
}

.ln-evt-title{
  font-size:64px;
  color:#fff;
  line-height:1.05;
  margin:0 0 40px;
  font-weight:500;
}

.ln-evt-category{
    font-weight: 800;
    font-size: 14px;
    line-height: 24px;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #fff;
}

.ln-evt-badge{
    display: inline-block;
    padding: 10px 16px;
    border-radius: 10px;
    margin: 36px 0;
    border: 1px solid #FFFFFF;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #fff;
}

.ln-evt-meta{
  display:flex;
  gap:36px;
  justify-content:center;
  flex-wrap:wrap;
}

.ln-evt-meta-item{
  min-width:180px;
}

.ln-evt-meta-label{
  	font-size: 14px;
    opacity: .85;
    font-family: 'Avenir-Heavy-800', Helvetica, Arial, Lucida, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 24px;
    color: #83CEE8;
    text-align: left;
}

.ln-evt-meta-value{
    margin-top: 0;
    text-align: left;
    font-weight: 400;
    font-size: 30px;
    line-height: 150%;
}

.ln-evt-actions{
  margin-top:24px;
  display:flex;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
}

.ln-evt-actions select{
  min-width:260px;
  padding:12px 14px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.35);
  background:transparent;
  color:#fff;
}

.ln-evt-actions option{
  color:#000;
}

@media (max-width:720px){
  .ln-evt-hero{padding: 60px 0 80px;}
  .ln-evt-title{ font-size: 30px; line-height: 39px;}
  .ln-evt-meta-value{font-size:18px}
  .ln-evt-meta {flex-wrap: nowrap; flex-direction: column;}
}


/* =========================================================
   HERO ACTIONS (Date dropdown + Add to Calendar)
   Matches the example styling (pill controls + floating menu)
   ========================================================= */

.ln-evt-actions {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;     /* centers both controls */
  gap: 16px;
}

/* ---------- DATE DROPDOWN (native select styled as pill) ---------- */

.ln-evt-actions select {
    width: 320px;
    max-width: 90vw;
    padding: 16px;
    border: 1px solid #FFFFFF;
    border-radius: 20px;
    background: transparent;
    color: #fff;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    font-weight: 900;
    font-size: 14px;
    line-height: 24px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

/* Dropdown option text (browser renders this UI) */
.ln-evt-actions select option {
  color: #000;
}

/* Custom down-arrow for the select */
.ln-evt-actions {
  position: relative;
}

.ln-evt-actions select {
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255,255,255,.9) 50%),
    linear-gradient(135deg, rgba(255,255,255,.9) 50%, transparent 50%);
  background-position:
    calc(100% - 22px) 55%,
    calc(100% - 16px) 55%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

/* ---------- ADD TO CALENDAR (pill button + floating menu) ---------- */

.ln-cal-wrap {
  position: relative;
  display: inline-block;
}

.ln-cal-btn {
    width: 430px;
    max-width: 90vw;
    padding: 16px;
    background: transparent;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 24px;
    border: 1px solid #FFFFFF;
    border-radius: 20px;
    font-weight: 900;
    font-size: 14px;
    line-height: 24px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

/* caret */
.ln-cal-btn::after {
  content: "▾";/*https://wordpress-1404188-6206565.cloudwaysapps.com/wp-content/uploads/2024/04/dropdown-arrow.svg*/
  font-size: 14px;
  opacity: .9;
}

/* Dropdown panel */
.ln-cal-dropdown {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: calc(100% + 10px);
    width: 360px;
    max-width: 92vw;
    background: #015675;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 22px;
    padding: 0;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .22);
    display: none;
    z-index: 9999;
}

/* show on hover (desktop) */
.ln-cal-wrap:hover .ln-cal-dropdown {
  display: block;
}

/* also show when button focused/clicked (keyboard + mobile friendly) */
.ln-cal-wrap:focus-within .ln-cal-dropdown {
  display: block;
}

.ln-cal-dropdown a {
    display: block;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: 14px;
    padding: 12px 10px;
    border-radius: 0;
}

.ln-cal-dropdown a:first-child {
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
}

.ln-cal-dropdown a:hover {
  background: rgba(255,255,255,.10);
}

/* ---------------------------------------------------------
   OPTIONAL: tighter on mobile
   --------------------------------------------------------- */
@media (max-width: 520px) {
  .ln-evt-actions select,
  .ln-cal-btn {
    width: 92vw;
  }
}

/* 	=========================================================
	Extra times under TIME 
	========================================================= */

.ln-evt-time-list{
	
}

.ln-evt-time-row{
	margin-top: 10px;
}


/* =========================================================
   [ln_event_featured_image]
   ========================================================= */

.ln-evt-img-wrap{
  max-width:100%;
  margin:0 auto;
  padding:0;
}

.ln-evt-img-wrap:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.ln-evt-img{
    width: 100%;
    max-height: 500px;
    height: auto;
    display: block;
    object-fit: cover;
}

.ln-evt-img img {
	object-fit: cover;
	max-height:520px;
}


/* =========================================================
   [ln_event_description]
   ========================================================= */

.ln-evt-desc-wrap{
  max-width:100%;
  margin:0 auto 0;
  padding:0;
}

.ln-evt-desc{
  	color: #000;
    font-family: 'Avenir Roman', Helvetica, Arial, Lucida, sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
    margin: 0px;
    margin-bottom: 0;
    padding-bottom: 0;
}


/* =========================================================
   [ln_event_related] Related Grid
   ========================================================= */

.ln-rel-wrap{
  max-width:1665px;
  margin:0 auto 40px;
  padding:0;
}

.ln-rel-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}

.ln-rel-card{
  display:block;
  text-decoration:none;
}

.ln-rel-thumb{
  border-radius:18px;
  overflow:hidden;
  background:#f1f1f1;
  aspect-ratio: 4 / 3;
}

.ln-rel-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.ln-rel-title{  
    margin: 32px 0 16px 0;
    color: #015675;
    font-family: 'Sentinel-Medium', Helvetica, Arial, Lucida, sans-serif;
    font-size: 26px;
    font-style: normal;
    line-height: 33.8px;
}

.ln-rel-date{
  font-size:13px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#9aa7b1;
  font-weight:600;
}

@media (max-width:980px){
  .ln-rel-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media (max-width:520px){
  .ln-rel-grid{grid-template-columns:1fr}
  .ln-rel-title{font-size:24px}
}