/* ======================================== */
/* Root Variables                           */
/* ======================================== */
:root {
	--dk-blue: #1e3e49;
	--teal: #48a69c;
	--dk-teal: #11695d;
	--orange: #f07522;
	--black: #1f2626;
	--grey: #bfbfbf;
	--red: #c72429;
	--pink: #f54eb4;
	--purple: #b615ff;
	--lt-blue: #0dfaff;
	--yellow: #efec77;
	--green: #28a745;
	--dk-orange: #aa422b;
	--margarita: var(--yellow);
	--lower: var(--pink);
	--central: var(--red);
	--upper: #0df9ff;
	--dona-josefina: var(--purple);
}

/* ======================================== */
/* General Styles                           */
/* ======================================== */

* {
	font-family: 'Open Sans', 'Arial', 'Helvetica', sans-serif !important;
}

[role='main'] * {
	font-size: 15px;
}
a {
	color: var(--teal);
	text-decoration: none;
}

a:hover {
	color: var(--orange);
}

a:visited {
	color: var(--dk-teal);
}

/* ======================================== */
/* Utilities                                */
/* ======================================== */
.highlight-bar {
	width: 3rem;
	height: 0.75rem;
	background-color: var(--orange);
	margin-bottom: 2rem;
}

.highlight-bar-top {
	width: 3em;
	height: 0.5em;
	background-color: var(--orange);
}

.note {
	font-size: 0.9em;
	font-style: italic;
	color: gray;
}

.complete-tag {
	padding: 2px 10px;
	background: green;
	color: white;
	border-radius: 4px;
	width: max-content;
	margin: auto;
	font-weight: 700;
}
.btn {
	background-color: var(--orange);
	color: white !important;
	font-weight: 500;
	border: none;
	padding: 0.5em 1em;
	text-align: center;
	text-decoration: none;
	font-size: small;
	cursor: pointer;
	border-radius: 4px;
	transition: background-color 0.3s ease;
}
.btn:hover {
	background-color: var(--dk-orange);
	text-decoration: none;
}
/* ======================================== */
/* AFPIMS / DNN Layout & Overrides          */
/* ======================================== */
.dnnModuleManager {
	margin: 0 !important;
}

.DnnModule.has.rpn-badge {
	overflow-x: clip;
}

#dnn_HeaderPane .box-usace {
	max-width: none;
}

.box-usace {
	overflow: visible;
	max-width: 800px;
}

#dnn_ContentPane {
	position: relative;
	padding: 1.5em;
	padding-left: calc(240px + 1.5em + 20px);
	/* Nav width + Pane padding + Gap */
	overflow: visible !important;
}

#dnn_ContentPane > .DnnModule:last-child {
	margin-bottom: 0;
}

.main-content {
	margin-left: auto;
	margin-right: auto;
}

/* ======================================== */
/* Tiles                                    */
/* ======================================== */
.tiles {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	padding-top: 1em;
	padding-bottom: 1em;
	gap: 1em;
}

.tile-link {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: white !important;
	text-decoration: none !important;
	background-color: var(--dk-teal);
	font-size: 1.2em;
	font-weight: bold;
	text-transform: uppercase;
	padding: 1em;
	flex-basis: 200px;
	flex-grow: 1;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	overflow: hidden;
	position: relative;
	transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
	cursor: pointer;
	max-width: 10em;
}
.tile-link > object {
	z-index: 1;
	pointer-events: none;
}

.tile-link::before {
	content: '';
	position: absolute;
	top: -100%;
	left: 0;
	width: 100%;
	height: 250%;
	background: linear-gradient(45deg, var(--dk-teal), var(--teal));
	transform: rotate(45deg);
	opacity: 0.2;
	transition: top 0.4s ease-in-out;
	z-index: 0;
}

.tile-link:hover::before {
	top: 0;
}

.tile-link:hover {
	transform: translateY(-10px);
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
	background-color: var(--dk-blue);
	color: white;
}

.tile-link span,
.tile-link .tile-caption {
	position: relative;
	z-index: 1;
}

.tile-link span::after {
	content: '';
	display: block;
	width: 50px;
	height: 3px;
	margin: 10px auto 0 auto;
	background-color: var(--dk-blue);
	transition: width 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

.tile-link:hover span::after {
	width: 80px;
	background-color: var(--teal);
}

.tile-link:focus {
	outline: none;
	box-shadow: 0 0 0 4px var(--teal);
}

/* ======================================== */
/* Hero Section                             */
/* ======================================== */
#dnnHeaderPane .focal-point-side-by-side-hero-contain {
	margin-top: 3em;
	background: var(--dk-blue);
}

.focal-point-side-by-side-hero-contain {
	background: linear-gradient(
		0deg,
		rgba(55, 55, 55, 0) 0,
		rgba(55, 55, 55, 0) 70px,
		#1a4758 71px,
		#1a4758 100%
	) !important;
	margin-top: 3em;
	padding-top: 3em;
}

.hero-container {
	position: relative;
	width: 100%;
	height: 25rem;
	overflow: hidden;
	margin-bottom: 1.5em;
}

.hero-image {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	object-position: center;
	display: block;
}

.hero-content {
	position: absolute;
	top: 0;
	left: 0;
	color: white;
	line-height: normal;
	width: 80%;
	max-width: 1200px;
	margin: auto;
	display: flex;
	text-align: left;
	z-index: 1;
	padding: 1em;
	padding-left: 5%;
	width: auto;
	height: 100%;
	padding-top: 5em;
}

.hero-title {
	height: max-content;
	margin: auto;
}

.hero-title h1 {
	font-size: 3.25em;
	color: white;
	font-weight: 600;
	letter-spacing: 0.075em;
	text-transform: uppercase;
}

.hero-title h2 {
	font-size: 2em;
	font-weight: 100;
	letter-spacing: 0.1em;
	color: white;
}

.hero-title .highlight-bar {
	margin-top: 1rem;
	margin-bottom: 0;
}

/* ======================================== */
/* Slideshow / Rotator                      */
/* ======================================== */
.top-rotator-2 .slideContainer {
	margin: auto;
}

.slideContainer {
	display: flex;
	margin: auto;
}
.PhotoDashboardSA {
	display: flex;
}
.PhotoDashboardSA img {
	max-width: 1000px;
	margin: auto;
	width: 100%;
}

.dma-slideshow .page.pager-dark {
	background-color: var(--dk-blue) !important;
}

.dma-slideshow .page.pager-dark.pager-dark-active {
	background-color: var(--teal) !important;
}

.dma-slideshow .page.pager-dark:hover {
	background-color: var(--orange) !important;
	color: #fff !important;
}

/* ======================================== */
/* Responsive Card Table                    */
/* ======================================== */
.status-container.responsive-card-table {
	border: 1px solid #ccc;
	margin-bottom: 1.5em;
	background-color: #fff;
	width: auto;
}

/* Default Desktop View */
.responsive-card-table .status-table-content {
	display: table;
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
}

.responsive-card-table .status-header,
.responsive-card-table .status-row {
	display: table-row;
}

.responsive-card-table .status-cell {
	display: table-cell;
	padding: 10px 12px;
	border-bottom: 1px solid #ccc;
	border-left: 1px solid #ccc;
	text-align: center;
	vertical-align: middle;
	white-space: normal;
}

.responsive-card-table .status-cell:first-child {
	border-left: none;
}

.responsive-card-table .status-row:last-child .status-cell {
	border-bottom: none;
}

/* Header */
.responsive-card-table .status-header .status-cell {
	font-weight: bold;
	background-color: #f8f9fa;
	text-align: center;
	color: var(--grey);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	font-size: 0.9em;
}

.responsive-card-table .status-header .status-cell:nth-child(1) {
	width: 35%;
	color: transparent;
}

.responsive-card-table .status-header .status-cell:nth-child(2) {
	width: 20%;
}

/* Project Name */
.responsive-card-table .status-header .status-cell:nth-child(3) {
	width: 22.5%;
}

/* Design */
.responsive-card-table .status-header .status-cell:nth-child(4) {
	width: 22.5%;
}

.responsive-card-table .status-item-name {
	text-align: left;
	white-space: normal;
}

.responsive-card-table .status-item-name .contract-name {
	color: var(--black);
	font-size: 1rem;
	margin-bottom: 0;
	font-weight: 700;
}

.responsive-card-table .status-item-name .contract-num {
	color: #888;
	font-size: 0.75rem;
	margin-bottom: 0;
}

.responsive-card-table .item-status {
	text-align: center;
	text-transform: uppercase;
	font-weight: 700;
}

.responsive-card-table .complete {
	background-color: var(--green);
	padding: 0.25em 0.5em;
	color: white !important;
	text-transform: uppercase;
	width: max-content;
	margin: auto;
	letter-spacing: 0.08em;
	font-size: 0.75em;
	font-weight: 700;
	display: inline-block;
}
.status-item-name .contract-name {
	color: black;
	border-left: 4px solid transparent;
	padding-left: 8px;
}

/* Phase-specific contract styling */
.lower-phase .contract-name {
	border-left-color: var(--lower);
	background: color-mix(in srgb, var(--lower), transparent 90%);
}

.quebrada-phase .contract-name {
	border-left-color: var(--margarita);
	background: color-mix(in srgb, var(--margarita), transparent 90%);
}

.central-phase .contract-name {
	border-left-color: var(--central);
	background: color-mix(in srgb, var(--central), transparent 90%);
}

.upper-phase .contract-name {
	border-left-color: var(--upper);
	background: color-mix(in srgb, var(--upper), transparent 90%);
}

.dona-josefina-phase .contract-name {
	border-left-color: var(--dona-josefina);
	background: color-mix(in srgb, var(--dona-josefina), transparent 90%);
}

.status-tag {
	display: inline-flex;
	flex-direction: column;
	border: 4px solid green;
	border-radius: 4px;
	overflow: hidden;
	min-width: 100px;
	text-align: center;
	line-height: normal;
	background-color: green;
}

.status-tag-label {
	color: white;
	padding: 1px 10px 5px 10px;
	font-size: 0.75rem !important;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	margin: 0;
}

.status-tag-value {
	background-color: rgba(255, 255, 255, 0.9);
	color: var(--black);
	padding: 7px 10px;
	font-size: 0.9em;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin: 0;
	border-radius: 4px;
}

/* ======================================== */
/* Z-Tabs                                   */
/* ======================================== */
.z-tabs {
	max-width: 100%;
	margin: 1.5em auto !important;
}

.z-tabs .z-tabs-nav {
	border-bottom: 3px solid var(--teal);
}

.z-tabs .z-tabs-nav .z-tab .z-link {
	background-color: var(--dk-blue);
	color: white !important;
	font-weight: 600 !important;
	transition: all 0.3s ease;
	padding: 0.8em 1.2em !important;
	text-transform: uppercase;
	text-align: right !important;
}

.z-tabs .z-tabs-nav .z-tab .z-link:hover {
	background-color: var(--orange);
	color: white !important;
}

.z-tabs .z-tabs-nav .z-active .z-link {
	background-color: var(--dk-teal) !important;
	color: white !important;
}

.z-tabs .z-container .z-content .z-content-inner {
	border: 1px solid #ddd;
	border-top: none;
	padding: 1.5em;
	background-color: #fff;
}

.z-tabs.flat.mobile > ul.z-tabs-desktop > li a {
	background-color: var(--dk-blue) !important;
}
/* ======================================== */
/* History Links (Tabbed Content)           */
/* ======================================== */
.history-links {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	margin-top: 1.5em;
	margin-bottom: 1.5em;
	gap: 0;
	border: 1px solid var(--grey);
	border-radius: 4px;
	overflow: hidden;
	background-color: #f8f9fa;
}

input[type='radio'].history-tab-toggle {
	display: none;
}

.history-links .headings {
	display: flex;
	flex-direction: column;
	flex: 0 0 200px;
	background-color: var(--dk-blue);
}

.history-links .headings label {
	display: flex;
	padding: 1em 1.2em;
	color: white;
	cursor: pointer;
	margin-bottom: 0;
	text-align: left;
	align-items: center;
	min-height: 3em;
	transition: background-color 0.3s ease;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.history-links .headings label:last-child {
	border-bottom: none;
}

.history-links .headings label:hover {
	background-color: var(--orange);
}

.history-links .content {
	padding: 1.5em;
	flex-grow: 1;
	background-color: #fff;
	border-left: 1px solid var(--grey);
}

/* Active Tab Styling */
input[type='radio'].history-tab-toggle:checked + label {
	background-color: var(--teal);
}

#group1:checked ~ .headings label[for='group1'],
#group2:checked ~ .headings label[for='group2'],
#group3:checked ~ .headings label[for='group3'] {
	background-color: var(--teal);
}

/* Content Display Logic */
.history-links .tabgroup {
	display: none;
}

#group1:checked ~ .content .tabgroup-1,
#group2:checked ~ .content .tabgroup-2,
#group3:checked ~ .content .tabgroup-3 {
	display: block;
}

/* Links Within Tab Groups */
.tabgroup a {
	display: block;
	margin: 8px 0;
	text-decoration: none;
	color: var(--orange);
	text-align: left;
	padding: 4px 0;
	border-bottom: 1px dashed var(--grey);
}

.tabgroup a:hover {
	color: var(--dk-blue);
	border-bottom-color: var(--dk-blue);
}

.tabgroup a:last-child {
	border-bottom: none;
}

/* ======================================== */
/* Project Info / General Section Layout    */
/* ======================================== */
.section {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5em;
	margin-bottom: 2em;
}

.section-header {
	color: var(--dk-blue);
	font-weight: bold;
	margin: 0 0 1em 0;
	font-size: 1.6em;
	border-bottom: 2px solid var(--teal);
	padding-bottom: 0.3em;
	width: 100%;
}

.project-info-header {
	margin-bottom: 1em;
	width: 100%;
}

.project-info-header h3 {
	color: var(--dk-blue);
	font-weight: bold;
	font-size: 1.4em;
	margin: 0 0 0.2em 0;
}

.project-info-header h4 {
	color: var(--dk-orange);
	text-transform: uppercase;
	font-weight: bold;
	font-size: 0.9em;
	margin: 0;
	letter-spacing: 0.05em;
}

.project-info {
	overflow: hidden;
	/* For floated map */
	margin-bottom: 1.5em;
	width: 100%;
}

.project-info p {
	line-height: 1.6;
	margin-bottom: 1em;
	margin-top: 0;
	color: var(--black, #1f2626);
	font-family: 'Open Sans', 'Arial', 'Helvetica', sans-serif !important;
}

.project-info-content {
	margin-bottom: 1.5em;
}

/* Mini Map (Floated Image) */
.mini-map {
	float: right;
	width: 60%;
	max-width: none;
	height: auto;
	margin-top: 0;
	margin-left: 1.5em;
	margin-bottom: 0.5em;
	border: 1px solid var(--grey, #bfbfbf);
	padding: 3px;
	background-color: white;
}

/* Map Placeholder (General) */
.map-placeholder {
	width: 100%;
	height: 300px;
	background-color: var(--grey);
	border-radius: 4px;
	margin-bottom: 1.5em;
}

/* ======================================== */
/* Horizontal Timeline                      */
/* ======================================== */
.horizontal-timeline-container.timeline-alternating {
	position: relative;
	padding: 4em 0;
	margin: 1.5em 0;
	width: 100%;
	font-family: 'Open Sans', 'Arial', 'Helvetica', sans-serif !important;
}

/* Central Axis Line */
.horizontal-timeline-container.timeline-alternating::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 1em;
	right: 1em;
	height: 3px;
	background-color: var(--teal);
	transform: translateY(-50%);
	z-index: 0;
}

/* List and Item Setup */
.timeline-alternating .timeline-items {
	list-style: none;
	padding: 0 1em;
	margin: 0;
	display: flex;
	justify-content: space-between;
	position: relative;
	z-index: 1;
	width: 100%;
}

.timeline-alternating .timeline-item {
	display: flex;
	position: relative;
	flex: 1 0 auto;
	min-height: 150px;
}

/* Dot on Axis */
.timeline-alternating .timeline-item::after {
	content: '';
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 12px;
	height: 12px;
	background-color: var(--dk-blue);
	border: 2px solid var(--white);
	border-radius: 50%;
	z-index: 2;
}

/* Content Box */
.timeline-alternating .timeline-content {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	text-align: center;
	padding: 0.4em 0.6em;
	background-color: transparent;
	border: none;
	border-radius: 0;
	white-space: normal;
	z-index: 3;
	width: 140px;
}
/* Connector Line */
.timeline-alternating .timeline-content::before {
	content: '';
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	width: 1px;
	background-color: var(--grey);
	z-index: -1;
}

/* Alternating Positioning */
.timeline-alternating .timeline-item:nth-child(odd) .timeline-content {
	bottom: calc(50% + 1.8em);
}

.timeline-alternating .timeline-item:nth-child(odd) .timeline-content::before {
	top: 100%;
	height: 1.8em;
}

.timeline-alternating .timeline-item:nth-child(even) .timeline-content {
	top: calc(50% + 1.8em);
}

.timeline-alternating .timeline-item:nth-child(even) .timeline-content::before {
	bottom: 100%;
	height: 1.8em;
}

/* Text Styling */
.timeline-alternating .timeline-year {
	font-weight: bold;
	color: var(--dk-orange);
	margin-bottom: 0.3em;
	font-size: 1.1em;
}

.timeline-alternating .timeline-title {
	font-size: 0.9em;
	color: var(--black);
	line-height: 1.3;
}

.timeline {
	position: relative;
}

.timeline::before {
	content: '';
	position: absolute;
	top: 0;
	left: calc(10% - 2px);
	width: 4px;
	height: calc(100% - 2em);
	background-color: var(--grey);
}

.timeline-title {
	display: flex;
	flex-direction: column;
	text-transform: uppercase;
}

.timeline-title h4 {
	color: var(--dk-orange);
	font-size: 1.25em;
	margin: 0;
	letter-spacing: 0.05em;
	font-weight: 800;
}

.timeline-title h3 {
	font-size: 1.5em;
	font-weight: 700;
	color: var(--black);
	letter-spacing: 0.02em;
	margin: 0;
}
/* ======================================== */
/* Downloadable Images                      */
/* ======================================== */

/* Status Table Styles */
/* ======================================== */
.status-container {
	width: 100%;
	margin-bottom: 2rem;
}

.status-table-content {
	display: table;
	width: 100%;
	border-collapse: collapse;
}

.status-header {
	display: table-row;
	background-color: var(--dk-blue);
	color: white;
	font-weight: bold;
}

.status-row {
	display: table-row;
	border-bottom: 1px solid #ddd;
}

.status-cell {
	display: table-cell;
	padding: 1rem;
	vertical-align: middle;
}

.phase-header {
	text-align: center;
}

.status-item-name {
	font-weight: bold;
}

.item-status {
	text-align: center;
}

.lower-phase {
	border-left: 4px solid var(--lower);
	padding-left: 1rem;
}

/* Responsive table styles */
@media screen and (max-width: 768px) {
	.status-table-content {
		display: block;
	}

	.status-header {
		display: none;
	}

	.status-row {
		display: block;
		margin-bottom: 1.5rem;
		border: 1px solid #ddd;
		border-radius: 4px;
		box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	}

	.status-cell {
		display: block;
		text-align: right;
		padding: 0.75rem;
		border-bottom: 1px solid #eee;
	}

	.status-cell:last-child {
		border-bottom: none;
	}

	.status-item-name {
		text-align: left;
		border-left-width: 4px;
	}

	.status-cell[data-label]:before {
		content: attr(data-label);
		float: left;
		font-weight: bold;
		margin-right: 1rem;
	}
}

.downloadable-image-container {
	position: relative;
	display: inline-block;
}

.download-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0);
	display: flex;
	justify-content: center;
	align-items: center;
	opacity: 0;
	transition: all 0.3s ease;
}

.downloadable-image-container:hover .download-overlay,
.downloadable-image-container:focus-within .download-overlay {
	opacity: 1;
	background-color: rgba(0, 0, 0, 0.25);
}

.download-button {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background-color: rgba(255, 255, 255, 0.85);
	color: var(--dk-teal, #11695d);
	padding: 10px 16px;
	text-decoration: none;
	font-weight: 500;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
	transition: all 0.2s ease;
	-webkit-backdrop-filter: blur(2px);
	backdrop-filter: blur(2px);
}

.download-button:hover,
.download-button:focus {
	background-color: white;
	transform: scale(1.05);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
	outline: none;
}

.download-icon {
	font-size: 22px;
	margin-bottom: 3px;
	line-height: 1;
}

.download-text {
	font-size: 13px;
	letter-spacing: 0.02em;
}

@media (max-width: 768px) {
	.download-button {
		padding: 8px 12px;
	}

	.download-icon {
		font-size: 18px;
		margin-bottom: 2px;
	}

	.download-text {
		font-size: 11px;
	}
}

/* ======================================== */
/* Media Queries                            */
/* ======================================== */

/* --- Small Screens (Mobile) --- */
@media (max-width: 768px) {
	/* Project Info Map Stack */
	.mini-map {
		float: none;
		display: block;
		width: 90%;
		max-width: 350px;
		margin: 0 auto 1em auto;
	}

	.project-info p {
		margin-top: 1em;
	}

	.hero-container img.hero-image {
		height: 100% !important;
	}

	.hero-title {
		padding-top: 2.5em;
	}
	.hero-title h1 {
		font-size: 2rem;
	}
	.hero-title h2 {
		font-size: medium;
	}
}

/* --- Medium Screens (Tablets) --- */
@media screen and (max-width: 767px) {
	/* Responsive Card Table - Mobile Card View */
	.responsive-card-table .status-table-content {
		display: block;
		width: auto;
	}

	.responsive-card-table .status-header {
		display: none;
	}

	.responsive-card-table .status-row {
		display: block;
		margin-bottom: 1em;
		border: 1px solid #ccc;
		overflow: hidden;
		background-color: #fff;
	}

	.responsive-card-table .status-row:last-child {
		margin-bottom: 0;
	}

	.responsive-card-table .status-cell {
		display: block;
		width: 100% !important;
		padding: 8px 12px;
		text-align: right;
		border: none;
		border-bottom: 1px dotted #eee;
		min-height: 2.5em;
		position: relative;
		padding-left: 40%;
		white-space: normal;
	}

	.responsive-card-table .status-row .status-cell:last-child {
		border-bottom: none;
	}

	/* Data Labels for Card View */
	.responsive-card-table .status-cell[data-label]::before {
		content: attr(data-label);
		position: absolute;
		left: 12px;
		width: 50%;
		font-weight: bold;
		text-align: left;
		text-transform: uppercase;
		font-size: 0.8em;
		color: var(--grey);
		white-space: normal;
	}

	/* First Cell Special Handling (Card View) */
	.responsive-card-table .status-cell.status-item-name {
		padding-left: 12px;
		text-align: left;
		background-color: #f8f9fa;
		border-bottom: 1px solid #ccc;
	}

	.responsive-card-table .status-item-name .contract-name {
		font-size: 1.1em;
	}

	.responsive-card-table .status-item-name .contract-num {
		font-size: 0.8em;
	}
	.item-status .complete-tag {
		margin-right: 0;
	}
	.responsive-card-table .complete {
		margin: 0 0 0 auto;
		display: inline-block;
	}

	.hero-title {
		font-size: 2em;
	}

	.section-header {
		font-size: 1.4em;
	}

	.project-info-header h3 {
		font-size: 1.2em;
	}

	.status-cell {
		min-width: 100px;
	}

	/* History Links Tabs */
	.history-links .headings label {
		min-width: 120px;
	}
}

/* --- Larger Tablets / Small Desktops --- */
@media screen and (max-width: 900px) {
	/* History Links - Horizontal Tabs */
	.history-links {
		flex-direction: column;
	}

	.history-links .headings {
		flex: 1 1 auto;
		flex-direction: row;
		flex-wrap: wrap;
		background-color: transparent;
		border-bottom: 1px solid var(--grey);
	}

	.history-links .headings label {
		flex-grow: 1;
		text-align: center;
		justify-content: center;
		border-bottom: none;
		border-right: 1px solid rgba(255, 255, 255, 0.1);
		border-radius: 0;
		margin: 0;
		background-color: var(--dk-blue);
	}

	input[type='radio'].history-tab-toggle:checked + label {
		background-color: var(--teal);
	}

	.history-links .headings label:last-child {
		border-right: none;
	}

	.history-links .content {
		border-left: none;
		border-top: none;
		border-radius: 0;
	}

	/* Hero Title Adjust */
	.hero-title {
		font-size: 2.5em;
	}
}

/* --- Medium Screens and Up (Ensure table content wraps if needed) --- */
@media screen and (min-width: 768px) {
	.status-container {
		overflow-x: hidden;
	}

	.status-table {
		min-width: 0;
	}

	.status-cell {
		white-space: normal;
	}

	.status-cell.status-item-name {
		white-space: normal;
	}
}
