/*.share-container {
    position: relative;
    display: inline-flex;
    align-items: center;
}*/

/* Share Button Styles 
#shareButton {
    width: 100%;
    height: 100%;
}

#shareButton img {
    display: block;
}*/

/* Social Icons List Styles 
#socialIconsList {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 100%;
    margin-left: 16px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: center;
    z-index: 10;
    width: 0;
    opacity: 0;
    padding: 0;
    pointer-events: none;
    white-space: nowrap;
    transition: width 0.3s ease-out, opacity 0.3s ease-out, padding 0.3s ease-out;
}

#socialIconsList.is-active {
    width: auto;
    opacity: 1;
    padding: 8px;
    pointer-events: auto;
}
*/
/* Individual Social Icon Button Styles 
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    transition: background-color 0.2s ease;
    flex-shrink: 0;
}

.social-icon:not(:first-child) {
    margin-left: 8px;
}

.social-icon:hover {
    background-color: #f3f4f6;
}

.social-icon img {
    width: 24px;
    height: 24px;
    display: block;
}

@media screen and (max-width: 640px) {
    #socialIconsList {
        top: 200%;
        transform: translateY(-50%);
        left: unset;
        transition: width 0.3s ease-out, opacity 0.3s ease-out, padding 0.3s ease-out;
    }
}*/

/* Single */
.related__wrapper {
    display: none;
}
g path.st2, polygon.st2 {
    fill: #000;
}
.article-author-image img {
    border-radius: 100px;
    height: 46px;
    width: 46px;
    object-fit: cover;
}
.article-header-image img {
    border-radius: 10px;
}
.article-body > :is(p, ul, ol, h1, h2, h3, h4, h5, h6, blockquote) {
    padding-inline: unset;
}
.wp-block-embed-youtube iframe {
    max-width: 100%;
    width: 100%;
    height: 100%;
}
.wp-block-embed-youtube .wp-block-embed__wrapper {
    aspect-ratio: 16/9;
}
.related-btn.btn.all-btn, .latest-btn.btn.all-btn {
    color: #fff;
}

.home .card-share-btn, .card--author .author-icon {
    display: none;
}
.home .card--image , .hero-thumbnails .swiper-slide {
    border-radius: unset;
}
.home .black .card, .home .black .card .card--time, .home .green .card, .home .green .card .card--time {
    color: #fff;
}
.home .blog .card--image {
    border-radius: 50%;
}

.box.side-box > div {
    height: auto;
    border-radius: 10px;
}
/*
.box.side-box {
    height: 100%!important;
}*/
.section-hufFiles.green .related-articles .card--title {
    /*color: #1c1d1d;*/
}
.side-menu {
    z-index: 10010;
}

.article-body blockquote::after {
    right: 0;
}
.article-body blockquote::before {
    left: 0;
}
.box.side-box.right, .box.side-box.left {
    height: calc(100% - 360px) !important;
}
.box.side-box.right > div, .box.side-box.left > div {
    position: sticky!important;
}

.archive .side-box .asd-row, .article .side-box .asd-row {
    height: calc(100% / var(--rows))!important;
}
.archive .box.side-box.left .asd-row, .article .box.side-box.right .asd-row {
    position: relative!important;
    top: 0;
}
.archive .box.side-box.left .asd-row > div, .article .box.side-box.right .asd-row > div { 
    position: sticky;
    top: 168px;
}
.archive .section-grid .section-articles.column-3 > div {
    z-index: 1;
}
/*.archive .section-grid .section-side {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}*/
.archive .box > div {
    background-color: unset;
}
.asdbg {
    /*background: rgb(118,118,118);
    background: -moz-linear-gradient(0deg, rgba(118,118,118,1) 1%, rgba(255,255,255,1) 100%);
    background: -webkit-linear-gradient(180deg, rgba(118,118,118,1) 1%, rgba(255,255,255,1) 100%);
    background: linear-gradient(180deg, rgba(232,233,235,1) 1%, rgba(255,255,255,1) 100%);*/
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#767676",endColorstr="#ffffff",GradientType=1);
    padding-bottom: 25px;
}
.asdbg:before {
    content: 'Advertisement';
    padding-top: 4px;
    margin: 2px auto;
    display: block;
    text-align: center;
    color: #888;
}

.ai-article-summary {
    background-color: #f9f9f9;
    border-left: 5px solid #0073aa; /* WordPress blue */
    padding: 15px;
    margin-bottom: 25px;
    font-family: 'Georgia', serif;
    line-height: 1.6;
    color: #333;
    font-style: italic;
}

.ai-article-summary h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #0073aa;
    font-size: 1.2em;
    font-weight: bold;
}

/* AI Summary Button Styles */
.ai-summary-toggle-btn {
    background-color: #0073aa; /* WordPress blue */
    color: #fff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    border-radius: 5px;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px; /* Space between text and icon */
    transition: background-color 0.3s ease;
}

.ai-summary-toggle-btn:hover {
    background-color: #005177;
}

.ai-summary-toggle-btn .dashicons {
    transition: transform 0.3s ease;
}

.ai-summary-toggle-btn.active .dashicons {
    transform: rotate(180deg); /* Rotate arrow when active/open */
}

/* AI Article Summary Container Styles (for animation) */
.ai-article-summary-container {
    /* Initially hide it by setting max-height to 0 and overflow hidden */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out; /* Smooth transition for height */
    margin-bottom: 20px; /* Space below when open */
}

/* Base AI Article Summary Content Styles (as before, potentially adjusted) */
.ai-article-summary {
    background-color: #f9f9f9;
    border-left: 5px solid var(--colorPrimary);
    padding: 15px;
    /* margin-bottom is moved to .ai-article-summary-container for better control */
    font-family: 'Georgia', serif;
    line-height: 1.6;
    color: #333;
    font-style: italic;
    /* Ensure content inside takes up space */
    box-sizing: border-box; /* Include padding in element's total width and height */
}

.ai-article-summary h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color:  var(--colorPrimary);
    font-size: 1.2em;
    font-weight: bold;
}

/* Normalize built-in block behavior */

ul.wp-block-list li {
    list-style-type: disc;
}

ol.wp-block-list[style=""] li {
    list-style-type: numeric;
}

ul, ol {
    list-style-position: inside;
}

.wp-block-table.is-style-stripes tbody tr:nth-child(2n+1) {
    color: black;
}

/* single ads */

.adv-place-mob, .ad-place-art {
    display: block;
    height: fit-content;
    width: 100%;
    max-width: 1000px;
    margin-inline: auto;
    padding-inline: 5px;
    /*background: rgba(217, 217, 217, 0.20);*/
    margin: 0 auto;
}

.ad {
    width: 100%;
    height: fit-content;
    padding-bottom: 26px;
    max-width: 1000px;
    margin-inline: auto;
    padding-inline: 5px;
    background: rgba(217, 217, 217, 0.20);
    position: sticky;
    top: 76px;
}

.ad-placeholder {
    width: 300px;
    /*background-color: #f4f4f4;*/
    margin-inline: auto;
    padding: 8px 0 5px;
    font-family: 'AeonikPro-Regural', sans-serif;
    font-size: 13px;
    color: #000;
    line-height: 1;
    text-align: center;
}

.ad-place-art.mob-ad,
.mob-ad .ad-placeholder, .section-category .mob-ad, .page-life .mob-ad{
    display: none;
}
.article-body .ad-place-art .ad {
    width: 100%;
}

.mid-banner.mob-ad {
    background-color: transparent;
}

@media screen and (max-width: 769px) {
    .ad-place-art.mob-ad,
    .mob-ad .ad-placeholder,
    .section-category .mob-ad, .page-life .mob-ad {
        display: block;
    }
    .ad-place-art {
        display: none;
    }

    /* .ad-place-art:not(.mob-ad, .combo) {
        visibility: hidden;
        opacity: 0;
	    display:none;
    } */
}

.ad-place-art.out-of-body {
    margin-bottom: 3%;
}

.ad-place-art.out-of-body.under_content__ad {
    margin-top: 1%;
}

/* VOTES DEMO DEV ONLY */
/*
.votes__container {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 10%;
}

.vote__wrapper {
    padding: 50px 25px;
    border: 1px solid white;
    flex: 0 0 32%;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column;
    text-align: center;
    background-color: transparent;
    color: white;
    aspect-ratio: 1;
    max-width: 155px;
    gap: 10px;
}

.vote__wrapper:active {
    background-color: #dadbdb;
    color: #5b5c5c;
}

.vote__wrapper:hover {
    opacity: 0.5;
}

.vote__q {
    font-weight: 600;
}

.vote__percent {
    font-size: 16px;
}

.vote-response-msg-box {
    position: absolute;
    width: 100%;
    bottom: -60px;
    left: 0;
    background-color: transparent;
    color: #AADD68;
    padding: 22px 35px 22px 0;
    font-weight: 700;
    border-radius: 0;
    transition: all 0.4s;
    font-size: 15px;
}*/

.blog img {
    filter: grayscale(1);
    border-radius: 8px;
    height: 100%;
    object-fit: cover;
    width: 100%;
    object-position: top;
}
.blogger-card {
    flex: 1 1 100%;
}
.blog.card {
    height: 100%;
}
.ad-place-art .ad {
    width: 300px;
}

.embed__content {
    aspect-ratio: 16/9;
    display: flex;
    justify-content: center;
    align-items: center;
}

.embed__content > blockquote {
    width: 90%;
}

.embed__content > iframe[src^="https://www.youtube"] {
    aspect-ratio: 16/9;
    width: 100% !important;
    height: auto;
}

.article-details .fav-btn {
    visibility: hidden;
}

.p-3.rounded-lg {
    display: none;
}

.vote__wrapper {
    background-color: #333;
}
/*.section-header h3 {
    line-height: 1;
}
.header-icon {
    display: none;
}*/
/*
.section-header {
    text-transform: uppercase;
}*/
.home .card--info .card--details.flex {
    display: none;
}

/* Add margin-top to .box when no related-wrapper before it */
/*.box {
    margin-top: 70px;
}*/
.nobggrid .box .adbox {
    margin-top: 70px;
    margin-bottom: 70px;
}

.related-wrapper + .box {
    margin-top: 0;
}
.related-wrapper + .box .adbox {
     margin-top: 0;
    margin-bottom: 0;
}
.related-wrapper + .box, .related-wrapper:not(:has(+ .box)) {
    height: auto!important;
}
.row-box {
    min-height: 300px;
}
.horizontal-box.row-box {
    grid-row: 3 / 3;
    grid-column: 1 / -1;
    width: 100%;
    height: auto;
}
.page-life .horizontal-box.row-box {
    grid-row: 4 / 4;
    grid-column: 1 / -1;
    width: 100%;
    height: auto;
}
@media screen and (max-width: 768px) {
    .section-category .horizontal-box.row-box,
    .section-category .section-side,
    .page-life .horizontal-box.row-box,
    .page-life .section-side {
        display: none;
    }
}

.card > a {
    pointer-events: all;
}
.social-icon img {
    filter: invert(1);
}

.section-side .google-news-box {
    position: sticky;
    top: 145px;
    margin-top: 70px;
}
.box > div {
    background-color: unset;
}

img.img-center.up {
    object-position: top!important;
}
img.img-center.left {
    object-position: left!important;
}
img.img-center.right {
    object-position: right!important;
}
img.img-center.down {
    object-position: bottom!important;
}

.comment-btn {
    margin-left: 0;
}

.page-life .pills-empty .pill {
    border-radius: 5px;
}

.newsbox-btn.btn.empty.correction-trigger-btn {
    background: unset;
    border-color: #9b2f48;
    color: #9b2f48;
}
.newsbox-btn.btn.empty.correction-trigger-btn:hover {
    transform: unset;
    box-shadow: unset;
    background-color: #9b2f48;
    color: #fff;
}
.newsbox-btn.btn.empty.contact-trigger-btn {
    background: unset;
    box-shadow: unset;
    transform: unset;
}
.newsbox-btn.btn.empty.contact-trigger-btn:hover {
    background-color: var(--colorPrimary);
    color: var(--colorBg);
}
.article-header-image .img-center {
    aspect-ratio: 16/10;
}

.article-header-btns {
    max-width: 100%;
}
.cat-poular .articles-related {
    margin-top: -55px;
}
.section-header .header-icon {
    margin-top: unset;
    align-self: center;
}
.green .section-header .header-icon {
    filter: unset;
}
.section-category .major-card .card.cover {
    aspect-ratio: 16/9;
}
.section-hufFiles.lifeblue {
    background-color: var(--colorLife);
}
.section-hufFiles.lifeblue {
    color: #fff;
}
.section-category .horizontal-box.row-box {
    margin-bottom: 24px;
}
.section-category .related-articles.flex.col.article-col-list {
    margin-top: 5px;
}
figure.wp-block-embed.is-type-rich.is-provider-embed-handler.wp-block-embed-embed-handler .wp-block-embed__wrapper iframe {
    aspect-ratio: 16/9;
    width: 100%;
    height: auto;
}
@media screen and (min-width: 640px) {
.article-wrapper.wrapper {
    margin-top: 20px;
}
}

.section-hufFiles.lifeblue .card--info, .section-hufFiles.lifeblue .section-header {
    color: var(--colorLifeLight);
}

.article-listen-btn .icon {

}
.wv-play {

}
.wv-pause {
    width: 24px;
    height: 24px;
    background-image: url('https://app.huffingtonpost.gr/static/assets/icons/pause-button.png');
    background-size: contain;
    background-repeat: no-repeat;
    filter: invert(1);
}
.wv-load {
    width: 24px;
    height: 24px;
    background-image: url('https://app.huffingtonpost.gr/static/assets/icons/Headphones.svg');
    background-size: contain;
    background-repeat: no-repeat;
}
.wv-loading {
    width: 24px;
    height: 24px;
    background-image: url('https://app.huffingtonpost.gr/static/assets/icons/loading.gif');
    background-size: contain;
    background-repeat: no-repeat;
}
.wv-play {
    width: 24px;
    height: 24px;
    background-image: url('https://app.huffingtonpost.gr/static/assets/icons/play-button.png');
    background-size: contain;
    background-repeat: no-repeat;
    filter: invert(1);
}
.audio-on .wv-pause {
    width: 24px;
    height: 24px;
    background-image: url('https://app.huffingtonpost.gr/static/assets/icons/pause-button.png');
    background-size: contain;
    background-repeat: no-repeat;
    filter: invert(1);
}
.icon span {
    display: none;
}