{partners-alert}

<div class="partners">
	<div class="pt-wrap">
		<div class="pt-head">
			<h1 class="pt-h1">Partners</h1>
			<div class="pt-lead">Add your site to the list (link + logo/banner) and exchange partnerships.</div>
		</div>

		<div class="pt-section">
			<h2 class="pt-h2">Add partner</h2>
			{partners-form}
		</div>

		<div class="pt-section">
			<h2 class="pt-h2">Partners list</h2>
			{partners-list}
		</div>

		<div class="pt-section">
			{partners-code}
		</div>
	</div>
</div>

<style>
.partners .pt-wrap{max-width:1100px;margin:0 auto;padding:15px}
.partners .pt-head{margin-bottom:12px}
.partners .pt-h1{font-size:28px;margin:0 0 6px 0}
.partners .pt-lead{opacity:.9}
.partners .pt-section{background:rgba(0,0,0,.06);border:1px solid rgba(255,255,255,.08);border-radius:12px;padding:14px;margin:12px 0}
.partners .pt-h2{font-size:18px;margin:0 0 10px 0}
.partners .pt-alert{padding:10px 12px;border-radius:10px;margin:10px 0}
.partners .pt-alert--error{background:rgba(255,0,0,.08);border:1px solid rgba(255,0,0,.25)}
.partners .pt-form__grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.partners .pt-form__row{display:flex;flex-direction:column;gap:6px}
.partners .pt-form__row--as{grid-column:1/-1;opacity:.9}
.partners .pt-label{font-weight:600}
.partners .pt-input{padding:10px 12px;border-radius:10px;border:1px solid rgba(255,255,255,.12);background:rgba(0,0,0,.12);color:inherit;outline:none}
.partners .pt-input:focus{border-color:rgba(255,255,255,.28)}
.partners .pt-hint{opacity:.85;font-size:12px}
.partners .pt-actions{margin-top:10px}
.partners .pt-btn{padding:10px 14px;border-radius:10px;border:1px solid rgba(255,255,255,.14);background:rgba(0,0,0,.15);color:inherit;cursor:pointer}
.partners .pt-btn:hover{background:rgba(0,0,0,.22)}
.partners .pt-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.partners .pt-card{border:1px solid rgba(255,255,255,.10);border-radius:12px;overflow:hidden;background:rgba(0,0,0,.10)}
.partners .pt-card__link{display:flex;gap:12px;padding:12px;text-decoration:none;color:inherit}
.partners .pt-logo{width:64px;height:64px;border-radius:12px;overflow:hidden;background:rgba(255,255,255,.06);display:flex;align-items:center;justify-content:center;flex:0 0 auto}
.partners .pt-logo img{width:100%;height:100%;object-fit:cover;display:block}
.partners .pt-title{font-weight:700;line-height:1.2}
.partners .pt-url{font-size:12px;opacity:.85;word-break:break-all}
.partners .pt-sub{font-size:12px;opacity:.75;margin-top:4px}
.partners .pt-empty{opacity:.85}
.partners .pt-code__box{margin-top:10px}
.partners .pt-code__label{font-weight:600;margin-bottom:6px}
.partners .pt-code__ta{width:100%;padding:10px 12px;border-radius:10px;border:1px solid rgba(255,255,255,.12);background:rgba(0,0,0,.12);color:inherit;resize:vertical}
.partners .pt-captcha-row{display:grid;grid-template-columns:180px 1fr;gap:10px;align-items:center}
@media (max-width:800px){.partners .pt-form__grid{grid-template-columns:1fr}.partners .pt-grid{grid-template-columns:1fr}}
</style>
