/* GM Astronomy Club first-page theme inspired by the digitalBunker PHP/CSS template structure */

*, *::before, *::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: "Trebuchet MS", Verdana, sans-serif;
	color: #ecf2ff;
	min-height: 100vh;
	background:
		radial-gradient(circle at 12% 18%, rgba(84, 127, 189, 0.28) 0%, rgba(84, 127, 189, 0) 38%),
		radial-gradient(circle at 88% 14%, rgba(255, 211, 118, 0.24) 0%, rgba(255, 211, 118, 0) 34%),
		linear-gradient(180deg, #09111f 0%, #050910 100%);
	background-attachment: fixed;
}

a {
	color: inherit;
}

hr {
	border: none;
	border-top: 1px solid rgba(157, 191, 236, 0.35);
	margin: 1rem 0 1.1rem;
}

.sectionfont,
.subsectionfont,
.textmain,
.textbanner,
a.navlink_large {
	font-family: Georgia, "Times New Roman", serif;
}

.textbanner {
	font-size: clamp(1.14rem, 2.4vw, 1.62rem);
	letter-spacing: 0.03em;
	text-transform: uppercase;
	margin: 0;
	color: #f6fbff;
}

.sectionfont {
	font-size: clamp(1.15rem, 2.1vw, 1.45rem);
	color: #c8def9;
	margin: 0 0 0.4rem;
}

.subsectionfont {
	font-size: 0.62rem;
	font-style: italic;
	color: #a7bedc;
	margin: 0;
}

.textmain {
	font-size: 1rem;
	line-height: 1.62;
	color: #d6e5f9;
}

#parent_div_floating {
	width: 100%;
	max-width: 1140px;
	margin: 0 auto;
	padding: 0.75rem 1rem 2rem;
}

.site_header_wrap {
	background: rgba(13, 23, 42, 0.78);
	border: 1px solid rgba(126, 164, 213, 0.32);
	border-radius: 12px;
	box-shadow: 0 14px 30px rgba(0, 0, 0, 0.38);
	padding: 0.6rem 0.85rem 0.65rem;
}

.social_row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.6rem 0.9rem;
	flex-wrap: wrap;
	padding-bottom: 0.45rem;
}

.social_links {
	display: flex;
	gap: 0.95rem;
	flex-wrap: wrap;
}

.social_icon_link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.2rem;
	height: 1.2rem;
	color: #bdd7f6;
	text-decoration: none;
	transition: color .2s ease-in, transform .2s ease-in;
}

.social_icon_link:hover {
	color: #ffe4a9;
	transform: translateY(-1px);
}

.social_icon {
	width: 100%;
	height: 100%;
	display: block;
}

.search_stub {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	font-size: 0.88rem;
	color: #a9c7eb;
}

.search_stub label {
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.search_stub input {
	border: 1px solid rgba(130, 170, 218, 0.5);
	background: rgba(6, 13, 24, 0.92);
	border-radius: 4px;
	color: #e8f3ff;
	padding: 0.35rem 0.48rem;
	min-width: 170px;
}

.search_stub button {
	border: 1px solid rgba(255, 214, 132, 0.7);
	background: rgba(248, 185, 59, 0.2);
	color: #ffe8b2;
	border-radius: 4px;
	padding: 0.34rem 0.55rem;
	cursor: pointer;
}

.hero_banner {
	margin-top: 0.35rem;
}

.hero_banner img {
	display: block;
	width: 100%;
	border-radius: 9px;
	border: 1px solid rgba(165, 193, 229, 0.4);
}

.topnav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem 1.05rem;
	flex-wrap: wrap;
	margin-top: 0.45rem;
}

a.navlink_large,
a.navlink {
	text-decoration: none;
	transition: color .2s ease-in, border-color .2s ease-in;
}

a.navlink_large {
	font-size: 0.84rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-weight: 500;
	padding-bottom: 0.06rem;
	border-bottom: 1px solid transparent;
	color: #b6cae4;
}

a.navlink_large:hover,
a.navlink_large.active {
	color: #d8e5f6;
	border-bottom-color: rgba(184, 204, 230, 0.55);
}

a.navlink {
	font-size: 0.94rem;
	color: #bdd7f6;
}

a.navlink:hover {
	color: #ffe4a9;
}

#bottomcontainer_div {
	width: 100%;
	max-width: 1110px;
	margin: 1rem auto 0;
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
	gap: 1rem;
}

#bottomcontainer_div.single_col {
	grid-template-columns: 1fr;
}

#namecard_div,
.content_card {
	background: rgba(11, 20, 37, 0.86);
	border: 1px solid rgba(125, 165, 216, 0.31);
	border-radius: 12px;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.34);
	padding: 1.25rem;
}

.content_card_full {
	background: rgba(11, 20, 37, 0.86);
	border: 1px solid rgba(125, 165, 216, 0.31);
	border-radius: 12px;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.34);
	padding: 1.25rem;
	max-width: 1110px;
	margin: 1rem auto 0;
}

.quick_grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.9rem;
	margin-top: 0.9rem;
}

.meeting_location_card {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
	gap: 1rem;
	padding: 0.95rem;
	border-radius: 10px;
	border: 1px solid rgba(125, 165, 216, 0.3);
	background: rgba(18, 31, 55, 0.45);
	margin: 0.3rem 0 1.15rem;
}

.meeting_location_media img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 8px;
	border: 1px solid rgba(255, 220, 145, 0.45);
	box-shadow: 0 10px 22px rgba(0, 0, 0, 0.38);
}

.meeting_location_copy .card_title {
	margin-bottom: 0.5rem;
}

.meeting_location_copy .textmain {
	margin: 0 0 0.75rem;
}

.meeting_location_links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem 0.85rem;
	align-items: center;
}

.weather_live_card {
	padding: 0.95rem;
	border-radius: 10px;
	border: 1px solid rgba(125, 165, 216, 0.3);
	background: rgba(18, 31, 55, 0.45);
	margin: 0.3rem 0 1.1rem;
}

.weather_live_intro {
	margin: 0 0 0.65rem;
}

.weather_live_status {
	margin: 0 0 0.75rem;
	font-size: 0.95rem;
	color: #cfe3fb;
}

.weather_live_grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.65rem;
}

.weather_metric {
	border: 1px solid rgba(125, 165, 216, 0.24);
	background: rgba(11, 20, 37, 0.76);
	border-radius: 8px;
	padding: 0.55rem 0.6rem;
	min-height: 76px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.metric_label {
	font-size: 0.76rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #9fb9da;
	font-family: "Trebuchet MS", Verdana, sans-serif;
}

.metric_value {
	font-size: 1.04rem;
	color: #f2f7ff;
	font-family: Georgia, "Times New Roman", serif;
	line-height: 1.3;
}

.quick_item {
	padding: 0.9rem;
	border-radius: 8px;
	border: 1px solid rgba(125, 165, 216, 0.22);
	background: rgba(18, 31, 55, 0.45);
}

.quick_item h3 {
	margin: 0 0 0.45rem;
	font-size: 1.05rem;
	font-family: Georgia, "Times New Roman", serif;
}

.link_list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 0.58rem;
}

.link_list li {
	padding-bottom: 0.45rem;
	border-bottom: 1px solid rgba(125, 165, 216, 0.2);
}

.link_list li:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.card_title {
	margin: 0 0 0.8rem;
	font-size: 1.18rem;
	color: #e4f1ff;
	font-family: Georgia, "Times New Roman", serif;
	letter-spacing: 0.02em;
}

.card_title a {
	text-decoration: none;
	color: #e4f1ff;
}

.card_title a:hover {
	color: #ffe2a0;
}

.widget_block {
	margin-bottom: 1rem;
	padding-bottom: 0.95rem;
	border-bottom: 1px solid rgba(125, 165, 216, 0.2);
}

.widget_block:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
}

.link_button {
	display: inline-block;
	margin-top: 0.45rem;
	padding: 0.46rem 0.72rem;
	border-radius: 6px;
	border: 1px solid rgba(255, 220, 145, 0.72);
	text-decoration: none;
	font-size: 0.9rem;
	color: #ffe7b4;
	background: rgba(248, 185, 59, 0.12);
}

.link_button:hover {
	background: rgba(248, 185, 59, 0.2);
}

.news_list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.9rem;
}

.news_item {
	padding-bottom: 0.8rem;
	border-bottom: 1px solid rgba(125, 165, 216, 0.2);
}

.news_item:last-child {
	padding-bottom: 0;
	border-bottom: none;
}

.news_item h4 {
	margin: 0;
	font-size: 1rem;
	font-family: Georgia, "Times New Roman", serif;
}

.news_item a {
	text-decoration: none;
	color: #d8ecff;
}

.news_item a:hover {
	color: #ffe4a8;
}

.news_item p {
	margin: 0.35rem 0 0;
	font-size: 0.92rem;
	color: #bdd4ef;
	line-height: 1.5;
}

.team_section {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	max-width: 940px;
	margin: 0 auto;
	gap: 24px;
	padding: 8px 6px 0;
}

.profile_card {
	text-align: center;
	width: 280px;
	padding: 10px 8px;
	border-radius: 10px;
	border: 1px solid rgba(125, 165, 216, 0.24);
	background: rgba(18, 31, 55, 0.34);
}

.profile_circle {
	width: 124px;
	height: 124px;
	border-radius: 50%;
	border: 2px solid rgba(255, 213, 127, 0.88);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
	display: block;
	margin: 0 auto 14px;
	font-size: 2rem;
	font-family: Georgia, "Times New Roman", serif;
	font-weight: 700;
	color: #fff3cc;
	background: radial-gradient(circle at 30% 25%, rgba(255, 231, 183, 0.38), rgba(73, 109, 161, 0.2) 46%, rgba(13, 25, 45, 0.98) 100%);
}

.profile_circle.photo {
	object-fit: cover;
	object-position: center;
	background: #162741;
}

.profile_title {
	font-size: 0.8rem;
	color: #ffd897;
	letter-spacing: 1.3px;
	text-transform: uppercase;
	margin: 0 0 5px;
	font-family: Georgia, "Times New Roman", serif;
}

.profile_name {
	font-size: 1.14rem;
	color: #f3f8ff;
	margin: 0 0 8px;
	font-family: Georgia, "Times New Roman", serif;
}

.profile_bio {
	font-size: 0.92rem;
	color: #bdd4ef;
	margin: 0;
	line-height: 1.54;
	overflow-wrap: anywhere;
	word-break: break-word;
}

#footer_div {
	max-width: 1110px;
	margin: 1rem auto 0;
	text-align: center;
	padding: 1rem 0.4rem 0.6rem;
	color: #a6bedc;
}

.footer_links {
	display: flex;
	justify-content: center;
	gap: 0.75rem 1.2rem;
	flex-wrap: wrap;
	margin-bottom: 0.75rem;
}

.footer_copy,
.footer_theme {
	margin: 0.2rem 0;
	font-size: 0.92rem;
}

@media (max-width: 900px) {
	#bottomcontainer_div {
		grid-template-columns: 1fr;
	}

	.quick_grid {
		grid-template-columns: 1fr;
	}

	.weather_live_grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.meeting_location_card {
		grid-template-columns: 1fr;
	}

	.profile_card {
		width: min(100%, 340px);
	}
}

@media (max-width: 640px) {
	#parent_div_floating {
		padding: 0.45rem 0.6rem 1.2rem;
	}

	.site_header_wrap,
	#namecard_div,
	.content_card {
		padding: 0.75rem;
	}

	.search_stub {
		width: 100%;
	}

	.search_stub input {
		min-width: 0;
		flex: 1;
	}

	a.navlink_large {
		font-size: 0.88rem;
	}

	.weather_live_grid {
		grid-template-columns: 1fr;
	}
}
