/* AI Content — нейтральные минимальные стили. Переопределяйте в теме при необходимости. */

.aic-list,
.aic-archive { margin: 0 0 1.5em; }

.aic-line { padding: 14px 0; border-bottom: 1px solid rgba(0, 0, 0, .1); }
.aic-line .aic-text { margin: .2em 0; font-size: 1em; line-height: 1.5; }

.aic-tag {
	display: inline-block;
	font-size: .7em;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	padding: 2px 8px;
	border-radius: 999px;
}
.aic-tag--review { color: #0f766e; background: rgba(15, 118, 110, .1); }
.aic-tag--win    { color: #b45309; background: rgba(180, 83, 9, .1); }

.aic-sub  { display: block; font-size: .85em; opacity: .7; margin-top: .15em; }
.aic-name { font-weight: 600; }
.aic-empty { opacity: .7; font-style: italic; }

.aic-vh {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* Пагинация */
.aic-pager { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 1.2em 0; }
.aic-page {
	display: inline-block;
	min-width: 34px;
	text-align: center;
	padding: 6px 10px;
	border: 1px solid rgba(0, 0, 0, .15);
	border-radius: 6px;
	text-decoration: none;
	line-height: 1.2;
}
.aic-page.is-current { background: #222; color: #fff; border-color: #222; font-weight: 600; }
.aic-page.is-disabled { opacity: .4; }
.aic-dots { padding: 0 4px; opacity: .6; }

/* Форма отзыва */
.aic-form-wrap { margin-top: 2em; padding-top: 1.5em; border-top: 2px solid rgba(0, 0, 0, .1); }
.aic-form-title { margin: 0 0 .2em; }
.aic-form-note { margin: 0 0 1em; font-size: .9em; opacity: .75; }

.aic-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.aic-field { display: flex; flex-direction: column; gap: 5px; }
.aic-field--full { grid-column: 1 / -1; }
.aic-field label { font-size: .85em; font-weight: 600; }
.aic-field input,
.aic-field textarea {
	width: 100%;
	padding: 9px 11px;
	border: 1px solid rgba(0, 0, 0, .2);
	border-radius: 6px;
	font: inherit;
	box-sizing: border-box;
}
.aic-req { color: #c0392b; }

.aic-form-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.aic-submit {
	cursor: pointer;
	font: inherit;
	font-weight: 600;
	padding: 10px 20px;
	border: 0;
	border-radius: 6px;
	background: #222;
	color: #fff;
}
.aic-spam-note { font-size: .8em; opacity: .6; }

.aic-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Уведомления формы */
.aic-notice { padding: 10px 14px; border-radius: 6px; margin: 0 0 1em; font-size: .9em; }
.aic-notice--success { background: rgba(26, 127, 55, .1); color: #1a7f37; }
.aic-notice--error   { background: rgba(179, 45, 46, .1); color: #b32d2e; }

@media (max-width: 600px) {
	.aic-form { grid-template-columns: 1fr; }
}

/* CTA-кнопка под блоком последних записей */
.aic-cta-wrap { text-align: center; margin-top: 24px; }
.aic-cta {
	display: inline-block;
	max-width: 100%;
	box-sizing: border-box;
	padding: 11px 24px;
	font: inherit;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	white-space: normal;
	border: 0;
	cursor: pointer;
	/* базовые значения; цвета и радиус задаются в настройках плагина */
	background: #222;
	color: #fff;
	border-radius: 6px;
	transition: background .15s ease, color .15s ease;
}
.aic-cta:hover,
.aic-cta:focus { background: #000; color: #fff; }

/* Метка типа (отзыв/выигрыш): иконка + текст по центру */
.aic-tag { display: inline-flex; align-items: center; gap: 5px; }
.aic-tag__icon { flex: 0 0 auto; }
/* убрать лишний отступ у последней карточки в списке */
.ai-content-card:last-child { margin-bottom: 0; }
