/* Global */
body {
    font-family: 'Lato', sans-serif;
}
h1, h2 {
    color: #183961;
    font-weight: 800;
    margin-bottom: 25px;
}
p, ul, li, a, article, address {
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.6;
}
.content { 
    min-height: calc(100vh - 200px); 
    position: relative; 
}
/* Active Page */
.current-menu-item a,
.current_page_item a {
    font-weight: 600 !important;
    text-decoration: underline;
    color: #183961 !important;
}

/* Back to top navigation */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 30px;
    display: none;
    background-color: #183961;
    color: white;
    padding: 12px 18px;
    border-radius: 50%;
    font-size: 20px;
    text-align: center;
    text-decoration: none;
    z-index: 999;
    transition: opacity 0.3s ease-in-out;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transition: 0.3s;
}
.back-to-top:hover {
    background-color: #C2B067;
    color: #000;
    transition: 0.3s;
}

/* Header */
.top-nav {
    min-height: 55px;
    background-color: #183961;
    color: #fff;
}
.top-nav a {
    color: #fff;
    margin-right: 15px;
    text-decoration: none;
    letter-spacing: 0.8px;
}
.header-socials {
    float: right;
    position: relative;
    top: -4px;
    margin-left: 15px;    
}
.header-socials a {
    font-size: 1.6rem;
    margin-right: 12px;
    transition: 0.3s;
}
.header-socials a:hover {
    color: #C2B067 !important;
    transition: 0.3s;
}
.header-search {
    width: 47%;
    float: right;
}
.header-search .search-field {
    padding: 0.2rem 0.75rem;
}
.contact-info {
    position: relative;
}
.contact-info .contact-block {
    position: absolute;
    right: 0;
}

.contact-info-header {
    margin-top: 5px;
}
.navbar {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 5px rgba(0, 0, 0, .075);
}
.main-menu li a {
    margin-right: 5px;
    font-weight: 500;
    letter-spacing: 1.2px;
}
.main-menu li a:hover {
    color: #183961;
    transition: 0.3s;
}
.logo {
    width: 18rem;
}

/* Homepage */
.homepage-slider {
    position: relative;
    overflow: hidden;
    margin-bottom: 15px !important;
}
.slider-slide {
    background-size: cover;
    background-position: center;
    min-height: 55vh !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: white;
    box-sizing: border-box;
    box-shadow: inset 0 0 0 2000px rgba(41, 41, 41, 0.5) !important;
}
.slide-content {
    padding: 2rem;
	margin-right: 35rem;
    border-radius: 10px;
    max-width: 800px;
    margin-top: 80px;
}
.slide-header {
    margin-bottom: 15px;
    font-weight: 800;
    font-size: 3rem;
    line-height: 1.2;
}
.slide-button {
    margin-top: 1rem;
    display: inline-block;
    padding: 0.50rem 1.0rem;
    background-color: #fff;
    color: #000;
    text-decoration: none;
	border: none;
    border-radius: 5px;
    font-weight: bold;    
    transition: 0.3s;
}
.slide-button:hover {
    background-color: #C2B067;
    color: #fff;
}
.homepage-slider {
    min-height: 55vh; /* or your expected height */
}
.homepage-slider {
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.5s ease;
}
.homepage-slider.slick-initialized {
    visibility: visible;
    opacity: 1;
}
.custom-arrow {
    background: transparent;
    border: none;
    font-size: 2.5rem;
    color: #C2B067;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    cursor: pointer;
}
.slick-prev {
    left: 5px !important;
}
.slick-next {
    right: 25px !important;
}
.slick-prev:before, 
.slick-next:before {
	font-size: 40px !important;
}

/* Homepage Content */
.homepage-content {
    margin: 3rem 0;
}
/* Homepage Practice Areas */
.practice-areas {
    background-color: #f1f1ef;
    padding: 2rem 0;
}
.practice-areas-grid {
    padding: 2rem 1rem;
    text-align: center;    
}
.practice-areas-grid h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}
.practice-area-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}
.practice-card {
    width: calc(33.333% - 1rem);
    min-width: 280px;
    text-decoration: none;
    border-radius: 10px;
    overflow: hidden;
    display: block;
    transition: transform 0.3s ease;
}
.practice-card:hover {
    transform: translateY(-5px);
}
.practice-image {
    position: relative;
    background-size: cover;
    background-position: center;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: flex-end;
}
.practice-overlay {
    background: rgba(24, 57, 97, 0.8); /* blue overlay */
    width: 100%;
    padding: 1rem;
    text-align: center;
    transition: background 0.3s ease;
}
.practice-card:hover .practice-overlay {
    background: rgba(24, 57, 97, 0.6); /* lighter on hover */
}
.practice-overlay h3 {
    color: #fff;
    margin: 0;
    font-size: 1.25rem;
}

/* Homepage Practice Areas */
.testimonials-section {
    background-color: #183961;
    padding: 80px 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.testimonials-section.visible {
    opacity: 1;
}
.testimonials-slider blockquote {
    font-size: 1.25rem;
    line-height: 1.6;
    font-style: italic;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}
.slick-prev, .slick-next {
    color: #C2B067 !important;
    font-size: 2rem;
    z-index: 10;
}
.slick-prev {
    left: -35px;
}
.slick-next {
    right: -35px;
}

/* Header & Footer Search Styles */
.footer-search {
    max-width: 300px;
    margin: 1rem 0;
}
.search-input-wrapper {
    display: flex;
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow: hidden;
    background-color: #fff;
}
.search-field {
    flex-grow: 1;
    padding: 0.5rem 0.75rem;
    border: none;
    font-size: 1rem;
}
.search-field:focus {
    outline: none;
}
.search-submit {
    background-color: #f1f1f1;
    border: none;
    padding: 0 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #333;
}
.search-submit i {
    pointer-events: none;
}
/* Subpages & Blog Pages */
.sub-header, 
.sub-ph {
    position: relative;
    min-height: 325px;
    background-size: cover !important;
    background-position: 50% 50% !important;
    background-repeat: no-repeat !important;
    box-shadow: inset 0 0 0 2000px rgba(41, 41, 41, 0.6) !important;
}
.blog-header {
	background-position: 50% 95% !important;
}
.sub-header .sub-title,
.sub-ph .sub-title {
    color: #fff;
    font-weight: 700;
    font-size: 2.5rem;
    margin: 0;
    position: absolute;
    top: 250px;  
    text-shadow: 2px 2px 2px #333;
}
.sub-ph {
    background: url('/wp-content/uploads/2025/05/scales.png');
    background-position: 50% 5% !important;
}

/* Footer Styles */
footer {
    background-color: #212529;  
}
footer .footer-quick-links h3,
.footer-contact {
	position: relative;
}
footer .footer-quick-links h3:before,
.footer-contact:before {
	content: "";
    position: absolute;
    bottom: -2px;
    background-color: #C2B067;
    height: 4px;
    width: 45px;
    border-radius: 5px
}
footer a {
    color: #fff;
    transition: 0.3s;
}
footer .list-unstyled a {
    color: #fff !important;
}
footer a:hover {
    color: #C2B067 !important;
    transition: 0.3s;
}
footer .footer-quick-links ul,
footer .contact-info {
	margin-top: 15px;
    color: #fff;
}
footer .contact-info,
footer .contact-info a {
    font-size: 1.2rem !important;
}
.bg-dark {
    border-top: 2px solid #C2B067;
}
.footer-socials a {
    font-size: 2rem;
}
.copy a {
    font-size: initial !important;
    color: #fff;
    transition: 0.3s;
}
.copy a:hover {
    color: #C2B067;
    transition: 0.3s;
}

/* Blog Post */
.blog-post h2 {
    margin-bottom: 15px !important;
}
.blog-post h2 a {
    color: #183961;
    font-weight: 800;
    font-size: 1.5rem;
    transition: 0.3s;
}
.blog-post h2 a:hover {
    color: #183961 !important;
    transition: 0.3s;
}
.blog-read-more {
    background: #183961 !important;
    border: none !important;
    transition: 0.3s;
}
.blog-read-more:hover {
    background: #C2B067 !important;
	color: #fff !important;
    transition: 0.3s;
}
.back-to-blog {
    padding-left: 0 !important;
}
.search-results h2 a {
    color: #183961;
    font-weight: 800;
    font-size: 1.5rem;
}
.kw-search {
    width: 475px;
    float: right;
}
.kw-search i {
    float: right;
    margin-right: 10px;
    margin-top: -27px;
    position: relative;
    z-index: 2;
    color: #000000;
}
.pagination {
    margin-top: 20px;
    text-align: center;
}
.pagination .page-numbers {
    display: inline-block;
    padding: 8px 12px;
    margin: 2px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #0073aa;
}
.pagination .page-numbers.current {
    background: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

.archv-post {
    border-bottom: 1px solid #e4e4e4;
    margin: 50px 0;
}

.results-search .col-md-6 {
    position: relative;
}
.results-search #number-of-results {
    position: absolute;
    bottom: 0;
}
#number-of-results {
    font-weight: 600;
}
.kw-search {
    width: 475px;
    float: right;
}
.kw-search i {
    float: right;
    margin-right: 10px;
    margin-top: -27px;
    position: relative;
    z-index: 2;
    color: #000000;
}
form .filter,
form .clear {
    border-radius: 25px;
    background: none;
}
.search-dates .date {
    display: inline-block;
}
.search-filter {
    margin-right: 35px;
}
.search-filter .btn {
    background: transparent;
    color: #212529;
    border: 2px solid #212529;
    transition: 0.3s;
}
.search-filter .btn:hover {
    background: #183961;
    color: #fff;
    transition: 0.3s;
}
.archv-post .excerpt {
    font-weight: 600;
    font-size: 1rem;
}
.archv-post img {
    border-radius: 10px;
    float: right;       
    background: #FFFFFF 0% 0% no-repeat padding-box;
    box-shadow: 0px 3px 6px #00000029;
    opacity: 1;
}

/* Flexible Content Fields */
.accordion-button {
    color: #183961 !important;
    font-size: 1.2rem;
    font-weight: 700;
}
.contact-page {
    margin-top: 15%;
}
.contact-page h1 {
    font-weight: 800 !important;
}
.contact-page .fas,
.contact-page i {
    color: #C2B067;
}
.contact-page a {
    color: #183961;
}

/* Blog Sidebar */
.single-feat-img img {
    width: 100% !important;
    height: auto !important;
    margin: 15px 0;
    border-radius: 5px;
}
.sidebar {
    background-color: #183961;
    min-height: 500px;
    border-radius: 5px;
}
.sidebar,
.sidebar a {
    color: #fff;
    transition: 0.3s;
}
.sidebar a:hover {
    color: #C2B067;
    transition: 0.3s;
}
.pagination {
    text-align: center;
}
.pagination ul {
    padding-left: 0;
    list-style: none;
    display: inline-flex;
    gap: 0.5rem;
}
.pagination li a,
.pagination li span {
    display: block;
    padding: 0.5rem 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    color: #007bff;
    text-decoration: none;
}
.pagination li .current {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
}
.contact-wrapper {
	position: fixed;
    bottom: 0;
    right: 25rem;
    width: 300px;
    z-index: 1050;
}
.contact-wrapper .phone {
	color: #183961 !important;
	text-decoration: none;
}
contact-wrapper .btn:hover {
	color: #fff !important;
}
.contact-toggle {
	display: none;
}
.contact-label {
	display: block;
	width: 100%;
	text-align: center;
	cursor: pointer;
	padding: 15px 0;
	border-radius: 0.5rem 0.5rem 0 0;
	background-color: #183961;	
	transition: 0.3s;
	font-weight: 700;
	border: 1px solid #C2B067;
}
.contact-label:hover {	
	background-color: #C2B067;
	border: 1px solid #C2B067;
	transition: 0.3s;
}
.contact-content {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s ease;
	background-color: #f8f9fa;	
	border-bottom: none;
	border-radius: 0.5rem 0.5rem 0 0;
	padding: 0 1rem;
}
.contact-toggle:checked + .contact-content {
	max-height: 300px;
	padding-top: 1rem;
	padding-bottom: 1rem;
}

/* Media Queries  */
@media (max-width: 1080px) {
    .header-search {
        width: 80%;
    }
    .sub-header .sub-title, .sub-ph .sub-title {
        font-size: 2rem;
    }
}
@media (max-width: 1024px) {
    .practice-card {
        width: calc(50% - 1rem);
    }
}
@media (max-width: 1000px) {
	.slide-content {
		margin-right: 25rem;
	}
}
@media (max-width: 640px) {
    .practice-card {
        width: 100%;
    }
}
@media (min-width: 768px) {
    .container {
        max-width: 1200px;
    }
    .logo-sm {
        display: block;
    }
    .logo-lg {
        display: none;
    }
}
@media (max-width:991px) {
    .home-header-image {
        min-height: 425px;
    }
     .sub-header .sub-title, .sub-ph .sub-title {
        font-size: 1rem;
        top: 50%;
    }
    .sub-header, .sub-ph {
        min-height: 150px;
    }
    .slide-content {
        margin-top: 0;
		margin-right: 0rem; 
        padding: 0;
    }
    .slide-content .slide-header {
        font-size: 1.8rem;
    }
    .slide-content p,
    .slide-content .slide-button {
        font-size: 1rem;
    }
    .homepage-content {
        margin-top: 1rem;
    }
	.contact-wrapper {
		right: initial;
		width: 225px;
	}
	.footer-wrap-up {
		padding-bottom: 65px;
	}
}
@media (max-width:845px) {
    .logo {
        width: 15rem;
    }
}
@media (max-width: 767px) {
    h1, h2 {
        font-size: 1.5rem;
    }
    #navbarCollapse {
        margin-top: 25px;
    }
    .contact-block {
        text-align: center;
        position: initial !important;
        right: initial;
    }
    .contact-info-header {
        margin-bottom: 10px;
    }
    .contact-page {
        margin-top: 15px;
        text-align: center;
    }
    .logo-sm {
        display: block !important;
    }
    .logo-lg {
        display: none !important;
    }
    .menu-sm {
        display: block !important;
    }
    .nav-top {
        display: none;
    }
    #menu-main-menu-1 {
        margin-top: 20px !important;
    }
    .main-menu li {
        border-bottom: 1px solid #e4e4e4;
    }
    .main-menu li:last-child {
        border-bottom: none;
    }
    .main-menu li a {
        text-transform: uppercase;
        font-weight: 600;
        background-color: initial;
        color: initial !important;
        margin: initial;
        padding: 10px 15px !important;
        width: initial;
        text-align: center;
        position: relative;
        top: initial !important;
    }
    .main-menu li a:hover {
        background-color: #183961;
        color: #fff !important;
        transition: 0.3s;
    }
    .home-header-image {
        min-height: 225px;
        background-position: center center !important;
    }
    .footer-brand img {
        width: 15rem !important;
        margin-bottom: 25px;
    }
    .featured-links .btn {
        margin-right: 15px !important;
    }
    .kw-search {
        float: left;
    }
    .kw-search,
    .issue-select select,
    .initiative-select select { 
        width: 100% !important;
    }
    #posts-container {
        margin-top: 65px !important;
    }
	footer .col-md-4:last-child {
		margin-top: 20px !important;
	}
}
@media (max-width:575px) {
    .archv-post img {
        margin-top: 15px;
        float: left;
    }
}
@media (max-width: 540px) {
    .logo-sm {
        width: 15rem;
    }
    .home-header-image {
        min-height: 125px;
        background-position: center center !important;
    }
	.homepage-slider .container {
		text-align: center;
	}
}
@media (max-width: 370px) {
    .logo-sm {
        width: 12rem;
    }
}
@media (max-width: 345px) {
    .logo {
        width: 10rem;
    }
    .header-search {
        width: 100%;
    }
    .header-socials {
        float: initial !important;
        text-align: center;
    }
}
