/*
Theme Name: RiPro-V5子主题
Theme URI: https://ritheme.com/
Template: ripro-v5
Author: ritheme
Author URI: https://ritheme.com/
Description: RiPro-V5 子主题是 RiPro 主题的一个衍生版本，启用子主题前确保你的wp中有父主题riprov-5，它可以用于修改父主题文件以及实现其他美化功能，但需要具备一定的 WordPress 修改技能。您可以复制父主题中的所有 WP 模板文件以及 template-parts 和 page-templates 目录中的所有界面文件到子主题，进行修改和替换，而不影响父主题文件。这样，您可以创建一个完全属于自己的主题，满足您特定的需求，并且在父主题更新时也不会丢失您的修改。
Tags: custom-background,custom-logo,custom-menu,featured-images,threaded-comments,translation-ready
Version: 1.0.0
*/




/*--------------------------------------------------------------
/*	修改页布局
--------------------------------------------------------------*/

@media (min-width: 992px){
.col-lg-9 {
    width: 70%;
}   

.col-lg-3 {
    width: 30%;
}


}

.logo.regular {
    max-height: 40px;
}
/*	--------------------------------------------------------------*/

.h1, .h2, .h3, .h4, h1, h2, h3, h4{
    font-weight: 700;
}

/*.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6, p, input {*/
/*    font-family: HarmonyOS_M,PingFang SC,Hiragino Sans GB,Microsoft YaHei,STHeiti,WenQuanYi Micro Hei,Helvetica,Arial,sans-serif;*/
/*}*/


.entry-tags>a {
    background-color: #f8f8f8;
    color: #191a1f;
}



.btn-dark-soft {
    color: #595959;
    background-color: #F7F8F9;
}

/*-------------------------------------------------*/
.bth-custom-vip-1{
    color: #917938;
    background-color: #f1e2bb;
    transition: 0.3s;
}

.bth-custom-vip-1:hover{
    background: linear-gradient(96.27deg,#e7cb7d 3.33%,#fff0c9 45.52%,#efd696 85.13%,#ebca6f 109.28%);
    color: #6B2D00;
}

.custom-vip-dark-soft:hover .bth-custom-vip-1{
    background: linear-gradient(96.27deg,#e7cb7d 3.33%,#fff0c9 45.52%,#efd696 85.13%,#ebca6f 109.28%);
    color: #6B2D00;
}

/*-------------------------------------------------*/
.bth-custom-light-1{
    color: #595959;
    background-color: #eaeaea;
    transition: 0.3s;
}

.bth-custom-light-1:hover{
    color: #000000;
    background-color: #ececec;
}

.custom-dark-soft:hover .bth-custom-light-1{
    color: #000000;
    background-color: #ececec;
}

/*-------------------------------------------------*/
.custom-dark-soft ,.custom-dark-soft a{
    color: #595959;
    background-color: #F7F8F9;
    transition: 0.3s; 
}

.custom-dark-soft:hover,.custom-dark-soft:hover a{
    color: #fff;
    background-color: #191A1F;
}

.custom-vip-dark-soft ,.custom-vip-dark-soft a{
    color: #917731;
    background-color: #fbf8ef;
    transition: all 100ms ease-in; 
}

.custom-vip-dark-soft:hover,.custom-vip-dark-soft:hover a{
    color:#f9d681;
    background-color: #171111;
}

.custom-vip-dark-soft:hover .text-custom-vip-dark{
    color:#f9d681;
}


.bg-custom-vip {
    color:#f9d681;
    background-color: #171111;
    transition: all 300ms ease-in;  
}

.bg-custom-svip {
    color:#f9d681;
    background: #100531;
    transition: all 300ms ease-in;
    position: relative;
    overflow: hidden;  /* 添加此行来隐藏溢出的扫光效果 */
}

.bg-custom-svip::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    20% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

.bg-custom-svip:hover {
    cursor: pointer;
    background: linear-gradient(96.27deg,#e7cb7d 3.33%,#fff0c9 45.52%,#efd696 85.13%,#ebca6f 109.28%);
    color: #6B2D00;
}

.text-custom-vip-dark{
    color:#160B03;
}

.bg-Custom-Black {
    background-color: #232323;
}

.custom-px-4{
    padding: 1rem 3rem;
}

.custom-px-5{
    padding: 1rem 5rem;
    font-size: 1rem;
}


.custom-px-2 {
    padding: 1rem 2rem!important;
    font-size: 0.85rem;
}


.custom-px-1 {
    padding: 0.5rem 1rem!important;
    font-size: 0.85rem;
}

.custom-radius-1{
    border-radius: 1rem;
}

/*加载按钮*/
.px-5 {
    padding: 1rem 6rem!important;
    font-size: 0.85rem;
}




.custom-border-1{
    border: 1px solid gray;
}

.no-border{
  border: none;
}

.custom-bth-highlight{
    transition: all 200ms ease-out;
    color: #f9d681;
    background: #171111;
}

.custom-bth-highlight:hover{
    background: linear-gradient(96.27deg,#e7cb7d 3.33%,#fff0c9 45.52%,#efd696 85.13%,#ebca6f 109.28%);
    color: #736200;
}

.custom-bth-secondary{
    transition: all 200ms ease-out;
    background-color:#525FE1;
    color: #FFF6F4;
}

.custom-bth-secondary:hover{
    background-color:#1c2abb;
    color: #FFF6F4;
}

.custom-bth-balck{
    transition: all 200ms ease-out;
    background: #2c2c2c;
    color: #fff;
}

.custom-bth-balck:hover{
    background: #333333;
    color: #fff;
}

/*下载小工具圆角*/

.sidebar .widget {
    border-radius: 1rem;
    padding: 2rem;
}


.card{
    border-radius: 1rem;
    padding: 4rem;
}

.rounded {
    border-radius: 1rem !important;
}

.navbar {
    height: 100px;
}

.header-gap {
    height: 100px;
}

.site-header{
    -webkit-box-shadow: 0 0 30px rgba(0,0,0,.00); 
     box-shadow: 0 0 30px rgba(0,0,0,.00);
}

/*高亮色*/
.ri-notice {
    color: #fff;
    background:linear-gradient(90deg, #07C160, #07C160);
    top: 50%;
}

/*.navbar .nav-list{*/
/*    transition: all 200ms ease-out;*/
/*}*/
/*.navbar .nav-list a:hover{*/
/*    color: #000;*/
/*}*/
.navbar .nav-list>.menu-item.current-menu-item>a {
    color: #000;
}


.uc-page .uc-menu-warp .menu-item a{
    margin-bottom: 0.5rem;
}
.uc-page .uc-menu-warp .menu-item a:hover, .uc-page .uc-menu-warp .menu-item.current-menu-item a {
    color: #000;
    background-color: #F7F8F9;
    border-radius: 1rem;
}

/*.navbar .nav-list a {*/
/*    color: #595d69;*/
/*}*/


.archive-hero .archive-hero-bg {
    top: 0;

}

.post-item.item-list .entry-media {
    border-radius: 1rem;
}

.post-item.item-grid .entry-wrapper {
    padding: 20px 30px;
}


.post-item .entry-title {
    font-weight: 500;
}

.post-item .entry-desc, .post-item .entry-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
    height: 36px;
    line-height: 18px;
}

.post-item .entry-title {
    word-break: break-word;
}

.post-item {
    border-radius: 1rem;
}

.post-item:hover{
    box-shadow: 0 26px 40px -24px rgba(0, 36, 100, 0.3);
    -webkit-box-shadow: 0 26px 40px -24px rgba(0, 36, 100, 0.3);
}

.filter-warp {
    padding: 30px;
}

.archive-hero .archive-hero-bg::before {
    background: #181B29;
}

.post-content {
    margin: 1rem;
    font-size: 14px;
}

/*表格*/
.post-content table{
    width: 100% !important;
}


.archive-hero.post-hero .archive-hero-bg::before {
    background: #181B29;
}



.register-bg-white{
    background-color: rgba(255,255,255,0.8);
    backdrop-filter: blur(7px);
    border-radius: 1rem;
}

/*下载小工具*/

.ri-down-warp .down-buy-free .buy-title-free, .ri-down-warp .down-buy-warp .buy-title{
    color: #191A1F;
    font-weight: 400;
    font-size: 1.25rem;
}


/*下载按钮间距*/
 /*添加icon后注释*/
/*.buy-card{*/
/*    border-bottom: 1px solid #d5d5d5; */
/*    padding-bottom:1.5rem;*/
/*    margin-bottom: 2rem;*/
/*}*/

.buy-title-free{
    
    display: flex;
    justify-content: space-between;
}


.ri-down-warp .down-buy-free {
    text-align: start;
}



/*下载widget*/

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

.Down-flex {
    display: flex;
    flex-direction: column;
}

/*下载按钮圆角*/


.Down-item {
    display: flex;
    align-items: stretch;
    overflow: hidden;
  border-radius:1rem;
  margin-bottom: 0.5rem;
 }
 

.Down-button{
    flex: 1; 
    max-width: 100%;
    min-width: 0; 
    padding: 1rem;
    font-size: 0.85rem;
}

.Down-button {
    position: relative;
    padding-right: 1.25rem;
    padding-left: 1.25rem;
}

.Down-button span {
    display: inline-block;
    position: relative;
    transition: all 200ms ease-out;
    will-change: transform;
}

.Down-button.active span,
.Down-button:hover span,
.Down-button:focus span {
    transform: translate3d(-0.75rem, 0, 0);
}

.Down-button i {
    position: absolute;
    top: 50%;
    right: 0;
    width: 1.25em;
    font-size: 0.75rem;
    opacity: 0;
    transform: translateY(-50%);
    transition: all 200ms ease-out;
    will-change: right, opacity;
}

.Down-button.active i,
.Down-button:hover i,
.Down-button:focus i {
    opacity: 1;
    right: -1.5rem;
}



.Down-pwd{
    flex: 1; 
    max-width: 50%; 
    min-width: 0; 
    font-size: 0.85rem;
    padding: 1rem;
    border: none;
}

.Down-pwd {
    position: relative;
    padding-right: 1.25rem;
    padding-left: 1.25rem;
}

.Down-pwd span {
    display: inline-block;
    position: relative;
    transition: all 200ms ease-out;
    will-change: transform;
}

.Down-pwd.active span,
.Down-pwd:hover span,
.Down-pwd:focus span {
    transform: translate3d(-0.75rem, 0, 0);
}

.Down-pwd i {
    position: absolute;
    top: 50%;
    right: 0;
    width: 1.25em;
    font-size: 0.75rem;
    opacity: 0;
    transform: translateY(-50%);
    transition: all 200ms ease-out;
    will-change: right, opacity;
}

.Down-pwd.active i,
.Down-pwd:hover i,
.Down-pwd:focus i {
    opacity: 1;
    right: -1.5rem;
}


/*下载权限按钮*/
.ri-down-warp .down-buy-warp .prices-info {
    background: #fff;
}

.ri-down-warp .down-buy-warp .prices-info:before {
    display: none;
}

.ri-down-warp .down-buy-warp .prices-info .price-item.no:after {
    background-color: #cbcbcb;
}

.ri-down-warp .down-buy-warp .prices-info .price-item:after {
    border-color: #9d9d9d;
}

.ri-down-warp .down-buy-warp .prices-info .price-item.vip {
    color: #181B29;
}

.ri-down-warp .down-buy-warp .prices-info .price-item.vip:after {
    background-color: #181B29;
}

.ri-down-warp .down-buy-warp .prices-info .price-item {

    padding: 1px 0 10px 20px;
}
/*过滤菜单*/

.filter-warp{
    font-size: 0.85rem;
    
}

.filter-warp a{
    border-radius: 0.5rem;
    -webkit-transition: none;
    transition: all 200ms ease-out;
}

.filter-warp .filter-item .filter-link.active>a {
        color: #ffffff;
    background: #323a46;
}

.filter-warp .filter-item .filter-link:hover>a {
    color: #000;
    background: #F8F8F8;
}

.filter-warp .filter-item .filter-link.active>a::after,.filter-warp .filter-item .filter-link:hover>a::after {
    border-bottom: none;
}

.filter-warp .filter-item .filter-link>a {
    padding: 8px 16px;
}


/*特色图片tag*/

.post-iteminfo-grid{
    display: flex;
  flex-direction: row;
    position: absolute;
    width: 100%;
    height: 100%;
}


.post-tag-grid{
    align-self: flex-start;
    position: absolute;
    display: flex;
    flex: 0 0 auto;
  align-items: flex-start;
  padding: 1rem 1.3rem;
  font-size: .6rem;
}

.post-item-price {
    flex: 1;
    flex: 0 0 auto;
    color: #fff;
    margin-right: 0.5rem;
    padding: 0.2rem 0.75rem;
    border-radius: 1rem;
    background-color: rgba(50,58,70,0.2);
}


/*文章信息tag*/

.post-item:hover .post-info-ul li {
    background-color: #181B29;
}


.entry-meta-info{
    align-self: flex-end;
     position: absolute;
    display: flex;
    flex: 0 0 auto;
    align-items: flex-end;
    padding: 1rem 1.3rem;
    font-size: .6rem;
}
.post-info-ul ul {
    display: flex;
  list-style-type: none;
    margin-bottom: 0rem;
    padding-left: 0rem;
    margin-right: 10px;
}

.post-info-ul li {
  margin-right: 0.5rem;
  padding: 0.2rem 0.75rem;
  border-radius: 1rem;
  color: #fff;
  background-color: rgba(50,58,70,0.2);
}


/*文章分类和价格*/
.post-info-vip {
  margin-right: 0.5rem;
  padding: 0.2rem 0.75rem;
  border-radius: 1rem;
  color: #fff;
  background-color: rgba(50,58,70,0.2);
}


.entry_cat_grid{
    display: flex;
  justify-content: space-between;
}

.entry_cat_grid .entry-cat-dot{
    flex: 0 0 auto;
}

.entry-cat-price {
    flex: 0 0 auto;
    color: #a1a1a8;
    font-size: .75rem;
}


/*vip-card*/
.custom-vip-card {
  position: relative;
  width: 100%;       /*多卡设为auto*/
  border-radius: 2rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
  /*font-family: HarmonyOS_M, PingFang SC, Hiragino Sans GB, Microsoft YaHei, STHeiti, WenQuanYi Micro Hei, Helvetica, Arial, sans-serif;*/
}

.card_gray {
  background-color: #f3f3f3;
}

.vip-card-body {
  position: relative;
  display: flex;
  flex-direction: column;  /* 改变为垂直方向 */
  justify-content: space-between;  /* 现在会在垂直方向上均匀分布 */
  align-items: flex-start;  /* 让子元素靠左对齐，可以根据需要改为 center 或 flex-end */
  padding: 3rem;
  height: 100%;  /* 建议添加高度，这样 space-between 才能生效 */
}


.vip-card-right {
  display: flex;
  flex-direction: column;
  flex: 0.6;
}



.right-intro span {
  font-size: 2.5rem;
  font-weight: 500;
  white-space: nowrap;
  line-height:3rem;
}

.text-spacing{
  letter-spacing: 2px;  
}
.right-intro h4 {
    display: inline;
    font-size: 1.15rem;
    margin-left: 0.4rem;
}

.right-intro p {
  font-size: 0.85rem;
  font-weight: 400;
  margin-top: 0.75rem;
}


.right-btn-text {
  display: inline;
  padding: 1rem 2rem;
  font-size: 1.25rem;
  font-weight: 500;
  outline: none;
}



.vip-card-left {
  /*border-top: 1px solid rgb(153, 153, 153);*/
  flex: 0.75;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 200px;
}

.price-desc {
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.8rem;
  letter-spacing: 1px;
  list-style: none;
  display: inline;
}

.left-barcode {
  width: 60%;
  height: 30px;
  background: linear-gradient(to right, #595D69 0%, #595D69 20%, #ffffff00 20%, #ffffff00 40%, #595D69 40%, #595D69 50%, #ffffff00 50%, #ffffff00 70%, #595D69 70%, #595D69 90%, #ffffff00 90%, #ffffff00 100%);
  background-size: 7.5% 100%;
}



.uc-page .coin-pay-card.active, .uc-page .coin-pay-card:hover {
    border: 2px solid #595d69;
}

.uc-page .coin-balance-body{
    background: #FFFFFF;
}

.uc-page .coin-balance-body .balance-info {
    color: #595d69;
}


.uc-page .coin-pay-card {
    border: 2px solid rgba(0,0,0,0);
    border-radius: 0.5rem;
    background: #F7F8F9;
}



/*评论框表单*/

.uc-page .vip-cdk-body form {
    max-width: 500px;
}

.form-control {
    padding: 1rem 0.75rem;
}

#captcha-img {
    max-height: 55px;
    max-width: 120px;
}


#comments .comment-reply-title {
    display: flex;
    align-items:center;
    background-color: rgba(214,41,62,0);
}


.emoji-button-comments{
    margin-right: 10px;
    font-size: 25px;
}

#comments .comment-form input[type=text],#comments .comment-form textarea {
    border-radius: 0.5rem;
}


#comments .form-submit input[type=submit] {
    padding: 0.5rem 1rem;
}

#comments .comment-form .comment-form-author, #comments .comment-form .comment-form-email, #comments .comment-form .comment-form-url {
    width: calc(50% - 10px);
    /*float: left;*/
}



/*用户信息卡片*/

.navbar .action-hover-menu .hover-info {
    background: #fff;
}

.navbar .action-hover-menu .hover-item .hover-link>a>i{
    margin: 0.5rem;
}

.navbar .action-hover-menu .abstop-item {
    padding: 2rem;
}

#comments .comments-list .comment .comment-author img.avatar {
    border-radius: 30%;
    border: 3px solid rgba(0,0,0,.1);
}

.avatar {
    height: 3rem;
    width: 3rem;
    
}

.avatar-img{
    width: auto;
}
.avatar img, svg {
    max-width: 4rem;
}


#comments .form-submit {
    margin-top: 0.5rem;
}
/*自定义分类列表*/

ul.custom-suball {
  font-size: 12px;
}

.zi_filter {
    background-color: #f8f8f8;
    border-radius: 1rem;
}

.filter-warp .filter-item{
    margin: 0.5rem -1rem 0 -1rem;
    border-bottom: 0px dashed rgba(25,26,31,0);
        padding: 8px 1rem;
}


/*自定义分类grid-rect布局*/
.post-item.item-grid.grid-rect .entry-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    -webkit-transition: all .2s ease-out;
    transition: all .2s ease-out;
}

.post-item.item-grid.grid-rect .entry-wrapper a {
    color: #595d69
}

.post-item.item-grid.grid-rect:hover .entry-title {
    display: block
}

.post-item.item-grid.grid-rect:hover .entry-title a {
    color: #ffa301
}

.grid-rect-img {
    padding: 4.5rem 6.5rem 8rem 6.5rem;
}

.grid-rect-entry-title {
    font-size: .95rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;    /* 添加此行来居中文本 */
}



.grid-rect-entry-desc {
    white-space: nowrap;     /* 确保文本不会换行 */
    overflow: hidden;        /* 超出容器的内容被隐藏 */
    text-overflow: ellipsis; /* 当文本超出容器时显示省略号 */
    text-align: center;    /* 添加此行来居中文本 */
    color: #a1a1a8;
    margin-top: 4px;
    font-size: .75rem;
}

/*grid-rect主图去背景*/
.post-item .entry-media .media-img {
    background-color: rgba(161,161,168,0);
}

.outer-container {
    position: relative;  /* 使内部的 <a> 标签相对于此定位 */
}

.link-cover {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10;  /* 确保链接位于其他内容的上方 */
}

.article-icon {
    width:100px;
    height: 100px;
}

/*评论区修改*/
#comments .comments-list .comment .children {
    border-top: 1px solid rgba(161,161,168,.3); 
    margin-left: 3rem;
    background-color: rgba(161,161,168,0);
    border-radius: .3rem;
    padding: .5rem;
    padding-top: 1.5rem;
    margin-top: 1rem
}

/*文章调用标签*/
.custom-tags {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.custom-tags li {
    display: inline-block;
    margin-right: 10px;
    color: #fff;
}

.custom-tags li a {
    background-color: #f2f2f2;
    border-radius: 5px;
    padding: 5px 10px;
    text-decoration: none;
    color: #fff;
}

.custom-tags li a:hover {
    background-color: #eaeaea;
}

/*文章主图标签*/
.post-item .tips-badge {
    font-size: 0.65rem;
}

