/* ===================================================================================

* Theme Name: Beakai Child
* Theme URI: https://themeforest.net/user/theme_pure/portfolio
* Author: theme_pure
* Author URI: https://bdevs.net/wp/beakai/
* Description: Beakai - Business and Financial Institution WordPress Theme
* Version: 1.0.0
* Template: beakai
* License: GNU General Public License version 3.0
* License URI: http://www.gnu.org/licenses/gpl-3.0.html
* Tags: one-column, right-sidebar, left-sidebar, custom-menu, featured-images, post-formats, sticky-post, translation-ready

* We encourage you to create Child theme for any modifications you will want to do.

* Why use Child theme?

* Because of future updates we may provide for this theme that will overwrite your
* modifications and all your custom work.

* If you are not familiar with Child Themes, you can read about it here:
* http://codex.wordpress.org/Child_Themes
* http://wp.tutsplus.com/tutorials/theme-development/child-themes-basics-and-creating-child-themes-in-wordpress/

====================================================================================== */

/* Estilos para el archivo de bufete de abogados */
.services-archive-area .page-header {
  text-align: center;
  padding-bottom: 30px;
  border-bottom: 1px solid #eee;
}

.services-archive-area .page-title {
  font-size: 36px;
  margin-bottom: 20px;
}

.services-archive-area .term-description {
  font-size: 16px;
  line-height: 1.6;
  color: #666;
}

/* Estilos para las cards de bufete de abogados */
.bdevs-services.type-bdevs-services {
  width: 95%;
}

.service-box {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  transition: all 0.3s ease;
  height: 100%;
  overflow: hidden;
}

.service-box:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.service-thumb {
  position: relative;
  overflow: hidden;
}

.service-thumb img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: all 0.3s ease;
}

.service-box:hover .service-thumb img {
  transform: scale(1.05);
}

.service-category {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.9);
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 14px;
  color: #333;
  font-weight: 500;
}

.service-content {
  padding: 25px;
}

.service-subtitle {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.service-title {
  font-size: 20px;
  margin-bottom: 15px;
  line-height: 1.4;
}

.service-title a {
  color: #223645;
  text-decoration: none;
  transition: color 0.3s ease;
}

.service-title a:hover {
  color: var(--primary-color, #007bff);
}

.service-excerpt {
  font-size: 15px;
  line-height: 1.6;
  color: #666;
  margin-bottom: 20px;
}

.service-footer {
  border-top: 1px solid #eee;
  padding-top: 20px;
  text-align: center;
}

.service-btn {
  display: inline-block;
  padding: 10px 25px;
  border-radius: 25px;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

/* Estilos para la navegación de posts */
.posts-navigation {
  margin-top: 50px;
  text-align: center;
}

.posts-navigation .nav-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.posts-navigation a {
  padding: 10px 20px;
  border: 1px solid #eee;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.posts-navigation a:hover {
  background: var(--primary-color, #007bff);
  color: #fff;
  border-color: var(--primary-color, #007bff);
}

/* Estilos para la barra lateral de bufete de abogados */
.sidebar-services .widget {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.sidebar-services .widget-title {
  font-size: 20px;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #eee;
  position: relative;
}

.sidebar-services .widget-title:after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--primary-color, #007bff);
}

.service-thumb {
  position: relative;
  overflow: hidden;
  border-radius: 5px 5px 0 0;
}

.service-thumb img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: all 0.3s ease;
}

.service-box:hover .service-thumb img {
  transform: scale(1.05);
}

.service-content {
  padding: 25px;
}

.service-content h3 {
  font-size: 20px;
  margin-bottom: 15px;
}

.service-content h3 a {
  color: #223645;
  text-decoration: none;
  transition: color 0.3s ease;
}

.service-content h3 a:hover {
  color: #d2a98e;
}

.service-content p {
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
}

.service-content .read-more {
  color: #d2a98e;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
  transition: all 0.3s ease;
  display: inline-block;
}

.service-content .read-more:hover {
  color: #223645;
  transform: translateX(5px);
}

/* Estilos para bufete de abogados individuales */
.service-featured-image {
  border-radius: 8px;
  overflow: hidden;
}

.service-featured-image img {
  width: 100%;
  height: auto;
}

.service-terms-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.service-terms-list li a {
  display: inline-block;
  padding: 5px 15px;
  background: #f5f5f5;
  border-radius: 20px;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
}

.service-terms-list li a:hover {
  background: #086ad8;
  color: #fff;
}

.service-navigation {
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  padding: 20px 0;
}

.service-navigation a {
  color: #333;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.service-navigation a:hover {
  color: #086ad8;
}

/* Sidebar de bufete de abogados */
.service-sidebar .widget {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 30px;
}

.service-sidebar .widget-title {
  font-size: 20px;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #eee;
}

.service-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-sidebar ul li {
  margin-bottom: 12px;
}

.service-sidebar ul li:last-child {
  margin-bottom: 0;
}

.service-sidebar ul li a {
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
}

.service-sidebar ul li a:hover {
  color: #086ad8;
  padding-left: 5px;
}

/* Service Sidebar Styles */
.service-widget {
  background: #f8f8f8;
  padding: 30px;
  border-radius: 5px;
}

.service-widget-title {
  color: #223645;
  font-size: 20px;
  margin-bottom: 20px;
  font-weight: 600;
}

.service-list-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-list-widget ul li {
  margin-bottom: 15px;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
}

.service-list-widget ul li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.service-list-widget ul li a {
  display: flex;
  align-items: center;
  color: #666;
  transition: all 0.3s ease;
}

.service-list-widget ul li a:hover {
  color: #d2a98e;
}

.service-thumb {
  width: 80px;
  margin-right: 15px;
}

.service-content h4 {
  font-size: 16px;
  margin: 0 0 5px;
}

.service-content p {
  font-size: 14px;
  margin: 0;
  color: #777;
}

/* Estilos para la página de archivo de bufete de abogados */
.pagination {
  margin-top: 50px;
}

.pagination .page-numbers {
  display: inline-block;
  padding: 10px 15px;
  margin: 0 5px;
  border: 1px solid #eee;
  color: #666;
  text-decoration: none;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
  background: #d2a98e;
  color: #fff;
  border-color: #d2a98e;
}

/* Estilos para los headings de los bloques widgets del Sidebar */
.widget .wp-block-heading {
  position: relative;
  display: inline-block;
  font-size: 20px;
  padding-left: 0;
  padding-bottom: 20px;
  margin-bottom: 30px;
}

.widget .wp-block-heading:after {
  left: 0px;
  height: 2px;
  width: 35px;
  position: absolute;
  bottom: 0;
  content: "";
  background: #043e9b;
}

/* Estilos heredados del tema padre */
.sidebar-tad li a,
.tagcloud a {
  display: inline-block;
  font-size: 14px !important;
  color: #777777;
  padding: 6px 20px;
  margin-bottom: 8px;
  margin-right: 5px;
  font-weight: 500;
  border: 2px solid #f6f6f6;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
  background: #f6f6f6;
  border-radius: 5px;
  line-height: 1.5;
}

.sidebar-tad li a:hover,
.tagcloud a:hover {
  background: #1876df;
  color: #fff;
  border-color: #1876df;
}

/* Ajustes específicos para etiquetas de bufete de abogados */
.sidebar-tad.tagcloud {
  margin: -5px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.sidebar-tad.tagcloud .tag-cloud-link {
  margin: 5px;
  text-decoration: none;
}

/* Estilos para categorías de bufete de abogados */
.servicee-sidebar {
  padding: 40px;
  background: #f7f7f9;
  border-radius: 10px;
}

.servicee-sidebar ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.servicee-sidebar ul li {
  border-bottom: 1px solid #e5e5e5;
  margin-bottom: 15px;
  padding-bottom: 15px;
  list-style: none;
}

.servicee-sidebar ul li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border: 0;
}

.servicee-sidebar ul li a {
  color: #777777;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: 0.3s;
  display: block;
}

.servicee-sidebar ul li a:hover {
  color: #1876df;
  padding-left: 5px;
}

/* Remove prefix from breadcrumbs */
.breadcrumb-item {
  color: #777777;
}

.sidebar-tad a {
  display: inline-block;
  background: #ffffff;
  padding: 6px 15px;
  border-radius: 5px;
  margin-right: 8px;
  margin-bottom: 10px;
  color: #777777;
  font-weight: 500;
  border: 1px solid #eaeaea;
}

.sidebar-tad a:hover {
  background: #1876df;
  color: #ffffff;
}

/* Services categories styling */
.widget {
  background: #f6f6f6;
  padding: 30px;
  border-radius: 10px;
}

.widget-title-box {
  border-bottom: 1px solid #eaeaea;
  margin-bottom: 20px;
}

.widget-title {
  font-size: 20px;
  margin-bottom: 0;
  color: #222;
}

.cat {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cat li {
  border-bottom: 1px solid #eaeaea;
  padding: 15px 0;
}

.cat li:last-child {
  border-bottom: none;
}

.cat li a {
  color: #777777;
  font-weight: 500;
  display: block;
  position: relative;
  padding-right: 15px;
}

.cat li a:hover {
  color: #043e9b;
}

/* Ocultar metadata en bufete de abogados */
.single-bdevs-services .post-meta,
.bdevs-services .post-meta,
.single-bdevs-services .blog-meta,
.bdevs-services .blog-meta {
  display: none !important;
}

/* Estilos para etiquetas en la página de servicio individual */
.service-post-items .service-tags {
  margin-bottom: 30px;
}

.service-post-items .service-tags .sidebar-tad {
  background: transparent;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.service-post-items .service-tags .sidebar-tad a {
  display: inline-block;
  background: #f8f8f8;
  color: #223645;
  font-size: 14px;
  font-weight: 500;
  padding: 5px 15px;
  border-radius: 15px;
  border: 1px solid #eaeaea;
  transition: all 0.3s ease;
}

.service-post-items .service-tags .sidebar-tad a:hover {
  background: #cc8100;
  color: #ffffff;
  border-color: #905b00;
}

.service-post-items .service-tags .tag-cloud-link {
  margin: 0;
}
