/* Thank-you page and blog author page. Builds on ecl-listing.css. See ecl-extra-pages.php. */

/* Thank you */
.ecl-ty__top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; }
.ecl-ty__badge { display: grid; place-items: center; width: 168px; height: 168px; border-radius: 50%; background: #fff; color: #1f9d55; box-shadow: 0 24px 60px rgba(36, 20, 73, .12), inset 0 0 0 10px #eafaf1; }
.ecl-ty__badge svg { width: 72px; height: 72px; }
.ecl-ty__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0 0 40px; padding: 0; list-style: none; counter-reset: none; }
.ecl-ty__steps li { position: relative; padding: 26px 24px 24px; border: 1px solid var(--ls-line); border-radius: 20px; background: #fff; }
.ecl-ty__steps li span { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 16px; border-radius: 50%; background: var(--ls-ink); color: #fff; font-weight: 800; font-size: 15px; }
.ecl-ty__steps li:first-child span { background: var(--ls-gold); color: var(--ls-ink); }
.ecl-ty__steps strong { display: block; margin-bottom: 8px; color: var(--ls-ink); font-size: 18px; line-height: 1.3; }
.ecl-ty__steps p { margin: 0; color: var(--ls-muted); font-size: 15px; line-height: 1.6; }
.ecl-ty__mail { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between; margin: 0 0 44px; padding: 28px 30px; border-radius: 22px; background: linear-gradient(125deg, #241449, #4a2fa8); color: #fff; }
.ecl-ty__mail h2 { margin: 0 0 6px; color: #fff !important; font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.ecl-ty__mail p { max-width: 560px; margin: 0; color: rgba(255, 255, 255, .78); font-size: 15px; line-height: 1.6; }
.ecl-lst a.ecl-ty__mail-link { display: inline-flex; align-items: center; min-height: 52px; padding: 0 26px; border-radius: 999px; background: var(--ls-gold); color: var(--ls-ink); font-weight: 800; font-size: 16px; text-decoration: none; overflow-wrap: anywhere; }
.ecl-lst a.ecl-ty__mail-link:hover { background: #ffcd45; color: var(--ls-ink); }

/* Author */
.ecl-au__profile { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 40px; align-items: start; }
.ecl-au__photo { display: grid; place-items: center; width: 180px; height: 180px; overflow: hidden; border-radius: 32px; background: #fff; box-shadow: 0 24px 60px rgba(36, 20, 73, .12); }
.ecl-au__photo img { width: 140px; height: 140px; object-fit: contain; }
.ecl-au__photo span { color: var(--ls-violet); font-weight: 900; font-size: 40px; }
.ecl-au h1 { font-size: clamp(36px, 4.4vw, 58px); }
.ecl-au__role { margin: 12px 0 0; color: var(--ls-violet); font-weight: 700; font-size: 17px; }
.ecl-au__bio { max-width: 720px; margin-top: 16px; color: #5f5870; font-size: 17px; line-height: 1.7; }
.ecl-au__bio p { margin: 0 0 12px; }
.ecl-au__facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.ecl-au__facts li { padding: 7px 14px; border: 1px solid #ddd6ef; border-radius: 999px; background: #fff; color: var(--ls-ink); font-size: 14px; font-weight: 700; }
.ecl-au__links { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 20px; }
.ecl-lst .ecl-au__links a { color: #5937c8; font-weight: 800; font-size: 15px; text-decoration: none; }
.ecl-lst .ecl-au__links a:hover { color: var(--ls-ink); text-decoration: underline; }
.ecl-au .ecl-lst__card h3 { margin: 0 0 10px; font-size: 21px; font-weight: 800; line-height: 1.3; letter-spacing: -.02em; }
.ecl-au .ecl-lst__card h3 a { color: var(--ls-ink); text-decoration: none; }
.ecl-au .ecl-lst__card h3 a:hover { color: var(--ls-violet); }
.ecl-au__how { margin-top: 48px; padding: 32px; border: 1px solid var(--ls-line); border-radius: 22px; background: #fff; }
.ecl-au__how h2 { margin: 0 0 10px; font-size: 26px; font-weight: 800; letter-spacing: -.03em; }
.ecl-au__how p { max-width: 760px; margin: 0 0 22px; color: var(--ls-muted); font-size: 16px; line-height: 1.7; }

@media (max-width: 900px) {
	.ecl-ty__top { grid-template-columns: 1fr; }
	.ecl-ty__badge { order: -1; width: 96px; height: 96px; box-shadow: 0 14px 34px rgba(36, 20, 73, .12), inset 0 0 0 6px #eafaf1; }
	.ecl-ty__badge svg { width: 44px; height: 44px; }
	.ecl-ty__steps { grid-template-columns: 1fr; }
	.ecl-au__profile { grid-template-columns: 1fr; gap: 24px; }
	.ecl-au__photo { width: 120px; height: 120px; border-radius: 24px; }
	.ecl-au__photo img { width: 92px; height: 92px; }
}
@media (max-width: 600px) {
	.ecl-ty__mail { padding: 24px 20px; }
	.ecl-lst a.ecl-ty__mail-link { width: 100%; justify-content: center; font-size: 15px; }
	.ecl-au__how { padding: 24px 20px; }
}
