/* Corbett Big Cats Safari — blog banner + layout guard.
   Blog listing/sidebar styling itself now comes directly from the real
   corbett-guide.css (enqueued in functions.php), not approximated here. */
.tag-h3 {
    border-bottom:0px;
}
.corbett-breadcrumb {
    padding-top:0px;
    padding-bottom:0px;
}
.content-area {
    margin-top:30px!important;
}
.corbett-archive-hero {
	position: relative;
	min-height: 340px;
	display: flex;
	align-items: center;
	background-color: #1E1A1B;
	background-size: cover;
	background-position: center;
	font-family: 'Poppins', sans-serif;
}
.corbett-archive-hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(30, 26, 27, .55) 0%, rgba(30, 26, 27, .78) 100%);
}
.corbett-archive-hero-inner {
	position: relative;
	z-index: 1;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
	width: 100%;
}
.corbett-archive-hero-title {
	color: #fff;
	font-weight: 700;
	font-size: clamp(2rem, 4vw, 3.25rem);
	margin: 0 0 14px;
}
.corbett-breadcrumb { font-size: 15px; }
.corbett-breadcrumb a {
	color: var(--primary-color, #7CB518);
	text-decoration: none;
	font-weight: 600;
}
.corbett-breadcrumb a:hover { text-decoration: underline; }
.corbett-breadcrumb-sep { color: #fff; margin: 0 8px; opacity: .7; }
.corbett-breadcrumb-current { color: #fff; opacity: .9; }

@media (max-width: 600px) {
    footer {background-size:cover;}
    .content-area {
    margin-top:20px!important;
}
.corbett-single-hero {
    margin-top:50px!important;
    padding:12px!important;
}
	.corbett-archive-hero { min-height: 220px; }
}

/* Single-post breadcrumb-only band (light background, so text is dark —
   reuses the same .corbett-breadcrumb markup as the photo hero above, just
   scoped to different colors since there's no dark photo overlay here). */
.corbett-single-hero {
	background: var(--primary-color-light, #F7E8C9);
	padding: 20px 24px;
	margin-top:70px;
}
.corbett-single-hero .corbett-breadcrumb a {
	color: var(--heading-color, #1B2A4A);
	text-decoration: none;
	font-weight: 600;
}
.corbett-single-hero .corbett-breadcrumb a:hover { text-decoration: underline; }
.corbett-single-hero .corbett-breadcrumb-sep {
	color: var(--heading-color, #1B2A4A);
	margin: 0 8px;
	opacity: .5;
}

/* Same-origin safety net for the detail-page classes, same reasoning as the
   card rules below: corbett-guide.css defines these too, but if it 404s on
   a staging domain, these keep the page correct anyway. */
.corbett-single-title {
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 700;
	color: #0c0407;
	margin: 20px 0;
	line-height:1.4;
}
.wp-block-heading {
    	font-size: clamp(1.2rem, 3vw, 1.7rem);
	font-weight: 700;
	color: #0c0407;
	margin: 30px 0;
	line-height:1.4;
}
.blog-detail-img {
	width: 100%;
	height: 500px;
	overflow: hidden;
	margin-bottom: 5px;
	position: relative;
	border-radius: 16px;
}
.blog-detail-img img { width: 100%; height: 100%; object-fit: cover; }
.social-share-wrap {
	display: flex;
	align-items: center;
	gap: 10px;
	justify-content: flex-end;
	padding: 8px 15px 0 0;
	background-color: rgba(255, 255, 255, .4);
	position: absolute;
	bottom: 0;
	width: 100%;
	z-index: 10;
}
.blog-detail p { margin-bottom: 20px; font-size: 15px; }
@media (max-width: 767.98px) {
	.blog-detail-img { height: 300px; }
}

/* Layout guard: corbett-guide.css styles the cards themselves, but doesn't
   know about Kadence's #primary/#secondary wrapper markup, so this makes
   sure main content + sidebar sit side by side as expected. */
.content-container.site-container {
	display: flex;
	gap: 32px;
	align-items: flex-start;
	max-width: 1200px!important;
	margin: 0 auto;
	padding-top: 0px!important;
}
.content-container.site-container > .site-main { flex: 1; min-width: 0; }
.content-container.site-container > #secondary { width: 340px; flex-shrink: 0; }
@media (max-width: 900px) {
	.content-container.site-container { flex-direction: column; padding: 24px 16px; }
	.content-container.site-container > #secondary { width: 100%; }
}

/* Same-origin safety net for the core card structure. corbett-guide.css is
   loaded cross-domain from corbettonline.com — if that exact file path ever
   404s (e.g. on a staging domain), these rules keep the layout correct even
   without it. Colors/fine details still come from the real file when it loads. */
.blog-horizontal { border: 2px solid #e4e4e4; border-radius: 24px; padding: 20px; }
.blog-wrap { overflow: hidden; margin-bottom: 30px; }
.blog-horizontal .blog-wrap {
	border-bottom: 2px solid #ebf3f0;
	padding-bottom: 20px;
	margin-bottom: 20px;
}
.blog-horizontal .blog-wrap:last-child { border-bottom: 0; margin-bottom: 0; }
.blog-horizontal .blog-wrap a { display: flex; gap: 20px; text-decoration: none; }
.blog-horizontal .blog-wrap .hotel-img {
	width: 250px;
	flex-shrink: 0;
	height: 200px;
	overflow: hidden;
	border-radius: 8px;
}
.blog-horizontal .blog-wrap .hotel-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-title .title { font-size: 18px; font-weight: 500; color: #0c0407; margin: 0; }
@media (max-width: 479.98px) {
	.blog-horizontal .blog-wrap a { flex-direction: column; }
	.blog-horizontal .blog-wrap .hotel-img { width: 100%; }
}
