/* Read Studio Projects — front-end styles
   Palette: navy heading / slate-blue body, serif display type, generous whitespace */

.lns-projects-wrap {
	--navy: #021F5B;
	--slate: #021F5B;
	--ink: #1c2b5c;
	--muted: #6b7280;
	--rule: #e4e6ee;
	--green: #879063;
	max-width: 1600px;
	margin: 0 auto;
	padding: 0px 10px 100px;
	font-family: "Times New Roman";
	color: var(--ink);
}

/* ---------- Listing / archive page ---------- */

.lns-page-title {
	font-family: "Times New Roman";
   font-weight: 400;
   font-size: 60px;
   color: var(--navy);
   width: 80%;
   margin: 0px auto 30px;
}

.lns-filters {
	list-style: none;
   display: flex;
   gap: 40px;
   margin: 0 auto 50px;
   padding: 0;
   font-size: 22px;
   width: 80%;
}
.lns-filters li a,
.lns-filters li button {
	background: none;
	border: none;
	padding: 0;
	font: inherit;
	font-family: inherit;
	color: var(--slate);
	cursor: pointer;
	text-decoration: none;
}
.lns-filters li.active a,
.lns-filters li.active button,
.lns-filters li a:hover,
.lns-filters li button:hover {
	color: var(--green);
	background: transparent;
}

.lns-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 36px;
}
.lns-card {
	display: block;
	text-decoration: none;
	color: inherit;
	height: 320px;
}
.lns-card figure {
	position: relative;
	margin: 0;
	height: 100%;
	overflow: hidden;
	background: #f1f1f4;
}
.lns-card img {
	height: 100%;
	width: auto;
	max-width: 100%;
	display: block;
	transition: transform .5s ease;
}
.lns-card:hover img {
	transform: scale(1.03);
}

.lns-card-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 4px;
	background: rgba(28, 43, 92, 0.55);
	opacity: 0;
	transition: opacity .3s ease;
	padding: 20px;
}
.lns-card:hover .lns-card-overlay,
.lns-card:focus-visible .lns-card-overlay {
	opacity: 1;
}
.lns-card-overlay .lns-card-title {
	font-family: "Times New Roman";
	font-size: 22px;
	color: #fff;
}
.lns-card-overlay .lns-card-cat {
	font-style: italic;
	font-size: 14px;
	color: #e7e9f4;
}

.lns-empty {
	color: var(--muted);
	font-style: italic;
	padding: 40px 0;
}

/* ---------- Single project page ---------- */

.lns-project-number {
	font-family: "Times New Roman";
    font-size: 60px;
    color: var(--navy);
    margin: 0px auto 10px;
    width: 80%;
    font-weight: 400;
}
.lns-project-tagline {
	font-size: 22px;
    color: var(--slate);
    margin: 0 auto 40px;
    width: 80%;
}

.lns-hero {
	width: 100%;
	margin-bottom: 34px;
}
.lns-hero img {
	width: 100%;
	display: block;
}

.lns-info-block {
	width: 80%;
    font-style: italic;
    font-size: 18px;
    line-height: 1.7;
    color: var(--ink);
    margin: 60px auto 120px;
}
.lns-info-block p {
	margin: 0 0 14px;
}
.lns-info-block .lns-info-label {
	font-style: italic;
}

.lns-duo {
	display: flex;
   gap: 30%;
   margin-bottom: 120px;
   justify-content: space-between;
   align-items: flex-start;
}
.lns-duo img,
.lns-gallery-grid img {
	width: 100%;
	display: block;
}

.lns-gallery-grid {
	display: flex;
	gap: 60px;
	margin-bottom: 120px;
}
.gallery-grid-left{
	width: 65%;
}
.gallery-grid-right{
	width: 35%;
}
.gallery-grid-right img{
	width: auto;
	display: block;
}
.lns-quote{
	font-size: 18px;
	color: var(--navy);
	margin-top: 100px;
	width: 70%;
}
.lns-quote p,
.lns-about p,
.lns-description p {
	margin: 0 0 14px;
}
.lns-quote p:last-child,
.lns-about p:last-child,
.lns-description p:last-child {
	margin-bottom: 0;
}
.lns-feature-row {
	display: block;
	margin-bottom: 120px;
}
.lns-feature-row img {
	width: 100%;
	display: block;
}
.lns-feature-row .lns-quote {
	font-size: 18px;
   line-height: 1.7;
   color: var(--ink);
   width: 70%;
}

.lns-about {
	font-style: italic;
    font-size: 24px;
    line-height: 1.4;
    color: var(--navy);
    max-width: 80%;
    margin: 0 0 40px;
}

.lns-wide-image {
	width: 100%;
	margin-bottom: 60px;
}
.lns-wide-image img {
	width: 100%;
	display: block;
}

.lns-sketch-row {
	display: flex;
    gap: 60px;
    align-items: start;
    margin-bottom: 60px;
}
.sketch-row-left{
	width: 60%;
    display: flex;
    justify-content: center;
    gap: 100px;
}
.sketch-row-left img{
	width: auto;
	height: auto;
}
.sketch-row-right{
	width: 40%;
}
.lns-sketch-row img {
	display: block;
}
.lns-sketch-row .lns-quote {
	font-size: 18px;
    line-height: 1.4;
    color: var(--ink);
    width: 80%;
}

.lns-nav-links {
	display: flex;
	justify-content: space-between;
	font-size: 15px;
	margin: 40px 0 20px;
	color: var(--slate);
}
.lns-nav-links a {
	color: var(--slate);
	text-decoration: none;
}
.lns-nav-links a:hover {
	color: var(--navy);
}

/* ---------- Image lightbox (single project page) ---------- */

a.lns-lightbox {
	display: block;
	cursor: zoom-in;
}

body.lns-lightbox-locked {
	overflow: hidden;
}

dialog.lns-lightbox-dialog {
	position: fixed !important;
	inset: 0 !important;
	width: 100vw !important;
	height: 100vh !important;
	max-width: 100vw !important;
	max-height: 100vh !important;
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 100000;
}
dialog.lns-lightbox-dialog[open] {
	display: flex !important;
}
dialog.lns-lightbox-dialog::backdrop {
	background: rgba(10, 14, 30, 0.92) !important;
}
.lns-lightbox-img {
	max-width: 90vw;
	max-height: 88vh;
	width: auto !important;
	height: auto !important;
	box-shadow: 0 10px 40px rgba(0, 0, 0, .5);
	border: none !important;
	border-radius: 0 !important;
	margin: 0 !important;
}
.lns-lightbox-close,
.lns-lightbox-prev,
.lns-lightbox-next {
	position: absolute !important;
	background: none !important;
	border: none !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: #fff !important;
	cursor: pointer;
	line-height: 1;
	width: auto !important;
	height: auto !important;
	min-width: 0 !important;
	text-transform: none !important;
	letter-spacing: normal !important;
}
.lns-lightbox-close {
	top: 22px;
	right: 28px;
	font-size: 38px !important;
	padding: 6px 10px !important;
}
.lns-lightbox-prev,
.lns-lightbox-next {
	top: 50%;
	transform: translateY(-50%);
	font-size: 54px !important;
	padding: 10px 16px !important;
}
.lns-lightbox-prev { left: 12px; }
.lns-lightbox-next { right: 12px; }
.lns-lightbox-close:hover,
.lns-lightbox-prev:hover,
.lns-lightbox-next:hover {
	color: #d8dcf0 !important;
	background: none !important;
}
.lns-lightbox-counter {
	position: absolute;
	bottom: 24px;
	left: 50%;
	transform: translateX(-50%);
	color: #e7e9f4;
	font-family: 'EB Garamond', Georgia, serif;
	font-size: 15px;
	letter-spacing: .04em;
}

/* ---------- Responsive ---------- */


@media (max-width: 900px) {
	.lns-projects-wrap { padding: 24px 20px 40px; }
	.lns-page-title { font-size: 38px; }
	.lns-duo,
	.lns-gallery-grid,
	.lns-feature-row,
	.lns-sketch-row { grid-template-columns: 1fr; }
	.lns-filters { flex-wrap: wrap; gap: 18px 24px; }
	.lns-grid,
	.lns-card {
		height: auto;
	}
	.lns-card {
		height: 220px;
	}
}
@media (max-width: 600px){
	.lns-card {
		height: 200px;
		flex: 1 1 100%;
	}
	.lns-card img {
		width: 100%;
		height: auto;
	}
	.lns-lightbox-prev,
	.lns-lightbox-next { font-size: 36px; padding: 6px 10px; }
	.lns-project-number{
		font-size: 36px;
		line-height: 46px;
	}
	.lns-sketch-row{
		margin-bottom: 0px;
	}
}
