/*Global*/
h3 {
	font-family: 'trajanpro-bold';
	font-weight:lighter;
}

p {
	color: #737786;
}

body:not(.single) .site-main {
	padding-top: 0px;
}

/*header and logo*/
.site-branding {
	padding: 1.5em 0;
}

.site-branding .custom-logo-link img,
.logo--sm-size-1 .custom-logo-link img,
.logo--sm-size-2 .custom-logo-link img,
.logo--sm-size-3 .custom-logo-link img,
.logo--sm-size-4 .custom-logo-link img,
.logo--sm-size-5 .custom-logo-link img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 398px;
	max-height: 90px;
	object-fit: contain;
}

@media (max-width: 767px) {
	.site-branding .custom-logo-link img,
	.logo--sm-size-1 .custom-logo-link img,
	.logo--sm-size-2 .custom-logo-link img,
	.logo--sm-size-3 .custom-logo-link img,
	.logo--sm-size-4 .custom-logo-link img,
	.logo--sm-size-5 .custom-logo-link img {
		max-width: 100%;
		padding-bottom: 20px;
	}
}


/*Menu*/
.primary-navbar {
	padding: 0 !important;
	background: #d1d3d6;
	border-top: 3px solid #edeef2;
	border-bottom: 3px solid #a8a9b6;
	box-shadow: none;
	position: relative;
	z-index: 1;
	margin-bottom: 0;
	display: flex;
	align-items: center;
	width: 100%;
	background-color:#d2d3db;
}

.main-navigation .nav-flex {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 100%;
	flex-wrap: wrap;
	width: 100%;
}

.main-navigation .menu-wrapper {
	flex: 1;
}

.main-navigation .menu {
	display: flex !important;
	gap: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}

.main-navigation .menu > li {
	position: relative;
	margin: 0 !important;
	padding: 0 !important;
}

.main-navigation .menu > li > a {
	display: flex;
	align-items: center;
	height: 63px;
	padding: 0 1.3em;
	text-decoration: none;
	color: #787c8b;
	background: transparent;
	transition: background 0.3s, color 0.3s;
	font-family: 'trajanpro-bold';
	font-weight:lighter;	font-size: 14px;
}

.main-navigation .menu > li > a:hover,
.main-navigation .menu > li > a:focus {
	background-color: #23326b;
	color: #ffffff;
}

.main-navigation .menu > li.current-menu-item > a,
.main-navigation .menu > li.current_page_item > a,
.main-navigation .menu > li.current-menu-ancestor > a,
.main-navigation .menu > li.current_page_ancestor > a {
	background-color: #23326b !important;
	color: #fff !important;
}

.main-navigation .menu ul.sub-menu,
.main-navigation .menu ul.children {
	background-color: #23326b;
	font-family: 'trajanpro-bold';
	font-weight:lighter;	
	font-size: 14px;
}

.main-navigation .menu ul.sub-menu li a:hover,
.main-navigation .menu ul.children li a:hover {
	background-color: #23326b;
	
}


.primary-menu-search-toggle,
.search-form,
.main-navigation-arrow-btn {
	display: none !important;
}

/* Responsive Nav */
@media (max-width: 767px) {
	.main-navigation .menu {
		display: none !important;
	}

	.main-navigation.toggled .menu {
		display: flex !important;
		flex-direction: column;
		background-color: #d2d3db;
		width: 100%;
	}

	.main-navigation .menu > li > a {
		padding: 1em;
		border-top: 1px solid #ccc;
		background-color: #d2d3db;
		color: #23326b;
	}

	.main-navigation .menu > li > a:hover {
		background-color: #23326b;
	}
}

/*Social Icons*/
.social {
	display: flex;
	align-items: center;
	list-style: none;
	padding: 0;
}

.social a {
	text-decoration: none;
	background: none !important;
	box-shadow: none !important;
	margin: 0 0 -8px 0;
}

.social li img.rotate {
	width: 32px;
	height: 32px;
	transition: transform 0.3s ease;
}

.social li img.rotate:hover {
	transform: rotate(360deg);
}


/*Page title*/
.entry-header .entry-title-wrapper {
	display: flex;
	align-items: center;
	gap: 10px;
}

.entry-title {
	
	color: #23326b;
}

.page-title-icon {
	width: 30px;
	height: 34px;
	flex-shrink: 0; 
}


/*Content and Sidebar Layout*/
.custom-flex-wrapper {
	display: flex;
	gap: 30px;
	align-items: flex-start;
	flex-wrap: nowrap;
}

@media (max-width: 767px) {
	.custom-flex-wrapper {
		flex-direction: column;
	}
}

.custom-main-content {
	flex: 0 0 66.66%;
}

.custom-sidebar {
	flex: 0 0 33.33%;
}

.custom-main-content {
	flex: 100%;
}

/*Sidebar*/
.custom-sidebar .widget-area,
.custom-sidebar .c-sidebar,
.custom-sidebar .c-sidebar-right {
	background: none !important;
	box-shadow: none !important;
	border: none !important;
}

.custom-sidebar .widget {
	background: none !important;
	border: none !important;
	padding-top: 10px;

	box-shadow: none !important;
}


/*Service box*/
.service-box {
	border: 1px solid #dddee4;
	padding: 10px 10px 0 10px;
	margin: 8px;
	box-sizing: border-box;
	margin-bottom: 0px;
	padding-bottom: 0px;
}

.service-box img {
	display: block;
	margin: -40px auto -10px;
}

/*Footer*/
.site-footer {
	background-color: #23326b;
}

.footer-widgets a {
	font-size: 15px;
	font-family: 'Inter', Arial, Helvetica, sans-serif;
	text-decoration: none;
}

.footer-divider {
	width: 100%;
	border: none;
	background-color: #666666;
	margin: 20px 0;
	margin-left: 0px;
	padding: 0px;
}

.copyright-text p {
	color: #ffffff !important;
}


/*Misc*/
.post-thumbnail img {
	width: 130px;
	height: 130px;
}

.entry-date.published.updated {
	font-size: 15px;
}

.call-label {
	background-image: url(https://palacioslawfirm.com/wp-content/uploads/2025/07/call-icon.png);
	background-position: left center;
	background-repeat: no-repeat;
	padding-left: 40px;
	font-family: Arial, sans-serif;
	font-size: 18px;
	font-weight: 700;
	color: #23326b;
	line-height: 1.8;
	float: left;
	margin-bottom: -6px;
}

.call-number {
	font-family: 'trajanpro-bold';
	font-weight:lighter;	
	font-size: 30px;
	font-weight: bold;
	color: #444;
	margin: 0;
}


@media (max-width: 767px) {
  .call-number {
    font-size: 28px !important;
  }
}

.custom-sidebar{
	align-content: center;
}


@media (max-width: 767px) {
  .custom-sidebar {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .custom-sidebar > aside {
    width: 100%;
    max-width: 500px; /* Optional: limit sidebar width */
  }
}

@media (max-width: 767px) {
  .footer-widgets-wrap {
    display: block !important;
  }
}

@media (max-width: 767px) {

	
.main-navigation .menu ul.sub-menu,
.main-navigation .menu ul.children {
	background-color: #d2d3db;
	font-family: 'trajanpro-bold';
	font-weight:lighter;
	font-size: 14px;
}

	.main-navigation a {
    color: #23326b;
 
}
}

.entry-title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: 'trajanpro-bold';
	font-weight:lighter;	
}

body.single .entry-title::before {
	content: '';
	display: inline-block;
	width: 30px;
	height: 34px;
	background-image: url('https://palacioslawfirm.com/wp-content/uploads/2025/07/shield.png');
	background-size: 100% 100%;
	background-repeat: no-repeat;
	background-position: center;
	flex-shrink: 0;
}

.rss_header {
  display: none;
}

.rss_image {
  width:  240px !important;
  height: 135px !important;
}


.feedzy-rss .rss_item {
    border-bottom: 1px solid #eee;
    list-style: none; 
		width: 100%
}


.rss_image {
  width: 100% !important;
  aspect-ratio: 16 / 9;
  height: auto !important;
  display: block;
  object-fit: cover; /* or 'contain' if you want full image without crop */
}

@media (min-width: 767px) {
  .rss_image {
    width: 240px !important;
    height: 135px !important;
    aspect-ratio: auto; /* Resets aspect-ratio for larger screens */
  }
	
}



@media (max-width: 767px) {

.entry-summary{
	font-size: 13px
	}
.primary-navbar .social li {
	display: inline-block;
	
}
	
	.main-navigation .nav-flex {
	display: block;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	width: 100%;
}
}
@media (min-width: 766px) and (max-width: 1000px) {
  .main-navigation .menu > li > a {
    font-size: 10px;
  }

  .social li img.rotate {
    width: 21px;
    height: 21px;
    transition: transform 0.3s ease;
			
	
  }
	.main-navigation ul li, .main-navigation ul ul li {
  	border-top: none !important;
}
}


.primary-navbar .social {

	flex-direction: row !important;

	justify-content: center;
	align-items: center;
	gap: 10px;
}

.primary-navbar .social li {
	display: inline-block;
	padding-top:15px;
}


/* Reset styles on links */
.menu-main-container .menu-item a {
	border: none !important;
}





.main-navigation ul li,
.main-navigation ul ul li {
    border-top: none !important;
}



.wp-block-column.service-box {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;

}

.wp-block-buttons {
  margin-top: auto; 
	font-family: 'trajanpro-bold';
	font-weight:lighter;
}

/* Make all category titles occupy the same height */
.wp-block-column.service-box p:nth-of-type(2) {
  height: 100%;
  overflow: hidden;
  text-align: center;
  align-items: center;
  justify-content: center;
}

.wpcf7 form.sent .wpcf7-response-output {
    border-color: #23326b !important;
}

.wpcf7-not-valid-tip {
    position: absolute;
    color: red;
    font-size: 12px;
    z-index: 999;
    white-space: nowrap;
    margin-top: -2px;
		margin-left: -140px;

}

.homepage-banner-image {
    position: relative;
    overflow: hidden;
}

.homepage-banner-image::after {
    content: "Our mission is to make a difference in the lives of our clients, one case at a time...";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    width: 80%;
    max-width: 100%;
    
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
    
    color: white;
    font-family: 'trajanpro-bold';
    font-weight: lighter;
    font-size: clamp(1px, 4vw, 48px);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); 
}
