.container,
.container-fluid,
.container-xxl,
.container-xl,
.container-lg,
.container-md,
.container-sm {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  width: 100%;
  padding-right: calc(var(--bs-gutter-x));
  padding-left: calc(var(--bs-gutter-x));
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 1280px) {
  .container-xl,
  .container-lg,
  .container-md,
  .container-sm,
  .container {
    max-width: 1240px;
  }
}

@media (min-width: 1480px) {
  .container-xxl,
  .container-xl,
  .container-lg,
  .container-md,
  .container-sm,
  .container {
    max-width: 1440px;
  }
}

@media (min-width: 1900px) {
  .container-xxl,
  .container-xl,
  .container-lg,
  .container-md,
  .container-sm,
  .container {
    max-width: 1840px;
  }
}

@media (min-width: 2550px) {
  .container-xxl,
  .container-xl,
  .container-lg,
  .container-md,
  .container-sm,
  .container {
    max-width: 2080px;
  }
}

.container-esm {
  max-width: 980px;
}

.container-smd {
  max-width: 1280px;
}

:root {
  --bs-breakpoint-xl: 1280px;
  --bs-breakpoint-xxl: 1480px;
}

.row {
  margin-top: calc(-2 * var(--bs-gutter-y));
  margin-right: calc(-1 * var(--bs-gutter-x));
  margin-left: calc(-1 * var(--bs-gutter-x));
}

.row > * {
  padding-right: calc(var(--bs-gutter-x));
  padding-left: calc(var(--bs-gutter-x));
  margin-top: var(--bs-gutter-y);
}

/* 针对navbar-nav重新定义变量，覆盖Bootstrap的默认设置 */
.navbar-nav {
  --bs-nav-link-color: #000;
  --bs-nav-link-hover-color: #666;
  --bs-nav-link-disabled-color: #999;
}

body {
  font-family: "SF Pro SC","SF Pro Text","SF Pro Icons","PingFang SC","Helvetica Neue","Helvetica","Arial",sans-serif;
}

a {
  --bs-link-color-rgb: #000;
}

a:hover,
a:hover span {
  --bs-link-hover-color-rgb: #999;
}

a.btn-link {
  --bs-btn-color: #333;
  --bs-btn-hover-color: #000;
  text-decoration: underline;
}

p {
  line-height: 1.68;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: bolder;
}

.breadcrumbs {
  font-size: 90%;
}

.breadcrumbs a,
.breadcrumbs a span {
  color: #000;
}

.breadcrumbs span {
  color: #999;
}

.bg-grey {
  background-color: #f5f5f5;
}

@media (min-width: 992px) {
  .h-sm-100{
    height: 100% !important;
  }
}

.p-100,
.py-100,
.pt-100 {
  padding-top: 100px;
}

.p-100,
.py-100,
.pb-100 {
  padding-bottom: 100px;
}

.p-100,
.px-100,
.ps-100 {
  padding-left: 100px;
}

.p-100,
.px-100,
.pe-100 {
  padding-right: 100px;
}

@media (min-width: 992px) {
  .p-sm-100,
  .py-sm-100,
  .pt-sm-100 {
    padding-top: 100px !important;
  }

  .p-sm-100,
  .py-sm-100,
  .pb-sm-100 {
    padding-bottom: 100px !important;
  }

  .p-sm-100,
  .px-sm-100,
  .ps-sm-100 {
    padding-left: 100px !important;
  }

  .p-sm-100,
  .px-sm-100,
  .pe-sm-100 {
    padding-right: 100px !;
  }
}

/* home */
.home .section-05 {
  background-color: #f6f6f6;
}

.swiper-slide h1{
  font-size: 48px;
  font-weight: normal;
  line-height: 1.28;
  border-bottom: 1px solid #ddd;
}

@media (min-width: 992px) {
  .swiper-slide h1{
    font-size: 60px;
  }
}

.swiper-slide h1 span{
  color: #FFCC00;
  font-weight: bolder;
  position: relative;
}

@media (min-width: 1440px) {
  .swiper-slide h1 span::after{
    position: absolute;
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background-color: #FFCC00;
    margin-top: 1.5rem;
  }
}

/* Footer */

footer .container {
  max-width: none;
}

.menu-footer-menu-container {
  text-align: left;
}

.footer-sidebar {
  border-bottom: rgba(255, 255, 255, 0.05) solid 1px;
}

.footer-sidebar .menu li {
  display: inline-block;
}

footer,
footer a,
.footer-sidebar .menu li a {
  color: rgba(255, 255, 255, 0.5);
}

footer .contact-info li,
.widget .menu-item {
  line-height: 2;
}

footer .contact-info,
footer .copyright,
.widget .menu-item a{
  font-size: 14px;
}

.site-footer .widget h5 {
  color: #fff;
  font-size: 16px;
  font-weight: bolder;
}

footer a:hover,
footer a:focus,
.footer-sidebar .menu li a:hover,
.footer-sidebar .menu li a:focus {
  color: #fff;
  text-decoration: none;
}

.widget_nav_menu ul {
  padding: 0;
}

.widget_nav_menu ul li {
  list-style: none;
}

.site-footer {
  background-color: #000;
  background-image: url(../images/footer-bg.jpg);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  transition: all 1s ease 0s;
}

.site-footer:hover {
  background-position: center bottom;
}

.bg-dark-70 {
  background-color: rgba(0, 0, 0, 0.7);
}

.site-footer .contact-info span {
  color: #fff;
  font-weight: bolder;
  display: block;
  margin-bottom: 20px;
  font-size: 36px;
}

@media (min-width: 1200px) {
  .site-footer .contact-info span {
    font-size: 50px;
  }
}

.contact-info ul {
  padding: 0;
  list-style: none;
}

footer .border-top {
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

footer .border-bottom {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

#top-link {
    display: block;
    color: #fff;
    bottom: 0;
    position: fixed;
    right: 1.5rem;
    width: 50px;
    height: 50px;
    z-index: 999;
    text-align: center;
    background-color: #FFCC00;
}

@media (min-width: 992px) {
  #top-link {
    right: 40px;
  }
}

#top-link:before {
    font-family: "FontAwesome";
    display: block;
    content: "";
    font-size: 20px;
    margin-top: 5px;
}

#top-link span {
    position: absolute;
    bottom: 2px;
    display: block;
    text-align: center;
    width: 100%;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

#top-link:hover {
    background-color: #000000;
    text-decoration: none;
}

.site-footer .navbar-nav .menu-item a{
  color: #fff;
  margin-bottom: 0.68rem;
  display: block;
}

.site-footer .navbar-nav .sub-menu {
  padding-left: 0;
  list-style: none;
}

.site-footer .navbar-nav .sub-menu .menu-item a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

.site-footer .navbar-nav .sub-menu .menu-item a:hover {
  color: rgba(255, 255, 255, 1);
}

.sidebar .widget_search form.searchform {
  position: relative;
}

.sidebar .widget_search form.searchform > div{
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.sidebar .widget_search form.searchform input {
  display: block;
  padding: .375rem .75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--bs-body-color);
  background-color: var(--bs-form-control-bg);
  background-clip: padding-box;
  border: var(--bs-border-width) solid var(--bs-border-color);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: .375rem;
  transition: border-color .15s
  ease-in-out, box-shadow .15s
  ease-in-out;
}

.sidebar .widget_search form.searchform input[type=text] {
  flex: 1;
  margin-right: 10px;
}

.sidebar .widget_search form.searchform input[type=submit] {
  display: flex;
  align-items: center;
  white-space: nowrap;
  background-color: var(--bs-tertiary-bg);
}

.section-key-data span {
  font-size: 60px;
  font-weight: bolder;
  line-height: 3.5rem;
  float: left;
}

.section-key-data h5 {
  margin-bottom: 1rem;
}

/* 20.11. Portfolio */

.portfolio-list {
  overflow: visible;
}

/* .portfolio-list .mix {
  display: none;
} */

.portfolio-filter {
  margin: 0 0 30px 0;
  text-align: center;
}

.portfolio-filter a {
  font-size: 14px;
  text-transform: uppercase;
  display: inline-block;
  padding: 5px 0;
  color: #acacac;
  font-weight: 700;
  cursor: pointer;
  margin: 0 10px;
  text-decoration: none;
}

.portfolio-filter .col-md-12 {
  padding-left: 0;
  padding-right: 0;
}

.portfolio-filter a:first-child {
  margin-left: 0;
}

.portfolio-filter a.view-all {
  color: #1151d3;
}

.portfolio-filter a:hover,
.portfolio-filter a.active {
  color: #000000;
  text-decoration: none;
  border-bottom: 1px solid #000000;
}

.portfolio-item-block {
  background: #ffffff;
  width: 25%;
  padding-bottom: 25%;
  position: relative;
  overflow: hidden;
  float: left;
}

.portfolio-list.portfolio-with-spaces .portfolio-item-block,
.portfolio-list.portfolio-with-spaces .portfolio-item-block .portfolio-item-bg {
  border: 15px solid transparent;
}

.portfolio-list.portfolio-with-spaces {
  /* margin-top: -15px;*/
  margin-left: -15px;
  margin-right: -15px;
}

.portfolio-list.portfolio-with-spaces.portfolio-grid-layout-4
  .portfolio-item-block,
.portfolio-list.portfolio-with-spaces.portfolio-grid-layout-4
  .portfolio-item-block
  .portfolio-item-bg {
  border: 5px solid transparent;
}

.portfolio-columns-3 .portfolio-item-block {
  width: 33.3333%;
  padding-bottom: 33.3333%;
}

.portfolio-columns-4 .portfolio-item-block {
  width: 25%;
  padding-bottom: 25%;
}

.portfolio-columns-5 .portfolio-item-block {
  width: 20%;
  padding-bottom: 20%;
}

/* Portfolio Compact List Layout */

.portfolio-list.portfolio-grid-layout-5 .portfolio-item-block {
  background: #ffffff;
  width: 100%;
  padding-bottom: 10%;
  position: relative;
  overflow: hidden;
  float: left;
}

.portfolio-list.portfolio-with-spaces.portfolio-grid-layout-5
  .portfolio-item-block {
  border: 5px solid transparent;
  border-left-width: 10px;
  border-right-width: 10px;
}

/* Portfolio Medium List Layout */

.portfolio-list.portfolio-grid-layout-6 .portfolio-item-block {
  background: #ffffff;
  width: 100%;
  padding-bottom: 20%;
  position: relative;
  overflow: hidden;
  float: left;
}

.portfolio-list.portfolio-with-spaces.portfolio-grid-layout-6
  .portfolio-item-block {
  border: 5px solid transparent;
  border-left-width: 10px;
  border-right-width: 10px;
}

.portfolio-item-block .portfolio-item-image {
  background-color: #eeeeee;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  height: 100%;
  width: 100%;
  position: absolute;
}

.portfolio-item-block .portfolio-item-bg {
  position: absolute;
  width: 100%;
  height: 100%;
}

.portfolio-item-block h4.title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 0;
  margin-top: 0;
  color: #ffffff;
}

.portfolio-columns-5 .portfolio-item-block .title {
  font-size: 25px;
}

.portfolio-item-block .sub-title {
  display: block;
  margin-bottom: 5px;
  margin-left: -500px;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.68rem;
}

.portfolio-item-block:hover .sub-title {
  margin-left: 0;
}

.portfolio-more-button {
  margin: 0 auto;
  display: block;
  font-size: 14px;
  font-weight: 500;
  padding: 15px;
  background-color: #26cdb3;
  color: #ffffff;
  text-decoration: none;
}

/* Masonry 1 layout */

.portfolio-list.portfolio-grid-layout-1 .portfolio-item-block {
  width: 25%;
  padding-bottom: 25%;
}

.portfolio-list.portfolio-grid-layout-1 .portfolio-item-block:nth-of-type(2) {
  width: 25%;
  padding-bottom: 50%;
  float: right;
}

.portfolio-list.portfolio-grid-layout-1 .portfolio-item-block:nth-of-type(3) {
  width: 50%;
  padding-bottom: 50%;
  float: right;
}

.portfolio-list.portfolio-grid-layout-1 .portfolio-item-block:nth-of-type(5),
.portfolio-list.portfolio-grid-layout-1 .portfolio-item-block:nth-of-type(10) {
  width: 50%;
}

/* Masonry 2 layout */

.portfolio-list.portfolio-grid-layout-2 .portfolio-item-block {
  width: 25%;
  padding-bottom: 25%;
}

.portfolio-list.portfolio-grid-layout-2 .portfolio-item-block:nth-of-type(1),
.portfolio-list.portfolio-grid-layout-2 .portfolio-item-block:nth-of-type(2) {
  width: 50%;
  padding-bottom: 50%;
}

/* Masonry 3 layout */

.portfolio-list.portfolio-grid-layout-3 .portfolio-item-block {
  width: 25%;
  padding-bottom: 25%;
}

.portfolio-list.portfolio-grid-layout-3 .portfolio-item-block:nth-of-type(3),
.portfolio-list.portfolio-grid-layout-3 .portfolio-item-block:nth-of-type(8),
.portfolio-list.portfolio-grid-layout-3
  .portfolio-item-block:nth-of-type(3n + 8) {
  width: 50%;
}

/* Gallery Layout */

.portfolio-item-block.slide-item {
  width: 100%;
  float: none;
  height: 550px;
  padding-bottom: 0;
}

.portfolio-list.portfolio-grid-layout-4 {
  display: none;
}

/* Portfolio item page */

.portfolio-navigation-prev,
.portfolio-navigation-next {
  position: fixed;
  top: 50%;
  left: 0;
  z-index: 10000;
  width: 100px;
}

.portfolio-navigation-next {
  right: -100px;
  left: auto;
}

.portfolio-navigation-prev {
  left: -100px;
}

.portfolio-navigation-prev:before {
  text-transform: uppercase;
  opacity: 1;
  font-size: 14px;
  line-height: 50px;
  width: 100px;
  text-align: center;
  right: -75px;
  display: block;
  background: #f4f4f4;
  height: 50px;
  top: 25px;
  position: absolute;
  transform: rotate(-90deg);
  -webkit-transform: rotate(-90deg);
  -moz-transform: rotate(-90deg);
  content: attr(data-name);
  cursor: pointer;
}

.portfolio-navigation-next:before {
  text-transform: uppercase;
  opacity: 1;
  font-size: 14px;
  line-height: 50px;
  width: 100px;
  text-align: center;
  left: -75px;
  display: block;
  background: #f4f4f4;
  height: 50px;
  top: 25px;
  position: absolute;
  transform: rotate(-90deg);
  -webkit-transform: rotate(-90deg);
  -moz-transform: rotate(-90deg);
  content: attr(data-name);
  cursor: pointer;
}

.portfolio-navigation-prev:hover {
  left: 0;
}

.portfolio-navigation-next:hover {
  right: 0;
}

.portfolio-navigation-prev .portfolio-navigation-image,
.portfolio-navigation-next .portfolio-navigation-image {
  opacity: 0;
}

.portfolio-navigation-prev:hover .portfolio-navigation-image,
.portfolio-navigation-next:hover .portfolio-navigation-image {
  opacity: 1;
}

.portfolio-navigation-prev .portfolio-navigation-image img,
.portfolio-navigation-next .portfolio-navigation-image img {
  max-width: 100px;
  height: auto;
}

.porftolio-slider ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.porftolio-slider .slides li {
  text-align: center;
}

.slides_content {
  border: 2px solid #eeeeee;
  position: relative;
  min-height: 680px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
  transition: background-position 5s;
  -moz-transition: background-position 5s;
  -webkit-transition: background-position 5s;
}

.slides_content:hover {
  background-position: bottom center;
}

.slides_content:hover .info {
  visibility: visible;
  opacity: 1;
}

.slides_content .info {
  margin: auto;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  -moz-transition: all 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
  -o-transition: all 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
  transition: all 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
}

/* .porftolio-slider img {
    width: 100%;
} */

.portfolio-layout-0
  .porftolio-slider
  .owl-theme
  .owl-controls
  .owl-buttons
  div.owl-prev {
  left: 30px;
  margin-top: -25px;
  top: 50%;
}

.portfolio-layout-0
  .porftolio-slider
  .owl-theme
  .owl-controls
  .owl-buttons
  div.owl-next {
  right: 30px;
  margin-top: -25px;
  top: 50%;
}

.portfolio-item-data .page-item-title h1 {
  text-align: left;
}

.portfolio-item-data {
  margin-bottom: 30px;
}

.portfolio-item-details .portfolio-item-image-container {
  padding: 0;
}

.portfolio-item-details .mgt-header-block.wpb_content_element {
  margin-top: 0;
}

.portfolio-item-details.portfolio-layout-0.portfolio-title-position-disable {
  margin-top: 30px;
}

.portfolio-item-details.portfolio-layout-1.portfolio-title-position-disable {
  margin-top: 30px;
}

body.transparent-header
  .portfolio-item-details.portfolio-layout-1.portfolio-title-position-disable {
  margin-top: 0;
}

.portfolio-item-details.portfolio-layout-0.portfolio-title-position-description {
  margin-top: 30px;
}

.portfolio-item-details.portfolio-layout-1.portfolio-title-position-description {
  margin-top: 30px;
}

.portfolio-item-details.portfolio-layout-1.portfolio-title-position-description
  .portfolio-item-image {
  margin-bottom: 0;
}

.portfolio-item-details .project-details {
  margin-bottom: 0;
}

.portfolio-item-details .project-content + .project-details {
  margin-top: 30px;
}

.portfolio-item-details .project-content + .post-social-wrapper {
  margin-top: 30px;
}

.portfolio-item-details .project-content img {
  height: auto;
  max-width: 100%;
}

.portfolio-item-details .project-details span {
  color: #acacac;
  font-weight: bold;
  text-transform: uppercase;
  display: block;
}

.portfolio-item-details .post-social-wrapper {
  margin-top: 0;
}

.portfolio-item-details .comments-area {
  margin-top: 50px;
}

.related-works {
  background: #fff;
}

.porftolio-slider .owl-theme .owl-controls .owl-buttons div.owl-prev,
.porftolio-slider .owl-theme .owl-controls .owl-buttons div.owl-next {
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  margin-left: 0;
  margin-right: 0;
  margin-top: 0;
}

.porftolio-slider .owl-theme .owl-controls .owl-buttons div.owl-prev:hover,
.porftolio-slider .owl-theme .owl-controls .owl-buttons div.owl-next:hover {
  background: rgba(0, 0, 0, 0.8);
}

.porftolio-slider .owl-theme .owl-controls .owl-buttons div.owl-prev {
  left: auto;
  right: 51px;
  top: 0;
}

.porftolio-slider .owl-theme .owl-controls .owl-buttons div.owl-next {
  right: 0;
  top: 0;
}

.porftolio-slider .owl-theme .owl-controls .owl-buttons div.owl-prev:before {
  font-family: "FontAwesome";
  font-size: 35px;
  content: "";
  display: inline-block;
  position: relative;
  top: 9px;
  margin-right: 10px;
  left: 2px;
}

.porftolio-slider .owl-theme .owl-controls .owl-buttons div.owl-next:after {
  font-family: "FontAwesome";
  font-size: 35px;
  content: "";
  position: relative;
  top: 9px;
  display: inline-block;
  margin-left: 10px;
  right: 2px;
}

.free-quote-block {
  background: #000
    url(https://www.anttoweb.com/wp-content/themes/hind-child/img/freeQuote_bg.jpg)
    center center / cover no-repeat;
  transition: all 1s ease 0s;
  color: #fff;
}

.free-quote-block:hover,
.free-quote-block:focus {
  background: #000
    url(https://www.anttoweb.com/wp-content/themes/hind-child/img/freeQuote_bg.jpg)
    center bottom / cover no-repeat;
}

.border-dark {
  border: 2px solid #000;
}

.quote-block:before,
.quote-block:before {
  border-left: 60px solid #fff0;
  border-right: 0 solid #fff0;
  border-top: 22px solid #000;
  bottom: -22px;
  content: "";
  display: block;
  height: 0;
  position: absolute;
  width: 0;
  transition: all 0.3s ease 0s;
  left: 0;
}

.quote-block:before,
.quote-block:before {
  border-left: 60px solid #fff0;
  border-right: 0 solid #fff0;
  border-top: 22px solid #000;
  bottom: -22px;
  content: "";
  display: block;
  height: 0;
  position: absolute;
  width: 0;
  transition: all 0.3s ease 0s;
  left: 0;
}

.quote-block:hover:before,
.quote-block:focus:before {
  left: 25px;
  border-left: 0 solid #fff0;
  border-right: 60px solid #fff0;
}

/* Portfolio Pagination Styles */
.portfolio-pagination-wrapper {
  margin: 40px 0;
  text-align: center;
  clear: both;
  display: flex;
  justify-content: center;
  align-items: center;
}

.portfolio-pagination {
  display: inline-block;
}

.portfolio-pagination ul {
  display: inline-block;
  list-style: none;
  margin: 0;
  padding: 0;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.portfolio-pagination li {
  display: inline-block;
  margin: 0;
  padding: 0;
}

.portfolio-pagination a,
.portfolio-pagination span {
  display: block;
  padding: 10px 15px;
  border: 1px solid #e0e0e0;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  min-width: 44px;
  text-align: center;
}

.portfolio-pagination li:first-child a,
.portfolio-pagination li:first-child span {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

.portfolio-pagination li:last-child a,
.portfolio-pagination li:last-child span {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.portfolio-pagination a:hover {
  background-color: #f8f9fa;
  color: #1151d3;
  border-color: #1151d3;
}

.portfolio-pagination .current {
  background-color: #1151d3;
  color: white;
  border-color: #1151d3;
  font-weight: 600;
}

.portfolio-pagination .dots {
  background-color: #f8f9fa;
  color: #6c757d;
  cursor: default;
}

.portfolio-pagination .dots:hover {
  background-color: #f8f9fa;
  color: #6c757d;
  border-color: #e0e0e0;
}

/* Load More Button Styles */
.portfolio-load-more-wrapper {
  text-align: center;
  margin: 40px 0;
  clear: both;
}

.portfolio-load-more-btn {
  background-color: #1151d3;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.portfolio-load-more-btn:hover {
  background-color: #0d47a1;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(17, 81, 211, 0.3);
}

.portfolio-load-more-btn:active {
  transform: translateY(0);
}

.portfolio-load-more-btn:disabled {
  background-color: #ccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Infinite Scroll Indicator */
.portfolio-infinite-scroll {
  width: 32px;
  height: 32px;
  clear: both;
  margin-left: auto;
  margin-right: auto;
}

.portfolio-infinite-scroll.loading {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024" width="200" height="200"><path d="M876.864 782.592c3.264 0 6.272-3.2 6.272-6.656 0-3.456-3.008-6.592-6.272-6.592-3.264 0-6.272 3.2-6.272 6.592 0 3.456 3.008 6.656 6.272 6.656z m-140.544 153.344c2.304 2.432 5.568 3.84 8.768 3.84a12.16 12.16 0 0 0 8.832-3.84 13.76 13.76 0 0 0 0-18.56 12.224 12.224 0 0 0-8.832-3.84 12.16 12.16 0 0 0-8.768 3.84 13.696 13.696 0 0 0 0 18.56zM552.32 1018.24c3.456 3.648 8.32 5.76 13.184 5.76a18.368 18.368 0 0 0 13.184-5.76 20.608 20.608 0 0 0 0-27.968 18.368 18.368 0 0 0-13.184-5.824 18.368 18.368 0 0 0-13.184 5.76 20.608 20.608 0 0 0 0 28.032z m-198.336-5.76c4.608 4.8 11.072 7.68 17.6 7.68a24.448 24.448 0 0 0 17.536-7.68 27.456 27.456 0 0 0 0-37.248 24.448 24.448 0 0 0-17.536-7.68 24.448 24.448 0 0 0-17.6 7.68 27.52 27.52 0 0 0 0 37.184z m-175.68-91.84c5.76 6.08 13.824 9.6 21.952 9.6a30.592 30.592 0 0 0 22.016-9.6 34.368 34.368 0 0 0 0-46.592 30.592 30.592 0 0 0-22.016-9.6 30.592 30.592 0 0 0-21.952 9.6 34.368 34.368 0 0 0 0 46.592z m-121.152-159.36c6.912 7.36 16.64 11.648 26.368 11.648a36.736 36.736 0 0 0 26.432-11.584 41.28 41.28 0 0 0 0-55.936 36.736 36.736 0 0 0-26.432-11.584 36.8 36.8 0 0 0-26.368 11.52 41.28 41.28 0 0 0 0 56zM12.736 564.672a42.88 42.88 0 0 0 30.784 13.44 42.88 42.88 0 0 0 30.784-13.44 48.128 48.128 0 0 0 0-65.216 42.88 42.88 0 0 0-30.72-13.44 42.88 42.88 0 0 0-30.848 13.44 48.128 48.128 0 0 0 0 65.216z m39.808-195.392a48.96 48.96 0 0 0 35.2 15.36 48.96 48.96 0 0 0 35.2-15.36 54.976 54.976 0 0 0 0-74.56 48.96 48.96 0 0 0-35.2-15.424 48.96 48.96 0 0 0-35.2 15.424 54.976 54.976 0 0 0 0 74.56zM168.32 212.48c10.368 11.008 24.96 17.408 39.68 17.408 14.592 0 29.184-6.4 39.552-17.408a61.888 61.888 0 0 0 0-83.84 55.104 55.104 0 0 0-39.616-17.408c-14.656 0-29.248 6.4-39.616 17.408a61.888 61.888 0 0 0 0 83.84zM337.344 124.8c11.52 12.16 27.712 19.264 43.968 19.264 16.256 0 32.448-7.04 43.968-19.264a68.672 68.672 0 0 0 0-93.184 61.248 61.248 0 0 0-43.968-19.264 61.248 61.248 0 0 0-43.968 19.264 68.736 68.736 0 0 0 0 93.184z m189.632-1.088c12.672 13.44 30.528 21.248 48.448 21.248s35.712-7.808 48.384-21.248a75.584 75.584 0 0 0 0-102.464A67.392 67.392 0 0 0 575.36 0c-17.92 0-35.776 7.808-48.448 21.248a75.584 75.584 0 0 0 0 102.464z m173.824 86.592c13.824 14.592 33.28 23.104 52.736 23.104 19.584 0 39.04-8.512 52.8-23.104a82.432 82.432 0 0 0 0-111.744 73.472 73.472 0 0 0-52.8-23.168c-19.52 0-38.912 8.512-52.736 23.168a82.432 82.432 0 0 0 0 111.744z m124.032 158.528c14.976 15.872 36.032 25.088 57.216 25.088 21.12 0 42.24-9.216 57.152-25.088a89.344 89.344 0 0 0 0-121.088 79.616 79.616 0 0 0-57.152-25.088c-21.184 0-42.24 9.216-57.216 25.088a89.344 89.344 0 0 0 0 121.088z m50.432 204.032c16.128 17.088 38.784 27.008 61.632 27.008 22.784 0 45.44-9.92 61.568-27.008a96.256 96.256 0 0 0 0-130.432 85.76 85.76 0 0 0-61.568-27.072c-22.848 0-45.44 9.984-61.632 27.072a96.192 96.192 0 0 0 0 130.432z" fill="%23262626"/></svg>') no-repeat center;
  background-size: contain;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
  .portfolio-pagination a,
  .portfolio-pagination span {
    padding: 8px 12px;
    font-size: 13px;
    min-width: 36px;
  }

  .portfolio-load-more-btn {
    padding: 10px 24px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .portfolio-pagination a,
  .portfolio-pagination span {
    padding: 6px 10px;
    font-size: 12px;
    min-width: 32px;
  }

  .portfolio-load-more-btn {
    padding: 8px 20px;
    font-size: 12px;
  }
}

.blog-excerpt{
  font-size: 14px;
  line-height: 1.8;
}

.navigation.pagination{
  margin-top: 30px;
  margin-bottom: 30px;
}

.widget.widget_search{
  margin-bottom: 50px;
}

/* 时间轴 */
.timeline {
  position: relative;
  padding: 20px 0;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 120px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, #ddd, #ddd);
}

.timeline-item {
  position: relative;
  display: flex;
  margin-bottom: 40px;
  padding-left: 0;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-year {
  font-size: 24px;
  font-weight: bold;
  color: #000;
  width: 120px;
  flex-shrink: 0;
  text-align: right;
  padding-right: 20px;
  position: relative;
  z-index: 2;
}

.timeline-year::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 12px;
  width: 16px;
  height: 16px;
  background: #fff;
  border: 3px solid #000;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.timeline-item:hover .timeline-year::after {
  background: #000;
  box-shadow: 0 0 0 5px rgba(0, 0, 0, 0.3);
  transform: scale(1.2);
}

.timeline-content {
  flex: 1;
  padding-left: 40px;
  padding-top: 7px;
}

.timeline-title {
  font-size: 18px;
  font-weight: 600;
  color: #000;
  margin-bottom: 15px;
  margin-top: 0;
}

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

.timeline-list li {
  position: relative;
  padding-left: 0;
  margin-bottom: 10px;
  color: #333;
  line-height: 1.6;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .timeline::before {
    left: 60px;
  }
  
  .timeline-year {
    font-size: 20px;
    width: 50px;
    padding-right: 15px;
  }
  
  .timeline-year::after {
    right: -17px;
    top: 8px;
    width: 14px;
    height: 14px;
    border-width: 2px;
  }
  
  .timeline-content {
    padding-left: 25px;
  }
  
  .timeline-title {
    font-size: 16px;
  }
  
  .timeline-list li {
    font-size: 14px;
  }
}

/* portfolio custom css */

.portfolio-info-overlay {
  color: #fff;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
  z-index: 1;
}

.portfolio-info-overlay {
  opacity: 0;
}

.portfolio-item-image:hover .portfolio-info-overlay,
.portfolio-item-image:focus .portfolio-info-overlay {
  opacity: 1;
}

.portfolio-item-block-inside{
  background-color: #fff;
}
