/*GLOBAL CSS*/
html {
    overflow-x: hidden !important;
}

/*HEADER*/
.main-header {
    width: 100% !important;
    transition: 0.4s ease-in-out !important;

}

.main-header.elementor-sticky--effects {
    padding-top: 2px;
    padding-bottom: 2px;
}

.search-header .is-form-style input.is-search-input {
    font-family: var(--e-global-typography-accent-font-family), Sans-serif !important;
    font-size: var(--e-global-typography-accent-font-size) !important;
    font-weight: var(--e-global-typography-accent-font-weight);
    text-transform: var(--e-global-typography-accent-text-transform);
    font-style: var(--e-global-typography-accent-font-style);
    text-decoration: var(--e-global-typography-accent-text-decoration);
    line-height: var(--e-global-typography-accent-line-height);
    text-transform: capitalize;
}

.search-header .is-search-icon svg path {
    fill: #111111 !important;
}

.search-header .simplebar-wrapper,
.is-search-sections {
    font-family: var(--e-global-typography-accent-font-family), Sans-serif !important;
    font-size: var(--e-global-typography-accent-font-size) !important;
    text-transform: var(--e-global-typography-accent-text-transform);
    font-style: var(--e-global-typography-accent-font-style);
    text-decoration: var(--e-global-typography-accent-text-decoration);
}

.search-header div.is-ajax-search-details,
div.is-ajax-search-result {
    background: #3d87c8 !important;
    padding: 2px !important;
}

.search-header .is-ajax-search-no-result {
    font-family: var(--e-global-typography-accent-font-family), Sans-serif !important;
    text-transform: var(--e-global-typography-accent-text-transform);
    font-style: var(--e-global-typography-accent-font-style);
    text-decoration: var(--e-global-typography-accent-text-decoration);
}

.search-header .is-form-style input.is-search-input {
    padding: 0 8px;
}

/*POSTS MARQUEE*/
.posts-marquee-header h1.elementor-heading-title.elementor-size-default {
    text-wrap-mode: nowrap;
}

.posts-marquee-header .swiper-slide {
    width: auto !important;
}

.posts-marquee-header .swiper-slide::after {
    content: "";
    position: absolute !important;
    background: #ffffff;
    width: 5px;
    height: 5px;
    z-index: 1;
    border-radius: 30px;
    top: 4px;
    left: -6%;
}

.posts-marquee-header {
    overflow: hidden !important;
    position: relative;
}

.posts-marquee-header .swiper-wrapper {
    display: flex;
    width: max-content;
    animation: marquee-scroll 5s linear infinite;
}

.posts-marquee-header a:hover {
    cursor: pointer !important;
}

.posts-marquee-header:has(a:hover) .swiper-wrapper {
    animation-play-state: paused;
}


.posts-marquee-header:hover .swiper-wrapper {
    animation-play-state: paused;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}


/*BUTTONS*/
.btn-border-black svg path {
    fill: black;
    transition: fill 0.3s ease-in;
}

.btn-border-black:hover svg path,
.btn-border-black svg path:hover {
    fill: #1288CA !important;
}

.btn-black-arrow svg path {
    fill: black;
    transition: fill 0.3s ease-in;
}

.btn-black-arrow:hover svg path,
.btn-black-arrow svg path:hover {
    fill: #1288CA !important;
}


/*GLOBAL CSS END*/

/*********************************************/

/*HOME*/

/**FIRST SECTION - CUSTOM CAROUSEL POSTS**/
.post-carousel-wrapper {
    max-width: 100%;
    margin: 0 auto;
}

.post-carousel {
    background: #ffffff;
    overflow: hidden;
}

.main-slide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 400px;
}

.slide-image {
    position: relative;
    height: 550px;
    overflow: hidden;
    background: #e0e0e0;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.slide-content {
    padding: 20px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid black;
}

.post-category {
    display: inline-block;
    background: var(--e-global-color-primary);
    color: white;
    padding: 16px 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    width: fit-content;
    clip-path: polygon(0 0, 100% 0%, 100% 86%, 0% 100%);
}

.post-category a {
    color: white;
    white-space: nowrap;
}

.post-title {
    font-family: var(--e-global-typography-bdb34b0-font-family), Sans-serif;
    font-size: var(--e-global-typography-bdb34b0-font-size);
    font-weight: var(--e-global-typography-bdb34b0-font-weight);
    text-transform: var(--e-global-typography-bdb34b0-text-transform);
    font-style: var(--e-global-typography-bdb34b0-font-style);
    text-decoration: var(--e-global-typography-bdb34b0-text-decoration);
    line-height: var(--e-global-typography-bdb34b0-line-height);
    color: var(--e-global-color-text);
}

#mainTitle a {
    font-family: var(--e-global-typography-bdb34b0-font-family), Sans-serif;
    font-size: var(--e-global-typography-bdb34b0-font-size);
    font-weight: var(--e-global-typography-bdb34b0-font-weight);
    text-transform: var(--e-global-typography-bdb34b0-text-transform);
    font-style: var(--e-global-typography-bdb34b0-font-style);
    text-decoration: var(--e-global-typography-bdb34b0-text-decoration);
    line-height: var(--e-global-typography-bdb34b0-line-height);
    color: var(--e-global-color-text);
}

.post-meta {
    font-family: var(--e-global-typography-bdb34b0-font-family), Sans-serif;
    color: #231F20;
    font-size: 14px;
    margin-bottom: 16px;
}

div#mainMeta {
    display: flex;
    flex-direction: row;
    align-content: center;
    align-items: center;
    gap: 25px;
}

.post-excerpt,
.post-excerpt a {
    font-family: var(--e-global-typography-bdb34b0-font-family), Sans-serif;
    font-weight: 300;
    color: #231F20;
    font-size: 18px;
    line-height: 1.3em;
    margin-bottom: 24px;
}

img.author-avatar {
    width: 30px;
    height: 30px;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.post-author img {
    width: 32px;
    height: 32px;
}

.post-author a {
    color: #111111;
}

span.author-name {
    font-weight: 700;
}

/*carousel thumbnails*/
.featured-image {
    width: 25%;
    text-align: center;
}

.thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: black;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
}

.thumbnail {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    background: white;
    transition: all 0.3s;
    aspect-ratio: 16 / 8;
    padding: 24px 5px;
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 5px;
}

.thumbnail.active a {
    color: white;
}

.thumbnail img {
    width: 95px;
    height: 65px;
    object-fit: cover;
    transition: transform 0.3s;
    clip-path: polygon(0 0, 100% 0%, 100% 86%, 0% 100%);
}

.thumbnail-overlay,
.thumbnail-overlay a {
    position: relative;
    font-family: var(--e-global-typography-bdb34b0-font-family), Sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: black;
    line-height: 1.3;
    width: 70%;
}

.thumbnail.active {
    background-color: var(--e-global-color-primary);
    bottom: 8px;
}

.thumbnail.active .thumbnail-overlay,
.thumbnail.active .post-date-time,
.thumbnail.active .author-name {
    color: white;
}

.post-date-time {
    font-size: 16px;
    padding: 10px 0px;
}

img.author-avatar {
    width: 32px;
    height: 32px;
}

.author-name {
    font-size: 16px;
}

.thumbnail {
    position: relative;
    overflow: hidden;
}

.thumbnail-loader {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.2);
}

.thumbnail.active .loader-bar {
    height: 100%;
    background: black;
    animation: loaderProgress 8.1s linear forwards;
    transform-origin: left;
}

@keyframes loaderProgress {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}


/* Loading state */
.post-carousel.loading .main-slide {
    opacity: 0.5;
}

@media (max-width: 768px) {
    .main-slide {
        grid-template-columns: 1fr;
    }

    .slide-content {
        padding: 24px;
    }

    .post-title {
        font-size: 24px;
    }

    .thumbnails {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* Thumbnail animation styles */
#thumbnails {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#thumbnails.sliding {
    opacity: 0;
    transform: translateX(-20px);
}

#thumbnails.slide-in {
    animation: slideIn 0.4s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/**2nd SECTION - TAGS & GRID**/

/*Latest Tags*/
a.latest-post-tag {
    font-family: var(--e-global-typography-accent-font-family), Sans-serif;
    font-size: var(--e-global-typography-accent-font-size);
    font-weight: var(--e-global-typography-accent-font-weight);
    text-transform: var(--e-global-typography-accent-text-transform);
    font-style: var(--e-global-typography-accent-font-style);
    color: var(--e-global-color-text);
    padding: 0px 10px;
}

.second-section-single-post-large img {
    height: 600px !important;
}

.second-section-single-post-large .elementor-element.elementor-element-2266699 {
    border: none !important;
}

.second-section-single-post-large .elementor-element.elementor-element-a12c0e8 {
    padding: 20px 0px;
}


.latest-two-posts-grid .e-loop-item:first-child {
    position: relative;
}

.latest-two-posts-grid .e-loop-item:first-child::after {
    content: "";
    position: absolute;
    width: 450px;
    height: 1px;
    background: black;
    left: -6px;
    bottom: 0;
}


/**3rd SECTION - LATEST NEWS SHORTCODE**/
.epikairotita.featured-posts-grid-container {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    margin: 30px 0;
}

.epikairotita .epikairotita.featured-posts-bottom-row {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-style: solid;
    border-width: 0px 1px 1px 1px;
    border-color: black;
}


.epikairotita .epikairotita.featured-posts-bottom-row .epikairotita-post {
    padding: 14px;
}

.epikairotita .epikairotita.featured-posts-bottom-row .epikairotita-post:not(:last-child) {
    border-right: 1px solid black;
}

@media (min-width: 1025px) {
    .epikairotita .epikairotita.featured-posts-bottom-row .epikairotita-post:nth-child(3) {
        border: none !important;
    }
}

.epikairotita .epikairotita.featured-posts-bottom-row .epikairotita-post:last-child {
    border-left: 1px solid black;
    margin-left: 1px;
}


@media (max-width: 1024px) {
    .epikairotita .epikairotita.featured-posts-bottom-row {
        grid-template-columns: repeat(1, 1fr);
        order: 5;
        border: none;
    }

    .epikairotita .epikairotita.featured-posts-bottom-row .epikairotita-post {
        border: 1px solid black !important;
    }

    .epikairotita .epikairotita.featured-posts-bottom-row .epikairotita-post:last-child {
        margin-left: 0px;
    }
}


.epikairotita.featured-posts-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 14px;
    border: 1px solid black;
}

.epikairotita-post-content {
    padding-top: 15px;
}

.epikairotita-main-center-post-content {
    padding-top: 15px;
}

.featured-posts-column.center {
    padding: 14px;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    /* display: flex;
    flex-direction: column;
    gap: 20px; */
}

.epikairotita-post {
    position: relative;
    overflow: hidden;
    background: #fff;
}

a.epikairotita.tab-category {
    color: white;
}

.epikairotita.featured-post-date {
    padding-top: 10px;
}

.epikairotita.featured-post-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.epikairotita.featured-posts-column.center .featured-post-image {
    height: 520px;
}

.epikairotita.featured-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.epikairotita-main-post-image img {
    width: 100%;
    height: 550px;
    object-fit: cover;
}

/**4th SECTION - THESSALONIKI SIDEBAR POSTS**/

/*THESSALONIKI FEED*/
.inner-container-feed {
    height: 600px;
    overflow-y: scroll;
}


.inner-container-feed {
    --sb-track-color: #ffffff;
    --sb-thumb-color: #231f20;
    --sb-size: 5px;
}

.inner-container-feed::-webkit-scrollbar {
    width: var(--sb-size)
}

.inner-container-feed::-webkit-scrollbar-track {
    background: var(--sb-track-color);
}

.inner-container-feed::-webkit-scrollbar-thumb {
    background: var(--sb-thumb-color);

}

@supports not selector(::-webkit-scrollbar) {
    .inner-container-feed {
        scrollbar-color: var(--sb-thumb-color) var(--sb-track-color);
    }
}

.section-thessaloniki-three-columns .elementor-widget-theme-post-excerpt {
    display: none;
}

.elementor-widget .elementor-icon-list-items.elementor-inline-items .elementor-icon-list-item {
    margin-inline: 0px;
}

a.elementor-post-info__terms-list-item {
    white-space: nowrap;
}

/**6th SECTION - APOPSEIS POSTS**/
.sixth-section-single-post-large .elementor-element.elementor-element-2266699 {
    border: none !important;
}

.sixth-section-single-post-large img {
    height: 421px !important;
}

/*single post thessaloniki column*/
.term-single-category {
    clip-path: polygon(0 0, 100% 0%, 100% 86%, 0% 100%);
}


.section-grid-apopseis-right-col .e-con-inner {
    display: block;
}

.section-grid-apopseis-right-col .elementor-element.elementor-element-07f673e.elementor-widget.elementor-widget-theme-post-featured-image.elementor-widget-image img {
    height: 372px;
    object-fit: cover !important;
}

.section-grid-apopseis-left-col-reversed .e-con-inner {
    display: flex;
    flex-direction: row-reverse !important;
}

.section-grid-apopseis-left-col-reversed .elementor-element.elementor-element-07f673e {
    width: 85%;
}

.section-grid-apopseis-left-col .elementor-element.elementor-element-07f673e {
    width: 85%;
}

.section-grid-apopseis-left-col .elementor-element.elementor-element-495e8c5.e-con-full.e-flex.e-con.e-child {
    padding: 16px;
}

.section-grid-apopseis-left-col-reversed .elementor-element.elementor-element-495e8c5.e-con-full.e-flex.e-con.e-child {
    padding: 16px;
}

/**********APOPSEIS NEW*********/
.apopseis-posts-grid-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 10px;
    margin: 40px 0;
}

.category-date {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}

.category-date a {
    color: white;
}

.apopseis.post-date {
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: var(--e-global-typography-text-font-size);
    font-weight: var(--e-global-typography-text-font-weight);
    text-transform: var(--e-global-typography-text-text-transform);
    font-style: var(--e-global-typography-text-font-style);
    line-height: var(--e-global-typography-text-line-height);
    color: var(--e-global-color-f0857ba);
    text-decoration: var(--e-global-typography-text-text-decoration);
}

/* Left Column - Large Featured Post */
.apopseis-posts-column.left {
    grid-column: 1;
}

.apopseis-main-post {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid black;
    overflow: hidden;
    padding: 12px;
}

.apopseis-main-post-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.apopseis-main-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.apopseis-main-post:hover .apopseis-main-post-image img {
    transform: scale(1.05);
}

.apopseis-main-post-content {
    padding: 20px 0px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Right Column - 4 Posts Grid */
.apopseis-posts-column.right {
    grid-column: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
}

.apopseis-post {
    position: relative;
    display: flex;
    flex-direction: row;
    background: white;
    border: 1px solid black;
    overflow: hidden;
    height: 100%;
    padding: 12px;
}

.apopseis-post-image {
    width: 50%;
}

.apopseis-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.apopseis-post-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
    width: 50%;
}

/* Post Titles */
.apopseis.post-title {
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    font-size: var(--e-global-typography-primary-font-size);
    font-weight: var(--e-global-typography-primary-font-weight);
    text-transform: var(--e-global-typography-primary-text-transform);
    font-style: var(--e-global-typography-primary-font-style);
    text-decoration: var(--e-global-typography-primary-text-decoration);
    line-height: var(--e-global-typography-primary-line-height);
}

.apopseis.post-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.apopseis.post-title a:hover {
    color: var(--e-global-color-primary);
}

.post-author {
    color: var(--e-global-color-text);
    font-family: var(--e-global-typography-87184d5-font-family), Sans-serif;
    font-size: var(--e-global-typography-87184d5-font-size);
    font-weight: var(--e-global-typography-87184d5-font-weight);
    text-transform: var(--e-global-typography-87184d5-text-transform);
    font-style: var(--e-global-typography-87184d5-font-style);
    text-decoration: var(--e-global-typography-87184d5-text-decoration);
    line-height: var(--e-global-typography-87184d5-line-height);
}

.post-author img {
    width: 32px;
    height: 32px;
    object-fit: cover;
    clip-path: polygon(0px 0px, 100% 0%, 100% 86%, 0% 100%);
}


/* Responsive Design */
@media screen and (max-width: 1024px) {
    .apopseis-posts-grid-container {
        grid-template-columns: 1fr;
    }

    .apopseis-posts-column.left,
    .apopseis-posts-column.right {
        grid-column: 1;
    }

    .apopseis-posts-column.right {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 768px) {
    .apopseis-posts-column.right {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .apopseis-posts-grid-container {
        gap: 15px;
        margin: 20px 0;
    }

    .apopseis-main-post-image {
        height: 300px;
    }

    .apopseis-post-image {
        height: 180px;
    }

    .apopseis-main-post .apopseis.post-title {
        font-size: 20px;
    }
}

@media screen and (max-width: 480px) {

    .apopseis-main-post-content,
    .apopseis-post-content {
        padding: 12px;
    }

    .apopseis-main-post-image {
        height: 250px;
    }

    .apopseis-main-post .apopseis.post-title {
        font-size: 18px;
    }

    .apopseis-post .apopseis.post-title {
        font-size: 15px;
    }
}

/**/
.featured-post-grid .featured-content .meta span:first-child {
    display: none !important;
}

.featured-post-grid .eael-post-list-featured-wrap {
    flex: 0 0 60% !important;
}

.featured-post-grid .eael-post-list-posts-wrap {
    flex: 0 0 40% !important;
}

.featured-post-grid .eael-post-list-featured-inner {
    position: absolute;
    height: 582px !important;
    z-index: 1;
    width: 31% !important;
    left: 28%;
    top: 11px;
}

.featured-post-grid .featured-content {
    position: absolute !important;
    width: 75% !important;
    left: -511px;
    padding: 0px 15px;
    top: 0;
}

.featured-post-grid h2.eael-post-list-title {
    padding-bottom: 14px;
}

.featured-post-grid .eael-post-list-thumbnail img {
    height: 130px !important;
    object-fit: cover !important;
    width: 100% !important;
}

.featured-post-grid .eael-post-list-content {
    flex-direction: column-reverse !important;
    padding: 0px 10px !important;
    justify-content: flex-end !important;
}

.loop-grid-reversed .e-con-inner {
    display: inline-flex;
    flex-direction: row !important;
}

/***Post Tabs***/
.tabbed-posts-container {
    font-family: var(--e-global-typography-accent-font-family), Sans-serif !important;
    display: inline-flex;
}

.tab-navigation {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.tab-item {
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    background: #fff;
    opacity: 0.7;
}

.tab-item.active {
    border-color: #0073aa;
    background: #F7F7F7;
    border-left: 5px solid #1288ca;
    opacity: 1;
}

.tab-header {
    display: flex;
    gap: 15px;
    padding: 15px;
    align-items: flex-start;
}

.tab-image {
    flex-shrink: 0;
    width: 180px;
    height: 120px;
    overflow: hidden;
}

.tab-image img {
    object-fit: cover !important;
    width: 100%;
    height: 100%;
}

.tab-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tab-placeholder {
    width: 100%;
    height: 100%;
    background: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 14px;
}

.tab-meta {
    flex: 1;
    min-width: 0;
}

.tab-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 8px;
    font-size: 13px;
    color: #666;
}

.tab-category {
    background: var(--e-global-color-primary);
    color: white;
    padding: 9px 10px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: fit-content;
    clip-path: polygon(0 0, 100% 0%, 100% 86%, 0% 100%);
}

.tab-date,
.tab-time {
    color: #666;
}

.tab-title {
    margin: 0;
    font-size: 20px;
    line-height: 1.1em;
    color: #333;
    font-weight: 700;
}

.tab-content-wrapper {
    position: relative;
    min-height: 150px;
    width: 55% !important;
}

.tab-content .subtitle {
    width: 100%;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    color: #4D4D4D;
    padding: 14px 0px;
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-excerpt {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: flex-start;
    background: #F7F7F7;
    padding: 20px;
    border-left: 1px solid #e0e0e0;
    height: 630px;
    max-height: 100%;
}

.content-excerpt p {
    font-size: 19px;
    font-weight: 400;
    line-height: 1.3em;
    padding: 16px 0px;

}

.read-more-btn {
    display: flex;
    gap: 12px;
    padding: 10px 24px;
    margin-top: auto !important;
    width: max-content;
    background: transparent;
    color: black;
    border: 1px solid black;
    text-decoration: none;
    font-weight: 700;
    transition: background 0.3s ease;
}

.read-more-btn:hover,
.icon-arrow {
    background: transparent;
    color: var(--e-global-color-primary);
    filter: brightness(0) saturate(100%) invert(42%) sepia(99%) saturate(2585%) hue-rotate(176deg) brightness(90%) contrast(86%);

}

.read-more-btn .icon-arrow {
    filter: brightness(0) saturate(100%);
    margin-top: 2px;
    width: 15px;
}


@media (max-width: 768px) {
    .tab-header {
        flex-direction: column;
    }

    .tab-image {
        width: 100%;
        height: 200px;
    }

    .tab-title {
        font-size: 16px;
    }
}


/*SHORTCODE CATEGORIES - POSTS*/
.posts-grid-container {
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    display: grid;
    grid-template-columns: 70% 30%;
    gap: 15px;
    margin: 30px 0;
}

.featured-post {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.featured-post-image {
    overflow: hidden;
    width: 70%;
    height: 100%;
}

.featured-post-image img {
    width: 100%;
    height: 100%;
    max-height: 650px;
    object-fit: cover;
    display: block;
}

.featured-post-content {
    padding: 0px 30px 0px 0px;
    width: 30%;
}

.featured-post-date {
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: var(--e-global-typography-text-font-size);
    font-weight: var(--e-global-typography-text-font-weight);
    text-transform: var(--e-global-typography-text-text-transform);
    font-style: var(--e-global-typography-text-font-style);
    text-decoration: var(--e-global-typography-text-text-decoration);
    line-height: var(--e-global-typography-text-line-height);
    color: var(--e-global-color-f0857ba);
    margin-bottom: 10px;
}

.featured-post-date svg {
    width: 19px;
    position: relative;
    top: 4px;
}

.featured-post-title {
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    font-size: 24px;
    font-weight: var(--e-global-typography-primary-font-weight);
    text-transform: var(--e-global-typography-primary-text-transform);
    font-style: var(--e-global-typography-primary-font-style);
    text-decoration: var(--e-global-typography-primary-text-decoration);
    line-height: var(--e-global-typography-primary-line-height);
}

.featured-post-title a {
    color: var(--e-global-color-text);
    text-decoration: none;
}

.featured-post-title a:hover {
    color: var(--e-global-color-primary);
}

.featured-post-excerpt {
    margin-top: 10px;
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: var(--e-global-typography-text-font-size);
    font-weight: var(--e-global-typography-text-font-weight);
    text-transform: var(--e-global-typography-text-text-transform);
    font-style: var(--e-global-typography-text-font-style);
    text-decoration: var(--e-global-typography-text-text-decoration);
    line-height: var(--e-global-typography-text-line-height);
    color: var(--e-global-color-text);
}

.sidebar-posts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-post {
    display: flex;
    gap: 15px;
    background: #fff;
    overflow: hidden;
    transition: transform 0.2s;
}

.sidebar-post:hover {
    transform: translateY(-2px);
}

.sidebar-post-image {
    flex-shrink: 0;
    width: 200px;
    height: 100%;
}

.sidebar-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sidebar-post-content {
    padding: 15px 15px 15px 0;
    flex: 1;
}

.sidebar-post-date {
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: var(--e-global-typography-text-font-size);
    font-weight: var(--e-global-typography-text-font-weight);
    text-transform: var(--e-global-typography-text-text-transform);
    font-style: var(--e-global-typography-text-font-style);
    text-decoration: var(--e-global-typography-text-text-decoration);
    line-height: var(--e-global-typography-text-line-height);
    color: var(--e-global-color-f0857ba);
    margin-bottom: 8px;
}

.sidebar-post-date svg {
    width: 19px;
    position: relative;
    top: 4px;
}

.sidebar-post-title {
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    font-size: var(--e-global-typography-accent-font-size);
    font-weight: var(--e-global-typography-primary-font-weight);
    text-transform: var(--e-global-typography-primary-text-transform);
    font-style: var(--e-global-typography-primary-font-style);
    text-decoration: var(--e-global-typography-primary-text-decoration);
    line-height: var(--e-global-typography-primary-line-height);
}

.sidebar-post-title a {
    color: var(--e-global-color-text);
    text-decoration: none;
}

.sidebar-post-title a:hover {
    color: var(--e-global-color-primary);
}


.category-posts p {
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: var(--e-global-typography-text-font-size);
    font-weight: var(--e-global-typography-text-font-weight);
    text-transform: var(--e-global-typography-text-text-transform);
    font-style: var(--e-global-typography-text-font-style);
    text-decoration: var(--e-global-typography-text-text-decoration);
    line-height: var(--e-global-typography-text-line-height);
    color: var(--e-global-color-text);
}

/*POSTS RELATED TIME*/
.related-time {
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: var(--e-global-typography-text-font-size);
    font-weight: var(--e-global-typography-text-font-weight);
    text-transform: var(--e-global-typography-text-text-transform);
    font-style: var(--e-global-typography-text-font-style);
    text-decoration: var(--e-global-typography-text-text-decoration);
    line-height: var(--e-global-typography-text-line-height);
    color: var(--e-global-color-text);
}


/*POSTS SECTION BEFORE FOOTER*/
.no-border-posts .e-flex.e-con-boxed.e-con.e-parent.e-lazyloaded {
    border: none !important;
}

.no-border-posts .elementor-element.elementor-element-a12c0e8:not(.elementor-motion-effects-element-type-background),
.elementor-245 .elementor-element.elementor-element-a12c0e8>.elementor-motion-effects-container>.elementor-motion-effects-layer {
    background-color: #f7f7f7 !important;
    padding: 14px 0px;
}

.no-border-posts img {
    height: 250px !important;
}

.no-border-posts.main-post img {
    height: 600px !important;
}

/**************************/

/*SINGLE POST*/
nav.post-breadcrumb,
.single-post-breadcrumbs a {
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: var(--e-global-typography-text-font-size);
    font-weight: var(--e-global-typography-text-font-weight);
    text-transform: var(--e-global-typography-text-text-transform);
    font-style: var(--e-global-typography-text-font-style);
    text-decoration: var(--e-global-typography-text-text-decoration);
    line-height: var(--e-global-typography-text-line-height);
    color: var(--e-global-color-text);
}


.single-post-main-image .widget-image-caption.wp-caption-text {
    width: max-content;
    position: absolute;
    z-index: 1;
    bottom: 0;
    padding: 2px 10px;
}

.single-post-category {
    background: var(--e-global-color-primary);
    color: white;
    padding: 16px 20px;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    width: fit-content;
    clip-path: polygon(0 0, 100% 0%, 100% 86%, 0% 100%);
}

.reading-time-estimate {
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: var(--e-global-typography-text-font-size);
    font-weight: var(--e-global-typography-text-font-weight);
    text-transform: var(--e-global-typography-text-text-transform);
    font-style: var(--e-global-typography-text-font-style);
    text-decoration: var(--e-global-typography-text-text-decoration);
    line-height: var(--e-global-typography-text-line-height);
    color: var(--e-global-color-text);
}

.single-post-tags a.elementor-post-info__terms-list-item::before {
    content: "#";
}

a.elementor-author-box__button.elementor-button.elementor-size-xs::after {
    content: url(https://thitanews.gr/wp-content/uploads/2025/11/arrow_forward.svg);
    top: 3px;
    position: relative;
    left: 6px;
}

/* Hide author button only for Newsroom user */
a[href="https://thitanews.gr/author/newsroom/"].elementor-author-box__button {
    display: none;
}

.single-related-left .e-flex.e-con-boxed.e-con.e-parent.e-lazyloaded {
    border: none !important;
}

.single-related-left img {
    height: 250px !important;
}

.single-related-left ul.elementor-inline-items.elementor-icon-list-items.elementor-post-info {
    padding: 4px 8px;
}

.single-related-left .elementor-element.elementor-element-a12c0e8:not(.elementor-motion-effects-element-type-background),
.elementor-245 .elementor-element.elementor-element-a12c0e8>.elementor-motion-effects-container>.elementor-motion-effects-layer {
    padding: 14px 0px;
}

.single-related-left .related-time {
    font-size: 14px;
}

.single-post-most-popular .featured-post-image img {
    height: 572px !important;
    max-height: 100%;
}

.single-post-main-content .elementor embed,
.elementor iframe,
.elementor object,
.elementor video {
    width: revert-layer !important;
}


/*CATEGORY ARCHIVE*/
.archive-grid ul.elementor-inline-items.elementor-icon-list-items.elementor-post-info {
    padding: 4px 8px;
}

.elementor-widget-image a {
    width: 100%;
}


/*************RESPONSIVE******************/
@media (max-width:1600px) {

    /*HEADER*/
    .header-menu-col-left {
        display: none;
    }

    .header-menu-col-center {
        width: 80%;
        align-items: flex-start;
    }

    .header-menu-col-right {
        width: 20%;
    }

    /*home main slider*/
    .post-category {
        padding: 12px 18px;
    }

    .slide-content {
        padding: 15px 35px;
    }

}

@media (max-width:1500px) {

    .thumbnail {
        aspect-ratio: 16 / 11;
        padding: 15px 15px;
        gap: 8px;
    }

    .thumbnail-overlay,
    .thumbnail-overlay a {
        font-size: 15px;
    }

    .post-date-time {
        font-size: 15px;
    }
}

@media (max-width:1300px) {

    /*home main slider*/
    .slide-image {
        height: 460px;
    }

    .slide-content {
        padding: 15px 35px;
    }


    /*feautured post grid home+single post*/
    .featured-post-grid .featured-content {
        left: -337px;
    }

    .featured-post-title {
        font-size: 18px;
    }
}

@media (max-width: 1290px) {

    /*home main slider*/
    .thumbnails {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        --sb-track-color: #ffffff;
        --sb-thumb-color: #231f20;
        --sb-size: 5px;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }

    .thumbnail {
        flex: 0 0 auto;
        width: 450px;
    }

    .thumbnails::-webkit-scrollbar {
        height: var(--sb-size);
    }

    .thumbnails::-webkit-scrollbar-track {
        background: var(--sb-track-color);
    }

    .thumbnails::-webkit-scrollbar-thumb {
        background: var(--sb-thumb-color);
        border-radius: 10px;
    }

    /* Firefox */
    .thumbnails {
        scrollbar-width: thin;
        scrollbar-color: var(--sb-thumb-color) var(--sb-track-color);
    }

    .thumbnail {
        aspect-ratio: 16 / 8;
        padding: 28px 15px;
        gap: 18px;
    }

    /* Navigation Arrows - Hidden by default */
    .thumbnail-nav-arrow {
        position: absolute;
        top: 92%;
        transform: translateY(-10%);
        z-index: 10;
        width: 40px;
        height: 40px;
        background: rgba(35, 31, 32, 0.8);
        border: none;
        border-radius: 50%;
        color: #ffffff;
        cursor: pointer;
        transition: all 0.3s ease;
        padding: 0;
        align-items: center;
        justify-content: center;
    }

    .thumbnail-nav-arrow:hover {
        background: rgba(35, 31, 32, 0.95);
    }

    .thumbnail-nav-arrow.arrow-left {
        left: 10px;
    }

    .thumbnail-nav-arrow.arrow-right {
        right: 10px;
    }

    .thumbnail-nav-arrow [type=button]:focus,
    [type=button]:hover,
    [type=submit]:focus,
    [type=submit]:hover,
    button:focus,
    button:hover {
        background-color: #3d87c8;
    }

    /*single post - related posts*/
    .single-post-related .elementor-element.elementor-element-2266699 {
        padding: 15px;
    }

    .single-post-related .elementor-element.elementor-element-a12c0e8 {
        padding: 16px 0px;
    }

    .single-post-related img {
        height: 100% !important;
        object-fit: cover;
    }

    /*featured posts*/

    .posts-grid-container {
        grid-template-columns: 100% !important;
    }

    .featured-post {
        flex-direction: column-reverse !important;
    }

    .featured-post-content {
        padding: 0px !important;
        width: 100% !important;
    }

    .featured-post-image {
        width: 100% !important;
    }

    .featured-post-image img {
        height: 400px !important;
    }

    /*Epikairotita*/
    .epikairotita.featured-post-image {
        height: 200px;

    }

    .epikairotita-main-post-image img {
        height: 460px;
    }

    /*Thessaloniki*/
    .inner-container-feed {
        height: 400px;
    }

    .thessaloniki-grid img {
        height: 220px !important;
    }

    .thessaloniki-grid .elementor-element.elementor-element-a12c0e8.e-con-full.e-flex.e-con.e-child {
        padding: 15px;
    }

    /*Apopseis*/
    .apopseis-posts-grid-container {
        display: flex;
        flex-direction: column;
    }

    /*Dimofili Tabs*/
    .elementor-11 .elementor-element.elementor-element-34b618e {
        width: 100% !important;
    }

    .elementor-11 .elementor-element.elementor-element-3de2705 {
        width: 100% !important;
    }
}


@media (max-width: 990px) {
     .thumbnail-nav-arrow {
        display: none;
    }


    .latest-post-tags {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        gap: 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        padding: 10px 0px;
    }

    .latest-post-tags::-webkit-scrollbar {
        height: 6px;
        -webkit-appearance: none;
        width: var(--sb-size);
    }

    .latest-post-tags::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }

    .latest-post-tags::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 10px;
        background: var(--sb-thumb-color);
        border-radius: 3px;
    }

    .latest-post-tags::-webkit-scrollbar-thumb:hover {
        background: #555;
    }

    .latest-post-tag {
        flex-shrink: 0;
    }

    /* Navigation Arrows for Tags */
    .tags-nav-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgb(0 0 0 / 80%);
        color: white;
        border: none;
        width: 25px;
        height: 25px;
        border-radius: 50%;
        cursor: pointer;
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.3s ease;
        padding: 0px;
    }

    .tags-nav-arrow:hover {
        background: rgba(35, 31, 32, 1);
    }

    .tags-nav-arrow [type=button]:focus,
    [type=button]:hover,
    [type=submit]:focus,
    [type=submit]:hover,
    button:focus,
    button:hover {
        background-color: #3d87c8;
    }

    .tags-nav-arrow:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

    .tags-nav-arrow.left {
        left: -24px;
    }

    .tags-nav-arrow.right {
        right: -24px;
    }

    .tags-nav-arrow svg {
        width: 18px;
        height: 18px;
        fill: white;
    }

    /*Epikairotita*/
    .epikairotita-main-post-image img {
        height: 270px;
    }

    .epikairotita.featured-post-image {
        height: 120px;
    }

    .featured-post-title {
        font-size: 16px;
    }

    /*Dimofili Tabs*/
    .tabbed-posts-container {
        flex-direction: column;
        max-width: 100%;
        position: relative;
    }

    .tab-navigation-wrapper {
        position: relative;
        width: 100%;
    }

    .tab-navigation {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 5px;
        width: 100%;
        scrollbar-width: thin;
        scrollbar-color: #231f20 #ffffff;
    }

    .tab-navigation::-webkit-scrollbar {
        height: 5px;
    }

    .tab-navigation::-webkit-scrollbar-track {
        background: #ffffff;
    }

    .tab-navigation::-webkit-scrollbar-thumb {
        background-color: #231f20;
        border-radius: 3px;
    }

    .tab-item {
        width: 500px;
        min-width: 500px;
        flex-shrink: 0;
    }

    /* Navigation Arrows */
    .tab-nav-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgb(0 0 0 / 80%);
        color: white;
        border: none;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        cursor: pointer;
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.3s ease;
        padding: 0px;
    }

    .tab-nav-arrow:hover {
        background: rgba(35, 31, 32, 1);
    }

    .tab-nav-arrow [type=button]:focus,
    [type=button]:hover,
    [type=submit]:focus,
    [type=submit]:hover,
    button:focus,
    button:hover {
        background-color: #3d87c8;
    }

    .tab-nav-arrow:disabled {
        opacity: 0.3;
        cursor: not-allowed;
    }

    .tab-nav-arrow.left {
        left: 10px;
    }

    .tab-nav-arrow.right {
        right: 10px;
    }

    .tab-nav-arrow svg {
        width: 20px;
        height: 20px;
        fill: white;
    }

    .tabbed-posts-container {
        flex-direction: column;
    }

    .tab-content-wrapper {
        width: 100% !important;
    }

    .tab-item {
        width: 500px;
    }

    .content-excerpt {
        height: 400px;
    }

    .content-excerpt p {
        width: 100%;
    }
}


/* Hide arrows on larger screens */
@media (min-width: 768px) {
    .tab-nav-arrow {
        display: none;
    }

    .tags-nav-arrow {
        display: none;
    }

    .tags-nav-arrow [type=button],
    [type=submit],
    button {
        display: none;
    }

}

@media (max-width: 880px) {

    /*Epikairotita*/
    .epikairotita.featured-posts-grid-container {
        grid-template-columns: auto;
    }

    .epikairotita.featured-posts-column {
        padding: 0px;
        border: none;
        gap: 0px;
        order: 2;
    }

    .epikairotita-post {
        padding: 14px;
        border: 1px solid black;
    }

    .featured-posts-column.center {
        padding: 15px;
        border: 1px solid black;
        border-bottom: none;
        order: 1;
    }

    .epikairotita-main-post-image img {
        height: 280px;
    }

    .epikairotita.featured-post-image {
        height: 280px;
    }

    /*Apopseis*/
    .apopseis-posts-column.right {
        grid-template-columns: 1fr;
    }

    /*Tabs Dimofili*/
    .tab-title {
        font-size: 17px;
    }
}


@media (max-width: 768px) {

    /*home main slider*/
    .thumbnails {
        flex-direction: column;
    }

    .thumbnail {
        flex: 0 0 auto;
        width: 100%;
    }

    .sidebar-post-content {
        padding: 0px 5px !important;
    }

    .sidebar-post-image {
        width: 150px !important;
        height: 128px !important;
    }

    /*Dimofili Tabs*/

    .tab-item {
        width: 100%;
        min-width: 100%;
    }

    .content-excerpt {
        flex-direction: row;
        height: 100%;
    }

    /*single post - featured image*/
    .single-post-main-image img {
        height: 100%;
        max-height: 280px;
    }

    .single-post-related ul.elementor-inline-items.elementor-icon-list-items.elementor-post-info {
        padding: 2px 8px;
    }

    .single-post-most-popular .featured-post-image img {
        height: 100% !important;
        max-height: 100%;
    }

    .elementor-743 .elementor-element.elementor-element-6704f3e {
        --width: 100%;
    }

}

.homepage-excerpt {
    margin-bottom: 15px;
}

.homepage-video {
    position: relative;
    margin-bottom: 20px; /* space between video and read more button */
}

.homepage-video iframe {
    width: 80%;
    height: auto;
    aspect-ratio: 16/9 !important;
}
