.nauta-authors-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 28px;
	width: 100%;
}

.nauta-author-card {
	--nauta-author-ink: #151312;
	--nauta-author-accent: #e6402b;
	--nauta-author-button: #f6d43a;
	display: flex;
	min-width: 0;
	flex-direction: column;
	background: #fff;
	border: 2px solid var(--nauta-author-ink);
	box-shadow: 5px 5px 0 var(--nauta-author-ink);
	transition: transform 160ms ease, box-shadow 160ms ease;
}

.nauta-author-card:hover {
	transform: translate(-2px, -2px);
	box-shadow: 7px 7px 0 var(--nauta-author-ink);
}

.nauta-author-card__photo {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: #f1ede4;
	border-bottom: 2px solid var(--nauta-author-ink);
}

.nauta-author-card__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 240ms ease;
}

.nauta-author-card__placeholder {
	display: grid;
	width: 100%;
	height: 100%;
	place-items: center;
	color: rgba(21, 19, 18, .3);
}

.nauta-author-card__placeholder svg {
	width: 34%;
	max-width: 92px;
}

.nauta-author-card:hover .nauta-author-card__photo img {
	transform: scale(1.025);
}

.nauta-author-card__content {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 14px;
	padding: 20px 20px 22px;
}

.nauta-author-card__name {
	color: var(--nauta-author-ink);
	font-family: "Oswald", sans-serif;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.2;
	text-transform: uppercase;
	text-wrap: balance;
}

a.nauta-author-card__name:hover,
a.nauta-author-card__name:focus-visible {
	color: var(--nauta-author-accent);
}

.nauta-author-card__button {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	min-height: 44px;
	margin-top: auto;
	padding: 10px 14px;
	color: var(--nauta-author-ink);
	background: var(--nauta-author-button);
	border: 2px solid var(--nauta-author-ink);
	box-shadow: 3px 3px 0 var(--nauta-author-ink);
	font-family: "Archivo", sans-serif;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .08em;
	line-height: 1;
	text-transform: uppercase;
	transition: color 140ms ease, background-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.nauta-author-card__button svg {
	width: 16px;
	height: 16px;
	flex: 0 0 16px;
}

.nauta-author-card__button:hover,
.nauta-author-card__button:focus-visible {
	color: #fff;
	background: var(--nauta-author-accent);
	box-shadow: 1px 1px 0 var(--nauta-author-ink);
	transform: translate(2px, 2px);
}

.nauta-author-card__button--inactive {
	cursor: default;
}

.nauta-author-card__button--inactive:hover {
	color: var(--nauta-author-ink);
	background: var(--nauta-author-button);
	box-shadow: 3px 3px 0 var(--nauta-author-ink);
	transform: none;
}

@media (max-width: 1024px) {
	.nauta-authors-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.nauta-authors-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 22px;
	}

	.nauta-author-card__content {
		padding: 18px;
	}
}
