#MainPage .cerceve, #MainPage .cerceve *, #MainPage .category-nav, #MainPage .category-nav * {
    box-sizing: border-box;
}
#MainPage .columnrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border: 0;
    width: 100%;
}
#MainPage .rowc {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    border: 0;
    overflow: hidden;
    border-radius: 7px;
    box-sizing: border-box;
}
#MainPage .category-nav {
    border: 0;
    display: flex;
    justify-content: center;
    gap: 4px;
    flex-wrap: wrap;
    width: 100%;
}
#MainPage .category-btn {
    padding: 8px 14px;
    text-decoration: none;
    color: #333;
    border: 1px solid #e4e2e2;
    border-radius: 6px;
    background-color: white;
    transition: all 0.25s ease;
}
#MainPage .category-btn:hover, #MainPage .category-btn.active {
    background-color: #f7f7f7;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    text-decoration: none;
}
#MainPage .category-btn.active {
    color: var(--kp-red,#8b0000);
    font-weight: bold;
    border-color: var(--kp-red,#8b0000);
}
#MainPage .cerceve {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    width: 100%;
    height: auto;
    border: 0;
    padding: 10px 0 0;
}
#MainPage .swiperone {
    height: auto;
    width: 100%;
    min-height: 54px;
    overflow: hidden;
    border-top: 1px solid lightblue;
    border-bottom: 0;
    font-family: -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
    font-size: 22px;
}
#MainPage .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
#MainPage .basla {
    text-align: center;
    font-size: 20px;
    width: 100%;
    color: black;
    font-weight: bold;
    text-decoration: none;
    overflow: hidden;
    margin-top: 0;
    text-indent: 0;
    padding: 10px 16px 0 16px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    max-width: 100%;
    word-wrap: break-word;
    line-height: 1.25;
}
#MainPage .basla:hover {
    text-decoration: none;
}
#MainPage .swanapage {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: auto;
    position: relative;
    padding: 8px 0 0;
}
#MainPage #paginate {
    position: static;
    text-align: center;
    transition: .3s opacity;
    transform: translate3d(0,0,0);
    z-index: 1;
    margin-top: 12px;
}
#MainPage .swiper-pagination-bullet {
    width: 34px;
    height: 31px;
    text-align: center;
    line-height: 29px;
    font-size: 16px;
    color: #000;
    opacity: 1;
    background: white;
    transition: background-color 0.35s ease,color 0.35s ease;
    background-color: #d1dafc;
    border-radius: 4px;
    border: 0.5px outset gray;
    box-shadow: 3px 3px 10px rgba(0,0,0,0.18);
}
#MainPage .swiper-pagination-bullet-active {
    color: #fff;
    background: darkred;
    line-height: 30px;
    font-weight: bold;
    border: 0.5px outset darkred;
}
#MainPage .swiper-pagination-bullet:hover {
    background: rgba(0,0,0,1);
    color: white;
}
#MainPage .swiper-button-prev, #MainPage .swiper-button-next {
    margin-top: 0;
    width: 40px;
    height: 40px;
    transform: translateY(-50%);
    top: 50%;
}
#MainPage .swiper-button-prev {
    left: 6px;
}
#MainPage .swiper-button-next {
    right: 6px;
}
#MainPage ul.swiper-wrapper {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
#MainPage .swpimage {
    display: block;
    width: 100%;
    max-width: 760px;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    border: 0;
    padding-bottom: 0;
    margin: 0 auto;
}
#MainPage .swipertwo {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-bottom: 1px solid lightblue;
    max-width: 100%;
    width: 100%;
    min-height: 90px;
    font-family: -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
    font-size: 20px;
    overflow: hidden;
    padding-top: 8px;
}
#MainPage .ayazi {
    padding: 0 14px 10px 14px;
    text-indent: 0;
    color: black;
    text-decoration: none;
    list-style-type: none;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    margin: 0;
    line-height: 1.45;
    max-height: calc(1.45em * 3);
    text-align: center;
}
#MainPage .azz {
    width: 100%;
    display: flex;
    justify-content: center;
}
#MainPage .ayazi:hover {
    text-decoration: none;
}
body.dark-mode #MainPage .category-btn {
    background: #232323 !important;
    color: #eaeaea !important;
    border: 1px solid #3a3a3a !important;
}
body.dark-mode #MainPage .category-btn.active {
    background: linear-gradient(135deg,#e50914,#3a0000) !important;
    color: #fff !important;
    border-color: transparent !important;
}
body.dark-mode #MainPage .category-btn:hover:not(.active) {
    background: #2e2e2e !important;
}
body.dark-mode #MainPage .basla, body.dark-mode #MainPage .ayazi {
    color: #f0f0f0 !important;
}
body.dark-mode #MainPage .swiper-button-prev, body.dark-mode #MainPage .swiper-button-next {
    filter: invert(1) contrast(1.2);
}
body.dark-mode #MainPage .swiper-pagination-bullet {
    background: #bbb;
    opacity: .85;
    color: #111;
}
body.dark-mode #MainPage .swiper-pagination-bullet-active {
    background: #fff;
    color: #000;
}
@media (max-width:991px) {
    #MainPage .rowc {
        max-width: 100% !important;
        padding: 0 12px;
    }
    #MainPage .cerceve {
        height: auto !important;
    }
    #MainPage .swiperone {
        height: auto !important;
        min-height: 48px;
        font-size: 18px !important;
        padding: 6px 0;
    }
    #MainPage .basla {
        font-size: 18px !important;
        padding: 8px 10px 0 10px;
    }
    #MainPage .swanapage {
        height: auto !important;
        width: 100%;
    }
    #MainPage .swpimage {
        width: auto !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: 420px !important;
        object-fit: contain !important;
        object-position: center center !important;
        background: transparent !important;
        padding-bottom: 0 !important;
    }
    #MainPage .swiper-button-prev, #MainPage .swiper-button-next {
        transform: translateY(-50%) scale(.85);
    }
    #MainPage .swiper-button-prev {
        left: 8px !important;
    }
    #MainPage .swiper-button-next {
        right: 8px !important;
    }
    #MainPage #paginate {
        position: static !important;
        margin-top: 12px;
    }
    #MainPage .swiper-pagination-bullet {
        width: 30px !important;
        height: 30px !important;
        line-height: 30px !important;
        font-size: 15px !important;
        margin: 0 3px !important;
    }
    #MainPage .swipertwo {
        height: auto !important;
        font-size: 16px !important;
        padding-top: 10px;
    }
    #MainPage .ayazi {
        min-height: auto !important;
        margin: 0 !important;
        padding: 0 10px 12px 10px !important;
        font-size: 16px !important;
        line-height: 1.5 !important;
        -webkit-line-clamp: 4;
    }
}
@media (max-width:768px) {
    #MainPage .category-nav {
        gap: 2px;
    }
    #MainPage .swpimage {
        width: auto !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: 260px !important;
        object-fit: contain !important;
        object-position: center center !important;
        background: transparent !important;
    }
    #MainPage .swiper-button-prev, #MainPage .swiper-button-next {
        transform: translateY(-50%) scale(.70);
    }
}
#MainPage .swanapage, #MainPage .swanapage .swiper-wrapper, #MainPage .swanapage .swiper-slide {
    background: transparent !important;
}
#MainPage .swanapage .swpimage {
    object-fit: contain !important;
    object-position: center center !important;
    background: transparent !important;
}
#MainPage .category-nav {
    gap: 2px !important;
    margin: 0 0 2px !important;
    padding: 0 !important;
}
#MainPage .cerceve {
    padding-top: 0 !important;
}
#MainPage .swiper-wrapper {
    position: relative;
    width: 100%;
}
#MainPage .swslide {
    width: 100%;
    max-width: 760px;
    aspect-ratio: 16/9;
    min-height: 1px;
    margin: 0 auto;
    overflow: hidden;
}
#MainPage .swslide>.swiper-slide {
    width: 100%;
    height: 100%;
}
#MainPage .swslide .swpimage {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
#MainPage .swiper-wrapper>.swiper-slide {
    display: none!important;
    opacity: 0;
}
#MainPage .swiper-wrapper>.swiper-slide.kp-slide-active {
    display: flex!important;
    opacity: 1;
}
#MainPage .swiper-wrapper>.swiper-slide.kp-slide-active:not(:first-child) {
    animation: none;
}
#MainPage .swiper-button-prev, #MainPage .swiper-button-next {
    position: absolute;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: #087cf0;
    cursor: pointer;
    padding: 0;
}
#MainPage .swiper-button-prev::after, #MainPage .swiper-button-next::after {
    font-size: 58px;
    font-weight: 300;
    line-height: 1;
}
#MainPage .swiper-button-prev::after {
    content: '‹';
}
#MainPage .swiper-button-next::after {
    content: '›';
}
#MainPage .swiper-pagination-bullet {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 3px;
    padding: 0;
    cursor: pointer;
}
#MainPage .swiper-button-prev:focus-visible, #MainPage .swiper-button-next:focus-visible, #MainPage .swiper-pagination-bullet:focus-visible {
    outline: 3px solid #ffbf47;
    outline-offset: 3px;
    background-color: #fff;
    color: #111;
}
#MainPage #paginate {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 31px;
}
#MainPage .swipertwo {
    height: 110px;
    min-height: 110px;
}
@media (max-width:991px) {
    #MainPage #paginate {
        min-height: 30px;
    }
    #MainPage .swipertwo {
        height: 122px!important;
        min-height: 122px!important;
    }
}
