.mod_vilex {
   padding: 50px 0;
}
.mod_vilex * {
    box-sizing: border-box;
}
.home .mod_vilex .container {
    padding: 0;
}
.bar {
    display: flex;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;
    margin: .5rem 0 1rem
}
.bar .btn {
    flex: 1 1 auto;
    height: 42px;
    line-height: 20px;
}
input[type=text] {
    padding: .5rem .6rem;
    border: 1px solid #ccc;
}

button {
    padding: .5rem .8rem;
    border: 1px solid #002f74;
    background: #002f74;
    color: #fff;
    cursor: pointer
}

.tags {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    margin: .25rem 0
}

.tag {
    border: 1px solid #ddd;
    border-radius: 999px;
    padding: .25rem .6rem;
    background: #fff;
    text-decoration: none;
    color: #111;
    font-size: .92rem
}
.tag:hover,
.tag.active {
    background: #002f74;
    color: #fff;
    border-color: #002f74
}
.jumpto {
    margin: 20px 0;
    padding: 30px 0;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    border-bottom: 1px solid #ccc;
}
.jumplink {
    border: 1px solid #002f74;
    padding: .25rem .6rem;
    background: #fff;
    text-decoration: none;
    color: #002f74;
    font-size: .92rem;
}
.taglist  {
    margin-top: 40px;
}
.tags-grouped .tag-letter {
  margin: 1.25rem 0 .5rem;
  font-size: 30px;
  padding-bottom: .25rem;
}

.tag-letter-group {
 column-count: 4;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid #ccc;
}
.tag-letter-group .tagitem {
 display: block;
 padding: 5px 0;
 color: #111
}
.tag-letter-group .tagitem:hover {
 color: #002f74;
}


.grid {
    display: flex;   
    gap: 30px;
    flex-wrap: wrap;
}

.card {
    background: #fff;
    border: 1px solid #e7e7ec;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
    padding-bottom: 70px;
    position: relative;
    border-radius: 0;
    flex: 0 0 calc(33.333% - 20px);
}
.card h3 {
    padding: 15px;
    font-size: 20px;
}

.card a:has(>button) {
    position: absolute;
    bottom: 20px;
    left: 15px;
    width: calc(100% - 30px);
}

.card img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: #ddd
}
.card button {
    width: 100%;
    display: block
}
.meta {
    display: none;
}
.muted {
    color: #666
}

.pagination {
    margin-top: 20px
}

.pagination a,
.pagination span {
    display: inline-block;
    margin: 0 .15rem;
    padding: .4rem .75rem;
    border: 1px solid #ddd;
    background: #fff;
    text-decoration: none;
    color: #111;
}

.pagination .current {
    font-weight: bold;
    background: #002f74;
    color: #fff;
    border-color: #002f74;
}

.chapters {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    margin: .75rem 0
}

.transcript {
    list-style: none;
    padding: 0;
    margin: .5rem 0 1rem;
}

.transcript li {
    margin: .25rem 0;
}

.transcript button {
    background: transparent;
    border: 0;
    color: #111;
    text-align: left;
    padding: .25rem .4rem;
    cursor: pointer;
}

.transcript button:hover {
    background: #f0f0f3;
}

.stamp {
    display: inline-block;
    min-width: 60px;
    font-variant-numeric: tabular-nums;
}
.vilex-latest {
    background-color: #ebebeb;
    padding: 50px 50px 20px;
   

}
.vilex-latest .item {
    padding: 6px;
}

.vilex-latest h3 {
    padding: 0;
    min-height: 63px;
}
.owl-item .card .btn {
    left: 0px;
    width: 100%;
}
.vilex-latest .card {
     background-color: #ebebeb;
      box-shadow: none;
    border: 0;
    padding-bottom: 0;
}

.vilex-latest img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}

.vilex-latest h4 {
    margin: 10px 0;
    font-size: 1rem;
    line-height: 1.3;
    min-height: 60px;
}

.vilex-latest a.btn {
    display: inline-block;
    padding: .35rem .7rem;
    background: #002f74;
    color: #fff;
    text-decoration: none;
}
.vilex-latest .owl-nav {
       position: absolute;
    top: 50%;
    width: calc(100% + 104px);
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    left: -52px; 
}

.mod_vilex form {
    width: calc(66% - 2px);
}

.mod_vilex form input[type=text] {
    width: calc(100% - 84px);
}
#longdesc h2 {
    text-align: center !important;
    border-bottom: 1px solid #fff;
    padding-bottom: 25px;
    font-size: 30px;
}
@media(max-width: 1200px) {
    .tag-letter-group {
        column-count: 3;
    }
}
@media(max-width: 1100px) {
    .vilex-latest {
        padding: 30px 30px 0;
    }
    .vilex-latest .owl-nav {
        display: none;
    }
}
@media(max-width: 991px) {
    .tag-letter-group {
        column-count: 2;
    }
   .grid .card {
    flex: 0 0 calc(50% - 20px);
}
.mod_vilex form {
    width: 100%;
}}

@media(max-width: 768px) {
    .owl-carousel .owl-item img {
    display: block;
    width: 100%;
    height: auto;
}
   .grid .card {
    flex: 0 0 100%;
}
.grid .card img {
    height: auto;
    width: 100%;
}
}

@media(max-width: 575px) {
     .tag-letter-group {
        column-count: 1;
    }
.tag {
    flex: 0 0 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    border-radius: 0;
    gap: 20px;
    padding: 0 0 0 10px;
        line-height: 1.3rem;
}
.tag span {
    background-color: #f5f5f5;
    padding: 10px;
    flex: 0 0 80px;
    text-align: center;
    height: 100%;
    display: inline-flex;
    align-items: center;
}
.tag .line {
    display:none
}
}
