/* =========================================
   TEEKHAWEB SINGLE CASE STUDY
   ========================================= */

.tw-case-study-page {
	width: 100%;
	background: #ffffff;
	color: #111111;
}

.tw-case-study-container {
	width: min(1240px, calc(100% - 48px));
	margin-right: auto;
	margin-left: auto;
}

/* HERO */

.tw-case-study-hero {
	padding: 72px 0 64px;
	background: #f7f5f0;
}

.tw-case-study-breadcrumb {
	margin-bottom: 34px;
	font-size: 13px;
	line-height: 1.7;
	color: #6f6f6f;
}

.tw-case-study-breadcrumb a {
	color: #111111;
	text-decoration: none;
}

.tw-case-study-breadcrumb a:hover {
	color: #a98217;
}

.tw-case-study-eyebrow {
	margin: 0 0 18px;
	color: #a98217;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
}

.tw-case-study-title {
	max-width: 1000px;
	margin: 0 0 24px;
	color: #111111;
	font-size: clamp(36px, 5vw, 68px);
	font-weight: 600;
	line-height: 1.12;
	letter-spacing: -1.5px;
}

.tw-case-study-intro {
	max-width: 850px;
	margin-bottom: 26px;
	color: #6f6f6f;
	font-size: 19px;
	line-height: 1.8;
}

.tw-case-study-intro p {
	margin-bottom: 0;
}

.tw-case-study-meta {
	color: #6f6f6f;
	font-size: 13px;
}

/* FEATURED IMAGE */

.tw-case-study-featured {
	padding-top: 48px;
}

.tw-case-study-featured-image {
	display: block;
	width: 100%;
	height: auto;
	max-height: 680px;
	object-fit: cover;
	border-radius: 0;
}

/* CONTENT LAYOUT */

.tw-case-study-layout {
	padding-top: 64px;
	padding-bottom: 90px;
}

.tw-case-study-main-content {
	width: 100%;
	max-width: 900px;
	margin: 0 auto;
}

.tw-case-study-content {
	color: #333333;
	font-size: 17px;
	line-height: 1.9;
	overflow-wrap: anywhere;
}

.tw-case-study-content h2 {
	margin-top: 56px;
	margin-bottom: 20px;
	color: #111111;
	font-size: clamp(27px, 3vw, 38px);
	font-weight: 600;
	line-height: 1.25;
}

.tw-case-study-content h3 {
	margin-top: 36px;
	margin-bottom: 16px;
	color: #111111;
	font-size: 23px;
	font-weight: 600;
	line-height: 1.4;
}

.tw-case-study-content p {
	margin-bottom: 24px;
}

.tw-case-study-content ul,
.tw-case-study-content ol {
	margin: 0 0 28px;
	padding-left: 24px;
}

.tw-case-study-content li {
	margin-bottom: 10px;
}

.tw-case-study-content img {
	max-width: 100%;
	height: auto;
	border-radius: 0;
}

.tw-case-study-content a {
	color: #8a6a12;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.tw-case-study-content blockquote {
	margin: 36px 0;
	padding: 8px 0 8px 24px;
	border-left: 3px solid #d4a72c;
	color: #333333;
}

/* PAGINATION */

.tw-case-study-pagination {
	margin-top: 40px;
	padding-top: 24px;
	border-top: 1px solid rgba(17, 17, 17, 0.1);
}

/* RESPONSIVE */

@media (max-width: 767px) {

	.tw-case-study-container {
		width: calc(100% - 36px);
	}

	.tw-case-study-hero {
		padding-top: 42px;
		padding-bottom: 42px;
	}

	.tw-case-study-breadcrumb {
		margin-bottom: 26px;
	}

	.tw-case-study-title {
		font-size: clamp(34px, 9vw, 46px);
		letter-spacing: -0.7px;
	}

	.tw-case-study-intro {
		font-size: 17px;
		line-height: 1.75;
	}

	.tw-case-study-featured {
		padding-top: 28px;
	}

	.tw-case-study-layout {
		padding-top: 38px;
		padding-bottom: 56px;
	}

	.tw-case-study-content {
		font-size: 16px;
		line-height: 1.85;
	}

	.tw-case-study-content h2 {
		margin-top: 42px;
		font-size: 28px;
	}

	.tw-case-study-content h3 {
		font-size: 21px;
	}

}

/* CASE STUDY STRUCTURED SECTIONS */

.tw-case-study-section {
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid rgba(17, 17, 17, 0.10);
}

.tw-case-study-section > h2 {
    margin-top: 0;
    margin-bottom: 24px;
    color: #111111;
    font-size: clamp(27px, 3vw, 38px);
    font-weight: 600;
    line-height: 1.25;
}

.tw-case-study-section-content {
    color: #333333;
    font-size: 17px;
    line-height: 1.9;
}

.tw-case-study-section-content p:last-child {
    margin-bottom: 0;
}

/* PROJECT OVERVIEW */

.tw-case-study-overview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid rgba(17, 17, 17, 0.10);
    border-left: 1px solid rgba(17, 17, 17, 0.10);
}

.tw-case-study-overview-item {
    padding: 24px;
    border-right: 1px solid rgba(17, 17, 17, 0.10);
    border-bottom: 1px solid rgba(17, 17, 17, 0.10);
}

.tw-case-study-overview-item h3 {
    margin: 0 0 10px;
    color: #6f6f6f;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.tw-case-study-overview-item p {
    margin: 0;
    color: #111111;
    font-size: 16px;
    line-height: 1.7;
}

/* MOBILE */

@media (max-width: 767px) {

    .tw-case-study-section {
        margin-top: 40px;
        padding-top: 26px;
    }

    .tw-case-study-section-content {
        font-size: 16px;
    }

    .tw-case-study-overview-grid {
        grid-template-columns: 1fr;
    }

    .tw-case-study-overview-item {
        padding: 20px;
    }

}
