/* extra css */
[aria-hidden="true"] {
    display: none!important;
    visibility: hidden;
    opacity: 0;
}

blockquote {
    font-size: .8rem;
    background-color: var(--bs-soft-sky);
    padding: .5rem 1rem;
    border-bottom-right-radius: 8px;
    border-top-right-radius: 8px;
}

blockquote p {
    margin-bottom:0;
}

.w25 {
    width:25%!important;
}

.w33 {
    width:33%!important;
}

.w50 {
    width:50%!important;
}

.lang-item a {
    display: block;
    width: 100%;
    padding: var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);
    clear: both;
    font-weight: 500;
    color: var(--bs-dropdown-link-color);
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    border-radius: var(--bs-dropdown-item-border-radius, 0);
    letter-spacing: normal;
    font-weight: 700;
}

.resource-title {
    margin: 0;
    padding: 0;
    text-overflow: ellipsis;
    display: block;
    width: 80%;
    overflow-x: hidden;
    white-space: nowrap;
}

.home .card-img-top,
.blog .card-img-top {
    position: relative;
    width: 100%;
    padding-top: 62.5%;
    overflow: hidden;
}

.home .card-img-top img,
.blog .card-img-top img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
}

.home .overlay,
.blog .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.blog-grid-view-title {
    display: block;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.infinitescroll-loading {
    display: none;
    text-align: center;
}

.infi-loader {
    width: 120px;
    height: 22px;
    border-radius: 20px;
    color: var(--bs-navy);
    border: 2px solid;
    position: relative;
    margin: 0 auto;
}

.infi-loader::before {
    content: "";
    position: absolute;
    margin: 2px;
    inset: 0 100% 0 0;
    border-radius: inherit;
    background: currentColor;
    animation: infi 2s infinite;
}

@keyframes infi {
    100% {
        inset: 0
    }
}

.likes.processing {
    opacity: 0.7;
    pointer-events: none;
}
.likes.pulse {
    animation: pulse 0.6s ease-in-out;
}
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* 动画元素样式 */
.floating-elements1 {
  opacity: 0;
  animation: 
    Blur .5s ease-in .5s forwards,
    float 6s ease-in-out 1.5s infinite;
}

.floating-elements2 {
  opacity: 0;
  animation: 
    Blur .5s ease-in .5s forwards,
    float 9s ease-in-out 1.5s infinite;
}

.floating-elements3 {
  opacity: 0;
  animation: 
    Blur .5s ease-in .5s forwards,
    float 8s ease-in-out 1.5s infinite;
}

.floating-elements4 {
  opacity: 0;
  animation: 
    Blur .5s ease-in .5s forwards,
    float 7.5s ease-in-out 1.5s infinite;
}

.floating-elements5 {
  opacity: 0;
  animation: 
    Blur .5s ease-in .5s forwards,
    float 8.5s ease-in-out 1.5s infinite;
}

.floating-elements6 {
  opacity: 0;
  animation: 
    Blur .5s ease-in .5s forwards,
    float 6.5s ease-in-out 1.5s infinite;
}

.floating-elements7 {
  opacity: 0;
  animation: 
    Blur .5s ease-in .5s forwards,
    float 7s ease-in-out 1.5s infinite;
}

.blurIn {
  opacity: 0;
  animation: BlurIn .5s ease-in .5s forwards;
}

@keyframes Blur {
  from {
    opacity: 0.5;
    filter: blur(10px);
  }
  to {
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes BlurIn {
  from {
    opacity: 0.6;
    filter: blur(10px);
  }
  to {
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-30px);
  }
}

.project-meta li {
    align-items: center;
    display: flex;
    justify-content: flex-start;
    column-gap: .25rem;
}

.project-meta li .likes {
    align-items: center;
    display: flex;
    column-gap: .25rem;
}

.project-meta li .likes:hover {
    opacity: 0.7;
}

.project-gallery {
    max-height:600px;
}

/* 懒加载容器 */
.elegant-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

/* 占位符 */
.elegant-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    z-index: 1;
}

/* 进度条容器 */
.elegant-progress-container {
    width: 40px;
    height: 40px;
    position: relative;
}

/* 加载文字 */
.elegant-loading-text {
    color: #666;
    font-size: 14px;
    margin: 0;
    text-align: center;
    direction: ltr !important;
    unicode-bidi: normal !important;
}

/* 图片样式 */
.elegant-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 2;
}

/* 缩放效果 */
.elegant-blur-effect {
    filter:blur(10px);
}

.elegant-blur-loaded {
    filter:blur(0);
    transition: .3s all;
}

/* 错误状态 */
.elegant-error {
    background: #ffe6e6 !important;
    color: #d32f2f;
}

.elegant-error-content {
    text-align: center;
}

.elegant-error-icon {
    font-size: 24px;
    margin-bottom: 10px;
}

.elegant-error-message {
    color: #d32f2f;
    font-size: 14px;
    margin: 0 0 5px 0;
}

.elegant-error-url {
    color: #999;
    font-size: 12px;
    word-break: break-all;
}

.card-img-top .elegant-image-container {
    overflow: hidden;
    border-radius: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.card-img-top .elegant-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    z-index: 3;
}

.card-img-top .elegant-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    z-index: 2;
}

figure.overlay .elegant-image-container img {
    height:100%!important;
}

.post-meta li:before {
    margin:0 0.4rem 0;
}

/* single down */
figure.single-down {
    width: 100%;
    height: 450px;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
figure.single-down img {
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
}
.swiper.single-down .swiper-slide {
    max-height: 120px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.swiper.single-down .swiper-slide img {
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
}
.blog .single-post-body .post-content {
    color:#555;
}
.blog .single-post-body .post-content a {
    transition:.3s all;
}
.blog .single-post-body .post-content a:hover {
    opacity:0.7;
}
.wp-singular .pointing {
    position: absolute;
    bottom: 14%;
    left: 17%;
    transform: rotate(90deg);
    scale: 1.3;
}

.btn.btn-expand svg {
    position: absolute;
    z-index: 2;
    width: 1.25rem;
    height: 1.25rem;
    left: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-white);
    font-size: calc(1.26rem + .12vw);
    transition: all .45s cubic-bezier(.65, 0, .076, 1);
}
.btn.btn-expand:hover svg {
    left: 1.05rem;
}

.logo-class {
    max-height:2rem;
    fill:#fff;
}
.uc-page .logo-class {
    fill:var(--bs-primary);
}
.home .logo-class,
.navbar-stick .logo-class {
    fill:var(--bs-primary);
}
.navbar-unstick .logo-class {
    fill:#fff;
}
.uc-page .navbar-unstick .logo-class {
    fill:var(--bs-primary);
}

#single-comments .author-info {
    flex-wrap:wrap;
}
#single-comments ul.post-meta {
    flex-basis: 100%;
}

.down-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.down-links a.single-down-link {
    min-width:151px;
}

#comment {
    background: url(/wp-content/themes/v5-child/assets/svg/logo.svg) no-repeat 98% 90%;
    background-size: 10%;
    line-height: 1.5;
    max-height: 150px;
}
/* ==================== 支付弹窗样式 ==================== */
.gxt-pay-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,.5);
    z-index: 99998;
    display: none;
}
.gxt-pay-modal {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,.2);
    z-index: 99999;
    display: none;
    max-height: 80vh;
    overflow-y: auto;
}
.gxt-pay-close {
    position: absolute;
    top: 8px; right: 12px;
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    z-index: 1;
    line-height: 1;
}
.gxt-pay-close:hover { color: #333; }
.gxt-pay-modal-body {
    padding: 24px;
}
.pay-select-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.pay-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all .2s;
}
.pay-item:hover {
    border-color: #6366f1;
    background: #f8f9ff;
}
.pay-item input[type="radio"] { margin: 0; }
.pay-item i { font-size: 20px; color: #6366f1; }
.pay-name { font-weight: 600; font-size: 14px; }
.pay-desc { font-size: 12px; color: #999; margin-left: auto; }
/* 提示消息 */
.gxt-pay-notice {
    position: fixed;
    top: 80px; left: 50%;
    transform: translateX(-50%);
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    z-index: 999999;
    display: none;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    max-width: 400px;
    text-align: center;
}
.gxt-notice-info { background: #e0f2fe; color: #0369a1; }
.gxt-notice-success { background: #dcfce7; color: #15803d; }
.gxt-notice-error { background: #fef2f2; color: #dc2626; }
.gxt-notice-warning { background: #fefce8; color: #ca8a04; }
