/* Elko Local Ads */
.ead-banner {
	position: relative; margin: 1.1rem 0; text-align: center;
	background: #fff; border: 1px solid #E2DACA; border-radius: 12px; overflow: hidden;
	box-shadow: 0 1px 2px rgba(20,33,60,.06);
}
.ead-banner img { display: block; width: 100%; max-height: 170px; object-fit: contain; }
.ead-label {
	position: absolute; top: 6px; right: 8px; z-index: 2;
	background: rgba(27,42,74,.75); color: #F6EFE1; font-size: .6rem; font-weight: 800;
	letter-spacing: .08em; text-transform: uppercase; padding: .12rem .5rem; border-radius: 999px;
}
.ead-wrap { }
.ead-hero {
	text-align: center; color: #fff; padding: 2rem 1.5rem; margin-bottom: 1.3rem; border-radius: 16px;
	background: radial-gradient(ellipse 55% 45% at 50% 0%, rgba(232,119,34,.25), transparent 70%), linear-gradient(165deg, #2A3D66 0%, #1B2A4A 45%, #14213C 100%);
	box-shadow: 0 2px 4px rgba(20,33,60,.07), 0 8px 20px rgba(20,33,60,.10);
}
.ead-hero h2 { color: #fff; font-family: "Bitter", Georgia, serif; margin: 0 0 .5rem; }
.ead-hero p { color: #DFE4EF; max-width: 62ch; margin: 0 auto; }
.ead-price-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.3rem; }
.ead-price-card {
	position: relative; flex: 1; min-width: 190px; text-align: center;
	background: #fff; border: 1px solid #E2DACA; border-radius: 14px; padding: 1.1rem 1rem;
	box-shadow: 0 1px 2px rgba(20,33,60,.06);
	display: flex; flex-direction: column; gap: .15rem; color: #5A6274; font-size: .85rem;
}
.ead-price-card.is-featured { border: 2px solid #E87722; box-shadow: 0 4px 14px rgba(232,119,34,.22); }
.ead-badge {
	position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
	background: linear-gradient(180deg, #F2853A, #C2600F); color: #fff;
	font-size: .66rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
	padding: .2rem .7rem; border-radius: 999px; white-space: nowrap;
}
.ead-price-n { font-family: "Bitter", Georgia, serif; font-weight: 800; font-size: 1.9rem; color: #1B2A4A; }
.ead-form { max-width: 620px; }
.ead-form label { display: block; font-weight: 700; color: #1B2A4A; margin-bottom: .95rem; }
.ead-form input[type="text"], .ead-form input[type="url"], .ead-form select {
	width: 100%; padding: .65rem 1rem; border: 1px solid #E2DACA; border-radius: 10px; font-size: .95rem; margin-top: .3rem;
}
.ead-form input[type="file"] { display: block; margin-top: .3rem; border: 1px dashed #CFC5AC; background: #FFFDF8; padding: .8rem 1rem; border-radius: 10px; width: 100%; cursor: pointer; }
.ead-form input:focus, .ead-form select:focus { outline: none; border-color: #E87722; box-shadow: 0 0 0 3px rgba(232,119,34,.22); }
.ead-form-row { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.ead-hint { font-weight: 400; font-size: .82rem; color: #5A6274; }
.ead-submit-row { margin-top: .4rem; }
.ead-btn {
	display: inline-flex; align-items: center; gap: .45rem; padding: .75rem 1.6rem; border-radius: 999px;
	font-weight: 700; cursor: pointer; text-decoration: none; border: 2px solid #C2600F;
}
.ead-btn-solid { background: linear-gradient(180deg, #F2853A, #C2600F); color: #fff !important; box-shadow: 0 3px 10px rgba(232,119,34,.35); }
.ead-btn-solid:hover { filter: brightness(1.06); }
.ead-mylist { display: flex; flex-direction: column; gap: .6rem; margin-bottom: 1.6rem; }
.ead-myrow {
	display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
	background: #fff; border: 1px solid #E2DACA; border-radius: 12px; padding: .8rem 1.1rem;
	box-shadow: 0 1px 2px rgba(20,33,60,.06);
}
.ead-mymeta { display: block; font-size: .8rem; color: #5A6274; }
.ead-mystats { display: flex; gap: 1.1rem; font-size: .85rem; color: #3E4657; }
.ead-st { font-size: .8rem; font-weight: 800; padding: .25rem .8rem; border-radius: 999px; }
.ead-st-live { background: #EAF3EC; color: #2C4A33; }
.ead-st-exp { background: #F3F0E8; color: #5A6274; }
.ead-st-rev { background: #FCF3E4; color: #C2600F; }
.ead-st-drf { background: #F3F0E8; color: #5A6274; }
.ead-notice-ok { background: #EAF3EC; border-left: 4px solid #2C4A33; padding: .85rem 1.15rem; border-radius: 6px; margin-bottom: 1rem; }
.ead-notice-err { background: #F8E9E5; border-left: 4px solid #9C2F1E; padding: .85rem 1.15rem; border-radius: 6px; margin-bottom: 1rem; }
.ead-empty { background: #fff; border: 1px dashed #CFC5AC; border-radius: 12px; padding: 1.2rem 1.4rem; }
@media (max-width: 640px) { .ead-form-row { grid-template-columns: 1fr; } }

.ead-code-ok { display: block; margin-top: .3rem; font-size: .85rem; font-weight: 700; color: #2C4A33; }
.ead-code-bad { display: block; margin-top: .3rem; font-size: .85rem; font-weight: 700; color: #9C2F1E; }

/* Mode cards are the switch */
#ead-mode-cards .ead-price-card { cursor: pointer; transition: transform .14s ease, box-shadow .14s ease, border-color .14s; font: inherit; }
#ead-mode-cards .ead-price-card:hover { transform: translateY(-2px); }
#ead-mode-cards .ead-price-card.is-picked { border: 2px solid #E87722; box-shadow: 0 4px 14px rgba(232,119,34,.25); }
#ead-mode-cards .ead-price-card.is-picked::after { content: "✓ Selected"; font-size: .7rem; font-weight: 800; color: #C2600F; margin-top: .2rem; }
.ead-avail { margin: -.3rem 0 .95rem; font-size: .9rem; font-weight: 700; min-height: 1.2em; }
.ead-avail.is-open { color: #2C4A33; }
.ead-avail.is-queued { color: #C2600F; }

/* Carousel */
.ead-banner { min-height: 60px; }
.ead-slide { display: none; }
.ead-slide.is-showing { display: block; animation: ead-fade .5s ease; }
@keyframes ead-fade { from { opacity: 0; } to { opacity: 1; } }
.ead-dots { position: absolute; bottom: 6px; left: 0; right: 0; display: flex; gap: 5px; justify-content: center; z-index: 2; }
.ead-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(27,42,74,.25); transition: background .2s; }
.ead-dots i.is-on { background: #E87722; }

/* Town chips */
.ead-town-chips { display: flex; flex-wrap: wrap; gap: .35rem; margin: .5rem 0 1rem; }
.ead-town-chip input { position: absolute; opacity: 0; pointer-events: none; }
.ead-town-chip span {
	display: inline-block; padding: .35rem .9rem; border-radius: 999px; cursor: pointer;
	background: #fff; border: 2px solid #1B2A4A; color: #1B2A4A; font-size: .82rem; font-weight: 700;
	transition: background .14s, color .14s;
}
.ead-town-chip input:checked + span { background: #1B2A4A; color: #fff; }
.ead-town-chip span:hover { background: #F6EFE1; }
.ead-town-chip input:checked + span:hover { background: #2A3D66; }
.ead-badge-green { background: linear-gradient(180deg, #3E6B4C, #2C4A33); }

.ead-badge-gold { background: linear-gradient(180deg, #E5B93B, #B8860B); color: #14213C; }
#ead-mode-cards .ead-price-card.is-premium { background: linear-gradient(170deg, #1B2A4A, #14213C); }
#ead-mode-cards .ead-price-card.is-premium .ead-price-n { color: #F2B04A; }
#ead-mode-cards .ead-price-card.is-premium span:last-child { color: #DFE4EF; }
#ead-mode-cards .ead-price-card.is-premium.is-picked { border-color: #D9A404; box-shadow: 0 4px 16px rgba(217,166,4,.35); }
#ead-mode-cards .ead-price-card.is-premium.is-picked::after { color: #F2B04A; }

/* Letterbox: non-banner shapes sit on a blurred echo of themselves */
.ead-slide { position: relative; overflow: hidden; }
.ead-bg {
	position: absolute; inset: 0; background-size: cover; background-position: center;
	filter: blur(16px) saturate(1.15); opacity: .45; transform: scale(1.2);
}
.ead-slide img { position: relative; z-index: 1; max-width: 100%; width: auto; margin: 0 auto; }
.ead-preview .ead-slide { display: block; height: 150px; }
.ead-preview .ead-slide img { max-height: 150px; }
#ead-preview-zone { margin: -.3rem 0 1rem; }

/* Mode cards: equal grid, wraps 2x2 on small screens */
#ead-mode-cards.ead-price-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
	gap: 1.1rem;
	margin: 1.5rem 0 1.4rem;
}
#ead-mode-cards .ead-price-card {
	min-width: 0;
	justify-content: center;
	padding: 1.35rem .9rem 1.05rem;
	margin: 0;
}
@media (max-width: 700px) {
	#ead-mode-cards.ead-price-row { grid-template-columns: 1fr 1fr; }
}
