/* =========================================================
   BLOGS ARCHIVE PAGE - BASE
========================================================= */

.alston-blogs-archive {
	width: 100%;
	overflow: hidden;
	background: #ffffff;
	color: #181A1F;
}

.alston-blogs-archive *,
.alston-blogs-archive *::before,
.alston-blogs-archive *::after {
	box-sizing: border-box;
}

.alston-blogs-archive img {
	max-width: 100%;
	display: block;
}

.alston-blogs-archive a {
	text-decoration: none;
	color: inherit;
}

.alston-blogs-hero__inner,
.alston-blogs-archive__inner {
	width: 100%;
	max-width: 1440px;
	margin: 0 auto;
	padding-left: 5px;
	padding-right: 5px;
}


/* =========================================================
   HERO / BREADCRUMB
========================================================= */

.alston-blogs-hero{
	width:100%;
	position:relative;
	overflow:hidden;
	background:#181A1F;
	isolation:isolate;
}

.alston-blogs-hero__bg{
	position:absolute;
	inset:0;
	z-index:1;
	background-image:url('/wp-content/uploads/2026/05/Main-Breadcrumb-Image-Alston.webp');
	background-size:cover;
	background-position:center right;
	background-repeat:no-repeat;
}

.alston-blogs-hero__overlay{
	position:absolute;
	inset:0;
	z-index:2;
	background:
		linear-gradient(
			90deg,
			rgba(0,0,0,0.82) 0%,
			rgba(0,0,0,0.62) 35%,
			rgba(0,0,0,0.18) 100%
		);
}

.alston-blogs-hero__inner{
	position:relative;
	z-index:3;
	width:100%;
	min-height:400px;
	display:flex;
	flex-direction:column;
	justify-content:center;
	align-items:flex-start;
	color:#ffffff;
	padding-top:120px;
}

.alston-blogs-hero__content{
	width:100%;
	color:#ffffff;
}

.alston-blogs-breadcrumb{
	display:flex;
	flex-wrap:wrap;
	align-items:center;
	gap:12px;
	margin:0 0 22px;
	font-size:11px;
	font-weight:600;
	line-height:1;
	letter-spacing:0.18em;
	text-transform:uppercase;
	color:rgba(255,255,255,0.72);
}

.alston-blogs-breadcrumb a,
.alston-blogs-breadcrumb span{
	color:inherit;
}

.alston-blogs-breadcrumb span:last-child{
	color:#C9A961;
}

.alston-blogs-breadcrumb a{
	transition:opacity 0.3s ease;
}

.alston-blogs-breadcrumb a:hover{
	opacity:0.6;
}

.alston-blogs-hero__title{
	font-family:'Cormorant Garamond',serif;
	font-size:72px;
	line-height:0.95;
	font-weight:600;
	letter-spacing:-0.03em;
	color:#ffffff;
	margin:0 0 22px;
}

.alston-blogs-hero__description{
	width:100%;
	max-width:820px;
	margin:0;
	font-family:'Inter',sans-serif;
	font-size:15px;
	line-height:25px;
	font-weight:300;
	color:rgba(255,255,255,0.82);
}


/* =========================================================
   GRID SECTION
========================================================= */

.alston-blogs-archive__section {
	width: 100%;
	background: #ffffff;
	padding: 5rem 0;
}

.alston-blogs-archive__ajax-wrap {
	position: relative;
	min-height: 320px;
	transition: opacity 0.3s ease;
}

.alston-blogs-archive__ajax-wrap.is-loading {
	opacity: 0.45;
	pointer-events: none;
}

.alston-blogs-archive__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	column-gap: 32px;
	row-gap: 56px;
	width: 100%;
}

.alston-blogs-archive__empty {
	grid-column: 1 / -1;
	width: 100%;
	padding: 40px 0;
}

.alston-blogs-archive__empty p {
	font-size: 16px;
	line-height: 26px;
	color: #555555;
	margin: 0;
}


/* =========================================================
   CARD
========================================================= */

.alston-blogs-card {
	width: 100%;
	background: transparent;
	position: relative;
}

.alston-blogs-card__image {
	display: block;
	width: 100%;
	height: 300px;
	overflow: hidden;
	background: #f3f3f3;
	border-radius: 0px;
}

.alston-blogs-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.alston-blogs-card:hover .alston-blogs-card__image img {
	transform: scale(1.045);
}

.alston-blogs-card__content {
	background: transparent;
	padding: 22px 0 0;
}

.alston-blogs-card__meta {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 0 0 12px;
	font-family: 'Inter', sans-serif;
	font-size: 11px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #C9A961;
}

.alston-blogs-card__title {
	font-family: 'Cormorant Garamond', 'Times New Roman', serif;
	font-size: 30px;
	line-height: 40px;
	font-weight: 500;
	color: #181A1F;
	margin: 0 0 14px;
	letter-spacing: -0.02em;
}

.alston-blogs-card__title a {
	color: #181A1F;
	transition: opacity 0.3s ease;
}

.alston-blogs-card__title a:hover {
	opacity: 0.7;
}

.alston-blogs-card__excerpt {
	font-size: 16px;
	line-height: 28px;
	font-weight: 400;
	color: #4d4d4d;
	margin: 0 0 20px;
	max-width: 95%;
}

.alston-blogs-card__link {
	font-size: 16px;
	line-height: 24px;
	font-weight: 500;
	color: #181A1F;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: opacity 0.3s ease;
}

.alston-blogs-card__link:hover {
	color: #C8A46A;
	opacity: 1;
}

.alston-blogs-card__link-icon {
	width: 16px;
	height: 16px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: transform 0.3s ease;
}

.alston-blogs-card__link-icon img {
	width: 16px;
	height: 16px;
	object-fit: contain;
	display: block;
}

.alston-blogs-card__link:hover .alston-blogs-card__link-icon img {
	filter: brightness(0) saturate(100%) invert(73%) sepia(22%) saturate(620%) hue-rotate(356deg) brightness(90%) contrast(88%);
}


/* =========================================================
   AJAX PAGINATION
========================================================= */

.alston-blogs-pagination {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 64px;
}

.alston-blogs-pagination__item {
	width: 44px;
	height: 44px;
	border: 1px solid #e5e5e5;
	background: #ffffff;
	color: #181A1F;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	line-height: 1;
	font-weight: 600;
	border-radius: 50%;
	transition:
		background 0.3s ease,
		color 0.3s ease,
		border-color 0.3s ease,
		transform 0.3s ease;
}

.alston-blogs-pagination__item:hover,
.alston-blogs-pagination__item.is-active {
	background: #181A1F;
	color: #ffffff;
	border-color: #181A1F;
	transform: translateY(-2px);
}


/* =========================================================
   ENTRANCE ANIMATION
========================================================= */

.alston-blogs-reveal {
	opacity: 0;
	transform: translateY(42px);
	transition:
		opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
		transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.alston-blogs-reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.alston-blogs-archive__grid .alston-blogs-reveal:nth-child(1) {
	transition-delay: 0.05s;
}

.alston-blogs-archive__grid .alston-blogs-reveal:nth-child(2) {
	transition-delay: 0.12s;
}

.alston-blogs-archive__grid .alston-blogs-reveal:nth-child(3) {
	transition-delay: 0.19s;
}

.alston-blogs-archive__grid .alston-blogs-reveal:nth-child(4) {
	transition-delay: 0.05s;
}

.alston-blogs-archive__grid .alston-blogs-reveal:nth-child(5) {
	transition-delay: 0.12s;
}

.alston-blogs-archive__grid .alston-blogs-reveal:nth-child(6) {
	transition-delay: 0.19s;
}


/* =========================================================
   LAPTOP - 1025px to 1366px
========================================================= */

@media (min-width: 1025px) and (max-width: 1366px) {

	.alston-blogs-hero__inner,
	.alston-blogs-archive__inner {
		padding-left:20px;
		padding-right:20px;
	}

	.alston-blogs-hero__inner{
		min-height:400px;
		padding-top:120px;
	}

	.alston-blogs-hero__title{
		font-size:56px;
		line-height:1;
		margin-bottom:18px;
	}

	.alston-blogs-hero__description{
		max-width:720px;
		font-size:15px;
		line-height:25px;
	}

	.alston-blogs-card__image {
		height: 270px;
	}

	.alston-blogs-archive__grid {
		column-gap: 28px;
		row-gap: 52px;
	}
}


/* =========================================================
   TABLET - 768px to 1024px
========================================================= */

@media (min-width: 768px) and (max-width: 1024px) {

	.alston-blogs-hero__inner{
		padding-left:24px;
		padding-right:24px;
		min-height:360px;
		padding-top:100px;
		padding-bottom:70px;
	}

	.alston-blogs-archive__inner {
		max-width: 100%;
		padding-left: 24px;
		padding-right: 24px;
	}

	.alston-blogs-breadcrumb{
		margin-bottom:18px;
	}

	.alston-blogs-hero__title{
		font-size:56px;
		line-height:1;
		margin-bottom:18px;
	}

	.alston-blogs-hero__description{
		max-width:620px;
		font-size:15px;
		line-height:26px;
	}

	.alston-blogs-hero__bg{
		background-position:center right;
	}

	.alston-blogs-archive__section {
		padding: 4.5rem 0;
	}

	.alston-blogs-archive__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 24px;
		row-gap: 48px;
	}

	.alston-blogs-card__image {
		height: 280px;
	}

	.alston-blogs-card__title {
		font-size: 21px;
		line-height: 30px;
	}

	.alston-blogs-card__excerpt {
		font-size: 15px;
		line-height: 26px;
	}
}


/* =========================================================
   MOBILE - 0px to 767px
========================================================= */

@media (min-width: 0px) and (max-width: 767px) {

	.alston-blogs-hero__inner{
		padding-left:18px;
		padding-right:18px;
		min-height:320px;
		padding-top:110px;
		padding-bottom:55px;
	}

	.alston-blogs-archive__inner {
		max-width: 100%;
		padding-left: 18px;
		padding-right: 18px;
	}

	.alston-blogs-breadcrumb{
		gap:10px;
		font-size:10px;
		line-height:1.4;
		margin-bottom:16px;
	}

	.alston-blogs-hero__title{
		font-size:42px;
		line-height:1;
		margin-bottom:16px;
	}

	.alston-blogs-hero__description{
		max-width:100%;
		font-size:14px;
		line-height:24px;
		font-weight:300;
	}

	.alston-blogs-hero__bg{
		background-position:center center;
	}

	.alston-blogs-archive__section {
		padding: 4rem 0;
	}

	.alston-blogs-archive__grid {
		grid-template-columns: 1fr;
		row-gap: 42px;
	}

	.alston-blogs-card__image {
		height: 280px;
		border-radius: 5px;
	}

	.alston-blogs-card__content {
		padding-top: 18px;
	}

	.alston-blogs-card__title {
		font-size: 20px;
		line-height: 28px;
		margin-bottom: 10px;
	}

	.alston-blogs-card__excerpt {
		font-size: 15px;
		line-height: 25px;
		max-width: 100%;
		margin-bottom: 18px;
	}

	.alston-blogs-card__link {
		font-size: 15px;
	}

	.alston-blogs-pagination {
		margin-top: 48px;
		gap: 8px;
	}

	.alston-blogs-pagination__item {
		width: 40px;
		height: 40px;
		font-size: 14px;
	}
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

	.alston-blogs-reveal {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}

	.alston-blogs-card__image img,
	.alston-blogs-card__link-icon,
	.alston-blogs-pagination__item,
	.alston-blogs-archive__ajax-wrap {
		transform: none !important;
		transition: none !important;
	}
}