/* Jarayan 10.5 — square newsroom and psychology library */
.jarayan-home-editorial-pair{
	position:relative;
	isolation:isolate;
	padding-block:clamp(54px,6vw,82px);
	background:
		radial-gradient(circle at 8% 18%,rgba(15,134,197,.07),transparent 26%),
		radial-gradient(circle at 92% 84%,rgba(135,91,43,.08),transparent 25%),
		linear-gradient(180deg,#f9fbfc 0%,#fff 48%,#fbf8f2 100%);
	overflow:hidden;
}
.jarayan-home-editorial-pair .container{max-width:1180px}
.jarayan-editorial-heading{
	display:flex;
	align-items:flex-end;
	justify-content:space-between;
	gap:28px;
	margin-bottom:24px;
}
.jarayan-editorial-heading>div{max-width:620px}
.jarayan-editorial-heading .eyebrow{font-size:.72rem}
.jarayan-editorial-heading h2{
	margin:.28rem 0 0;
	font-size:clamp(1.45rem,2.2vw,2rem);
	line-height:1.45;
	letter-spacing:-.018em;
}
.jarayan-editorial-heading>p{
	max-width:470px;
	margin:0;
	color:var(--muted);
	font-size:.88rem;
	line-height:1.9;
}
.jarayan-editorial-pair-grid{
	display:grid;
	grid-template-columns:repeat(2,minmax(0,1fr));
	gap:clamp(18px,2.2vw,28px);
	align-items:start;
	max-width:1130px;
	margin-inline:auto;
}
.jarayan-editorial-pair-grid.is-single{
	grid-template-columns:minmax(0,550px);
	justify-content:center;
}
.jarayan-square-card{
	--square-accent:#0f86c5;
	--square-accent-rgb:15,134,197;
	position:relative;
	display:flex;
	aspect-ratio:1/1;
	min-width:0;
	flex-direction:column;
	gap:14px;
	padding:24px;
	border:1px solid rgba(var(--square-accent-rgb),.15);
	border-radius:30px;
	background:linear-gradient(152deg,rgba(255,255,255,.99),rgba(242,249,252,.97));
	box-shadow:0 22px 55px rgba(17,38,52,.09),inset 0 1px 0 rgba(255,255,255,.92);
	overflow:hidden;
	isolation:isolate;
	transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease;
}
.jarayan-square-card--library{
	--square-accent:#8c5f31;
	--square-accent-rgb:140,95,49;
	background:
		linear-gradient(90deg,rgba(104,70,35,.025) 1px,transparent 1px) 0 0/26px 26px,
		linear-gradient(152deg,#fffdf7,#f5ead7);
}
.jarayan-square-card__texture{
	position:absolute;
	z-index:-1;
	inset:0;
	pointer-events:none;
}
.jarayan-square-card--news .jarayan-square-card__texture{
	background:
		linear-gradient(90deg,rgba(15,134,197,.035) 1px,transparent 1px) 0 0/28px 28px,
		linear-gradient(rgba(15,134,197,.035) 1px,transparent 1px) 0 0/28px 28px,
		radial-gradient(circle at 88% 12%,rgba(15,134,197,.14),transparent 29%);
	mask-image:linear-gradient(#000,transparent 88%);
}
.jarayan-square-card--library .jarayan-square-card__texture::before{
	content:"";
	position:absolute;
	inset:-45px auto auto -35px;
	width:180px;
	height:180px;
	border:1px solid rgba(140,95,49,.12);
	border-radius:50%;
	box-shadow:0 0 0 22px rgba(140,95,49,.025),0 0 0 48px rgba(140,95,49,.018);
}
.jarayan-square-card__header{
	display:grid;
	grid-template-columns:auto minmax(0,1fr) auto;
	align-items:center;
	gap:11px;
	min-height:54px;
	padding-bottom:13px;
	border-bottom:1px solid rgba(var(--square-accent-rgb),.13);
}
.jarayan-square-card__icon{
	display:grid;
	place-items:center;
	width:48px;
	height:48px;
	border-radius:16px;
	background:linear-gradient(145deg,var(--square-accent),color-mix(in srgb,var(--square-accent) 66%,#20333e));
	box-shadow:0 10px 24px rgba(var(--square-accent-rgb),.22);
	color:#fff;
}
.jarayan-square-card--library .jarayan-square-card__icon{
	border-radius:8px 16px 16px 8px;
	transform:rotate(-2deg);
	box-shadow:-5px 10px 22px rgba(94,58,25,.2);
}
.jarayan-square-card__icon svg{width:22px;height:22px}
.jarayan-square-card__header small{
	display:block;
	margin-bottom:1px;
	color:var(--square-accent);
	font-size:.66rem;
	font-weight:850;
	line-height:1.6;
}
.jarayan-square-card__header h2{
	margin:0;
	color:var(--ink);
	font-size:1.02rem;
	line-height:1.55;
}
.jarayan-square-card__badge{
	display:inline-flex;
	align-items:center;
	gap:6px;
	padding:6px 9px;
	border:1px solid rgba(var(--square-accent-rgb),.16);
	border-radius:999px;
	background:rgba(255,255,255,.58);
	color:var(--square-accent);
	font-size:.64rem;
	font-weight:850;
	white-space:nowrap;
}
.jarayan-square-card__badge i{
	width:6px;
	height:6px;
	border-radius:50%;
	background:currentColor;
	box-shadow:0 0 0 4px rgba(var(--square-accent-rgb),.1);
}
.jarayan-newsroom{
	display:grid;
	grid-template-rows:minmax(0,1.55fr) minmax(0,.7fr) minmax(0,.7fr);
	gap:8px;
	min-height:0;
	flex:1;
}
.jarayan-newsroom__item{
	display:grid;
	grid-template-columns:58px minmax(0,1fr) 28px;
	align-items:center;
	gap:10px;
	min-width:0;
	padding:8px;
	border:1px solid rgba(15,134,197,.11);
	border-radius:16px;
	background:rgba(255,255,255,.76);
	color:inherit;
	text-decoration:none;
	transition:transform .22s ease,border-color .22s ease,background .22s ease,box-shadow .22s ease;
}
.jarayan-newsroom__item.is-featured{
	grid-template-columns:122px minmax(0,1fr) 30px;
	padding:10px;
	border-radius:20px;
	background:#fff;
	box-shadow:0 10px 26px rgba(18,49,66,.055);
}
.jarayan-newsroom__item:hover{
	transform:translateY(-2px);
	border-color:rgba(15,134,197,.28);
	background:#fff;
	box-shadow:0 14px 26px rgba(18,49,66,.08);
}
.jarayan-newsroom__media{
	display:grid;
	place-items:center;
	width:58px;
	height:52px;
	border-radius:12px;
	background:linear-gradient(145deg,rgba(15,134,197,.13),rgba(15,134,197,.04));
	color:#0f86c5;
	overflow:hidden;
}
.jarayan-newsroom__item.is-featured .jarayan-newsroom__media{width:122px;height:100%;min-height:100px;border-radius:15px}
.jarayan-newsroom__media img{display:block;width:100%;height:100%;object-fit:cover}
.jarayan-newsroom__media i{font-style:normal}
.jarayan-newsroom__media svg{width:22px;height:22px}
.jarayan-newsroom__content{display:grid;gap:2px;min-width:0}
.jarayan-newsroom__content small{color:#0f86c5;font-size:.62rem;font-weight:800}
.jarayan-newsroom__content strong{
	display:-webkit-box;
	overflow:hidden;
	-webkit-box-orient:vertical;
	-webkit-line-clamp:1;
	color:var(--ink);
	font-size:.8rem;
	line-height:1.7;
}
.jarayan-newsroom__item.is-featured .jarayan-newsroom__content strong{-webkit-line-clamp:2;font-size:.92rem;line-height:1.65}
.jarayan-newsroom__content>span{
	display:-webkit-box;
	overflow:hidden;
	-webkit-box-orient:vertical;
	-webkit-line-clamp:2;
	color:var(--muted);
	font-size:.67rem;
	line-height:1.75;
}
.jarayan-newsroom__item>b{
	display:grid;
	place-items:center;
	width:28px;
	height:28px;
	border-radius:9px;
	background:rgba(15,134,197,.08);
	color:#0f86c5;
}
.jarayan-newsroom__item>b svg{width:14px;height:14px}
.jarayan-library-scene{
	position:relative;
	display:flex;
	min-height:0;
	flex:1;
	flex-direction:column;
	justify-content:space-between;
	gap:10px;
	padding:10px 12px 8px;
	border:1px solid rgba(140,95,49,.13);
	border-radius:22px 22px 17px 17px;
	background:
		linear-gradient(180deg,rgba(255,255,255,.72),rgba(255,248,235,.64)),
		repeating-linear-gradient(90deg,rgba(113,76,39,.025) 0 1px,transparent 1px 22px);
	overflow:hidden;
}
.jarayan-library-arch{
	position:absolute;
	inset:0 10% auto;
	height:48%;
	border:1px solid rgba(140,95,49,.12);
	border-bottom:0;
	border-radius:90px 90px 0 0;
	pointer-events:none;
}
.jarayan-library-arch::after{
	content:"";
	position:absolute;
	inset:12px;
	border:1px solid rgba(140,95,49,.07);
	border-bottom:0;
	border-radius:80px 80px 0 0;
}
.jarayan-library-arch i{position:absolute;top:17px;width:5px;height:5px;border-radius:50%;background:rgba(140,95,49,.2)}
.jarayan-library-arch i:nth-child(1){right:24%}.jarayan-library-arch i:nth-child(2){right:50%}.jarayan-library-arch i:nth-child(3){right:76%}
.jarayan-library-shelf{
	position:relative;
	z-index:1;
	display:grid;
	grid-template-columns:repeat(3,minmax(0,1fr));
	align-items:end;
	gap:11px;
	min-height:0;
	padding:21px 6px 18px;
}
.jarayan-library-shelf::after{
	content:"";
	position:absolute;
	inset:auto 0 3px;
	height:12px;
	border-radius:3px 3px 8px 8px;
	background:linear-gradient(180deg,#a87948,#704821);
	box-shadow:0 7px 13px rgba(91,55,23,.2),inset 0 2px 0 rgba(255,255,255,.18);
}
.jarayan-library-book{
	position:relative;
	display:grid;
	justify-items:center;
	gap:7px;
	min-width:0;
	color:inherit;
	text-decoration:none;
	transform-origin:bottom center;
	transition:transform .22s ease;
}
.jarayan-library-book:hover{transform:translateY(-5px) rotate(-1deg)}
.jarayan-library-book:nth-child(2){transform:translateY(-3px)}
.jarayan-library-book:nth-child(2):hover{transform:translateY(-8px) rotate(1deg)}
.jarayan-library-book__cover{
	position:relative;
	display:grid;
	place-items:center;
	width:min(100%,92px);
	aspect-ratio:2/2.9;
	border-radius:4px 9px 9px 4px;
	background:linear-gradient(145deg,#4c7781,#294d57);
	box-shadow:-5px 8px 14px rgba(73,46,24,.18),inset 3px 0 0 rgba(255,255,255,.12);
	color:#fff;
	overflow:hidden;
}
.jarayan-library-book--2 .jarayan-library-book__cover{background:linear-gradient(145deg,#b06d53,#733c2d)}
.jarayan-library-book--3 .jarayan-library-book__cover{background:linear-gradient(145deg,#8a8054,#544b2c)}
.jarayan-library-book__cover::after{
	content:"";
	position:absolute;
	inset:0 auto 0 6px;
	width:2px;
	background:rgba(255,255,255,.2);
}
.jarayan-library-book__cover img{display:block;width:100%;height:100%;object-fit:cover}
.jarayan-library-book__cover i{position:absolute;inset:13px 15px auto;height:1px;background:rgba(255,255,255,.55)}
.jarayan-library-book__cover b{max-width:72px;padding:16px 8px 8px;font-size:.62rem;line-height:1.65;text-align:center}
.jarayan-library-book__info{display:grid;gap:1px;width:100%;text-align:center}
.jarayan-library-book__info strong{
	display:-webkit-box;
	overflow:hidden;
	-webkit-box-orient:vertical;
	-webkit-line-clamp:2;
	color:#4f3927;
	font-size:.7rem;
	line-height:1.55;
}
.jarayan-library-book__info small{
	display:block;
	overflow:hidden;
	color:#8d755e;
	font-size:.59rem;
	text-overflow:ellipsis;
	white-space:nowrap;
}
.jarayan-library-note{
	position:relative;
	z-index:1;
	display:flex;
	align-items:center;
	gap:9px;
	padding:8px 10px;
	border-radius:13px;
	background:rgba(140,95,49,.07);
	color:#705334;
}
.jarayan-library-note>span{display:grid;place-items:center;width:27px;height:27px;border-radius:9px;background:rgba(140,95,49,.1);flex:0 0 auto}
.jarayan-library-note svg{width:14px;height:14px}
.jarayan-library-note p{margin:0;font-size:.64rem;line-height:1.7}
.jarayan-square-card__footer{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:12px;
	min-height:34px;
	padding-top:11px;
	border-top:1px solid rgba(var(--square-accent-rgb),.12);
}
.jarayan-square-card__footer>span{
	display:inline-flex;
	align-items:center;
	gap:6px;
	color:var(--muted);
	font-size:.63rem;
	font-weight:750;
}
.jarayan-square-card__footer>span svg{width:14px;height:14px;color:var(--square-accent)}
.jarayan-square-card__link{
	display:inline-flex;
	align-items:center;
	gap:6px;
	padding:7px 10px;
	border:1px solid rgba(var(--square-accent-rgb),.19);
	border-radius:11px;
	background:rgba(255,255,255,.62);
	color:var(--square-accent);
	font-size:.68rem;
	font-weight:850;
	text-decoration:none;
	transition:background .2s ease,color .2s ease,border-color .2s ease;
}
.jarayan-square-card__link svg{width:13px;height:13px}
.jarayan-square-card__link:hover{border-color:var(--square-accent);background:var(--square-accent);color:#fff}
.jarayan-square-empty{
	display:flex;
	align-items:center;
	gap:12px;
	min-height:118px;
	margin:auto 0;
	padding:15px;
	border:1px dashed rgba(var(--square-accent-rgb),.22);
	border-radius:18px;
	background:rgba(255,255,255,.52);
}
.jarayan-square-empty>span{display:grid;place-items:center;width:40px;height:40px;border-radius:13px;background:rgba(var(--square-accent-rgb),.09);color:var(--square-accent)}
.jarayan-square-empty strong,.jarayan-square-empty small{display:block}
.jarayan-square-empty strong{font-size:.78rem;color:var(--ink)}
.jarayan-square-empty small{margin-top:3px;color:var(--muted);font-size:.65rem;line-height:1.7}
@media (hover:hover){
	.jarayan-square-card:hover{transform:translateY(-4px);border-color:rgba(var(--square-accent-rgb),.28);box-shadow:0 30px 72px rgba(17,38,52,.13),inset 0 1px 0 rgba(255,255,255,.92)}
}
@media (max-width:1100px){
	.jarayan-square-card{padding:20px;gap:11px;border-radius:26px}
	.jarayan-square-card__header{min-height:48px;padding-bottom:10px}
	.jarayan-square-card__icon{width:42px;height:42px;border-radius:14px}
	.jarayan-square-card__header h2{font-size:.92rem}
	.jarayan-square-card__badge{display:none}
	.jarayan-newsroom__item.is-featured{grid-template-columns:100px minmax(0,1fr) 28px}
	.jarayan-newsroom__item.is-featured .jarayan-newsroom__media{width:100px;min-height:88px}
	.jarayan-library-book__cover{width:min(100%,78px)}
}
@media (max-width:900px){
	.jarayan-editorial-heading{align-items:flex-start;flex-direction:column;gap:9px}
	.jarayan-editorial-pair-grid{grid-template-columns:minmax(0,620px);justify-content:center}
	.jarayan-square-card{width:100%;aspect-ratio:1/1}
}
@media (max-width:620px){
	.jarayan-home-editorial-pair{padding-block:46px}
	.jarayan-editorial-heading{margin-bottom:18px}
	.jarayan-editorial-heading h2{font-size:1.35rem}
	.jarayan-editorial-heading>p{font-size:.8rem}
	.jarayan-square-card{aspect-ratio:auto;min-height:510px;padding:17px;border-radius:23px}
	.jarayan-square-card__header{grid-template-columns:auto minmax(0,1fr)}
	.jarayan-square-card__badge{display:none}
	.jarayan-square-card__header small{font-size:.61rem}
	.jarayan-square-card__header h2{font-size:.88rem}
	.jarayan-newsroom{grid-template-rows:auto auto auto}
	.jarayan-newsroom__item,.jarayan-newsroom__item.is-featured{grid-template-columns:64px minmax(0,1fr);padding:8px}
	.jarayan-newsroom__media,.jarayan-newsroom__item.is-featured .jarayan-newsroom__media{width:64px;height:62px;min-height:62px;border-radius:12px}
	.jarayan-newsroom__item>b{display:none}
	.jarayan-newsroom__content>span{display:none}
	.jarayan-library-scene{min-height:330px;padding-inline:8px}
	.jarayan-library-shelf{gap:7px;padding-inline:0}
	.jarayan-library-book__cover{width:min(100%,72px)}
	.jarayan-library-book__info strong{font-size:.64rem}
	.jarayan-square-card__footer>span{display:none}
	.jarayan-square-card__link{margin-right:auto}
}
@media (prefers-reduced-motion:reduce){
	.jarayan-square-card,.jarayan-newsroom__item,.jarayan-library-book,.jarayan-square-card__link{transition:none!important}
}
