/**
 * site/tabbed-posts — legacy .currently design parity.
 * Vertical rotated tabs on left; content row: first post small, last post large with "love this!" script.
 */

.tabbed-posts.currently {
    max-width: 1193px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    margin-bottom: 44px;
    padding: 4px 0;
}

.tabbed-posts__main-title {
    margin: 0 0 51px;
}

/* Vertical tabs on the left (rotated) */
.tabbed-posts .currently-posts {
    position: relative;
    min-height: 580px;
}

.tabbed-posts__tabs.tabs {
    transform: rotate(-90deg);
    display: flex;
    position: absolute;
    left: -198px;
    width: 470px;
    top: 263px;
    color: #41502B;
    font-size: 15px;
    font-family: 'IBM Plex Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 0.07rem;
    justify-content: space-between;
    list-style: none;
    margin: 0;
    padding: 0;
}

.tabbed-posts__tabs.tabs li {
	padding: 0 0px 0px;
	display: block;
}

.tabbed-posts__tabs.tabs li:hover {
	cursor: pointer;
}

.tabbed-posts__tabs.tabs li.active {
	border-bottom: 3px solid #F1EDE8;
}

.tabbed-posts__tab {
	background: none;
	border: none;
	color: inherit;
	font: inherit;
	text-transform: inherit;
	letter-spacing: inherit;
	cursor: pointer;
	padding: 0;
}
.tabbed-posts__tab:hover {
background:transparent!important;
color:black;}

/* Panels: hidden by default, .active shows */
.tabresults {
	display: none;
}

.tabresults.active {
	display: block;
}

.tabresults ul {
    display: flex;
    justify-content: space-between;
    padding: 0 0 0 118px;
    list-style: none;
    margin: 0;
}

.tabresults ul li {
	margin: 0;
	padding: 0;
}

/* First post: smaller card, no excerpt */
.tabresults ul li:nth-child(1) {
	width: 284px;
}

.tabresults ul li:nth-child(1) img {
    height: 410px;
    width: 100%;
    object-fit: cover;
    margin-bottom: 11px;
}

.tabresults ul li:nth-child(1) .exc {
	display: none;
}

/* Last post: large featured with script "love this!" */
.tabresults ul li:last-child {
	width: 69.4%;
	display: flex;
	justify-content: space-between;
}

.tabresults ul li:last-child img {
	height: 555px;
	width: 384px;
	object-fit: cover;
}

.tabresults ul li:last-child .tb {
	width: 43%;
	text-align: left;
	position: relative;
}

.tabresults ul li:last-child .tb::before {
	content: "make this!";
	display: block;
	color: #41502B;
	font-size: 80px;
	position: absolute;
	font-family: 'California Palms Script', cursive;
	top: 48px;
	left: 0;
}

.tabresults ul li:last-child .exc p {
	font-family: 'IBM Plex Sans', -apple-system, sans-serif;
	font-size: 16px;
	line-height: 23px;
	color: #000000;
	padding: 0 30px 0 0;
}

.tabresults ul li:last-child .tb h4 {
	margin: 123px 0 30px;
	font-size: 30px;
	line-height: 35px;
}

.tabresults .featured-image {
	display: block;
}

.tabresults .tb h4 {
	margin: 0 0 0.5rem;
}

.tabresults .tb h4 a {
	color: inherit;
	text-decoration: none;
}

.tabresults .tb h4 a:hover {
	text-decoration: underline;
}

.tabresults .exc {
	font-size: 16px;
	line-height: 24px;
	margin: 0 0 25px;
}

.tabresults .rmore {
	font-size: 13px;
	color: #000000;
	text-decoration: none;
	font-family: 'IBM Plex Mono';
	font-weight: 100;
	text-decoration: underline;
}

.tabresults .rmore:hover {
	text-decoration: underline;
}

/* Responsive: ~1200px */
@media (max-width: 1200px) {
	.tabbed-posts__tabs.tabs {
		left: -180px;
		top: 320px;
	}
}

/* Tablet: ~1024px */
@media (max-width: 1024px) {
	.tabbed-posts .currently-posts {
	    max-width: 750px;
	    margin: 0 auto;
	}
	.tabresults ul {
		padding-left:0;
	}
	.tabbed-posts__tabs.tabs {
		transform: rotate(0deg);
	    position: relative;
	    margin: 0 auto 30px;
	    top: inherit;
	    left: inherit;
	}
	.tabresults ul li:last-child .tb::before {
		display:none;
	}
	.tabresults ul li:last-child {
		display:block;
		width:48%;
	}
	.tabresults ul li:nth-child(1) {
width:48%;}
	.tabresults ul li:nth-child(1) img, .tabresults ul li:last-child img {
		width:100%;
		height:auto;
		aspect-ratio:8/11;
	}
	.tabresults ul li:last-child .tb {
		width:100%;
		text-align:center;
		margin:0;
		padding:0;
	}
	.tabresults ul li:last-child .tb h4 {
		margin: 11px auto 10px;
	    font-weight: 700;
	    font-size: 22px;
	    line-height: 28px;
	}
	.tabresults .exc {
		display:none;
	}
}
@media (max-width:600px) {
	.tabbed-posts__tabs.tabs {
		width: 90%;
	    font-size: 14px;
	    max-width: 346px;
	    margin: 0 auto 20px;
	}
	.tabresults.active {
	    display: block;
	    padding: 0 30px;
	}
	.tabbed-posts__main-title {
		margin:10px 0 20px;
	}
	.tabbed-posts .currently-posts {
min-height:auto;}
}
