/**
Theme Name: ACF
Author: V.Velikov
Author URI: https://acf.bg
Description:
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: acf-child
Domain Path: /languages
Template: astra
*/

body {
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px 16px 0px 16px;
}

#ast-scroll-top {
    background-color: #212121;
    border-radius: 90px;
    box-shadow: 0px 0px 8px 0px #00000059;
    width: 48px;
    height: 48px;
}

#ast-scroll-top svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#mobile-footer-icons {
    display: none;
}

body .ast-container:not(header .ast-container) {
    padding: 0;
}

.donate-btn {
    width: 160px;
    height: 48px;
    padding: 0px 16px 0px 16px;
    border-radius: 8px;
    background: linear-gradient(179.99deg, #434643 5.22%, #000000 99.99%);
    box-shadow: 0px 0px 8px 0px #484b4880;
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-size: 18px;
    font-weight: 700;
    line-height: 150%;
    color: #FFFFFF;
    white-space: nowrap;
}

.donate-btn:hover {
    color: #FFF;
    background: rgba(18, 131, 8, 1);
    transition: none;
}

.donate-btn:focus,
.report-btn:focus,
.agree-btn:focus {
    color: #FFF;
}

.report-btn,
.agree-btn {
    width: 160px;
    height: 48px;
    padding: 0px 16px 0px 16px;
    border-radius: 8px;
    background: linear-gradient(180deg, #DA2128 0%, #B5171D 100%);
    box-shadow: 0px 0px 8px 0px #C61C2280;
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-size: 18px;
    font-weight: 700;
    line-height: 150%;
    color: #FFFFFF;
    cursor: pointer;
    text-wrap: nowrap;
}

.report-btn:hover,
.agree-btn:hover {
    color: #FFF;
    background: rgba(218, 33, 40, 1);
    transition: none;
}

.footer-contact-us-column {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-us-heading {
    color: #212121;
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-size: 21px;
    font-weight: 700;
    line-height: 120%;
    margin-bottom: 1.2em;
}

.footer-contact-us-column div  {
    display: flex;
    gap: 8px;
    align-items: center;
}

.footer-contact-us-column div svg {
    flex-shrink: 0;
}

.footer-contact-us-column div p {
    margin-bottom: 0;
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-size: 18px;
    font-weight: 400;
    line-height: 27px;
    color: #212121;
}

.header-btns-wrapper {
    display: flex;
    gap: 12px;
}

.header-btns-wrapper .report-btn svg,
.header-btns-wrapper .donate-btn svg {
    display: none;
}

.footer-btns-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Astra caps the footer grid at 1440px but gives it no horizontal padding, so
   on a viewport narrower than that the columns sit flush against both edges.
   The max-width is raised by the same amount as the padding, so the content
   keeps its 1440px width on wide screens. */
.site-primary-footer-wrap[data-section="section-primary-footer-builder"] .ast-builder-grid-row {
    box-sizing: border-box;
    max-width: 1504px;
    padding-left: 32px;
    padding-right: 32px;
}

.acf-line-trim {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.acf-line-clamp-2,
.acf-line-clamp-3,
.acf-line-clamp-4,
.acf-line-clamp-5,
.acf-line-clamp-6 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden; 
}

.acf-line-clamp-2 {
    -webkit-line-clamp: 2;
}

.acf-line-clamp-3 {
    -webkit-line-clamp: 3;
}

.acf-line-clamp-4 {
    -webkit-line-clamp: 4;
}

.acf-line-clamp-5 {
    -webkit-line-clamp: 5;
}

.acf-line-clamp-6 {
    -webkit-line-clamp: 6;
}

/* 
    default custom post type styles
*/
article {
    border-radius: 8px;
}

.acf-post-breadcrumb {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-size: 18px;
    font-weight: 700;
    line-height: 150%;
    min-height: 48px;
}
.acf-post-breadcrumb li {
    display: flex;
    align-items: center;
}
.acf-post-breadcrumb li + li:before {
    content: "›";
    margin: 0 8px;
    color: #666;
}
.acf-post-breadcrumb a {
    text-decoration: none;
    color: #666;
    white-space: nowrap;
}
.acf-post-breadcrumb a:hover {
    text-decoration: underline;
}
.acf-post-breadcrumb .acf-current-page a {
    font-weight: bold;
    font-size: 27px;
    color: #000;
}

.acf-current-page {
    min-width: 0;
} 

.acf-current-page > span {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.acf-post-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.acf-post-title {
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-size: 36px;
    font-weight: 700;
    line-height: 120%;
    color: #212121;
}

.acf-post-meta-wrapper {
    display: flex;
    gap: 24px;
    align-items: center;
}

.acf-post-meta-badge {
    background-color: rgba(33, 33, 33, 0.1);
    border-radius: 8px;
    height: 40px;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.acf-post-meta-badge span {
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-size: 18px;
    font-weight: 700;
    line-height: 27px;
    color: #212121;
}

.acf-post-date {
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: rgba(33, 33, 33, 0.5);
}

.acf-main-post-content-wrapper {
    display: flex;
    gap: 24px;
}

.acf-content-left-side {
    flex: 1;
    margin-right: 30px;
    transform: translate(30px, -90px);
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.acf-content-right-side {
    width: 256px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.acf-post-text,
.acf-post-text p {
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-size: 18px;
    font-weight: 400;
    line-height: 27px;
    color: #212121;
}

.acf-post-text a {
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Responsive 16:9 video embed */
.acf-post-text iframe[src*="youtube.com"],
.acf-post-text iframe[src*="youtu.be"],
.acf-post-text iframe[src*="vimeo.com"] {
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}

.acf-related-post-card {
    width: 256px;
    min-height: 272px;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.acf-related-post-thumbnail {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

/* Investigation Attached Files */
.acf-content-attached-files {
    margin-top: 10px;
    padding: 16px;
    background: #fff;
    border: 1px solid rgba(193, 193, 193, 0.3);
    border-radius: 8px;
}

.acf-attached-files-heading {
    font-family: "Manrope", sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 120%;
    color: #212121;
    margin: 0 0 24px 0;
}

.acf-attached-files-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.acf-attached-file-item {
    font-family: "Manrope", sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 27px;
    color: #212121;
    text-decoration: none;
    transition: color 0.2s;
    display: inline-block;
}

.acf-attached-file-item .file-date {
    color: rgba(33, 33, 33, 0.5);
    font-size: 16px;
}

.acf-post-featured-image {
    max-height: 480px;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.acf-related-posts {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.acf-related-posts .acf-card-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    background: #FFFFFF;
    flex-grow: 1;
}

.acf-related-posts .acf-card-title {
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-size: 17px;
    font-weight: 500;
    line-height: 120%;
    color: #212121;
    /* Unclamped titles ran to a dozen lines and tore the card grid apart,
       worst of all in the two-column mobile layout. */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    overflow: hidden;
    overflow-wrap: break-word;
}

.acf-related-posts .acf-post-date {
    margin-top: auto;
}

.acf-donation-box {
    background: linear-gradient(270.04deg, #128308 0.04%, #245F1B 99.96%);
    width: 256px;
    /* Fixed width alone pushes the box past the viewport on phones. */
    max-width: 100%;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.acf-donate-box-title {
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-size: 27px;
    font-weight: 700;
    line-height: 120%;
    color: #EEEEEE;
}

.acf-donate-box-text {
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-size: 18px;
    font-weight: 400;
    line-height: 150%;
    color: #EEEEEE;
    margin: 0;
}

.acf-donate-btn {
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-size: 18px;
    font-weight: 700;
    line-height: 150%;
    color: #212121;
    background-color: #EEEEEE;
    box-shadow: 0px 0px 8px 0px #00000059;
    height: 48px;
    border-radius: 8px;
    cursor: pointer;
}

.acf-donate-btn:hover {
    background-color: #EEEEEE;
    color: rgba(18, 131, 8, 1);
}

.acf-subscribe-box {
    background: linear-gradient(90deg, #3972B5 0%, #0A4182 100%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 30px;
    border-radius: 8px;
    justify-content: center;
    margin-bottom: 1.75em;
    flex: 1;
}

.acf-subscribe-box-title {
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-size: 47px;
    font-weight: 700;
    line-height: 120%;
    color: #EEEEEE;
}

p.acf-subscribe-box-text {
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-size: 18px;
    font-weight: 400;
    line-height: 150%;
    color: #EEEEEE;
    margin: 0;
    width: 60%;
}

.acf-subscribe-box-form-wrapper {

}

.acf-subscribe-box-form {
    display: flex;
    height: 48px;
    gap: 16px;
}

.acf-subscribe-box-btn {
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-size: 18px;
    font-weight: 700;
    line-height: 27px;
    color: #212121;
    background-color: #EEEEEE;
    width: 160px;
    flex: 0 0 auto;
    height: 48px;
    border-radius: 8px;
    box-shadow: 0px 0px 8px 0px #00000059;
}

.acf-subscribe-box-btn:hover {
    color: rgba(57, 114, 181, 1);
    background-color: #EEEEEE;
}

input.acf-subscribe-box-mail-input {
    height: 48px;
    /* Takes the space the button leaves, so the field always reads longer than
       the button instead of ending up the same width as it. */
    flex: 1 1 auto;
    min-width: 0;
    max-width: 420px;
    border-radius: 8px;
    border: 1px solid #0000001A;
}

/* Формата на Mailchimp for WordPress в кутията за бюлетин */
.acf-subscribe-box .mc4wp-form-fields {
    display: flex;
    height: 48px;
    gap: 16px;
}

.acf-subscribe-box .mc4wp-response p,
.acf-subscribe-box .mc4wp-alert p {
    font-family: "Manrope", sans-serif;
    font-size: 18px;
    line-height: 150%;
    color: #EEEEEE;
    margin: 12px 0 0;
}

p.acf-subscribe-box-note {
    font-family: "Manrope", sans-serif;
    font-size: 13px;
    line-height: 150%;
    color: rgba(238, 238, 238, 0.8);
    margin: 0;
}

p.acf-subscribe-box-note a {
    color: #EEEEEE;
    text-decoration: underline;
}

/* 
    default archive styles
*/
article.acf-archive-article {
    height: 330px;
    width: 100% !important;
    border-radius: 8px;
    box-shadow: 0px 0px 4px 0px #00000040;
    padding: 0 !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin: 0 !important;
}

.acf-posts-archive-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    justify-items: center;
    gap: 30px;
    margin-top: 40px;
}

.acf-posts-archive-wrapper > a {
    width: 100%;
}

.acf-archive-post-thumbnail {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.acf-post-archive-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    background: #FFFFFF;
    flex-grow: 1;
}

.acf-post-archive-content-wrapper .acf-card-title {
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-size: 17px;
    font-weight: 500;
    line-height: 120%;
    color: #212121;
}

.acf-post-archive-content-wrapper > time.acf-post-date {
    margin-top: auto;
}

.acf-archive-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
}

/* 
    single video post type styles 
*/
.acf-post-video {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
}

.acf-video-post-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.acf-post-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.acf-post-related-videos {
    display: flex;
    margin-top: 50px;
    gap: 32px;
    flex-wrap: wrap;
}

.acf-post-related-videos .acf-card-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    background: #FFFFFF;
    flex-grow: 1;
}

.acf-post-related-videos .acf-card-title {
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-size: 19px;
    font-weight: 500;
    line-height: 120%;
    color: #212121;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    overflow: hidden;
    overflow-wrap: break-word;
}

.acf-post-related-videos .acf-related-post-card {
    height: auto;
    width: 264px;
}

.acf-post-related-videos .acf-post-date {
    margin-top: auto;
}

.acf-bottom-boxes {
    margin: 1.75em 0;
    display: flex;
    gap: 32px;
}

.acf-bottom-boxes .acf-donation-box {
    width: 342px;
    max-width: 100%;
    min-height: 170px;
    height: auto;
}

.acf-bottom-boxes .acf-donate-btn {
    margin-top: auto;
}

/* 
    current page styles
*/

.acf-category-time-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.acf-current-filter-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: max-content;
    max-width: 100%;
    height: 64px;
    gap: 32px;
    padding: 0px 32px 0px 32px;
    border-radius: 8px;
    background-color: #FFF;
    margin-top: 20px;
}

.acf-filter-form {
    height: 64px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 32px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    max-width: 100%;
    min-width: 0;
}

.acf-filter-form::-webkit-scrollbar {
    display: none;
}

.acf-filter-form button {
    color: rgba(33, 33, 33, 0.6);
    height: 100%;
    background: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-size: 21px;
    font-weight: 700;
    line-height: 25.2px;
    border-radius: 0;
    box-shadow: none;
    padding: 0px 8px 0px 8px;
}

.acf-filter-form button.acf-filter-active {
    border-bottom: 2px solid rgba(33, 33, 33, 1);
    color: rgba(33, 33, 33, 1);
}


.acf-year-filter-select {
    height: 64px;
    padding: 0px 16px;
    font-family: "Manrope", sans-serif;
    font-size: 21px;
    font-weight: 700;
    line-height: 25.2px;
    color: rgba(33, 33, 33, 0.6);
    background: #FFF;
    border: none;
    border-radius: 0;
    cursor: pointer;
    min-width: 150px;
    white-space: nowrap;
    flex-shrink: 0;
}

.acf-year-filter-select:focus {
    outline: none;
    border-color: rgba(33, 33, 33, 1);
}

/* Custom year dropdown */
.acf-year-dropdown {
    position: relative;
    flex-shrink: 0;
    height: 64px;
    display: flex;
    align-items: center;
}

.acf-year-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    height: 100%;
    min-width: 170px;
    padding: 0 16px;
    background: #FFF;
    border: none;
    border-radius: 0;
    box-shadow: none;
    cursor: pointer;
    font-family: "Manrope", sans-serif;
    font-size: 21px;
    font-weight: 700;
    line-height: 25.2px;
    color: rgba(33, 33, 33, 0.6);
    white-space: nowrap;
}

.acf-year-dropdown.is-open .acf-year-dropdown-toggle,
.acf-year-dropdown-toggle:hover {
    color: rgba(33, 33, 33, 1);
}

.acf-year-dropdown-arrow {
    font-size: 14px;
    transition: transform 0.2s ease;
}

.acf-year-dropdown.is-open .acf-year-dropdown-arrow {
    transform: rotate(180deg);
}

.acf-year-dropdown-menu {
    position: fixed;
    min-width: 170px;
    max-height: 320px;
    overflow-y: auto;
    margin: 0;
    padding: 4px 0;
    list-style: none;
    background: #FFF;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    z-index: 9999;
}

.acf-year-dropdown-option {
    padding: 10px 20px;
    font-family: "Manrope", sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.3;
    color: rgba(33, 33, 33, 0.85);
    cursor: pointer;
    white-space: nowrap;
}

.acf-year-dropdown-option:hover {
    background: rgba(33, 33, 33, 0.06);
    color: rgba(33, 33, 33, 1);
}

.acf-year-dropdown-option.is-selected {
    font-weight: 700;
    color: rgba(33, 33, 33, 1);
    background: rgba(33, 33, 33, 0.04);
}

.acf-current-filter-wrapper {
    display: flex;
    gap: 24px;
    align-items: center;
}

.acf-current-main-topic-wrapper,
.acf-investigation-main-topic-wrapper {
    width: 100%;
    height: 480px;
    border-radius: 8px;
    padding: 40px;
    display: flex;
    gap: 16px;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.25);
}

.acf-current-main-topic-wrapper > a,
.acf-investigation-main-topic-wrapper > a {
    flex: 1;
}

.acf-current-main-topic,
.acf-investigation-main-topic {
    height: 100%;
    position: relative;
    overflow: hidden;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.acf-current-main-topic-content-wrapper,
.acf-investigation-main-topic-content-wrapper {
    display: flex;
    gap: 16px;
    justify-content: space-between;
    align-items: center;
    padding: 0 32px 16px 32px;
    position: absolute;
    bottom: 0;
    width: 100%;
    background: linear-gradient(0deg, #000000 0%, rgba(0, 0, 0, 0) 100%);
}

.acf-current-main-topic-content-wrapper h3,
.acf-investigation-main-topic-content-wrapper h3 {
    color: rgba(238, 238, 238, 1);
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-size: 36px;
    font-weight: 700;
    line-height: 120%;
}

.acf-investigation-main-topic-content-wrapper h3 {
    width: 83%;
}

.acf-current-main-topic-content-wrapper .acf-post-date,
.acf-investigation-main-topic-content-wrapper .acf-post-date {
    color: rgba(238, 238, 238, 1);
}

.acf-investigation-main-topic-content-wrapper .acf-post-date {
    align-self: end;
}

.acf-current-related-topics-wrapper,
.acf-investigation-related-topics-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.acf-current-related-topics,
.acf-investigation-related-topics {
    display: flex;
    gap: 16px;
    flex: 1;
}

.acf-current-related-article,
.acf-investigation-related-article {
    overflow: hidden;
    max-width: 330px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.25);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.acf-current-related-article .acf-post-archive-content-wrapper {
    gap: 24px;
}

.acf-investigation-related-topics-wrapper .acf-archive-post-thumbnail {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.acf-investigation-archive-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 32px;
    margin-top: 40px;
}

/* 
    single investigation post type styles
*/
.acf-timeline-container {
    overflow-x: auto;
    padding: 20px;
    position: relative;
    cursor: grab;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}

.acf-timeline-container::-webkit-scrollbar {
    display: none;
}

.acf-timeline {
    display: flex;
    flex-direction: row;
    gap: 48px;
    position: relative;
    border-top: 2px solid #DEDEDE;
    width: fit-content;
}

.acf-timeline-item {
    display: inline-block;
    vertical-align: top;
    width: 300px; 
    position: relative;
    z-index: 2;
    text-align: center;
}


.acf-timeline-circle {
    width: 32px;
    height: 32px;
    background: #fff;
    border: 2px solid rgba(193, 193, 193, 1);
    border-radius: 32px;
    position: absolute;
    top: -2px;
    left: 0;
    transform: translate(-50%, -50%);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.acf-timeline-circle svg {
    width: 16px;
    height: 16px;
}

.acf-timeline-circle::after {
    content: '';
    width: 100%;
    height: 100%;
    border: 2px solid #FFF;
    border-radius: 50%; 
    box-sizing: border-box;
    position: absolute;
    top: 0;
    left: 0;
}

.acf-timeline-circle.active::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    width: 275px; 
    height: 2px;
    background: #000;
    z-index: 1;
}

.acf-timeline-circle.active {
    background: #000;
    border-color: #000;
}

.acf-timeline-date {
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-size: 18px;
    font-weight: 700;
    line-height: 27px;
    color: rgba(33, 33, 33, 1);
    margin-top: 32px;
    margin-left: 18px;
    text-align: left;
}

.acf-timeline-content {
    border: 1px solid #ddd;
    border-radius: 0px 8px 8px 8px;
    background: #fff;
    margin-top: 20px;
    position: relative;
    width: fit-content;
    display: flex;
    flex-direction: column;
    height: auto;
}

.acf-timeline-item.active .acf-timeline-content {
    border: 1px solid black;
}

.acf-timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -1px;
    width: 0;
    height: 0;
    border: 14px solid transparent;
    border-bottom-color: #ddd;
    border-top: 0;
    border-left: 0;
    margin-top: -14px;
    z-index: -1; /* Ensure it is behind the :after element */
}

.acf-timeline-item.active .acf-timeline-content::before {
    border-bottom-color: #000;
}

.acf-timeline-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border: 15px solid transparent;
    border-bottom-color: #FFF;
    border-top: 0;
    border-left: 0;
    margin-top: -13px;
    z-index: 1; 
}

.acf-timeline-content div {
    padding: 16px 16px 8px 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}

.acf-timeline-content h5 {
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-size: 16px;
    font-weight: 600;
    line-height: 120%;
    color: rgba(33, 33, 33, 1);
    text-align: left;
}

.acf-timeline-content span,
.acf-card-category-badge {
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    height: 25px;
    width: fit-content;
    color: rgba(33, 33, 33, 1);
    background-color: rgba(33, 33, 33, 0.1);
    border-radius: 8px;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.acf-timeline-content img {
    width: 100%;
    border-radius: 8px;
    border: 4px solid rgba(255, 255, 255, 1);
    margin-top: auto;
    height: 150px;
}

.acf-main-investigation-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0px 0px 32px 0px;
}

.acf-main-investigation-heading {
    color: rgba(33, 33, 33, 1);
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-size: 47px;
    font-weight: 700;
    line-height: 120%;
}

.acf-main-post-dates {
    color: rgba(33, 33, 33, 0.7);
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-size: 18px;
    font-weight: 400;
    line-height: 27px;
}

.acf-main-post-content {
    color: rgba(33, 33, 33, 0.7);
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-size: 18px;
    font-weight: 400;
    line-height: 27px;
}

/* 
    Front page styles
*/

.acf-hidden {
    display: none !important;
}

.home div#primary {
    margin: 0;
}

.acf-investigation-section,
.acf-video-section,
.acf-position-section,
.acf-publication-section,
.acf-events-section,
.acf-analysis-section,
.acf-about-us-section {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    padding: 80px 0px 0px 0px;
    gap: 16px;
}

.acf-events-section {
    padding-bottom: 80px;
}

.acf-investigation-section-heading-wrapper,
.acf-video-section-heading-wrapper,
.acf-position-section-heading-wrapper,
.acf-publication-section-heading-wrapper,
.acf-events-section-heading-wrapper,
.acf-analysis-section-heading-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 40px;
}

.acf-investigation-section-heading-wrapper h2,
.acf-video-section-heading-wrapper h2,
.acf-position-section-heading-wrapper h2,
.acf-publication-section-heading-wrapper h2,
.acf-events-section-heading-wrapper h2,
.acf-analysis-section-heading-wrapper h2,
.acf-about-us-heading {
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-size: 36px;
    font-weight: 700;
    line-height: 120%;
    color: rgba(33, 33, 33, 1);
}

.acf-investigation-section-heading-wrapper hr,
.acf-video-section-heading-wrapper hr,
.acf-position-section-heading-wrapper hr,
.acf-publication-section-heading-wrapper hr,
.acf-events-section-heading-wrapper hr,
.acf-analysis-section-heading-wrapper hr {
    flex: 1;
    height: 4px;
    border: 0;
    margin: 0;
    background-color: rgba(88, 89, 91, 1);
}

.acf-investigation-section-heading-wrapper a.btn,
.acf-video-section-heading-wrapper a.btn,
.acf-position-section-heading-wrapper a.btn,
.acf-publication-section-heading-wrapper a.btn,
.acf-events-section-heading-wrapper a.btn,
.acf-analysis-section-heading-wrapper a.btn,
.acf-analysis-content-wrapper a.main-btn,
.acf-fp-hero-content a.main-btn,
.acf-fp-hero-list a.acf-fp-hero-list-btn {
    height: 48px;
    background-color: rgba(33, 33, 33, 1);
    border: 2px solid rgba(33, 33, 33, 0.5);
    border-radius: 8px;
    box-shadow: 0px 0px 8px 0px rgba(33, 33, 33, 0.4);
    color: rgba(238, 238, 238, 1);
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-size: 18px;
    font-weight: 700;
    line-height: 27px;
}

.acf-investigation-section-heading-wrapper a.btn:hover,
.acf-video-section-heading-wrapper a.btn:hover,
.acf-position-section-heading-wrapper a.btn:hover,
.acf-publication-section-heading-wrapper a.btn:hover,
.acf-events-section-heading-wrapper a.btn:hover,
.acf-analysis-section-heading-wrapper a.btn:hover,
.acf-analysis-content-wrapper a.main-btn:hover,
.acf-fp-hero-content a.main-btn:hover,
.acf-fp-hero-list a.acf-fp-hero-list-btn:hover {
    background: rgba(61, 61, 61, 1);
}

.acf-fp-hero-list a.acf-fp-hero-list-btn {
    align-self: flex-start;
    margin: 8px 16px 0 16px;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.acf-investigation-section-content-wrapper {
    display: flex;
    height: 560px;
    gap: 16px;
}

.acf-investigation-section-content-wrapper > a {
    width: 65%;
}

.acf-investigation-section-main-card {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.acf-investigation-section-main-card .acf-card-title,
.acf-investigation-cards-wrapper .acf-card-title,
.acf-position-cards-wrapper .acf-card-title,
.acf-publication-cards-wrapper .acf-card-title,
.acf-events-cards-wrapper .acf-card-title {
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-size: 17px;
    font-weight: 500;
    line-height: 120%;
    color: rgba(33, 33, 33, 1);
}

.acf-investigation-section-main-card .acf-card-title,
.acf-investigation-cards-wrapper .acf-card-title {
    font-weight: 700;
}

.acf-investigation-section-main-card .acf-main-card-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 32px;
    background: #FFFFFF;
    flex-grow: 1;
}

.acf-main-card-thumbnail {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.acf-investigation-cards-wrapper {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    width: 50%;
}

.acf-investigation-cards-wrapper .acf-card-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    background: #FFFFFF;
    flex-grow: 1;
}

.acf-investigation-cards-wrapper .acf-related-post-card,
.acf-position-cards-wrapper .acf-related-post-card,
.acf-publication-cards-wrapper .acf-related-post-card,
.acf-events-cards-wrapper .acf-related-post-card {
    width: unset;
    height: 330px;
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.25);
}

.acf-investigation-cards-wrapper .acf-related-post-card {
    height: 100%;
}

.acf-investigation-cards-wrapper > a {
    flex: 1 1 calc(50% - 8px);
    max-width: calc(50% - 8px);
    height: 48%;
}

.acf-investigation-cards-wrapper .acf-related-post-thumbnail,
.acf-position-cards-wrapper .acf-related-post-thumbnail,
.acf-publication-cards-wrapper .acf-related-post-thumbnail,
.acf-events-cards-wrapper .acf-related-post-thumbnail {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.acf-position-cards-wrapper,
.acf-publication-cards-wrapper,
.acf-events-cards-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    justify-items: center;
    gap: 30px;
}

.acf-position-cards-wrapper .acf-card-content-wrapper,
.acf-publication-cards-wrapper .acf-card-content-wrapper,
.acf-events-cards-wrapper .acf-card-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    background: #FFFFFF;
    flex-grow: 1;
}

.acf-position-cards-wrapper > a,
.acf-publication-cards-wrapper > a,
.acf-events-cards-wrapper > a {
    width: 100%;
    max-width: 360px;
    box-sizing: border-box;
}

.acf-position-cards-wrapper .acf-post-date,
.acf-events-cards-wrapper .acf-post-date {
    margin-top: auto;
}

.acf-analysis-board-wrapper {
    background-color: #FFF;
    border-radius: 8px;
    display: flex;
    gap: 40px;
    width: 100%;
}

.acf-analysis-headings-wrapper {
    border-radius: 8px 0px 0px 0px;
    padding: 16px 0px 16px 0px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.acf-analysis-heading-element {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 8px 0px 8px 32px;  
    cursor: pointer;
}

.acf-analysis-heading-element.active {
    border-left: 4px solid rgba(33, 33, 33, 1) /* for active element */
}

.acf-analysis-heading-element h5 {
    color: rgba(33, 33, 33, 1);
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-size: 17px;
    font-weight: 600;
    line-height: 120%;
}

.acf-analysis-heading-element time,
.acf-analysis-content-wrapper time {
    color: rgba(33, 33, 33, 0.5);
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
}

.acf-analysis-content-wrapper {
    height: 400px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 0px 16px 0px;
    flex: 2;
}

.acf-analysis-content-wrapper a {
    width: 160px;
    margin-top: 16px;
}

.acf-analysis-content-wrapper h3 {
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-size: 27px;
    font-weight: 700;
    line-height: 120%;
    color: rgba(33, 33, 33, 1);
}

.acf-analysis-content-wrapper .acf-analysis-content {
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-size: 17px;
    font-weight: 400;
    line-height: 27px;
    color: rgba(33, 33, 33, 0.7);
}

.acf-send-report-section,
.acf-donate-now-section {
    width: 100%;
    padding: 80px 64px 80px 64px;
    background: linear-gradient(180deg, #DA2128 0%, #B5171D 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.acf-donate-now-section {
    background: linear-gradient(179.99deg, #434643 5.22%, #000000 99.99%);
}

.acf-send-report-wrapper,
.acf-donate-now-wrapper {
    height: 360px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 1);
    display: flex;
    width: 100%;
    max-width: 1000px;
    overflow: hidden;
}

.acf-send-report-text-content,
.acf-donate-now-text-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 40px;
    justify-content: center;
}

.acf-send-report-text-content h2,
.acf-donate-now-text-content h2 {
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-size: 36px;
    font-weight: 700;
    line-height: 120%;
    color: rgba(33, 33, 33, 1);
}

.acf-send-report-text-content p,
.acf-donate-now-text-content p {
    color: rgba(33, 33, 33, 1);
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-size: 18px;
    font-weight: 400;
    line-height: 150%;
    margin-bottom: 0;    
}

.acf-send-report-text-content a,
.acf-donate-now-text-content a {
    background: linear-gradient(180deg, #DA2128 0%, #B5171D 100%);
    box-shadow: 0px 0px 8px 0px rgba(198, 28, 34, 0.5);
    width: 160px;
    height: 48px;
    border-radius: 8px;
    padding: 0px 16px 0px 16px;
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-size: 18px;
    font-weight: 700;
    line-height: 27px;
    color: rgba(255, 255, 255, 1);
}

.acf-donate-now-text-content a {
    background: linear-gradient(179.99deg, #434643 5.22%, #000000 99.99%);
    box-shadow: 0px 0px 8px 0px #484b4880;
}

.acf-donate-now-text-content a:hover {
    color: #FFF;
    background: rgba(18, 131, 8, 1);
    transition: none;
}

.acf-send-report-text-content a:hover {
    color: #FFF;
    background: rgba(218, 33, 40, 1);
    transition: none;
}

.acf-send-report-img-content svg,
.acf-donate-now-img-content svg {
    height: 100%;
}

.acf-partnership-section {
    background: rgba(255, 255, 255, 1);
    padding: 24px 0px 48px 0px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    justify-content: center;
}

.acf-partnership-heading {
    color: rgba(33, 33, 33, 1);
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-size: 36px;
    font-weight: 700;
    line-height: 120%;
}

.acf-partnership-section-logos-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 160px;
    row-gap: 40px;
    flex-wrap: wrap;

}

.acf-partnership-section-logos-wrapper img {
    height: auto;
    max-height: 105px;
    width: auto;
    max-width: unset;
}

.acf-about-us-heading {
    align-self: center;
}

.acf-about-us-text {
    color: rgba(33, 33, 33, 0.7);
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-size: 18px;
    font-weight: 400;
    line-height: 150%;
    align-self: center;
    width: 100%;
    max-width: 688px;
}

.acf-about-us-cards-wrapper {
    display: flex;
    gap: 32px;
    overflow-x: auto;
    padding: 10px 100px 10px 60px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}

.acf-about-us-cards-wrapper::-webkit-scrollbar {
    display: none;
}

.acf-about-us-card {
    height: 575px;
    width: 344px;
    border-radius: 8px;
    background: #FFF;
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.acf-about-us-card img {
    flex: 0 0 auto;
    width: 100%;
    aspect-ratio: 32 / 27;
    object-fit: cover;
}

.acf-about-us-card-content {
    flex: 1;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 16px;
    gap: 8px;
}

.acf-about-us-card-content h4 {
    color: rgba(33, 33, 33, 1);
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-size: 27px;
    font-weight: 700;
    line-height: 120%;
}

.acf-about-us-card-content span {
    border-radius: 4px;
    padding: 4px 8px 4px 8px;
    width: fit-content;
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
}

.acf-about-us-card-content span.blue {
    background: rgba(57, 114, 181, 0.2);
    color: rgba(57, 114, 181, 1);
}

.acf-about-us-card-content span.green {
    background: rgba(18, 131, 8, 0.2);
    color: rgba(18, 131, 8, 1);
}

.acf-about-us-card-content span.orange {
    background: rgba(250, 126, 30, 0.2);
    color: rgba(250, 126, 30, 1);
}

.acf-about-us-card-content p {
    margin: 0;
    color: rgba(33, 33, 33, 0.7);
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    overflow: hidden;
}

/* Grid (page-ekip): clamp text to keep equal card heights per row */
.acf-team-grid .acf-about-us-card-content p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.acf-about-us-cards-section {
    display: flex;
    justify-content: center;
    overflow-x: auto;
    margin: 30px 0;
}

/* Team sections for Екип page */
.acf-team-section {
    margin-bottom: 48px;
}

.acf-team-section-heading {
    font-family: "Manrope", sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #212121;
    margin-bottom: 24px;
}

/* Team grid for Екип page */
.acf-team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 32px;
}

.acf-team-grid .acf-about-us-card {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

@media only screen and (max-width: 1024px) {
    .acf-team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media only screen and (max-width: 768px) {
    .acf-team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .acf-team-grid .acf-about-us-card {
        min-height: unset;
    }
}

/* Single member page */
.acf-single-member .entry-meta,
.single-member .navigation.post-navigation {
    display: none;
}

.acf-member-content-wrapper {
    display: flex;
    gap: 40px;
    margin-top: 24px;
}

.acf-member-image {
    flex: 0 0 400px;
}

.acf-member-featured-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.acf-member-text {
    flex: 1;
    font-family: "Manrope", sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 150%;
    color: rgba(33, 33, 33, 0.85);
}

@media only screen and (max-width: 1024px) {
    .acf-member-image {
        flex: 0 0 300px;
    }
}

@media only screen and (max-width: 768px) {
    .acf-member-content-wrapper {
        flex-direction: column;
        gap: 24px;
    }

    .acf-member-image {
        flex: none;
        width: 100%;
    }
}

.acf-fp-hero-section,
.acf-investigation-section,
.acf-video-section,
.acf-position-section,
.acf-publication-section,
.acf-analysis-section,
.acf-events-section,
.acf-about-us-section {
    padding: 0 64px;
    margin: 30px auto;
}

.acf-fp-hero-section {
    width: 100%;
    max-width: 1440px;
    height: 480px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr) 480px;
    grid-template-rows: repeat(8, 1fr); 
    grid-column-gap: 0px;
    grid-row-gap: 0px; 
}

.acf-fp-hero-img-link {
    grid-column: 1 / 6;
    grid-row: 1 / -1;
    position: relative;
}

.acf-fp-hero-img-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 42.42%, rgba(0, 0, 0, 0.7) 100%);
    pointer-events: none; /* Ensures the gradient doesn’t interfere with clicking */
    z-index: 1; /* Make sure the gradient is above the image */
}

.acf-fp-hero-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.acf-fp-hero-content {
    background: rgba(0, 0, 0, 0);
    grid-column: 1 / 6;
    grid-row: 7 / -1;
    display: flex;
    flex-direction: column;
    padding: 24px;
    gap: 8px;
    z-index: 98;
    position: relative;
}

.acf-full-cover-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10; 
}

.acf-fp-hero-content h4 {
    color: #EEEEEE;
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-size: 23px;
    font-weight: 700;
    line-height: 120%;
}

.acf-fp-hero-content time {
    color: #EEEEEE;
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.acf-fp-hero-list {
    background: #FFF;
    grid-column: 6 / -1;
    grid-row: 1 / -1;
    display: flex;
    flex-direction: column;
    padding: 0 0 8px 0;
    z-index: 9;
}

.acf-fp-hero-list h5 {
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-size: 36px;
    font-weight: 700;
    line-height: 120%;
    color: rgba(33, 33, 33, 1);
    padding: 16px 8px 8px 16px;
}

.acf-fp-hero-list-item {
    display: flex;
    flex-direction: column;
    padding: 8px 24px 8px 24px;
    gap: 8px;
    cursor: pointer;
    flex: 1;
}

.acf-fp-hero-list-item.active {
    border-right: 8px solid rgba(33, 33, 33, 1);
}

.acf-fp-hero-list-item:hover {
    background: rgba(246, 246, 246, 1);
}

.acf-fp-hero-list-item h4 {
    color: rgba(33, 33, 33, 1);
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-size: 16px;
    font-weight: 700;
    line-height: 120%;
}

.acf-fp-hero-list-item time {
    color: rgba(33, 33, 33, 0.5);
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
}

/* Analysis hero (mirrors front-page hero layout) */
.acf-analysis-hero-section {
    width: 100%;
    max-width: 1440px;
    height: 480px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr) 480px;
    grid-template-rows: repeat(8, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
}

.acf-analysis-hero-img-link {
    grid-column: 1 / 6;
    grid-row: 1 / -1;
    position: relative;
}

.acf-analysis-hero-img-link.acf-hidden {
    display: none;
}

.acf-analysis-hero-img-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 42.42%, rgba(0, 0, 0, 0.7) 100%);
    pointer-events: none;
    z-index: 1;
}

.acf-analysis-hero-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.acf-analysis-hero-content {
    background: rgba(0, 0, 0, 0);
    grid-column: 1 / 6;
    grid-row: 7 / -1;
    display: flex;
    flex-direction: column;
    padding: 24px;
    gap: 8px;
    z-index: 98;
    position: relative;
}

.acf-analysis-hero-content h4 {
    color: #EEEEEE;
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-size: 23px;
    font-weight: 700;
    line-height: 120%;
}

.acf-analysis-hero-content time {
    color: #EEEEEE;
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.acf-analysis-hero-list {
    background: #FFF;
    grid-column: 6 / -1;
    grid-row: 1 / -1;
    display: flex;
    flex-direction: column;
    padding: 0 0 8px 0;
    z-index: 9;
}

.acf-analysis-hero-list-item {
    display: flex;
    flex-direction: column;
    padding: 8px 24px 8px 24px;
    gap: 8px;
    cursor: pointer;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.acf-analysis-hero-list-item.active {
    border-right: 8px solid rgba(33, 33, 33, 1);
}

.acf-analysis-hero-list-item:hover {
    background: rgba(246, 246, 246, 1);
}

.acf-analysis-hero-list-item h4 {
    color: rgba(33, 33, 33, 1);
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-size: 16px;
    font-weight: 700;
    line-height: 120%;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.acf-analysis-hero-list-item time {
    color: rgba(33, 33, 33, 0.5);
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
}

.mobile-btn,
.hero-mobile-btn,
.analysis-mobile-btn {
    display: none;
}

.acf-video-section {
    max-width: 100%;
    width: 100%;
    margin: 0;
    align-items: center;
    overflow: hidden;
}

.acf-video-section-heading-wrapper {
    max-width: 1440px;
}

.acf-video-background-wrapper {
    background-color: rgba(33, 33, 33, 1);
    width: 100vw;
    padding: 40px 0;
}

.acf-videos-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* send report popup */
.acf-send-report-popup-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4); 
}

.acf-send-report-popup-content {
  margin: 5% auto;
  width: 90%;
  max-width: 600px;
  padding: 16px;
  color: #000;
  background-color: #fff;
}

.acf-send-report-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 30px;
}

.acf-send-report-popup-footer {
  display: flex;
  align-items: center;
  justify-content: end;
}


.acf-close-btn {
  color: #000;
  font-size: 28px;
  font-weight: bold;
}

.acf-close-btn:hover,
.acf-close-btn:focus {
  color: blue;
  text-decoration: none;
  cursor: pointer;
}
/* end send report popup */

#language-switcher::-ms-expand {
    display: none; /* Remove the dropdown arrow for Internet Explorer and Edge */
}

select option:hover {
    background-color: white;
}

/* Remove focus outline on select */
select:focus {
    outline: none;
}

/* Remove border and focus outline when select is opened */
select:focus-visible {
    outline: none;
    border: none;
}

#language-switcher option:hover {
    background-color: rgba(255, 255, 255, 1);
}

/* new language css */
.language-container {
    position: relative;
    width: 50px;
    height: 25px;
    display: inline-block;
    color: rgba(33,33,33,0.6);
}

#language-switcher {
    cursor: pointer;
    display: inline-block;
    width: 50px;
    height: 25px;
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-size: 18px;
    font-weight: 700;
    line-height: 27px;
    position: relative;
    z-index: 3;
}

.language-options {
    display: none;
    width: 135px; 
    position: absolute;
    top: 40px;
    left: -30px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    z-index: 1000;
    list-style: none;
    padding: 0 8px;
}

.language-options.visible {
    display: block;
}

.language-options li {
    padding: 5px 10px;
}

.language-options li a {
    text-decoration: none;
    color: #333;
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-size: 18px;
    font-weight: 700;
    line-height: 27px;
    display: inline-block;
    width: 100%;
}

.language-options li a:hover {
    background-color: #f1f1f1;
}

#language-icon {
    width: 20px;
    height: 20px;
    position: absolute;
    left: 25px;
    opacity: 0.6;
    top: 50%;
    transform: translateY(-50%);
}
/* end new language css */

.ast-search-icon {
    opacity: 0.6;
}

form.search-form {
    border: 0 !important;
}

form.search-form #search-field {
    border: 1px solid #000000;
    border-radius: 8px;
}

section.widget_block {
    margin: 0;
}

#block-31 {
    display: flex;
}

#facebook-icon rect,
#twitter-icon rect,
#instagram-icon rect:last-of-type,
#youtube-icon rect,
#viber-icon path:first-of-type {
    transition: fill 0.5s ease-in-out;
}

#facebook-icon:hover rect {
    fill: #1877F2;
}

#twitter-icon:hover rect {
    fill: #1D9BF0;
}

#instagram-icon:hover rect:last-of-type {
    fill: url(#paint2_linear_1324_345);
}

#youtube-icon:hover rect {
    fill: #ff0000;
}

#viber-icon:hover path:first-of-type {
    fill: #6F3FAA;
}

html[lang="bg-BG"] .footer-contact-us-column.en {
    display: none;
}

html[lang="en-GB"] .footer-contact-us-column.bg  {
    display: none;
}

div.givewp-donation-form-modal__overlay {
    z-index: 9999;
}

button.givewp-donation-form-modal__open {
    display: none;
}

/* youtube player fixes */
.epyt-gallery {
    width: 100%;
    max-width: 1440px;
    height: 715px;
    display: flex;
}
.epyt-gallery iframe {
    width: 80%;
}
.epyt-gallery-list {
    width: 20%;
    overflow-y: auto;
}
@supports (scrollbar-width: thin) {
    .epyt-gallery-list {
        scrollbar-width: thin; /* Firefox only */
        scrollbar-color: rgba(155, 155, 155, 0.5) transparent; 
    }
}
.epyt-gallery-list::-webkit-scrollbar {
    width: 5px;
}
.epyt-gallery-list::-webkit-scrollbar-track {
    background: transparent;
}
.epyt-gallery-list::-webkit-scrollbar-thumb {
    background-color: rgba(155, 155, 155, 0.5);
    border-radius: 20px;
    border: transparent;
}
.epyt-gallery-allthumbs {
    display: flex;
    flex-direction: column;
    margin-left: 20px;
}
.epyt-gallery-thumb {
    width: 100% !important;
}
.epyt-pagination {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.epyt-gallery-title {
    color: #FFF;
}
/* end youtube player fixes */

.page-current-content,
.single-investigation div#primary,
.single-pr div#primary,
.single-analysis div#primary,
.single-event div#primary,
.single-video div#primary,
.single-media_about_us div#primary,
.single-position div#primary,
.single-annual_report div#primary,
.post-type-archive div#primary {
    padding: 0 64px !important;
}

/* start givewp edits */
.givewp-fields-gateways__list {
    flex-direction: row;
}

/* end givewp edits */

/* donate page (includes/donate-page.php) */
.acf-donate {
    max-width: 640px;
    margin: 0 auto 48px;
}

.acf-donate-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.acf-donate-method {
    flex: 1 1 200px;
    min-height: 48px;
    padding: 8px 16px;
    border: 2px solid #000000;
    border-radius: 8px;
    background: #FFFFFF;
    color: #000000;
    font-family: "Manrope", sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 150%;
    cursor: pointer;
}

.acf-donate-method:hover,
.acf-donate-method:focus {
    background: #FFFFFF;
    color: rgba(18, 131, 8, 1);
    border-color: rgba(18, 131, 8, 1);
}

.acf-donate-method.is-active,
.acf-donate-method.is-active:hover,
.acf-donate-method.is-active:focus {
    background: linear-gradient(179.99deg, #434643 5.22%, #000000 99.99%);
    border-color: #000000;
    color: #FFFFFF;
}

.acf-donate-bank {
    font-family: "Manrope", sans-serif;
    font-size: 18px;
    line-height: 150%;
}

.acf-donate-bank ul {
    margin-left: 20px;
}

.acf-donate .wpfs-form-actions button[type="submit"] {
    background: linear-gradient(179.99deg, #434643 5.22%, #000000 99.99%);
    border-radius: 8px;
    font-family: "Manrope", sans-serif;
    font-weight: 700;
}

.acf-donate .wpfs-form-actions button[type="submit"]:hover {
    background: rgba(18, 131, 8, 1);
}
.acf-donate .acf-donor-fields .wpfs-form-control {
    width: 100%;
}

.acf-donate .acf-donor-note {
    display: block;
    margin-top: 4px;
    font-family: "Manrope", sans-serif;
    font-size: 13px;
    line-height: 1.4;
    color: #5b5f5b;
}
.page-id-11115 .entry-header,
.page-id-11116 .entry-header,
.page-id-11115 .entry-content,
.page-id-11116 .entry-content {
    text-align: center;
}

.page-id-11115 .entry-content > p,
.page-id-11116 .entry-content > p {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.acf-donate-thanks {
    max-width: 640px;
    margin: 0 auto 32px;
    padding: 32px;
    border-radius: 8px;
    background: linear-gradient(270.04deg, #128308 0.04%, #245F1B 99.96%);
    font-family: "Manrope", sans-serif;
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
}

.acf-donate-thanks p {
    margin: 0;
    font-size: 18px;
    line-height: 150%;
    color: #FFFFFF;
}

.acf-donate-thanks-lead {
    font-size: 32px;
    font-weight: 700;
    line-height: 120%;
}

.acf-donate-thanks-amount {
    font-size: 22px;
    font-weight: 600;
}

.acf-donate-thanks-receipt {
    color: #FFFFFF;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.acf-donate-thanks-receipt:hover {
    color: #EEEEEE;
}

.acf-donate-thanks-btn {
    align-self: center;
    margin-top: 8px;
    height: 48px;
    padding: 0 24px;
    border-radius: 8px;
    background: #EEEEEE;
    box-shadow: 0px 0px 8px 0px #00000059;
    font-family: "Manrope", sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 150%;
    color: #212121;
    white-space: nowrap;
}

.acf-donate-thanks-btn:hover,
.acf-donate-thanks-btn:focus {
    background: #FFFFFF;
    color: #128308;
}

@media (max-width: 620px) {
    .acf-donate-thanks {
        padding: 24px;
    }

    .acf-donate-thanks-lead {
        font-size: 26px;
    }
}
/* end donate page */

/* style elements in mobile menu */
div.ast-mobile-popup-content div.ast-header-search {
    padding-left: 20px;
    width: 35%;
}

div.ast-mobile-popup-content section#block-26,
div.ast-mobile-popup-content section#block-31 {
    padding-left: 20px;
    margin: 15px 0;
}

div.ast-mobile-popup-content section#block-26 p {
    margin: 0;
}

div.ast-mobile-popup-content #language-switcher {
    z-index: 4;
}

/* 
    Responsive queries
*/
@media only screen and (max-width: 1400px) {
    .acf-post-archive-content-wrapper .acf-card-title {
        font-size: 16px;
        font-weight: 400;
    }

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

    .acf-card-category-badge {
        font-size: 13px;
    }
}

/* Filter menu responsive */
@media only screen and (max-width: 1440px) {
    .acf-current-filter-wrapper {
        flex-wrap: wrap;
        height: auto;
        padding: 16px 32px;
        gap: 16px;
    }

    .acf-filter-form {
        flex-wrap: wrap;
        height: auto;
        gap: 12px;
    }

    .acf-filter-form button {
        height: auto;
        padding: 12px 12px;
        font-size: 18px;
        flex-shrink: 1;
    }

    .acf-year-filter-select {
        margin-left: 0;
        height: auto;
        padding: 12px 12px;
        font-size: 16px;
        font-weight: 700;
        line-height: 19.2px;
        min-width: 140px;
        flex-shrink: 1;
    }

    .acf-year-dropdown {
        height: auto;
    }

    .acf-year-dropdown-toggle {
        height: auto;
        padding: 12px 12px;
        font-size: 16px;
        line-height: 19.2px;
        min-width: 140px;
    }

    .acf-year-dropdown-option {
        font-size: 16px;
    }
}

/* Astra's tablet breakpoint is raised to 1280px (see functions.php), and that
   is where it also stacks the five footer sections into a single column. The
   footer therefore has to switch to its centred, compact layout at 1280px —
   not at 1024px, which left it tall and left-aligned in between. */
@media only screen and (max-width: 1280px) {
    .site-primary-footer-wrap {
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .site-primary-footer-wrap[data-section="section-primary-footer-builder"] .site-footer-section {
        text-align: center;
    }

    .site-primary-footer-wrap[data-section="section-primary-footer-builder"] .site-footer-section .widget {
        margin-bottom: 16px;
    }

    .footer-btns-wrapper,
    .footer-contact-us-column {
        align-items: center;
    }

    .footer-btns-wrapper {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* Tablet */
@media only screen and (max-width: 1024px) {
    .acf-post-breadcrumb {
        font-size: 16px;
        font-weight: 700;
        line-height: 25px;
    }
    
    .acf-posts-archive-wrapper,
    .acf-investigation-archive-wrapper {
        justify-content: center;
    }

    .footer-btns-wrapper,
    .footer-contact-us-column {
        align-items: center;
    }

    .acf-bottom-boxes {
        flex-direction: column;
        align-items: center;
    }

    .acf-main-post-content-wrapper {
        flex-direction: column;
    }

    .acf-content-left-side {
        transform: unset;
        margin-right: 0;
    }

    .acf-content-right-side {
        width: 100%;
    }

    .acf-related-posts {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .acf-related-posts > a {
        flex: 1 1 calc(50% - 16px);
        max-width: calc(50% - 16px);
    }

    .acf-related-post-card {
        width: auto;
    }

    .acf-post-related-videos .acf-related-post-card {
        width: 100%;
    }

    .acf-post-related-videos > a {
        width: calc(50% - 16px);
    }

    .acf-filter-form {
        overflow: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .acf-filter-form::-webkit-scrollbar {
        display: none;
    }

    .acf-filter-form button {
        font-size: 19px;
        line-height: 23.2px;
    }

    .home div#primary {
        padding: 0;
    }

    .acf-fp-hero-section,
    .acf-investigation-section,
    .acf-video-section,
    .acf-position-section,
    .acf-publication-section,
    .acf-analysis-section,
    .acf-events-section,
    .acf-about-us-section {
        padding: 0 32px;
        margin: 30px 0;
    }

    .acf-fp-hero-section,
    .acf-analysis-hero-section {
        grid-template-columns: repeat(5, 1fr) minmax(270px, 35%);
    }

    .acf-fp-hero-content,
    .acf-analysis-hero-content {
        grid-column: 1 / 6;
        grid-row: 7 / 9;
        margin: 0;
    }

    .acf-fp-hero-content .main-btn,
    .acf-investigation-section-heading-wrapper a.btn,
    .acf-video-section-heading-wrapper a.btn,
    .acf-position-section-heading-wrapper a.btn,
    .acf-publication-section-heading-wrapper a.btn,
    .acf-analysis-section-heading-wrapper a.btn,
    .acf-analysis-content-wrapper a.main-btn,
    .acf-events-section-heading-wrapper a.btn,
    .acf-fp-hero-list a.acf-fp-hero-list-btn {
        display: none;
    }

    a.acf-fp-hero-mobile-btn {
        margin: 16px auto 0 auto;
        align-self: center;
        justify-content: center;
        text-decoration: none;
    }

    .acf-fp-hero-content .hero-mobile-btn,
    .acf-analysis-content-wrapper .analysis-mobile-btn {
        display: flex;
        height: 48px;
        font-family: "Manrope", sans-serif;
        font-optical-sizing: auto;
        font-size: 18px;
        font-weight: 700;
        line-height: 27px;
        color: rgba(33, 33, 33, 1);
        align-self: flex-start;
        justify-content: flex-start;
        padding: 0;
    }

    .acf-fp-hero-content .hero-mobile-btn {
        display: none;
    }

    .home .acf-fp-hero-img {
        grid-row: 1 / 6;
    }

    .acf-investigation-section-content-wrapper {
        flex-direction: column;
        height: unset;

    }

    .acf-investigation-section-content-wrapper > a {
        width: 100%;
    }

    .acf-main-card-thumbnail {
        max-width: unset;
    }

    .acf-investigation-cards-wrapper {
        width: 100%;
    }

    .acf-investigation-cards-wrapper a:nth-child(n+3) {
        display: none;
    }

    .mobile-btn {
        display: flex;
        width: 160px;
        height: 44px;
        border-radius: 8px;
        padding: 0px 16px 0px 16px;
        background: rgba(33, 33, 33, 1);
        border: 2px solid rgba(33, 33, 33, 0.5);
        box-shadow: 0px 0px 8px 0px rgba(33, 33, 33, 0.4);
        color: rgba(238, 238, 238, 1);
        font-family: "Manrope", sans-serif;
        font-optical-sizing: auto;
        font-size: 18px;
        font-weight: 700;
        line-height: 27px;
        align-self: center;
    }

    .acf-position-cards-wrapper,
    .acf-publication-cards-wrapper,
    .acf-events-cards-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .acf-position-cards-wrapper a:nth-child(1),
    .acf-publication-cards-wrapper a:nth-child(1),
    .acf-events-cards-wrapper a:nth-child(1) {
        grid-column: 1 / -1; /* Span the first item across both columns */
        width: 100%;
        max-width: unset;
    }

    .acf-position-cards-wrapper a:nth-child(2),
    .acf-position-cards-wrapper a:nth-child(3),
    .acf-publication-cards-wrapper a:nth-child(2),
    .acf-publication-cards-wrapper a:nth-child(3),
    .acf-events-cards-wrapper a:nth-child(2),
    .acf-events-cards-wrapper a:nth-child(3) {
        width: 100%; /* Ensure the children take up full width of the grid cells */
    }

    .acf-position-cards-wrapper a:nth-child(n+4),
    .acf-publication-cards-wrapper a:nth-child(n+4),
    .acf-events-cards-wrapper a:nth-child(n+4) {
        display: none; /* Hide all children except the first three */
    }

    .acf-analysis-headings-wrapper {
        display: none;
    }

    .acf-analysis-content-wrapper {
        padding: 16px;
        height: fit-content;
    }

    .acf-send-report-section,
    .acf-donate-now-section {
        padding: 80px 32px;
    }

    .acf-send-report-wrapper, 
    .acf-donate-now-wrapper {
        flex-direction: column;
        height: unset;
    }

    .acf-send-report-text-content, 
    .acf-donate-now-text-content {
        order: 2;
    }

    .acf-send-report-img-content, 
    .acf-donate-now-img-content {
        order: 1;
        display: flex;
        justify-content: center;
    }

    .acf-position-cards-wrapper > a,
    .acf-publication-cards-wrapper > a,
    .acf-events-cards-wrapper > a {
        max-width: 100%;
    }

    .acf-investigation-main-topic {
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        height: 768px;
    }

    .acf-investigation-main-topic-wrapper {
        height: auto;
        flex-direction: column;
    }

    .acf-investigation-main-topic-wrapper > a {
        width: 100%;
        aspect-ratio: 16 / 9;
    }

    .acf-investigation-main-topic {
        height: 100%;
    }

    .acf-investigation-related-topics {
        flex-direction: column;
    }

    .acf-archive-post-thumbnail { 
        max-width: 100%;
        width: 100%;
    }

    .acf-investigation-related-article {
        max-width: inherit;
    }

    .acf-investigation-related-topics > a {
        flex: 1;
    }

    .page-current-content,
    .single-investigation div#primary,
    .single-pr div#primary,
    .single-analysis div#primary,
    .single-event div#primary,
    .single-video div#primary,
    .single-media_about_us div#primary,
    .single-position div#primary,
    .single-annual_report div#primary,
    .post-type-archive div#primary {
        padding: 0 32px !important;
    }

    .home h4.acf-fp-hero-heading {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        -webkit-line-clamp: 3;
    }

}

/* phones */
@media only screen and (max-width: 768px) {

    /* The 47px heading and the 30px padding of the subscribe box were sized for
       desktop and leave the box badly out of proportion on a phone. */
    .acf-subscribe-box {
        padding: 24px;
    }

    .acf-subscribe-box-title {
        font-size: 32px;
    }

    #mobile-footer-icons {
        display: block;
        margin: 10px auto;
    }

    #desktop-footer-icons {
        display: none;
    }

    .footer-btns-wrapper {
        flex-direction: row;
        justify-content: center;
    }

    .acf-fp-hero-list,
    .acf-analysis-hero-list {
        display: none;
    }

    .acf-fp-hero-content,
    .acf-analysis-hero-content {
        grid-column: 1 / -1;
        grid-row: 6 / 9;
        margin: 0;
    }

    .acf-fp-hero-content .hero-mobile-btn,
    .acf-analysis-hero-content .analysis-mobile-btn {
        display: flex;
    }

    .acf-fp-hero-section,
    .acf-investigation-section,
    .acf-video-section,
    .acf-position-section,
    .acf-publication-section,
    .acf-analysis-section,
    .acf-events-section,
    .acf-about-us-section {
        padding: 0 16px;
        margin: 30px 0;
    }
    
    .acf-position-cards-wrapper,
    .acf-publication-cards-wrapper,
    .acf-events-cards-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .acf-position-cards-wrapper a:nth-child(2),
    .acf-position-cards-wrapper a:nth-child(3),
    .acf-publication-cards-wrapper a:nth-child(2),
    .acf-publication-cards-wrapper a:nth-child(3),
    .acf-events-cards-wrapper a:nth-child(2),
    .acf-events-cards-wrapper a:nth-child(3) {
        grid-column: auto; 
        width: 100%;
    }

    .acf-fp-hero-section,
    .acf-analysis-hero-section {
        grid-template-columns: repeat(6, 1fr);
    }

    .acf-fp-hero-img-link,
    .acf-analysis-hero-img-link {
        grid-column: 1 / -1;
        grid-row: 1 / 6;
    }

    .acf-fp-hero-content,
    .acf-analysis-hero-content {
        grid-row: 6 / 9;
        background-color: #FFF;
    }

    .acf-fp-hero-content h4,
    .acf-analysis-hero-content h4 {
        color: #212121;
        font-size: 21px;
        font-weight: 700;
        line-height: 25.2px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        white-space: normal;
        overflow: hidden;
    }

    .acf-fp-hero-content time,
    .acf-analysis-hero-content time {
        color: rgba(33, 33, 33, 0.5);
        font-size: 14px;
        line-height: 21px;
    }

    .acf-analysis-content-wrapper h3 {
        font-size: 21px;
        font-weight: 700;
        line-height: 25.2px;
    }

    .acf-analysis-content-wrapper .acf-analysis-content {
        font-size: 14px;
        font-weight: 400;
        line-height: 21px;
    }

    .acf-investigation-section-heading-wrapper h2,
    .acf-video-section-heading-wrapper h2,
    .acf-position-section-heading-wrapper h2,
    .acf-publication-section-heading-wrapper h2,
    .acf-events-section-heading-wrapper h2,
    .acf-analysis-section-heading-wrapper h2,
    .acf-about-us-heading {
        font-size: 27px;
        font-weight: 700;
        line-height: 32.4px;
    }

    .epyt-gallery {
        display: block;
        height: auto;
    }

    .epyt-gallery iframe {
        width: 100%;
    }

    .epyt-gallery-list {
        width: auto;
        margin-top: 20px !important;
    }

    .epyt-gallery-allthumbs {
        flex-direction: row;
        margin-left: 0;
        display: inline-flex;
    }

    .epyt-gallery-thumb {
        width: 230px !important;
    }

    .acf-videos-wrapper {
        padding: 0 16px;
    }

    .acf-send-report-section,
    .acf-donate-now-section {
        padding: 80px 16px;
    }

    .acf-send-report-text-content h2,
    .acf-donate-now-text-content h2 {
        font-size: 27px;
        font-weight: 700;
        line-height: 32.4px;
    }

    .acf-send-report-text-content p, 
    .acf-donate-now-text-content p {
        font-size: 14px;
        font-weight: 400;
        line-height: 21px;
    }

    .acf-about-us-card {
        height: 400px;
        width: 248px;
    }

    .acf-about-us-card-content h4 {
        font-size: 21px;
        font-weight: 700;
        line-height: 25.2px;
    }

    .acf-partnership-heading {
        font-size: 27px;
        font-weight: 700;
        line-height: 32.4px;
    }

    .page-current-content,
    .single-investigation div#primary,
    .single-pr div#primary,
    .single-analysis div#primary,
    .single-event div#primary,
    .single-video div#primary,
    .single-media_about_us div#primary,
    .single-position div#primary,
    .single-annual_report div#primary,
    .post-type-archive div#primary {
        padding: 0 16px !important;
    }

}

/* only for header buttons */
@media only screen and (max-width: 620px) {

    .acf-subscribe-box {
        padding: 20px;
    }

    .acf-subscribe-box-title {
        font-size: 27px;
    }

    /* Side by side there is not enough room left for the e-mail field, so the
       field goes full width above the button instead. */
    .acf-subscribe-box .mc4wp-form-fields,
    .acf-subscribe-box-form {
        flex-direction: column;
        height: auto;
        gap: 12px;
    }

    input.acf-subscribe-box-mail-input {
        width: 100%;
        max-width: none;
    }

    .acf-subscribe-box-btn {
        width: 100%;
    }

    .header-btns-wrapper .report-btn svg,
    .header-btns-wrapper .donate-btn svg {
        display: block;
    }

    .header-btns-wrapper .report-btn .acf-btn-text,
    .header-btns-wrapper .donate-btn .acf-btn-text {
        display: none;
    }

    .header-btns-wrapper .report-btn,
    .header-btns-wrapper .donate-btn {
        width: 56px;
    }
}

/* Investigation Attached Files - Frontend */
.acf-content-attached-files {
    margin-top: 10px;
    padding: 16px;
    border: 1px solid rgba(33, 33, 33, 0.12);
    border-radius: 8px;
}

.acf-attached-files-heading {
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
    color: #212121;
    margin: 0 0 24px 0;
}

.acf-attached-files-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.acf-attached-file-item {
    position: relative;
    background: #fff;
    transition: all 0.2s ease;
}

.acf-attached-file-link {
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    color: #212121;
    text-decoration: none;
    display: block;
    padding-bottom: 32px;
}

.acf-attached-file-link:hover {
    color: #0073aa;
}

.acf-attached-file-date {
    position: absolute;
    bottom: 0px;

    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: rgba(33, 33, 33, 0.5);
}
