/* GradComm Case Studies — front-end styles */

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600;700&family=Poppins:wght@400;500;600;700&display=swap');

:root {
	--gccs-orange: #E96A34;
	--gccs-orange-dark: #D85A26;
	--gccs-blue: #1CACD9;
	--gccs-navy: #0F3A5D;
	--gccs-grey: #F2F3F5;
	--gccs-text: #33383D;
}

.gccs-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

/* ---------- Banner (listing page) ---------- */
.gccs-banner {
	position: relative;
	background-color: var(--gccs-orange);
	background-size: cover;
	background-position: center;
	min-height: 420px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.gccs-banner-overlay {
	background: rgba(233, 106, 52, 0.72);
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.gccs-banner-inner {
	position: relative;
	text-align: center;
	color: #fff;
	z-index: 2;
}

.gccs-banner-subtitle {
	display: block;
	font-family: 'Caveat', cursive;
	font-size: 64px;
	line-height: 1;
}

.gccs-banner-title {
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	font-size: 40px;
	margin: 4px 0 0;
}

/* ---------- Intro description ---------- */
.gccs-intro-description {
	text-align: center;
	max-width: 820px;
	margin: 40px auto 32px;
	font-size: 17px;
	line-height: 1.6;
	color: var(--gccs-text);
}

/* ---------- Layout: sidebar + grid ---------- */
.gccs-layout {
	display: flex;
	gap: 32px;
	align-items: flex-start;
	margin-bottom: 60px;
}

.gccs-sidebar {
	flex: 0 0 260px;
}

.gccs-sidebar-filter {
	background: var(--gccs-grey);
}

.gccs-sidebar-title {
	background: var(--gccs-orange);
	color: #fff;
	margin: 0;
	padding: 14px 18px;
	font-size: 16px;
	font-weight: 600;
}

.gccs-cat-list {
	list-style: none;
	margin: 0;
	padding: 12px 18px 18px;
}

.gccs-cat-list li {
	margin-bottom: 10px;
}

.gccs-cat-list label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: var(--gccs-text);
	cursor: pointer;
}

.gccs-cat-checkbox {
	width: 16px;
	height: 16px;
	accent-color: var(--gccs-orange);
}

.gccs-main {
	flex: 1;
	min-width: 0;
}

/* ---------- Card grid ---------- */
.gccs-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.gccs-card {
	display: block;
	border: 1px solid #e2e4e7;
	text-decoration: none;
	color: inherit;
	background: #fff;
	transition: box-shadow .2s ease;
}

.gccs-card:hover {
	box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.gccs-card-media {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border: 4px solid transparent;
}

.gccs-accent-orange .gccs-card-media { background: var(--gccs-orange); }
.gccs-accent-blue .gccs-card-media { background: var(--gccs-blue); }

.gccs-card-thumb {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: opacity .25s ease;
}

.gccs-card-icon {
	position: absolute;
	top: 10px;
	left: 10px;
	max-width: 48px;
	max-height: 48px;
	z-index: 2;
}

.gccs-card-learn-more {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: #fff;
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	font-size: 22px;
	line-height: 1.2;
	opacity: 0;
	transition: opacity .25s ease;
	pointer-events: none;
}

/* Hover: hide thumbnail, reveal "Learn More", accent-colored border */
.gccs-card:hover .gccs-card-thumb {
	opacity: 0;
}

.gccs-card:hover .gccs-card-learn-more {
	opacity: 1;
}

.gccs-card:hover .gccs-card-media {
	border-color: currentColor;
}

.gccs-accent-orange:hover .gccs-card-media { border-color: var(--gccs-orange-dark); }
.gccs-accent-blue:hover .gccs-card-media { border-color: var(--gccs-blue); }

.gccs-card-body {
	padding: 18px 20px 22px;
}

.gccs-card-title {
	font-size: 17px;
	font-weight: 700;
	margin: 0 0 10px;
	color: var(--gccs-navy);
}

.gccs-card-excerpt {
	font-size: 14px;
	line-height: 1.6;
	color: #555;
}

.gccs-no-results {
	text-align: center;
	padding: 40px 0;
	color: #777;
}

/* ---------- Pagination ---------- */
.gccs-pagination {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 32px;
}

.gccs-page-btn {
	border: 1px solid #ddd;
	background: #fff;
	width: 36px;
	height: 36px;
	border-radius: 4px;
	cursor: pointer;
	font-size: 14px;
	transition: background .15s ease, color .15s ease;
}

.gccs-page-btn:hover {
	background: var(--gccs-grey);
}

.gccs-page-btn.active {
	background: var(--gccs-orange);
	color: #fff;
	border-color: var(--gccs-orange);
}

/* ---------- About section (listing page) ---------- */
.gccs-about {
	background: var(--gccs-navy);
	color: #fff;
	padding: 50px 0;
	text-align: center;
}

.gccs-about h2 {
	margin: 0 0 16px;
	font-size: 26px;
}

.gccs-about-divider {
	border: none;
	border-top: 1px solid rgba(255,255,255,0.35);
	max-width: 640px;
	margin: 0 auto 24px;
}

.gccs-about p {
	max-width: 820px;
	margin: 0 auto;
	line-height: 1.7;
	color: rgba(255,255,255,0.9);
}

/* ================================================================
   SINGLE CASE STUDY VIEW
   ================================================================ */

.gccs-single-banner {
	position: relative;
	background-color: var(--gccs-orange);
	background-size: cover;
	background-position: center;
	min-height: 380px;
	display: flex;
	align-items: center;
}

.gccs-single-banner-overlay {
	background: rgba(233, 106, 52, 0.65);
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	display: flex;
	align-items: center;
}

.gccs-single-title {
	position: relative;
	z-index: 2;
	color: #fff;
	max-width: 900px;
	margin: 0 auto;
	padding: 0 24px;
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	font-size: 34px;
	line-height: 1.3;
}

.gccs-single-container {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 24px;
}

.gccs-block {
	padding: 50px 0;
}

.gccs-script-heading {
	font-family: 'Caveat', cursive;
	font-size: 40px;
	color: var(--gccs-orange);
	margin: 0 0 10px;
}

.gccs-block-heading-bar {
	background: var(--gccs-orange);
	color: #fff;
	display: inline-block;
	padding: 10px 20px;
	font-size: 18px;
	margin: 0 0 18px;
}

/* Snapshot */
.gccs-block-snapshot {
	text-align: center;
}

.gccs-snapshot-columns {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	gap: 24px;
	margin-top: 20px;
}

.gccs-snapshot-col {
	flex: 1;
	max-width: 260px;
}

.gccs-snapshot-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: var(--gccs-navy);
	margin-bottom: 12px;
}

.gccs-snapshot-icon img {
	width: 30px;
	height: 30px;
	object-fit: contain;
}

.gccs-snapshot-label,
.gccs-snapshot-value {
	display: block;
	font-size: 15px;
}

.gccs-snapshot-divider {
	width: 1px;
	align-self: stretch;
	background: #ddd;
	margin-top: 8px;
}

/* Two column blocks */
.gccs-two-col {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
}

.gccs-block-challenge-solution {
	background: var(--gccs-grey);
}

.gccs-two-col-media {
	align-items: center;
}

.gccs-col-image img {
	width: 100%;
	height: auto;
	display: block;
}

.gccs-block-key-achievements {
	background: var(--gccs-grey);
}

.gccs-achievement-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.gccs-achievement-list li {
	font-size: 16px;
	margin-bottom: 14px;
}

.gccs-achievement-list li strong {
	color: var(--gccs-orange);
	font-size: 20px;
	margin-right: 6px;
}

/* Why it mattered (bordered box) */
.gccs-bordered-box {
	display: grid;
	grid-template-columns: 1fr 1.4fr;
	gap: 0;
	border: 3px solid var(--gccs-orange);
}

.gccs-bordered-box .gccs-col-image img {
	height: 100%;
	object-fit: cover;
}

.gccs-bordered-box .gccs-col-text {
	padding: 28px 32px;
}

.gccs-bordered-box .gccs-col-text h2 {
	color: var(--gccs-navy);
	margin-top: 0;
}

/* What colleges ask */
.gccs-question {
	margin-top: 0;
}

.gccs-pdf-button {
	display: inline-block;
	background: var(--gccs-orange);
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	text-align: center;
	padding: 14px 20px;
	margin-top: 14px;
	width: 100%;
}

.gccs-pdf-button:hover {
	background: var(--gccs-orange-dark);
}

/* About (single page, full-bleed blue) */
.gccs-full-bleed {
	width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
}

.gccs-block-about {
	background: var(--gccs-navy);
	color: #fff;
	text-align: center;
}

.gccs-block-about h2 {
	margin: 0 0 16px;
}

.gccs-block-about hr {
	border: none;
	border-top: 1px solid rgba(255,255,255,0.35);
	max-width: 640px;
	margin: 0 auto 24px;
}

.gccs-block-about p {
	max-width: 820px;
	margin: 0 auto;
	line-height: 1.7;
	color: rgba(255,255,255,0.9);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	.gccs-layout { flex-direction: column; }
	.gccs-sidebar { flex: none; width: 100%; }
	.gccs-grid { grid-template-columns: repeat(2, 1fr); }
	.gccs-two-col,
	.gccs-bordered-box { grid-template-columns: 1fr; }
	.gccs-snapshot-columns { flex-direction: column; align-items: center; }
	.gccs-snapshot-divider { display: none; }
}

@media (max-width: 560px) {
	.gccs-grid { grid-template-columns: 1fr; }
	.gccs-banner-subtitle { font-size: 44px; }
	.gccs-banner-title { font-size: 28px; }
}
