/*
Theme Name: 914Digital
Theme URI: https://914digital.com
Description: Bootstrap 25
Author: 914Digital
Author URI: https://914digital.com
Version: 1.0
License: MIT License
License URI: http://opensource.org/licenses/MIT
*/

/* ==========================================================================
   Morrell Insurance Header - Progressive Style
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
	--font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--morrell-red: #900;
	--morrell-red-dark: #700;
	--header-height: 80px;
	--header-bg: #ffffff;
	--text-dark: #1a1a1a;
	--text-muted: #555;
	--border-color: #e5e5e5;
	--transition: 0.3s ease;
}

/* Base Typography
   ========================================================================== */
body {
	font-family: var(--font-primary);
	font-size: 16px;
	line-height: 1.6;
	color: var(--text-dark);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Header Base
   ========================================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: var(--header-bg);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.header-inner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 24px;
	height: var(--header-height);
}

/* Logo
   ========================================================================== */
.site-logo {
	flex-shrink: 0;
}

.site-logo img {
	height: 45px;
	width: auto;
}

/* Main Navigation
   ========================================================================== */
.main-nav {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
}

.nav-menu {
	display: flex;
	align-items: center;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-menu > li {
	position: relative;
}

.nav-menu > li > a {
	display: flex;
	align-items: center;
	padding: 12px 20px;
	font-size: 15px;
	font-weight: 500;
	letter-spacing: -0.01em;
	color: var(--text-dark);
	text-decoration: none;
	border-radius: 6px;
	transition: background var(--transition), color var(--transition);
}

.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a {
	background: rgba(153, 0, 0, 0.08);
	color: var(--morrell-red);
}

/* Dropdown Menus */
.nav-menu .dropdown-menu,
.nav-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	background: var(--header-bg);
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	padding: 8px 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
	list-style: none;
	margin: 0;
}

.nav-menu > li:hover > .dropdown-menu,
.nav-menu > li:hover > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.nav-menu .dropdown-menu li a,
.nav-menu .sub-menu li a {
	display: block;
	padding: 10px 20px;
	font-size: 14px;
	color: var(--text-dark);
	text-decoration: none;
	transition: background var(--transition), color var(--transition);
}

.nav-menu .dropdown-menu li a:hover,
.nav-menu .sub-menu li a:hover {
	background: rgba(153, 0, 0, 0.08);
	color: var(--morrell-red);
}

/* Dropdown Caret */
.nav-menu > li.menu-item-has-children > a::after {
	content: '';
	display: inline-block;
	width: 0;
	height: 0;
	margin-left: 8px;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 5px solid currentColor;
	transition: transform var(--transition);
}

.nav-menu > li.menu-item-has-children:hover > a::after {
	transform: rotate(180deg);
}

/* Header Actions (Phone & Search)
   ========================================================================== */
.header-actions {
	display: flex;
	align-items: center;
	gap: 16px;
}

.header-phone {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: -0.01em;
	color: var(--text-dark);
	text-decoration: none;
	border-radius: 6px;
	transition: background var(--transition), color var(--transition);
}

.header-phone:hover {
	background: rgba(153, 0, 0, 0.08);
	color: var(--morrell-red);
}

.header-phone i {
	font-size: 14px;
	color: var(--morrell-red);
}

.header-search-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	background: transparent;
	border: 1px solid var(--border-color);
	border-radius: 50%;
	cursor: pointer;
	transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.header-search-toggle i {
	font-size: 16px;
	color: var(--text-dark);
	transition: color var(--transition);
}

.header-search-toggle:hover {
	background: var(--morrell-red);
	border-color: var(--morrell-red);
}

.header-search-toggle:hover i {
	color: #fff;
}

/* Mobile Menu Toggle
   ========================================================================== */
.mobile-menu-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	padding: 10px;
	background: transparent;
	border: none;
	cursor: pointer;
}

.mobile-menu-toggle .bar {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--text-dark);
	border-radius: 2px;
	transition: transform var(--transition), opacity var(--transition);
}

.mobile-menu-toggle.active .bar:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active .bar:nth-child(2) {
	opacity: 0;
}

.mobile-menu-toggle.active .bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* Search Overlay
   ========================================================================== */
.search-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.9);
	z-index: 2000;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity var(--transition), visibility var(--transition);
}

.search-overlay.active {
	opacity: 1;
	visibility: visible;
}

.search-overlay-inner {
	width: 100%;
	max-width: 700px;
	padding: 0 24px;
}

.search-close {
	position: absolute;
	top: 24px;
	right: 24px;
	width: 48px;
	height: 48px;
	background: transparent;
	border: none;
	cursor: pointer;
}

.search-close i {
	font-size: 28px;
	color: #fff;
	transition: color var(--transition);
}

.search-close:hover i {
	color: var(--morrell-red);
}

/* Search Overlay Form */
.search-overlay-form {
	position: relative;
	display: flex;
	align-items: center;
	background: #fff;
	border-radius: 8px;
	overflow: visible;
}

.search-overlay-input {
	flex: 1;
	padding: 20px 24px;
	padding-right: 60px;
	font-family: var(--font-primary);
	font-size: 20px;
	background: transparent;
	border: none;
	outline: none;
}

.search-overlay-input::placeholder {
	color: #aaa;
}

.search-overlay-submit {
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
	width: 48px;
	height: 48px;
	background: var(--morrell-red);
	border: none;
	border-radius: 6px;
	cursor: pointer;
	transition: background var(--transition);
}

.search-overlay-submit:hover {
	background: var(--morrell-red-dark);
}

.search-overlay-submit i {
	font-size: 18px;
	color: #fff;
}

/* Mobile Menu Overlay
   ========================================================================== */
.mobile-menu-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: #fff;
	z-index: 1500;
	transform: translateX(100%);
	transition: transform var(--transition);
	overflow-y: auto;
}

.mobile-menu-overlay.active {
	transform: translateX(0);
}

.mobile-menu-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 24px;
	border-bottom: 1px solid var(--border-color);
}

.mobile-logo img {
	height: 40px;
	width: auto;
}

.mobile-menu-close {
	width: 44px;
	height: 44px;
	background: transparent;
	border: none;
	cursor: pointer;
}

.mobile-menu-close i {
	font-size: 24px;
	color: var(--text-dark);
}

.mobile-menu-content {
	padding: 24px;
}

.mobile-search {
	display: flex;
	align-items: center;
	margin-bottom: 24px;
	background: #fff;
	border: 1px solid var(--border-color);
	border-radius: 8px;
	overflow: hidden;
}

.mobile-search-input {
	flex: 1;
	padding: 14px 16px;
	font-family: var(--font-primary);
	font-size: 16px;
	border: none;
	outline: none;
}

.mobile-search-input::placeholder {
	color: #aaa;
}

.mobile-search-submit {
	padding: 14px 16px;
	background: transparent;
	border: none;
	cursor: pointer;
}

.mobile-search-submit i {
	font-size: 16px;
	color: var(--morrell-red);
}

.mobile-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.mobile-nav > ul > li {
	border-bottom: 1px solid var(--border-color);
}

.mobile-nav a {
	display: block;
	padding: 16px 0;
	font-size: 17px;
	font-weight: 500;
	letter-spacing: -0.01em;
	color: var(--text-dark);
	text-decoration: none;
}

.mobile-nav a:hover {
	color: var(--morrell-red);
}

.mobile-nav .sub-menu {
	padding-left: 20px;
}

.mobile-nav .sub-menu a {
	font-size: 15px;
	font-weight: 400;
	color: var(--text-muted);
}

.mobile-phone {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 32px;
	padding: 16px;
	background: var(--morrell-red);
	color: #fff;
	font-size: 17px;
	font-weight: 600;
	letter-spacing: -0.01em;
	text-decoration: none;
	border-radius: 8px;
}

.mobile-phone:hover {
	background: var(--morrell-red-dark);
	color: #fff;
}

/* Responsive
   ========================================================================== */
@media (max-width: 1024px) {
	.main-nav {
		display: none;
	}
	
	.header-phone span {
		display: none;
	}
	
	.header-phone {
		width: 44px;
		height: 44px;
		padding: 0;
		justify-content: center;
		border: 1px solid var(--border-color);
		border-radius: 50%;
	}
	
	.header-phone i {
		font-size: 16px;
		color: var(--text-dark);
	}
	
	.header-phone:hover {
		background: var(--morrell-red);
		border-color: var(--morrell-red);
	}
	
	.header-phone:hover i {
		color: #fff;
	}
	
	.mobile-menu-toggle {
		display: flex;
	}
}

@media (max-width: 480px) {
	.header-inner {
		padding: 0 16px;
	}
	
	.site-logo img {
		height: 36px;
	}
	
	.header-actions {
		gap: 8px;
	}
	
	.header-phone,
	.header-search-toggle {
		width: 40px;
		height: 40px;
	}
}

/* Body Lock for Overlays
   ========================================================================== */
body.menu-open,
body.search-open {
	overflow: hidden;
}

/* ==========================================================================
   Blog Page Styles
   ========================================================================== */

/* Page Header
   ========================================================================== */
.blog-header {
    background: #f9f9f9;
    padding: 60px 0;
    text-align: center;
}

.blog-header-inner {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 24px;
}

.blog-title {
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.blog-subtitle {
    font-size: 17px;
    color: #555;
    margin: 0;
    line-height: 1.6;
}

/* Archive Label */
.archive-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--morrell-red, #900);
    background: rgba(153, 0, 0, 0.1);
    padding: 6px 14px;
    border-radius: 4px;
    margin-bottom: 16px;
}

/* Blog Container
   ========================================================================== */
.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px;
}

.blog-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 50px;
    align-items: start;
}

/* Blog Main Content
   ========================================================================== */
.blog-main {
    min-width: 0;
}

.blog-grid {
    display: grid;
    gap: 40px;
}

/* Blog Card
   ========================================================================== */
.blog-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 28px;
    padding-bottom: 40px;
    border-bottom: 1px solid #eee;
}

.blog-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.blog-card-image {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-content {
    display: flex;
    flex-direction: column;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.blog-card-category {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--morrell-red, #900);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card-category:hover {
    color: #700;
}

.blog-card-date {
    font-size: 13px;
    color: #888;
}

.blog-card-title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 12px;
    letter-spacing: -0.01em;
}

.blog-card-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card-title a:hover {
    color: var(--morrell-red, #900);
}

.blog-card-excerpt {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin: 0 0 16px;
    flex-grow: 1;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--morrell-red, #900);
    text-decoration: none;
    transition: gap 0.3s ease;
}

.blog-card-link:hover {
    gap: 12px;
}

.blog-card-link i {
    font-size: 12px;
}

/* No Posts
   ========================================================================== */
.blog-no-posts {
    text-align: center;
    padding: 80px 20px;
}

.blog-no-posts i {
    font-size: 48px;
    color: #ddd;
    margin-bottom: 20px;
}

.blog-no-posts h2 {
    font-size: 24px;
    color: #333;
    margin: 0 0 12px;
}

.blog-no-posts p {
    font-size: 16px;
    color: #888;
    margin: 0;
}

/* Pagination
   ========================================================================== */
.blog-pagination {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.blog-pagination ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.blog-pagination li a,
.blog-pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    text-decoration: none;
    background: #f5f5f5;
    border-radius: 8px;
    transition: background 0.3s ease, color 0.3s ease;
}

.blog-pagination li a:hover {
    background: #e0e0e0;
    color: #1a1a1a;
}

.blog-pagination li span.current {
    background: var(--morrell-red, #900);
    color: #fff;
}

.blog-pagination li a i {
    font-size: 12px;
}

.blog-pagination .prev i {
    margin-right: 6px;
}

.blog-pagination .next i {
    margin-left: 6px;
}

/* Sidebar
   ========================================================================== */
.blog-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 28px;
    margin-bottom: 24px;
}

.sidebar-widget:last-child {
    margin-bottom: 0;
}

.widget-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--morrell-red, #900);
}

/* Recent Posts Widget
   ========================================================================== */
.recent-posts-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.recent-post-item {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #e5e5e5;
}

.recent-post-item:first-child {
    padding-top: 0;
}

.recent-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.recent-post-thumb {
    flex-shrink: 0;
    width: 70px;
    height: 55px;
    border-radius: 6px;
    overflow: hidden;
}

.recent-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.recent-post-item:hover .recent-post-thumb img {
    transform: scale(1.1);
}

.recent-post-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.recent-post-title {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
    line-height: 1.4;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.recent-post-title:hover {
    color: var(--morrell-red, #900);
}

.recent-post-date {
    font-size: 12px;
    color: #888;
}

/* Categories Widget
   ========================================================================== */
.categories-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.category-item {
    border-bottom: 1px solid #e5e5e5;
}

.category-item:last-child {
    border-bottom: none;
}

.category-item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.category-item a:hover {
    color: var(--morrell-red, #900);
}

.category-count {
    font-size: 12px;
    font-weight: 600;
    color: #888;
    background: #e5e5e5;
    padding: 2px 10px;
    border-radius: 12px;
    transition: background 0.3s ease, color 0.3s ease;
}

.category-item a:hover .category-count {
    background: var(--morrell-red, #900);
    color: #fff;
}

/* Active Category */
.category-item.active a {
    color: var(--morrell-red, #900);
    font-weight: 600;
}

.category-item.active .category-count {
    background: var(--morrell-red, #900);
    color: #fff;
}

/* Sidebar CTA Widget
   ========================================================================== */
.sidebar-cta {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
}

.sidebar-cta-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
}

.sidebar-cta-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0 0 20px;
}

.sidebar-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--morrell-red, #900);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.sidebar-cta-btn:hover {
    background: #a00;
    transform: translateY(-2px);
    color: #fff;
}

.sidebar-cta-btn i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.sidebar-cta-btn:hover i {
    transform: translateX(4px);
}

/* Responsive
   ========================================================================== */
@media (max-width: 1024px) {
    .blog-layout {
        grid-template-columns: 1fr 280px;
        gap: 40px;
    }
    
    .blog-card {
        grid-template-columns: 220px 1fr;
        gap: 24px;
    }
    
    .blog-card-title {
        font-size: 20px;
    }
}

@media (max-width: 900px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }
    
    .blog-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .sidebar-cta {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .blog-container {
        padding: 40px 24px;
    }
    
    .blog-header {
        padding: 50px 0;
    }
    
    .blog-card {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .blog-card-image {
        aspect-ratio: 16 / 9;
    }
    
    .blog-sidebar {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .blog-header {
        padding: 40px 0;
    }
    
    .blog-container {
        padding: 30px 20px;
    }
    
    .sidebar-widget {
        padding: 24px 20px;
    }
    
    .blog-pagination ul {
        flex-wrap: wrap;
    }
}

/* ==========================================================================
   Single Post Styles
   ========================================================================== */

/* Post Header
   ========================================================================== */
.post-header {
    background: #f9f9f9;
    padding: 60px 0;
    text-align: center;
}

.post-header-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.post-meta-top {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.post-category {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--morrell-red, #900);
    text-decoration: none;
    background: rgba(153, 0, 0, 0.1);
    padding: 6px 14px;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.post-category:hover {
    background: rgba(153, 0, 0, 0.15);
}

.post-date {
    font-size: 14px;
    color: #888;
}

.post-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 20px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.post-excerpt {
    font-size: 18px;
    color: #555;
    margin: 0;
    line-height: 1.6;
}

/* Featured Image
   ========================================================================== */
.post-featured-image {
    max-width: 1000px;
    margin: -30px auto 0;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

.post-featured-image-inner {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Post Container
   ========================================================================== */
.post-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px;
}

.post-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 50px;
    align-items: start;
}

/* Post Content
   ========================================================================== */
.post-content {
    min-width: 0;
}

.post-content h2,
.post-content h3,
.post-content h4 {
    margin-top: 2em;
    margin-bottom: 0.5em;
    letter-spacing: -0.01em;
}

.post-content h2 {
    font-size: 28px;
}

.post-content h3 {
    font-size: 22px;
}

.post-content h4 {
    font-size: 18px;
}

.post-content p {
    font-size: 17px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 1.5em;
}

.post-content a {
    color: var(--morrell-red, #900);
    text-decoration: underline;
}

.post-content a:hover {
    text-decoration: none;
}

.post-content ul,
.post-content ol {
    font-size: 17px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 1.5em;
    padding-left: 1.5em;
}

.post-content li {
    margin-bottom: 0.5em;
}

.post-content blockquote {
    border-left: 4px solid var(--morrell-red, #900);
    padding: 20px 30px;
    margin: 2em 0;
    background: #f9f9f9;
    border-radius: 0 8px 8px 0;
    font-size: 18px;
    font-style: italic;
    color: #333;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5em 0;
}

/* Post Tags
   ========================================================================== */
.post-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding-top: 30px;
    margin-top: 40px;
    border-top: 1px solid #eee;
}

.post-tags-label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.post-tag {
    font-size: 13px;
    color: #555;
    text-decoration: none;
    background: #f0f0f0;
    padding: 6px 14px;
    border-radius: 4px;
    transition: background 0.3s ease, color 0.3s ease;
}

.post-tag:hover {
    background: var(--morrell-red, #900);
    color: #fff;
}

/* Post Share
   ========================================================================== */
.post-share {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid #eee;
}

.post-share-label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.post-share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #f0f0f0;
    border-radius: 50%;
    color: #555;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-2px);
}

.share-facebook:hover {
    background: #1877f2;
    color: #fff;
}

.share-twitter:hover {
    background: #000;
    color: #fff;
}

.share-linkedin:hover {
    background: #0a66c2;
    color: #fff;
}

.share-email:hover {
    background: var(--morrell-red, #900);
    color: #fff;
}

/* Post Navigation
   ========================================================================== */
.post-navigation {
    background: #f9f9f9;
    border-top: 1px solid #eee;
}

.post-navigation-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1200px;
    margin: 0 auto;
}

.post-nav-link {
    display: flex;
    flex-direction: column;
    padding: 40px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.post-nav-link:hover {
    background: #f0f0f0;
}

.post-nav-prev {
    border-right: 1px solid #eee;
}

.post-nav-next {
    text-align: right;
}

.post-nav-empty {
    min-height: 120px;
}

.post-nav-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #888;
    margin-bottom: 8px;
}

.post-nav-next .post-nav-label {
    justify-content: flex-end;
}

.post-nav-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.post-nav-link:hover .post-nav-title {
    color: var(--morrell-red, #900);
}

/* Single Post Responsive
   ========================================================================== */
@media (max-width: 1024px) {
    .post-layout {
        grid-template-columns: 1fr 280px;
        gap: 40px;
    }
}

@media (max-width: 900px) {
    .post-layout {
        grid-template-columns: 1fr;
    }
    
    .post-featured-image {
        padding: 0 24px;
    }
}

@media (max-width: 768px) {
    .post-header {
        padding: 50px 0;
    }
    
    .post-container {
        padding: 40px 24px;
    }
    
    .post-navigation-inner {
        grid-template-columns: 1fr;
    }
    
    .post-nav-prev {
        border-right: none;
        border-bottom: 1px solid #eee;
    }
    
    .post-nav-next {
        text-align: left;
    }
    
    .post-nav-next .post-nav-label {
        justify-content: flex-start;
    }
    
    .post-nav-link {
        padding: 30px 24px;
    }
    
    .post-share {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .post-meta-top {
        flex-direction: column;
        gap: 10px;
    }
    
    .post-content h2 {
        font-size: 24px;
    }
    
    .post-content h3 {
        font-size: 20px;
    }
    
    .post-content p,
    .post-content ul,
    .post-content ol {
        font-size: 16px;
    }
}

/* ==========================================================================
   Search Results Page Styles
   ========================================================================== */

/* Post Type Badge (instead of category) */
.blog-card-type {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #555;
    background: #f0f0f0;
    padding: 4px 10px;
    border-radius: 4px;
}

/* Search Again Form (in no results) */
.search-again-form {
    display: flex;
    max-width: 400px;
    margin: 30px auto 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.search-again-form input {
    flex: 1;
    padding: 14px 20px;
    font-size: 16px;
    border: none;
    outline: none;
}

.search-again-form button {
    padding: 14px 20px;
    background: var(--morrell-red, #900);
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-again-form button:hover {
    background: #700;
}

.search-again-form button i {
    color: #fff;
    font-size: 16px;
}

/* Sidebar Search Form */
.sidebar-search-form {
    display: flex;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
}

.sidebar-search-form input {
    flex: 1;
    padding: 12px 14px;
    font-size: 14px;
    border: none;
    outline: none;
}

.sidebar-search-form button {
    padding: 12px 16px;
    background: var(--morrell-red, #900);
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.sidebar-search-form button:hover {
    background: #700;
}

.sidebar-search-form button i {
    color: #fff;
    font-size: 14px;
}

.gform_legacy_markup_wrapper .gform_footer input.button, .gform_legacy_markup_wrapper .gform_footer input[type=submit], .gform_legacy_markup_wrapper .gform_page_footer input.button, .gform_legacy_markup_wrapper .gform_page_footer input[type=submit] {
    border:0!important;
}

.gform_wrapper.gravity-theme .gform_footer button, .gform_wrapper.gravity-theme .gform_footer input, .gform_wrapper.gravity-theme .gform_page_footer button, .gform_wrapper.gravity-theme .gform_page_footer input {
    border:0!important;
}

/* ==========================================================================
   Bootstrap Accordion - Custom Agency Styling
   Add to your theme CSS or enqueue separately
   ========================================================================== */

.accordion {
    --bs-accordion-border-color: #eee;
    --bs-accordion-border-radius: 8px;
    --bs-accordion-btn-padding-x: 24px;
    --bs-accordion-btn-padding-y: 20px;
    --bs-accordion-body-padding-x: 24px;
    --bs-accordion-body-padding-y: 24px;
}

.accordion-item {
    margin-bottom: 12px;
    border: 1px solid #eee;
    border-radius: 8px !important;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s ease;
}

.accordion-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.accordion-item:first-of-type,
.accordion-item:last-of-type {
    border-radius: 8px !important;
}

.accordion-header {
    margin: 0;
}

.accordion-button {
    font-size: 17px;
    font-weight: 600;
    color: #1a1a2e;
    background: #fff;
    padding: 20px 24px;
    border: none;
    box-shadow: none !important;
    transition: background 0.3s ease, color 0.3s ease;
}

.accordion-button:hover {
    background: #fafafa;
}

.accordion-button:not(.collapsed) {
    background: #b81c1c;
    color: #fff;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

/* Arrow icon styling */
.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23b81c1c'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: rotate(-180deg);
}

.accordion-body {
    padding: 24px;
    background: #fff;
    border-top: 1px solid #eee;
}

.accordion-body h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 24px 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #b81c1c;
    display: inline-block;
}

.accordion-body h4:first-child {
    margin-top: 0;
}

.accordion-body p {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin: 0 0 16px;
}

.accordion-body ul {
    margin: 0 0 20px;
    padding: 0 0 0 20px;
}

.accordion-body li {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 8px;
    position: relative;
}

.accordion-body li::marker {
    color: #b81c1c;
}

.accordion-body strong {
    color: #1a1a2e;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .accordion-button {
        font-size: 15px;
        padding: 16px 20px;
    }
    
    .accordion-body {
        padding: 20px;
    }
    
    .accordion-body h4 {
        font-size: 15px;
    }
}

.scrollup {
	width: 40px;
	height: 40px;
	position: fixed;
	bottom: 50px;
	left: 30px;
	display: none;
	text-indent: -9999px;
	background-image: url(img/angle-up.svg);
	background-size: 19px;
	z-index: 9;
	background-color: #990200;
	color: #fff;
	background-repeat: no-repeat;
	background-position: center;
	padding: 20px;
    border-radius:5px;
  }

footer {
	background-color:rgb(95, 95, 95);
	padding:20px;
	color:#fff;
}

footer .credit {
	position: relative;
    top: -7px;
}

footer .credit .site-by {
	font-size: 10px;
    position: relative;
   	top: 4px;
    color: #8e8686;
}