/* Organized blog card layout */
body.blog #posts .post-container {
	margin-bottom: 1.75rem;
}

body.blog #posts .hentry {
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 6px 22px rgba(0, 0, 0, 0.09);
}

body.blog #posts .featured-media img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

body.blog #posts .post-title {
	font-size: 1.6rem;
	line-height: 1.25;
}

body.blog #posts .post-title a::after {
	content: "Read Full Article →";
	display: block;
	width: max-content;
	margin-top: .9rem;
	padding: .65rem 1rem;
	border-radius: 6px;
	background: #2c6e9b;
	color: #fff;
	font-family: Arial, sans-serif;
	font-size: .82rem;
	font-weight: 700;
	letter-spacing: .02em;
	line-height: 1;
	text-transform: uppercase;
	transition: background-color .2s ease, transform .2s ease;
}

body.blog #posts .post-title a:hover::after,
body.blog #posts .post-title a:focus::after {
	background: #1f526f;
	transform: translateY(-1px);
}

@media (min-width: 760px) {
	body.blog #posts {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 2rem;
		align-items: stretch;
	}
	
	body.blog #posts .post-container {
		width: auto;
		margin: 0;
	}
	
	body.blog #posts .hentry {
		height: 100%;
		display: flex;
		flex-direction: column;
	}
	
	body.blog #posts .post-content {
		flex: 1;
	}
	
	body.blog #posts .spinner-container,
	  body.blog #posts #infinite-handle {
		grid-column: 1 / -1;
	}
}

/* Organized blog card layout */
body.blog #posts .post-container {
	margin-bottom: 1.75rem;
}

body.blog #posts .hentry {
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 6px 22px rgba(0, 0, 0, 0.09);
}

body.blog #posts .featured-media img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

body.blog #posts .post-title {
	font-size: 1.6rem;
	line-height: 1.25;
}

@media (min-width: 760px) {
	body.blog #posts {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 2rem;
		align-items: stretch;
	}
	
	body.blog #posts .post-container {
		width: auto;
		margin: 0;
	}
	
	body.blog #posts .hentry {
		height: 100%;
		display: flex;
		flex-direction: column;
	}
	
	body.blog #posts .post-content {
		flex: 1;
	}
	
	body.blog #posts .spinner-container,
		  body.blog #posts #infinite-handle {
		grid-column: 1 / -1;
	}
}
/* Clear, compact header and accessible navigation */
.header.section { background-image: none !important; padding: 24px 0; }
.header .header-inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px 24px; }
.header .site-logo-link { margin: 0; }
.header .site-logo { width: 90px !important; height: 90px !important; }
.header .site-title { margin: 0; font-family: Arial, sans-serif; font-size: 28px; line-height: 1.25; }
.header .site-title a, .header .site-description { color: #fff; }
.header .site-description { flex-basis: 100%; margin: 0; font-size: 16px; opacity: 1; }
.main-navigation li > a { color: #fff; }
.home .post-header { padding: 30px 40px; }
.home .post-content { padding: 30px 40px; }
.widget_meta, .widget_recent_comments { display: none; }
@media (max-width: 700px) {
.header.section { padding: 18px 0; }
.header .site-title { font-size: 22px; }
.header .site-logo { width: 72px !important; height: 72px !important; }
.home .post-header, .home .post-content { padding: 24px; }
}

/* Readable links, visible keyboard focus, and proportional logo */
.post-content p a, .post-content li a { color: #185b7a; text-decoration: underline; text-underline-offset: .15em; }
.post-content a.wp-block-button__link { color: #fff; text-decoration: none; }
.post-meta, .post-meta a { color: #595959; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #b35a00; outline-offset: 3px; }
.header .site-logo { object-fit: contain; max-width: 100%; }

/* Phone layout and touch controls — September 2026 */
@media (max-width: 700px) {
 .header.section { padding: 12px 0; }
 .header .header-inner { gap: 8px 14px; }
 .header .site-title { font-size: 20px; line-height: 1.3; }
 .header .site-description { font-size: 14px; line-height: 1.45; padding: 0 12px; }
 .header .site-logo { width: 56px !important; height: 56px !important; }
 .home .post-header, .home .post-content { padding: 20px; }
 .post-content { overflow-wrap: anywhere; }
 .post-content .wp-block-buttons { gap: 12px; }
 .post-content .wp-block-button { width: 100%; }
 .post-content .wp-block-button__link { display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: 100%; min-height: 48px; padding: 12px 16px; font-size: 16px; line-height: 1.4; }
 .nav-toggle, .search-toggle.search-icon { min-width: 48px; min-height: 48px; }
 .main-navigation li > a { min-height: 44px; box-sizing: border-box; }
 .post-content input[type="text"], .post-content input[type="email"], .post-content input[type="tel"], .post-content input[type="url"], .post-content select, .post-content textarea { font-size: 16px; line-height: 1.5; width: 100%; max-width: 100%; box-sizing: border-box; padding: 12px; }
 .post-content input[type="text"], .post-content input[type="email"], .post-content input[type="tel"], .post-content select { min-height: 48px; }
 .post-content textarea { min-height: 160px; }
 .post-content button, .post-content input[type="submit"] { min-height: 48px; padding: 12px 20px; font-size: 16px; }
 .widget_contact_info a { overflow-wrap: anywhere; }
 .post-content video, .post-content iframe { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
 body.blog #posts .post-title a::after { transition: none; }
 body.blog #posts .post-title a:hover::after, body.blog #posts .post-title a:focus::after { transform: none; }
}

/* Readable sharing label and comfortable footer targets */
.post-content .sharedaddy h3.sd-title { color: #595959; }
@media (max-width: 700px) {
 .credits .credits-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
 .credits .credits-left, .credits .credits-right { float: none; margin: 0; }
 .credits a { display: inline-flex; align-items: center; min-height: 44px; padding: 4px 8px; box-sizing: border-box; }
}
