/* ============================================
BIBBULLMUN.COM.AU HOME PAGE STYLES
============================================ */

/* Hero Section */
.hero-section {
	position: relative;
	width: 100%;
	height: 400px;
	overflow: hidden;
	background: linear-gradient(135deg, #000000 0%, #8B3A3A 100%);
	margin-bottom: 40px;
}

.hero-container {
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hero-map {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	opacity: 0.7;
	-webkit-mask-image: linear-gradient(to right, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
	mask-image: linear-gradient(to right, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
}

.hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.4);
	color: var(--cream);
	text-align: center;
	padding: 40px;
}

.hero-title {
	font-size: 3em;
	font-weight: bold;
	margin-bottom: 10px;
	color: var(--ochre);
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
	font-size: 1.5em;
	color: var(--cream);
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Cultural Sensitivity Banner */
.cultural-sensitivity-banner {
	background-color: #FFF3CD;
	border-left: 4px solid var(--ochre);
	padding: 20px;
	margin-bottom: 40px;
	border-radius: 4px;
}

.banner-content {
	display: flex;
	align-items: flex-start;
	gap: 15px;
}

.banner-icon {
	font-size: 1.5em;
	flex-shrink: 0;
}

.banner-content p {
	margin: 0;
	color: #333;
	line-height: 1.6;
}

.banner-link {
	color: var(--deep-red);
	text-decoration: underline;
	font-weight: bold;
}

.banner-link:hover {
	color: var(--ochre);
}

/* Essay Content */
.essay-content {
	max-width: 900px;
	margin: 0 auto 60px;
	line-height: 1.8;
	font-size: 1.05em;
}

.essay-content h2 {
	color: var(--deep-red);
	font-size: 1.8em;
	margin-top: 40px;
	margin-bottom: 20px;
	border-bottom: 2px solid var(--ochre);
	padding-bottom: 10px;
}

.essay-content h3 {
	color: var(--ochre);
	font-size: 1.3em;
	margin-top: 30px;
	margin-bottom: 15px;
}

.essay-content h4 {
	color: #333;
	font-size: 1.1em;
	margin-top: 20px;
	margin-bottom: 10px;
}

.essay-content p {
	margin-bottom: 15px;
	text-align: justify;
}

.essay-content ul {
	margin-left: 30px;
	margin-bottom: 20px;
}

.essay-content li {
	margin-bottom: 10px;
}

.essay-content blockquote {
	border-left: 4px solid var(--ochre);
	padding-left: 20px;
	margin: 20px 0;
	font-style: italic;
	color: #555;
	background-color: #f9f9f9;
	padding: 15px 20px;
}

/* Footnote Links */
.footnote-link {
	color: var(--deep-red);
	text-decoration: none;
	font-weight: bold;
	vertical-align: super;
	font-size: 0.8em;
}

.footnote-link:hover {
	color: var(--ochre);
	text-decoration: underline;
}

/* States Grid */
.states-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
	margin: 30px 0;
}

.state-card {
	background-color: #f9f9f9;
	border: 1px solid #ddd;
	border-left: 4px solid var(--ochre);
	padding: 20px;
	border-radius: 4px;
	transition: all 0.3s ease;
}

.state-card:hover {
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	border-left-color: var(--deep-red);
}

.state-card h4 {
	color: var(--deep-red);
	margin-top: 0;
}

.state-card p {
	margin: 10px 0 0 0;
	font-size: 0.95em;
	color: #666;
}

/* Pillar Navigation */
.pillar-navigation {
	background-color: #f9f9f9;
	padding: 60px 20px;
	margin: 60px 0;
	border-top: 2px solid var(--ochre);
	border-bottom: 2px solid var(--ochre);
}

.pillar-navigation h2 {
	text-align: center;
	color: var(--deep-red);
	font-size: 2em;
	margin-bottom: 40px;
}

.pillar-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 30px;
	max-width: 1200px;
	margin: 0 auto;
}

.pillar-card {
	background-color: white;
	border: 2px solid var(--ochre);
	border-radius: 8px;
	padding: 30px;
	text-align: center;
	transition: all 0.3s ease;
	display: flex;
	flex-direction: column;
}

.pillar-card:hover {
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
	border-color: var(--deep-red);
	transform: translateY(-5px);
}

.pillar-icon {
	font-size: 3em;
	margin-bottom: 15px;
}

.pillar-card h3 {
	color: var(--deep-red);
	font-size: 1.5em;
	margin: 0 0 5px 0;
}

.pillar-card p {
	color: var(--ochre);
	font-weight: bold;
	margin: 0 0 15px 0;
}

.pillar-description {
	color: #666;
	font-weight: normal;
	font-size: 0.95em;
	margin-bottom: 20px;
	flex-grow: 1;
}

.pillar-button {
	display: inline-block;
	background-color: var(--deep-red);
	color: white;
	padding: 12px 24px;
	border-radius: 4px;
	text-decoration: none;
	font-weight: bold;
	transition: all 0.3s ease;
	align-self: center;
}

.pillar-button:hover {
	background-color: var(--ochre);
	color: var(--deep-red);
}

/* Research Tools */
.research-tools {
	padding: 60px 20px;
	background-color: white;
}

.research-tools h2 {
	text-align: center;
	color: var(--deep-red);
	font-size: 2em;
	margin-bottom: 40px;
}

.tools-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 30px;
	max-width: 1200px;
	margin: 0 auto;
}

.tool-card {
	background-color: #f9f9f9;
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 30px;
	text-align: center;
	transition: all 0.3s ease;
}

.tool-card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	border-color: var(--ochre);
}

.tool-card h3 {
	color: var(--deep-red);
	font-size: 1.3em;
	margin-top: 0;
}

.tool-card p {
	color: #666;
	margin-bottom: 20px;
}

.tool-link {
	display: inline-block;
	color: var(--ochre);
	text-decoration: none;
	font-weight: bold;
	border-bottom: 2px solid var(--ochre);
	transition: all 0.3s ease;
}

.tool-link:hover {
	color: var(--deep-red);
	border-bottom-color: var(--deep-red);
}

/* Call to Action */
.cta-section {
	background: linear-gradient(135deg, #000000 0%, #8B3A3A 100%);
	color: var(--cream);
	padding: 60px 20px;
	text-align: center;
	border-radius: 8px;
	margin: 60px 0;
}

.cta-section h2 {
	color: var(--ochre);
	font-size: 2em;
	margin-bottom: 20px;
}

.cta-section p {
	font-size: 1.1em;
	margin-bottom: 30px;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

.cta-buttons {
	display: flex;
	gap: 20px;
	justify-content: center;
	flex-wrap: wrap;
}

.cta-button {
	display: inline-block;
	padding: 15px 30px;
	border-radius: 4px;
	text-decoration: none;
	font-weight: bold;
	transition: all 0.3s ease;
}

.cta-button.primary {
	background-color: var(--ochre);
	color: var(--deep-red);
}

.cta-button.primary:hover {
	background-color: var(--cream);
	color: var(--deep-red);
}

.cta-button.secondary {
	background-color: transparent;
	color: var(--cream);
	border: 2px solid var(--ochre);
}

.cta-button.secondary:hover {
	background-color: var(--ochre);
	color: var(--deep-red);
}

/* Footnotes Page Styles */
.footnotes-page {
	max-width: 900px;
	margin: 0 auto;
}

.footnotes-header {
	text-align: center;
	margin-bottom: 60px;
	padding-bottom: 30px;
	border-bottom: 2px solid var(--ochre);
}

.footnotes-header h1 {
	color: var(--deep-red);
	font-size: 2.5em;
	margin-bottom: 10px;
}

.footnotes-subtitle {
	color: var(--ochre);
	font-size: 1.3em;
	font-style: italic;
	margin-bottom: 15px;
}

.footnotes-note {
	color: #666;
	font-size: 0.95em;
}

.footnotes-list {
	margin-bottom: 60px;
}

.footnote {
	margin-bottom: 40px;
	padding: 20px;
	background-color: #f9f9f9;
	border-left: 4px solid var(--ochre);
	border-radius: 4px;
}

.footnote h3 {
	color: var(--deep-red);
	margin-top: 0;
	font-size: 1.2em;
}

.footnote p {
	margin: 10px 0;
}

.footnote blockquote {
	border-left: 4px solid var(--deep-red);
	padding-left: 20px;
	margin: 15px 0;
	font-style: italic;
	color: #555;
	background-color: white;
	padding: 15px 20px;
}

.citation {
	font-family: 'Courier New', monospace;
	font-size: 0.95em;
	color: #333;
}

.footnote ul {
	margin-left: 30px;
}

.footnote li {
	margin-bottom: 8px;
}

.bibliography-section {
	background-color: #f9f9f9;
	padding: 30px;
	border-radius: 8px;
	margin-bottom: 40px;
}

.bibliography-section h2 {
	color: var(--deep-red);
	margin-top: 0;
}

.back-to-main {
	text-align: center;
	padding: 30px 0;
}

.back-button {
	display: inline-block;
	background-color: var(--deep-red);
	color: white;
	padding: 12px 24px;
	border-radius: 4px;
	text-decoration: none;
	font-weight: bold;
	transition: all 0.3s ease;
}

.back-button:hover {
	background-color: var(--ochre);
	color: var(--deep-red);
}

/* Responsive Design */
@media (max-width: 768px) {
	.hero-title {
		font-size: 2em;
	}

	.hero-subtitle {
		font-size: 1.2em;
	}

	.essay-content h2 {
		font-size: 1.5em;
	}

	.essay-content h3 {
		font-size: 1.1em;
	}

	.pillar-grid,
	.tools-grid {
		grid-template-columns: 1fr;
	}

	.cta-buttons {
		flex-direction: column;
	}

	.cta-button {
		width: 100%;
	}
}

/* Cartographic Atlas SEO & Core Web Vitals (Zero Layout Shift) */
.cartographic-atlas-figure img {
	max-width: 100%;
	height: auto;
	aspect-ratio: 3440 / 1805;
}
