:root {
	--accent-color: #0090d3;
	--muted-color: #757575;
	--shadow-color: #0000001a;
}

body {
	margin: 0;
	padding: 0;
	font-size: 14px;
	font-family: Arial, Helvetica, sans-serif;
}

a:link,
a:visited {
	color: #000000;
    text-decoration: none;
    font-weight: bold;
}

a:hover,
a:active {
	color: var(--accent-color);
}

.container {
	margin: 0 auto;
	max-width: 800px;
	padding: 0 10px;
}

header .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo a:link,
.logo a:visited {
	display: block;
	width: 132px;
}

.main-nav > ul {
	list-style: none;
	display: flex;
	padding: 0;
	margin: 0;
}

.main-nav > ul > li > a:link,
.main-nav > ul > li > a:visited {
	padding: 10px 20px;
	display: block;
	color: var(--muted-color);
	text-decoration: none;
}

.main-nav > ul > li > a:hover,
.main-nav > ul > li > a:active {
	color: var(--accent-color);
	text-decoration: none;
}

.dropdown {
	position: relative;
}

.dropdown-trigger {
	display: flex;
	align-items: center;
	gap: 4px;
}

.dropdown-trigger::after {
	content: '▼';
	font-size: 10px;
	color: var(--muted-color);
	opacity: 0.7;
	transition: transform 0.3s ease, opacity 0.3s ease;
	transform-origin: center;
	will-change: transform;
	display: inline-block;
	margin-left: 4px;
}

.dropdown-trigger:hover::after {
	color: var(--accent-color);
	opacity: 1;
}

.dropdown.active .dropdown-trigger::after {
	transform: rotate(180deg);
	opacity: 1;
}

.dropdown-menu {
	position: absolute;
	top: 100%;
	left: 0;
	padding: 0;
	background-color: #fff;
	list-style: none;
	display: flex;
	flex-direction: column;
	z-index: 100;
	width: fit-content;
	white-space: nowrap;
	box-shadow: 0 4px 6px var(--shadow-color);
	border-radius: 4px;
}

.dropdown-menu > li {
	padding: 0;
	margin: 0;
}

.dropdown-menu.hidden {
	display: none;
}

.dropdown-menu > li > a:link,
.dropdown-menu > li > a:visited {
	padding: 10px 15px;
	display: block;
	color: var(--muted-color);
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.3s ease;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:active {
	color: var(--accent-color);
	text-decoration: none;
	background-color: #f8f9fa;
}

/* Mobile responsive styles for dropdown */
@media (max-width: 768px) {
	.dropdown-menu {
		position: fixed;
		left: 10px;
		right: 10px;
		width: auto;
		min-width: auto;
		max-height: 300px;
		max-width: calc(100vw - 20px);
	}

	.dropdown-menu > li > a:link,
	.dropdown-menu > li > a:visited {
		padding: 12px 15px;
		font-size: 14px;
	}

	.dropdown-trigger {
		gap: 6px;
	}

	.dropdown-trigger::after {
		font-size: 11px;
		margin-left: 3px;
	}
}

footer {
	border-top: 1px dashed var(--muted-color);
}

footer .container {
	display: flex;
	justify-content: center;
}

.main-content {
	flex: 1;
}

.hero-section {
    background: url('https://bucket-opadmin-01.sgp1.cdn.digitaloceanspaces.com/design_opstamp/assets/images/main-header.png') no-repeat center center;
    background-size: cover;
    padding: 50px 0;
}

.hero-section .container {
    min-height: 100px;
    color: white;
	display: flex;
	flex-direction: column;
	align-items: center;
    justify-content: center;
    gap: 10px;
}

.hero-section h1 {
    margin: 0;
	font-weight: bold;
	text-align: center;
}

.hero-section a.hero-button:link,
.hero-section a.hero-button:visited {
    color: white;
    border: 1px solid #acacac;
    border-radius: 5px;
    min-width: 200px;
    text-align: center;
    padding: 5px 10px;
    transition: border-color 0.2s ease;
    text-decoration: none;
}


.hero-section a.hero-button:hover,
.hero-section a.hero-button:active {
    border-color: #ffffff;
}

main .container{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

main blockquote {
    border-left: 4px solid var(--accent-color);
    padding-left: 10px;
    margin-left: 10px;
    font-style: italic;
}

main table {
    border-collapse: collapse;
    border: 1px solid #f0f0f0;
    margin-bottom: 10px;
}

main table th {
    padding: 10px;
    background-color: var(--accent-color);
    color: white;
}

main table td {
    padding: 10px;
}

main table tr:nth-child(even) td {
    background-color: #f0f0f0;
}

main>div h1:first-child {
    font-size: 34px;
    text-align: center;
}

main i {
	font-size: 1.2em;
	margin-right: 8px;
	color: var(--accent-color);
}

/* Blog List Grid Styles */
.blog-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 24px;
}

.blog-item {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px var(--shadow-color);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s;
}

.blog-item:hover {
    box-shadow: 0 4px 16px var(--shadow-color);
}

.blog-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.blog-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.blog-title {
    margin: 0 0 4px 0;
    font-size: 1.3em;
    font-weight: bold;
}

.blog-subtitle {
    margin: 0 0 8px 0;
    color: var(--muted-color);
    font-size: 0.95em;
    font-weight: normal;
}

.blog-excerpt {
    margin: 0;
    color: #333;
    font-size: 1em;
}

@media (max-width: 768px) {
    .blog-list {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .blog-image img {
        height: 140px;
    }
}

