/* ============================================
   Porto Business Consulting 4 Style for Hugo
   ============================================ */

/* Reset & Base */
* {
  box-sizing: border-box;
}

body {
  color: #222;
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  margin: 0;
  font-size: 16px;
}

a {
  color: #212529;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #c5a28e;
}

/* Page Header */
.page-header {
  background-color: #1e2e3d;
  position: relative;
}

.page-header h1 {
  font-size: 2.5rem;
  margin: 0;
}

.breadcrumb {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.breadcrumb li {
  font-size: 0.875rem;
  text-transform: uppercase;
}

.breadcrumb li:not(:last-child)::after {
  content: '/';
  margin-left: 0.5rem;
  opacity: 0.5;
}

.breadcrumb a {
  color: #6c757d;
}

.breadcrumb a:hover {
  color: #c5a28e;
}

.breadcrumb .active {
  color: #fff;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Card Styles */
.card {
  background: transparent;
  border: none;
}

.card-img-top {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.rounded-0 {
  border-radius: 0 !important;
}

/* Article Styles */
.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.card-title a {
  color: #1e2e3d;
}

.card-title a:hover {
  color: #c5a28e;
}

.text-uppercase {
  text-transform: uppercase;
}

.text-1 {
  font-size: 0.875rem;
}

.text-2 {
  font-size: 1rem;
}

.text-3 {
  font-size: 1.125rem;
}

.text-4 {
  font-size: 1.25rem;
}

.text-5 {
  font-size: 1.5rem;
}

.text-6 {
  font-size: 2rem;
}

.text-8 {
  font-size: 3rem;
}

.text-color-default {
  color: #6c757d;
}

.text-color-dark {
  color: #1e2e3d !important;
}

.text-color-primary {
  color: #c5a28e !important;
}

.text-color-light {
  color: #fff !important;
}

.bg-transparent {
  background-color: transparent !important;
}

.bg-color-quaternary {
  background-color: #1e2e3d !important;
}

.bg-color-grey {
  background-color: #f8f9fa !important;
}

.bg-dark {
  background-color: #212529 !important;
}

.border-0 {
  border: none !important;
}

.opacity-3 {
  opacity: 0.3;
}

/* Sidebar */
.sidebar {
  padding: 1.5rem 0;
}

.sidebar h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1e2e3d;
}

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

.nav-list .nav-item {
  padding: 0.25rem 0;
}

.nav-list a {
  color: #6c757d;
  font-size: 0.9375rem;
}

.nav-list a:hover,
.nav-list a.text-hover-primary:hover {
  color: #c5a28e;
}

.widget-recentpost a {
  display: block;
  color: #6c757d;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.widget-recentpost h6 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin: 0;
}

.widget-recentpost h6 a {
  color: #1e2e3d;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  list-style: none;
  padding: 2rem 0 0;
  margin: 0;
}

.pagination .page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50% !important;
  border: 1px solid #dee2e6;
  color: #6c757d;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.pagination .page-link:hover {
  background-color: #c5a28e;
  border-color: #c5a28e;
  color: #fff;
}

.pagination .page-item.active .page-link {
  background-color: #c5a28e;
  border-color: #c5a28e;
  color: #fff;
}

.pagination .page-item.disabled .page-link {
  opacity: 0.5;
  pointer-events: none;
}

/* Read More Link */
.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #c5a28e;
}

.read-more:hover {
  color: #a07d6a;
  text-decoration: none;
}

/* Post Content */
.post-content {
  font-size: 1rem;
  line-height: 1.8;
  color: #444;
}

.post-content h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1e2e3d;
  margin: 2rem 0 1rem;
}

.post-content h3 {
  font-size: 1.375rem;
  font-weight: 600;
  color: #1e2e3d;
  margin: 1.5rem 0 0.75rem;
}

.post-content p {
  margin-bottom: 1.25rem;
}

.post-content ul,
.post-content ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

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

.post-content strong {
  font-weight: 600;
}

.post-content a {
  color: #c5a28e;
}

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

/* Post Author */
.post-author {
  display: flex;
  gap: 1rem;
}

.post-author img {
  width: 80px;
  height: 80px;
  object-fit: cover;
}

.post-author .name a {
  color: #1e2e3d;
  font-size: 1.125rem;
  font-weight: 600;
}

/* Social Icons */
.social-icons {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 0.5rem;
}

.social-icons-medium li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #f8f9fa;
  color: #6c757d;
  transition: all 0.2s ease;
}

.social-icons-medium li a:hover {
  background-color: #c5a28e;
  color: #fff;
}

/* Divider */
hr {
  border: none;
  border-top: 1px solid #dee2e6;
  margin: 2rem 0;
}

hr.my-5 {
  margin: 3rem 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.25rem;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-outline-secondary {
  border-color: #dee2e6;
  background: transparent;
  color: #6c757d;
}

.btn-outline-secondary:hover {
  background-color: #c5a28e;
  border-color: #c5a28e;
  color: #fff;
}

/* Tags */
.post-tags .btn {
  margin: 0.25rem;
}

/* Footer */
.tm-footer {
  position: relative;
  overflow: hidden;
}

.tm-footer-toparea {
  position: relative;
  background-color: #1e2e3d;
  color: #fff;
  padding: 4rem 0;
}

.tm-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.tm-footer-widget h6 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #fff;
}

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

.tm-footer-widget li {
  margin-bottom: 0.5rem;
}

.tm-footer-widget a {
  color: rgba(255,255,255,0.7);
}

.tm-footer-widget a:hover {
  color: #c5a28e;
}

.tm-footer-copyright {
  text-align: center;
  padding: 1.5rem 0;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  margin: 0;
}

.tm-footer-copyright a {
  color: rgba(255,255,255,0.7);
}

.tm-footer-copyright a:hover {
  color: #c5a28e;
}

/* Header */
.tm-header {
  background-color: #fff;
  border-bottom: 1px solid #dee2e6;
  padding: 1rem 0;
}

.tm-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tm-header-logo img {
  height: 40px;
}

.tm-header-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 2rem;
}

.tm-header-nav a {
  color: #1e2e3d;
  font-weight: 500;
  font-size: 0.9375rem;
}

.tm-header-nav a:hover {
  color: #c5a28e;
}

/* Breadcrumb Area */
.tm-breadcrumb-area {
  background-color: #f8f9fa;
  padding: 3rem 0;
}

.tm-breadcrumb {
  text-align: center;
}

.tm-breadcrumb h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #1e2e3d;
}

/* Section spacing */
.pt-4 {
  padding-top: 2rem;
}

.pb-5 {
  padding-bottom: 3rem;
}

.mb-5 {
  margin-bottom: 3rem;
}

.mt-4 {
  margin-top: 2rem;
}

.mt-5 {
  margin-top: 3rem;
}

.mb-4 {
  margin-bottom: 1.5rem;
}

.mb-3 {
  margin-bottom: 1rem;
}

.my-2 {
  margin: 0.5rem 0;
}

.py-5 {
  padding: 3rem 0;
}

/* Grid */
.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.col-lg-8 {
  flex: 0 0 100%;
  max-width: 100%;
  padding: 0 15px;
}

.col-lg-4 {
  flex: 0 0 100%;
  max-width: 100%;
  padding: 0 15px;
}

@media (min-width: 992px) {
  .col-lg-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }

  .col-lg-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
}

.col-md-6 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

.col-12 {
  flex: 0 0 100%;
  max-width: 100%;
}

/* Animations */
.anim-hover-translate-top-5px:hover {
  transform: translateY(-5px);
}

.transition-2ms {
  transition: all 0.2s ease;
}

/* Responsive utilities */
.d-flex {
  display: flex;
}

.d-block {
  display: block;
}

.d-inline-block {
  display: inline-block;
}

.d-none {
  display: none;
}

@media (min-width: 768px) {
  .d-md-inline-flex {
    display: inline-flex !important;
  }

  .d-md-none {
    display: none !important;
  }
}

@media (min-width: 992px) {
  .d-lg-inline-flex {
    display: inline-flex !important;
  }
}

.justify-content-center {
  justify-content: center;
}

.justify-content-md-end {
  justify-content: flex-end;
}

.align-self-center {
  align-self: center;
}

.p-relative {
  position: relative;
}

.position-relative {
  position: relative;
}

.p-static {
  position: static;
}

.z-index-1 {
  z-index: 1;
}

.order-1 {
  order: 1;
}

.order-2 {
  order: 2;
}

@media (min-width: 768px) {
  .order-md-1 {
    order: 1;
  }

  .order-md-2 {
    order: 2;
  }
}

/* Gap utilities */
.gap-2 {
  gap: 0.5rem;
}

/* Text utilities */
.font-weight-bold {
  font-weight: 700;
}

.font-weight-semibold {
  font-weight: 600;
}

.font-weight-medium {
  font-weight: 500;
}

.text-capitalize {
  text-transform: capitalize;
}

.text-center {
  text-align: center;
}

.ws-nowrap {
  white-space: nowrap;
}

/* Margin/padding resets */
.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.px-3 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.p-0 {
  padding: 0 !important;
}

.m-0 {
  margin: 0 !important;
}

/* Search bar */
.input-group {
  display: flex;
  position: relative;
}

.input-group input {
  flex: 1;
  padding: 0.5rem 1rem;
  border: 1px solid #dee2e6;
  border-radius: 0.25rem 0 0 0.25rem;
  font-size: 0.875rem;
}

.input-group button {
  padding: 0.5rem 1rem;
  border: 1px solid #dee2e6;
  border-left: none;
  background: #f8f9fa;
  border-radius: 0 0.25rem 0.25rem 0;
  cursor: pointer;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .sidebar {
    margin-top: 3rem;
  }
}
