.categories {
    padding-top: 2rem;
}

.categories--wrapper {
    display: flex;
    justify-content: space-between;
}

.categories--main {
    width: 66.66%;
}

.categories--aside {
    width: calc(33.33% - 15px);
}

.categories--main_swiper_container {
    background-color: #fff;
}

.news--headline_img {
    width: 750px;
    height: 430px;
    object-fit: cover;
}

.categories--news_title{
    padding: 1rem .75rem;
    height: 96px;
}

.categories--news_title h3 {
    margin: 0;
    font-size: 1.5rem;
    line-height: 2rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.categories--headline_swiper_pagination{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 48px;
    margin-bottom: .75rem;
}

.categories--swiper_bullet{
    width: 3.5ch;
    height: 3.5ch;
    opacity: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #222;
    background-color: #fff;
    border-radius: 3px;
    font-weight: 700;
    font-size: 1rem;
}

.categories--swiper_bullet.swiper-pagination-bullet-active{
    background-color: #d00;
    color: #fff;
}

.categories_swiper_navigation{
   position: absolute;
   top: 203px;
   display: flex;
   justify-content: space-between;
   width: 100%;

}
.categories_swiper_prev,.categories_swiper_next{
   z-index: 9;
   fill: white;
   cursor: pointer;
   margin: 0 .5rem;
}



.categories--aside_news_wrapper{
   display: flex;
   flex-direction: column;
   justify-content: space-between;
   height: 100%;
}

.categories--aside_news_img-big{
   width: 360px;
   height: 200px;
   object-fit: cover;
}

.categories--aside_news_text-big{

   background-color: #fff;
   padding: .5rem .75rem 1rem .75rem;
   height: 96px;
}

.categories--aside_news_text-big h3{
   margin: 0;
   overflow: hidden;
   text-overflow: ellipsis;
   display: -webkit-box;
   -webkit-line-clamp: 3;
   -webkit-box-orient: vertical;
   font-size: 1.25rem;
   line-height: 1.5rem;
}

.categories--aside_news_item-sm{
   background-color: #fff;
   padding: .5rem;
}

.categories--aside_news_figure-sm{
   display: flex;
}

.categories--aside_news_img-sm{
   width: 180px;
   height: 110px;
   object-fit: cover;
}

.categories--aside_news_text-sm{
   height: calc(110px - .5rem);
   padding-top: .5rem;
   display: flex;
   align-items: center;
}

.categories--aside_news_text-sm h3{
   overflow: hidden;
   text-overflow: ellipsis;
   display: -webkit-box;
   -webkit-line-clamp: 4;
   -webkit-box-orient: vertical;
   margin: 0;

   font-size: 1rem;
   line-height: 1.5rem;
   font-weight: 700;
}

.categories--quad_news{
   margin-top: 2rem;
   background-color: #fff;
   padding: 1.5rem 0;
}

.categories--quad_news_wrapper{
   display: flex;
   justify-content: space-between;
}

.categories--quad_news_item{
   width: 261px;
   border: 1px solid #ccc;
}

.categories--quad_news_item a{
   display: block;
   width: 260px;
}

.categories--quad_news_img{
   width: 260px;
}

.categories--quad_news_text{
   padding:.75rem .5rem .75rem .5rem;
   height: 92px;
}

.categories--quad_news_text h3{
   margin: 0 0 .75rem 0;

   font-size: 1.25rem;
   line-height: 1.75rem;
}

.categories--grid_news{
   margin-top: 4rem;
}

.categories--grid_news_wrapper{
   display: flex;
   flex-wrap: wrap;
   justify-content: space-between;
}
.categories--grid_news_item{
   background-color: #fff;
}


.categories--grid_news_wrapper .categories--grid_news_item:not(:nth-last-child(-n+3)){
   margin-bottom: 1.5rem;
}

.categories--grid_news_item a{
   display: block;
   width: 356px;
   border: 1px solid #ccc;
}


.categories--grid_news_img{
   width: 355px;
   height: 204px;
   object-fit: cover;
}
.categories--grid_news_text{
   padding: .75rem .5rem;
   height: 108px;

}
.categories--grid_news_text h3{
   margin: 0;

   font-size: 1.25rem;
   line-height: 1.75rem;
   font-weight: 700;
}

.categories--list{
   margin-top: 2rem;
}

.categories--list_wrapper{
   display: flex;
   justify-content: space-between;
   flex-direction: row-reverse;
}

.categories--list_main{
   width: 740px;
}

.categories--list_aside{
   width: 356px;
   display: flex;
   flex-direction:column;
}

.categories--list_aside .categories--grid_news_item:first-of-type{
   margin-bottom: 1.5rem;
}

.categories--list_title{
   margin: 0 0 1rem 0;

   font-weight: 700;
   font-size: 1.25rem;
}

.categories--list_items_wrapper{
   display: flex;
   flex-direction: column;
   background-color: #fff;
}

.categories--list_link{
   display: flex;
}

.categories--list_link:hover .categories--list_item_title{
   color: #d00;
}

.categories--list_item{
   padding: 1.5rem 1rem 0 1rem;
}

.categories--list_items_wrapper .categories--list_item:last-of-type{
   padding-bottom: 1.5rem;
}
.categories--list_img{
   width: 230px;
   height: 130px;
   object-fit: cover;
}

.categories--list_item_text{
   padding: 0 1.25rem;

}

.categories--list_item_title{
   margin: 0;
   font-size: 1.2rem;
   line-height: 1.5rem;
   margin-bottom: .5rem;
   margin-top: .5rem;
}
.categories--list_item_summary{
   margin: 0;
   font-size: 1rem;
   font-weight: 400;
   line-height: 1.5rem;
}

/* Current category listing */
.category-listing {
   padding: 34px 0 56px;
   background: #f5f5f5;
}

.category-listing__head {
   display: flex;
   align-items: flex-end;
   justify-content: space-between;
   margin-bottom: 24px;
   padding-bottom: 14px;
   border-bottom: 3px solid #00264d;
}

.category-listing__kicker {
   margin-bottom: 6px;
   color: #d60000;
   font-size: 13px;
   font-weight: 700;
   line-height: 1.5;
   letter-spacing: .04em;
}

.category-listing__title {
   margin: 0;
   color: #111;
   font-size: 32px;
   font-weight: 800;
   line-height: 1.5;
}

.category-listing__grid {
   display: grid;
   grid-template-columns: repeat(3,minmax(0,1fr));
   gap: 28px 22px;
}

.category-card {
   display: flex;
   min-width: 0;
   height: 100%;
   flex-direction: column;
   overflow: hidden;
   background: #fff;
   border: 1px solid #e1e1e1;
   border-radius: 4px;
   color: #111;
   text-decoration: none;
   transition: transform .18s ease,box-shadow .18s ease;
}

.category-card:hover {
   transform: translateY(-3px);
   box-shadow: 0 8px 22px rgba(0,0,0,.10);
}

.category-card__media {
   display: block;
   width: 100%;
   aspect-ratio: 10/7;
   overflow: hidden;
   background: #e8e8e8;
}

.category-card__media img {
   display: block;
   width: 100%;
   height: 100%;
   object-fit: cover;
   transition: transform .25s ease;
}

.category-card:hover .category-card__media img {
   transform: scale(1.025);
}

.category-card__content {
   display: flex;
   flex: 1;
   flex-direction: column;
   padding: 16px 17px 18px;
}

.category-card__title {
   display: -webkit-box;
   min-height: 57px;
   margin: 0 0 9px;
   overflow: hidden;
   color: #111;
   font-size: 19px;
   font-weight: 700;
   line-height: 1.5;
   -webkit-box-orient: vertical;
   -webkit-line-clamp: 2;
}

.category-card__summary {
   display: -webkit-box;
   margin: 0;
   overflow: hidden;
   color: #555;
   font-size: 15px;
   font-weight: 400;
   line-height: 1.5;
   -webkit-box-orient: vertical;
   -webkit-line-clamp: 3;
}

.category-infinite-status {
   display: flex;
   min-height: 56px;
   align-items: center;
   justify-content: center;
   gap: 10px;
   margin-top: 28px;
   color: #666;
   font-size: 14px;
}

.category-infinite-spinner {
   display: none;
   width: 20px;
   height: 20px;
   border: 2px solid #ccc;
   border-top-color: #d60000;
   border-radius: 50%;
   animation: category-spin .7s linear infinite;
}

.category-infinite-status.is-loading .category-infinite-spinner {
   display: inline-block;
}

.category-infinite-sentinel {
   height: 1px;
}

@keyframes category-spin {
   to { transform: rotate(360deg); }
}

@media (max-width: 900px) {
   .category-listing__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 600px) {
   .category-listing { padding: 22px 0 40px; }
   .category-listing__head { margin-bottom: 18px; }
   .category-listing__title { font-size: 27px; }
   .category-listing__grid { grid-template-columns: 1fr; gap: 18px; }
   .category-card__title { min-height: 0; font-size: 18px; }
}
