.img-sm{
    width: 1.5rem;
}

.category-section-16 .icon img, .category-item-18 .icon img{
    width:50px;
    height:50px;
}

.category-wrap-16-4repeat {
    grid-template-columns: repeat(4, 1fr);
}

.cat-item.active .shape {
    visibility: visible;
    opacity: 1;
}


@media only screen and (max-width: 992px) {
    .category-wrap-16-4repeat {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width: 767px) {
    .category-wrap-16-4repeat {
        grid-template-columns: 1fr;
    }
}




/* static page */
#ipc-intro .badge.bg-primary-subtle { background: #eef4ff; }
#ipc-intro .badge.bg-success-subtle { background: #e9f7ef; }
#ipc-intro .badge.bg-warning-subtle { background: #fff7e6; }
#ipc-intro .badge.bg-danger-subtle   { background: #ffeef0; }
#ipc-intro .badge.bg-secondary-subtle{ background: #f2f4f6; }
[dir="rtl"] .accordion-button::after { margin-left: 0; margin-right: auto; }


.history-section .section-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--ed-color-theme-primary);
    margin-bottom: 20px;
    position: relative;
}
.history-section .section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--ed-color-theme-primary);
    left: 0;
    bottom: -5px;
    border-radius: 3px;
}
.history-section .card ul{
    margin-right: 1rem;
}
.history-section .card {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    margin-bottom: 20px;
    transition: transform 0.2s;
}
.history-section .card:hover {
    transform: translateY(-5px);
}
.history-section .highlight {
    color: var(--ed-color-theme-primary);
    font-weight: bold;
}
.history-section .accordion-button:focus {
    box-shadow: none;
}



.sports-section .accordion-button {
    font-weight: bold;
    font-size: 1.1rem;
}
.sports-section  ul.accordion {
    list-style: none;
}
.sports-section .accordion-body ul {
    padding-left: 1.2rem;
}
.sports-section .accordion-body li {
    margin-bottom: 0.5rem;
}
.sports-section .btn-outline-info {
    border-color: var(--ed-color-theme-primary) !important;
    color: var(--ed-color-theme-primary) !important;
}
.sports-section h1,.sports-section  h2 {
    color: var(--ed-color-theme-primary);
}

.footer-social {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 6px;
    align-items: center;
}
.footer-social li a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    font-size: 20px;
    color: #fff;
    text-decoration: none;
}

.footer-social li a img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

#otp-timer {
    font-size: 1.2rem;
    color: #333;
    transition: color 0.5s ease;
}

#otp-timer.warning {
    color: red;
}

#resend-container {
    transition: opacity 0.5s ease, transform 0.5s ease;
}

#resend-container.show {
    opacity: 1;
    transform: translateY(0);
}

#resend-container.hide {
    opacity: 0;
    transform: translateY(-10px);
}



.contact-social {
    background: var(--ed-color-theme-primary);
}
.contact-social ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 6px;
    align-items: center;
}

.contact-social a {
    display: flex
;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    font-size: 30px;
    color: #fff;
    text-decoration: none;
}

.contact-social li img {
    width: 30px;
}

.slider-content-wrap {
    padding: 0px !important;
    min-height: 500px;
    align-items: center;
    display: flex;
}
.preview img {
    max-width: 150px;
    max-height: 150px;
    border-radius: 12px;
    margin: 5px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.preview .file-item {
    display: inline-block;
    position: relative;
}
.preview .file-item span {
    display: block;
    font-size: 12px;
    text-align: center;
    margin-top: 4px;
    color: #666;
}



.post-inner-2:last-of-type{
    margin-bottom: 0px !important;
}
.pagination-wrap:not(:has(li)){
    margin-top: 0px !important;
}

.ul-contents a{
    display: contents;
}

.clamp-2{
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3.5rem;
}

.clamp-3{
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 4.5rem;
}
