/* =Featured Row [Above the fold]
-----------------------------------------------------*/
.large-featured, .featured-alt {
    flex-wrap: nowrap;
    gap: var(--sp-main);
}
.large-featured .column-left, .large-featured .column-right {
    width: 27.2108843537415%;
}
.large-featured .column-left {
    min-width: 300px;
}
.large-featured .column-middle {
    width: 42.17687074829932%;
}
.featured-alt .column-left {
    width: 25.170%;
    min-width: 300px;
}
.featured-alt .column {
    width: 23.809%;
}
.column-left .cat-heading {
    width: calc(100% - var(--sp-small));
}
.large-featured article p a, .promo article p a {
    text-decoration: underline;
    font-weight: 500;
}
.large-featured article p a:hover, .promo article p a:hover {
    text-decoration: none;
}
.cat-heading h2 a:hover{
    color: var(--main);
}
.large-featured.top-featured .column-middle article img {
    aspect-ratio: 31 / 36;
}
.large-featured.top-featured .column-left article img {
    aspect-ratio: 40 / 47;
}
.large-featured.top-featured .column-right article img {
    aspect-ratio: 4 / 3;
}
/* =Tabbed Slider
-----------------------------------------------------*/
.tabs-slider-section {
    width: calc(100% + 60px);
    margin-left: -30px;
    position: relative;
    z-index: 0;
}
.tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    gap: 12px;
    list-style: none;
    padding: 0 25px;
}
.tabs li:not(.more) {
    padding: 0 25px;
    background-color: var(--yellow);
    /*background-color: rgb(154,190,38);*/
    border-radius: 15px;
    height: 30px;
    line-height: 30px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-transform: lowercase;
}
.tabs li:not(.more):hover {
    background-color: #000;
    color: #fff;
}
.tabs li.more {
    height: 30px;
    line-height: 30px;
    margin-left: 45px;
}
.tabs li.more a.more {
    margin-top: 0;
}
.tabs li.active {
    background-color: #000;
    color: #fff;
}
.tabs-content {
    position: relative;
}
.tab-content {
    display: none;
    position: relative;
    visibility: hidden;
    opacity: 0;
    height: 0;
    transition: opacity 0.2s ease, height 0.2s ease; /* Smoother fade effect */
    overflow: hidden; /* Ensure hidden tabs don't affect height */
    z-index: 0;
}
.tab-content.active {
    display: block;
    height: auto; /* Allow it to take natural height */
}
.tab-content.active.show {
    visibility: visible;
    opacity: 1;
}
.slider.swiper {
    position: unset;
    margin: 0 30px;
}
.slider.swiper:not(.swiper-initialized) .slider-wrapper {
    overflow: hidden;
}
.slider-wrapper {
    --slide-gap: 25px;
    display: flex;
    flex-wrap: nowrap;
    opacity: 1;
    width: 100%;
    transition: opacity 0.5s ease; /* Fade-in effect for slides */
    position: relative;
}
.slider article {
    margin-right: var(--slide-gap);
    width: calc(25% - var(--slide-gap)* 3 / 4);
    min-width: calc(25% - var(--slide-gap)* 3 / 4);
}
.slider .arrow {
    position: absolute;
    top: 41%;
    transform: translateY(-50%);
    border: none;
    cursor: pointer;
    width: 50px;
    height: 50px;
    text-indent: -9999px;
    background: url("../images/icons/arrows.svg") center center no-repeat #fff;
    background-size: 16px auto;
    border-radius: 50%;
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.2);
    transition: opacity .2s ease-out, visibility .2s ease-out;
}
.slider .arrow.left {
    left: 5px;
    background-image: url("../images/icons/arrows-prev.svg");
}
.slider .arrow.right {
    right: 5px;
}
.slider .arrow.swiper-button-disabled {
    opacity: 0;
    visibility: hidden;
}
.bullets.swiper-pagination {
    --swiper-pagination-top: 0;
    --swiper-pagination-bottom: 0;
    text-align: center;
    line-height: 1;
    margin-top: 30px;
    position: relative;
    min-height: 16px;
}
.bullets .swiper-pagination-bullet {
    border: none;
    background-color: #dcd9d7;
    width: 10px;
    height: 10px;
    margin: 0 3px;
    padding: 0;
    cursor: pointer;
    border-radius: 100%;
    display: none;
    opacity: 1;
}
.bullets .swiper-pagination-bullet.show {
    display: inline-block;
}
.bullets .swiper-pagination-bullet.swiper-pagination-bullet-active, .bullets .swiper-pagination-bullet.active-group {
    background-color: var(--yellow);
}
/* =Promo Row
-----------------------------------------------------*/
.flex.promo {
    gap: 25px;
    flex-wrap: nowrap;
}
.promo article.half h2, .promo article.half p {
    padding-left: 20px;
    padding-right: 20px;
}
.sponsor img {
    margin-top: -7px;
}
/* =Responsive
-----------------------------------------------------*/
@media screen and (max-width:1550px) {
    .tabs-slider-section {
        width: calc(100% + 50px);
        margin-left: -25px;
    }
    .tabs-slider-section {
        padding: 0;
    }
    .tabs {
        padding: 0 15px;
    }
    .slider.swiper {
        margin: 0 25px;
    }
    .slider .arrow {
        width: 42px;
        height: 42px;
        top: 40%;
    }
    .slider .arrow.right {
        right: 7px;
    }
    .slider .arrow.left {
        left: 7px;
    }
}
@media screen and (max-width:1480px) {
    .tabs li:not(.more) {
        padding: 0 18px;
    }
    .tabs {
        gap: 10px;
    }
}
@media screen and (max-width:1250px) {
    .slider-wrapper {
        --slide-gap: 20px;
    }
    .slider article {
        width: calc(33.33333% - var(--slide-gap)* 2 / 3);
        min-width: calc(33.33333% - var(--slide-gap)* 2 / 3);
    }
}
@media screen and (max-width:1024px) {
    .cat-heading.sponsored {
        display: flex;
        flex-direction: column;
    }
    .cat-heading.sponsored h2 {
        margin-bottom: 10px;
        max-width: none !important;
    }
    .cat-heading.sponsored .sponsor {
        position: static;
        margin-bottom: 10px;
    }
}
@media screen and (max-width:950px) {
    .large-featured, .featured-alt {
        flex-wrap: wrap;
    }
    .large-featured .column-left, .featured-alt .column-left {
        width: 40%;
    }
    .featured-alt .column {
        width: calc(30% - 25px);
        max-width: calc((100% - 300px - 50px)/2);
    }
    .featured-alt .column:last-child {
        display: none;
    }
    .large-featured .column-middle {
        width: calc(60% - 25px);
        max-width: calc(100% - 300px - 25px);
    }
    .large-featured .column-right {
        width: 100%;
        display: flex;
        gap: 25px;
    }
    .large-featured .column-right article {
        width: calc((100% - 25px)/2);
    }
    .large-featured .column-right article.mb-xs {
        margin-bottom: 0;
    }
    .tabs li:not(.more) {
        padding: 0 15px;
        display: inline-block;
        margin: 0 4px;
    }
    .tabs {
        gap: 7px;
        padding: 0;
        margin-left: 16px;
        width: calc(100% - 32px);
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        display: block;
        margin-bottom: 25px;
        text-align: center;
    }
}
/*@media screen and (max-width:720px) {
    .featured-alt .column {
        width: calc(60% - 25px);
        max-width: calc(100% - 300px - 25px);
    }
    .featured-alt .column:nth-child(3) {
        display: none;
    }
}*/
@media screen and (max-width:680px) {
    .slider article {
        width: calc(50% - var(--slide-gap)* 1 / 2);
        min-width: calc(50% - var(--slide-gap)* 1 / 2);
    }
    .bullets.swiper-pagination {
        margin-top: 20px;
    }
    .slider .arrow {
        top: 44%;
    }
    .large-featured .column-left, .large-featured .column-right, .large-featured .column-middle, .featured-alt .column-left {
        width: 100%;
        max-width: none;
    }
    .large-featured.top-featured .column-middle {
        max-width: 100%;
        order: 0;
    }
    .large-featured.top-featured .column-middle article h2, .large-featured.top-featured .column-left article h2, .large-featured .column-left article h2, .large-featured .column-middle article h2, .flex.promo article h2 {
        font-size: 21px;
    }
    .flex.promo article p.lead, .large-featured.top-featured .column-middle article p {
        display: none;
    }
    .featured-alt .column {
        width: 100%;
        max-width: 100%;
    }
    .featured-alt .column article {
        display: flex;
        align-items: center;
        gap: 18px;
    }
    .featured-alt .column article a.img-container {
        float: left;
        width: 40%;
        margin-bottom: 0;
    }
    .featured-alt .column article h2 {
        width: 62%;
        float: right;
    }
    .featured-alt .column:nth-child(4) {
        display: block;
    }
    .large-featured.top-featured .column-middle img {
        aspect-ratio: 31 / 36;
    }
    .large-featured.top-featured .column-left, .large-featured.top-featured .column-right {
        order: 1;
    }
    .column-left .cat-heading {
        margin-left: 0;
        margin-top: 0;
        width: 100%;
        text-align: center;
    }
    .cat-heading.align-left h2.large span:after {
        left: 50%;
        transform: translateX(-50%);
    }
    .cat-heading.align-left h2, .cat-heading.align-left .moto {
        max-width: none;
    }
    .featured-alt .column-left {
        display: flex;
        flex-direction: column-reverse;
    }
    .featured-alt .column-left .banner.row > div {
        margin-bottom: 25px;
    }
    .featured-alt .cat-heading.align-left .moto {
        margin-bottom: 0;
    }
    .featured-alt article .img-container img, .four-articles article .img-container img {
        aspect-ratio: 6 / 7;
        object-fit: cover;
    }
    .sponsor-d-logo{
        margin-top: 12px;
    }
}
@media screen and (max-width:520px) {
    .tabs {
        margin-bottom: 25px;
    }
    .tabs-slider-section {
        width: calc(100% + 40px);
        margin-left: -20px;
    }
    .slider.swiper {
        margin: 0 20px;
    }
    .flex.promo {
        flex-wrap: wrap;
    }
    .promo article.half {
        width: 100%;
    }
    .large-featured .column-right {
        gap: 20px;
    }
    .large-featured .column-right article {
        width: calc((100% - 20px) / 2);
    }
    .featured-alt {
        gap: 20px;
    }
}
@media screen and (max-width:420px) {
    .slider article {
        width: 100%;
        min-width: 100%;
    }
    .bullets.swiper-pagination {
        margin-top: 15px;
        display: none;
    }
    #main-slider.slider .arrow {
        top: 45%;
    }
    .slider .arrow {
        top: 50%;
    }
    .large-featured .column-right{
        flex-wrap: wrap;
    }
    .large-featured .column-right article {
        width: 100%;
    }
}
@media screen and (max-width:345px) {
    .tabs-slider-section {
        width: calc(100% + 30px);
        margin-left: -15px;
    }
    .slider.swiper {
        margin: 0 15px;
    }
}
/* =Giotis Full width Promo Row
-----------------------------------------------------*/
.full-bg {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    position: relative;
    top: -2em;
    margin-bottom: 2em;
    clear: both;
    height: 460px;
    display: none;
    background: url('../images/row-bg_bc7b058905.jpg') repeat-x center bottom;
}
.full-bg .inner {
    max-width: 1680px;
    margin: 0 auto;
}
@media screen and (max-width:1680px) {
    .full-bg {
        height: auto;
        aspect-ratio: 1920/460;
    }
}
@media screen and (max-width:620px) {
    .full-bg {
        display: block !important;
        top: 0;
    }
}