/* =========================================================
   NUIT MAGAZINE
   SINGLE AUTHOR PAGE
   ========================================================= */

.nuit-author-page {
	width: 100%;
	margin: 0;
	padding: 0;
	background: #EAE4D9;
	color: #1E1E1E;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.nuit-author-container {
	width: 1300px;
	margin: 0 auto;
}


/* =========================================================
   AUTHOR HERO
   ========================================================= */

.nuit-author-hero {
	width: 100%;
	padding: 100px 0 90px;
	border-bottom: 1px solid rgba(30, 30, 30, 0.12);
}

.nuit-author-profile {
	display: grid;
	grid-template-columns: 240px minmax(0, 1fr);
	align-items: center;
	gap: 70px;
}


/* =========================================================
   AVATAR
   ========================================================= */

.nuit-author-avatar {
	width: 240px;
	height: 240px;
	overflow: hidden;
}

.nuit-author-avatar img,
.nuit-author-avatar-image {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover;
	object-position: center;
	margin: 0 !important;
}


/* =========================================================
   AUTHOR INFORMATION
   ========================================================= */

.nuit-author-information {
	max-width: 800px;
}

.nuit-author-label {
	margin-bottom: 14px;

	font-family: "DM Sans", Arial, sans-serif;
	font-size: 11px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 1.8px;
	text-transform: uppercase;

	color: #8E510B;
}

.nuit-author-name {
	margin: 0 0 22px !important;
	padding: 0 !important;

	font-family: "Playfair Display", Georgia, serif;
	font-size: clamp(48px, 6vw, 86px);
	font-weight: 600;
	line-height: 0.98;
	letter-spacing: -2px;

	color: #1E1E1E;
}

.nuit-author-bio {
	max-width: 680px;

	font-family: "DM Sans", Arial, sans-serif;
	font-size: 17px;
	font-weight: 400;
	line-height: 1.7;

	color: #45413C;
}

.nuit-author-bio p {
	margin: 0 0 12px;
}

.nuit-author-bio p:last-child {
	margin-bottom: 0;
}


/* =========================================================
   WEBSITE LINK
   ========================================================= */

.nuit-author-website {
	display: inline-flex;
	align-items: center;
	gap: 12px;

	margin-top: 28px;

	font-family: "DM Sans", Arial, sans-serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 1.2px;
	text-transform: uppercase;

	color: #8E510B;

	text-decoration: none !important;
}

.nuit-author-website span {
	font-size: 18px;
	transition: transform 0.25s ease;
}

.nuit-author-website:hover span {
	transform: translateX(5px);
}


/* =========================================================
   POSTS SECTION
   ========================================================= */

.nuit-author-posts {
	width: 100%;
	padding: 80px 0 100px;
}

.nuit-author-posts-header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;

	margin-bottom: 45px;
	padding-bottom: 20px;

	border-bottom: 1px solid rgba(30, 30, 30, 0.12);
}

.nuit-author-posts-heading {
	margin: 0 !important;
	padding: 0 !important;

	font-family: "Playfair Display", Georgia, serif;
	font-size: 42px;
	font-weight: 600;
	line-height: 1;

	color: #1E1E1E;
}

.nuit-author-posts-count {
	font-family: "DM Sans", Arial, sans-serif;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;

	color: #8E510B;
}


/* =========================================================
   POSTS GRID
   ========================================================= */

.nuit-author-post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 55px 30px;
}


/* =========================================================
   POST
   ========================================================= */

.nuit-author-post {
	min-width: 0;
}

.nuit-author-post-link {
	display: block;

	color: inherit;
	text-decoration: none !important;
}


/* =========================================================
   POST IMAGE
   ========================================================= */

.nuit-author-post-image {
	position: relative;

	width: 100%;
	aspect-ratio: 1.45 / 1;

	overflow: hidden;

	background: #D7D1C7;
}

.nuit-author-post-image img {
	display: block;

	width: 100% !important;
	height: 100% !important;

	max-width: none !important;

	margin: 0 !important;
	padding: 0 !important;

	object-fit: cover;
	object-position: center;

	transition: transform 0.5s ease;
}

.nuit-author-post-link:hover
.nuit-author-post-image img {
	transform: scale(1.035);
}

.nuit-author-post-placeholder {
	width: 100%;
	height: 100%;
	background: #D7D1C7;
}


/* =========================================================
   POST CONTENT
   ========================================================= */

.nuit-author-post-content {
	padding-top: 20px;
}

.nuit-author-post-meta {
	display: flex;
	align-items: center;
	gap: 12px;

	margin-bottom: 12px;

	font-family: "DM Sans", Arial, sans-serif;
	font-size: 9px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.nuit-author-post-category {
	color: #8E510B;
}

.nuit-author-post-date {
	color: #68635C;
}

.nuit-author-post-title {
	margin: 0 !important;
	padding: 0 !important;

	font-family: "Playfair Display", Georgia, serif;
	font-size: 27px;
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.3px;

	color: #1E1E1E;

	transition: color 0.25s ease;
}

.nuit-author-post-link:hover
.nuit-author-post-title {
	color: #8E510B;
}

.nuit-author-post-excerpt {
	margin-top: 14px;

	font-family: "DM Sans", Arial, sans-serif;
	font-size: 13px;
	line-height: 1.6;

	color: #59554F;
}

.nuit-author-post-read {
	display: inline-flex;
	align-items: center;
	gap: 10px;

	margin-top: 18px;

	font-family: "DM Sans", Arial, sans-serif;
	font-size: 9px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;

	color: #8E510B;
}

.nuit-author-post-read span {
	font-size: 16px;

	transition: transform 0.25s ease;
}

.nuit-author-post-link:hover
.nuit-author-post-read span {
	transform: translateX(5px);
}


/* =========================================================
   PAGINATION
   ========================================================= */

.nuit-author-pagination {
	margin-top: 75px;
}

.nuit-author-pagination ul {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;

	margin: 0;
	padding: 0;

	list-style: none;
}

.nuit-author-pagination li {
	margin: 0;
	padding: 0;
}

.nuit-author-pagination a,
.nuit-author-pagination span {
	display: flex;
	align-items: center;
	justify-content: center;

	min-width: 38px;
	height: 38px;

	padding: 0 10px;

	font-family: "DM Sans", Arial, sans-serif;
	font-size: 10px;
	font-weight: 600;

	color: #1E1E1E;

	border: 1px solid rgba(30, 30, 30, 0.15);

	text-decoration: none;
}

.nuit-author-pagination .current {
	background: #8E510B;
	border-color: #8E510B;
	color: #fff;
}


/* =========================================================
   EMPTY STATE
   ========================================================= */

.nuit-author-empty {
	padding: 80px 0;
	text-align: center;
}

.nuit-author-empty h2 {
	margin: 0 0 10px;

	font-family: "Playfair Display", Georgia, serif;
	font-size: 34px;
}

.nuit-author-empty p {
	margin: 0;

	font-family: "DM Sans", Arial, sans-serif;
	font-size: 14px;
	color: #59554F;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

	.nuit-author-container {
		width: min(100% - 50px, 1100px);
	}

	.nuit-author-hero {
		padding: 75px 0;
	}

	.nuit-author-profile {
		grid-template-columns: 190px minmax(0, 1fr);
		gap: 45px;
	}

	.nuit-author-avatar {
		width: 190px;
		height: 190px;
	}

	.nuit-author-name {
		font-size: 60px;
	}

	.nuit-author-post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 45px 25px;
	}

	.nuit-author-post-title {
		font-size: 25px;
	}
}


/* =========================================================
   TABLET / SMALL
   ========================================================= */

@media (max-width: 767px) {

	.nuit-author-container {
		width: calc(100% - 36px);
	}

	.nuit-author-hero {
		padding: 55px 0 50px;
	}

	.nuit-author-profile {
		grid-template-columns: 110px minmax(0, 1fr);
		gap: 25px;
		align-items: start;
	}

	.nuit-author-avatar {
		width: 110px;
		height: 110px;
	}

	.nuit-author-label {
		margin-bottom: 9px;
		font-size: 8px;
	}

	.nuit-author-name {
		margin-bottom: 14px !important;

		font-size: 38px;
		line-height: 1;
		letter-spacing: -1px;
	}

	.nuit-author-bio {
		font-size: 13px;
		line-height: 1.55;
	}

	.nuit-author-website {
		margin-top: 18px;
		font-size: 9px;
	}

	.nuit-author-posts {
		padding: 55px 0 70px;
	}

	.nuit-author-posts-header {
		margin-bottom: 30px;
	}

	.nuit-author-posts-heading {
		font-size: 32px;
	}

	.nuit-author-posts-count {
		font-size: 8px;
	}

	.nuit-author-post-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.nuit-author-post-image {
		aspect-ratio: 1.5 / 1;
	}

	.nuit-author-post-title {
		font-size: 25px;
	}
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 480px) {

	.nuit-author-container {
		width: calc(100% - 28px);
	}

	.nuit-author-hero {
		padding: 40px 0;
	}

	.nuit-author-profile {
		display: block;
	}

	.nuit-author-avatar {
		width: 110px;
		height: 110px;
		margin-bottom: 25px;
	}

	.nuit-author-name {
		font-size: 42px;
	}

	.nuit-author-bio {
		font-size: 13px;
	}

	.nuit-author-posts {
		padding: 45px 0 0px;
	}

	.nuit-author-posts-header {
		display: block;
		margin-bottom: 25px;
	}

	.nuit-author-posts-heading {
		font-size: 30px;
	}

	.nuit-author-posts-count {
		margin-top: 10px;
	}

	.nuit-author-post-content {
		padding-top: 15px;
	}

	.nuit-author-post-title {
		font-size: 23px;
	}

	.nuit-author-post-excerpt {
		font-size: 12px;
	}

	.nuit-author-pagination {
		margin-top: 50px;
	}

}