@import url("./styles.css");
a{
    color: var(--black);
}
b{
    font-weight: 700;
}
header {
    width: 100%;
    position: relative;
}
header:before {
    content: " ";
    display: block;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    min-height: 500px;
    z-index: -2;
    background-color: var(--black);
}
.headerContainer {
    max-width: var(--container);
    width: 100%;
    margin: 0 auto;
    padding: var(--padding);
}
.headerContainer .top {
    padding: 50px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.logo {
    color: var(--white);
    font-size: 48px;
    font-family: segoe-bold;
    text-decoration: none;
    line-height: 64px;
}
.search {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 60%;
}

.search input {
    background-color: var(--green);
    border: 0;
    color: var(--white);
    height: 40px;
    font-size: var(--standard-font-size);
    line-height: 1em;
    padding: 10px 40px 10px 20px;
    max-width: 630px;
    width: 100%;
    display: block;
    outline: none;
}
.searchForm {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
}
.searchInput {
    background-color: var(--white);
    border: 0;
    border-bottom: 1px solid var(--black);
    color: var(--black);
    height: 40px;
    font-size: var(--standard-font-size);
    line-height: 1em;
    padding: 10px;
    max-width: 630px;
    width: 100%;
    display: block;
    outline: none;
    margin-right: 10px;
}
.searchInput:active {
    border-color: var(--green);
}
.searchInput:focus {
    border-color: var(--green);
}
.second_searchBtn {
    background-color: var(--black);
    padding: 4px 30px;
    border: 0;
    font-family: segoe-semi-bold;
    font-size: 20px;
    color: var(--white);
    line-height: 32px;
    transition: var(--transition);
    cursor: pointer;
}
.second_searchBtn:hover {
    opacity: 1;
    background-color: var(--green);
}

.searchBtn {
    background-color: #8e4042;
    padding: 4px 30px;
    border: 0;
    font-family: segoe-semi-bold;
    font-size: 20px;
    color: var(--white);
    line-height: 32px;
    transition: var(--transition);
    cursor: pointer;
}
.searchBtn:hover {
    opacity: 1;
    background-color: var(--secondary-color);
}
.search input::placeholder {
    color: #f7f7f459;
}
.searchInput::placeholder {
    color: #f7f7f459;
}
/* Burger button: hidden on desktop, shown on mobile via responsive.css */
.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: var(--darkGrey);
    color: var(--white);
    cursor: pointer;
    gap: 5px;
    transition: var(--transition);
}
.burger:hover {
    background: var(--green);
}
.burger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}
body.nav-open .burger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
body.nav-open .burger-line:nth-child(2) {
    opacity: 0;
}
body.nav-open .burger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    align-items: stretch;
}

.nav-overlay {
    display: none;
}

/* Close X button: hidden on desktop, shown inside mobile menu */
.nav-close {
    display: none;
}

.bottom {
    background-color: var(--darkGrey);
    padding: var(--padding);
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    align-items: stretch;
}
.link {
    padding: 17px 20px;
    color: var(--white);
    font-size: var(--standard-font-size);
    font-family: segoe-semi-bold;
    line-height: 1.05em;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    white-space: nowrap;
}

.link.active {
    background-color: var(--green);
}
.link:hover {
    background-color: var(--green);
}

footer {
    background-color: var(--black);
    padding: 60px 0;
}
.footerContainer {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: var(--container);
    width: 100%;
    margin: 0 auto;
    padding: var(--padding);
    gap: 24px 20px;
}
.copyrights {
    text-align: center;
    padding: var(--padding);
    color: var(--white);
    font-size: var(--standard-font-size);
    line-height: var(--standard-line-height);
    text-decoration: none;
    margin-top: 30px;
    border-top: 1px solid var(--white);
    padding-top: 20px;
}
.pages {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.footerLinks {
    color: var(--white);
    font-size: var(--standard-font-size);
    font-family: segoe-bold;
    line-height: 1.05em;
    text-decoration: none;
    transition: var(--transition);
}
.footerLinks:hover {
    color: var(--green);
}
footer .logo {
    line-height: 40px;
}
.privacyLinks {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}
.privacyLink {
    color: var(--white);
    font-size: var(--standard-font-size);
    line-height: 1.05em;
    text-decoration: none;
    transition: var(--transition);
}
.privacyLink:hover {
    color: var(--green);
}
main {
    min-height: calc(100vh - 422px);
    position: relative;
}

.firstPanel {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    background-color: var(--white);
    padding: 0 0 25px 13px;
    display: flex;
    flex-wrap: wrap;
}
.firstPanel .left {
    padding: 25px 12px 0;
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 50%;
}
.panelLink {
    width: 100%;
    height: 100%;
    position: relative;
}
.panelLink h2,
.panelLink h5 {
    position: absolute;
    bottom: 15px;
    left: 0;
    width: 100%;
    color: var(--white);
    padding: 0 15px;
    transition: var(--transition);
    z-index: 3;
}
.panelLink .standartWide {
    height: 100%;
    background-color: var(--white);
}
.panelLink .standartWide::before {
    padding-bottom: 60%;
}
.panelLink h5 {
    padding: 0 15px;
}
.panelLink:hover h2,
.panelLink:hover h5 {
    color: var(--hover-color);
}
.panelLink:hover img {
    transform: scale(1.05);
}
.firstPanel .right {
    padding: 0 0 0 12px;
    display: flex;
    flex-direction: column;
    width: 50%;
}
.darkBlock {
    background-color: var(--darkGrey);
    padding: 15px 25px 15px;
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap-reverse;
}
.darkBlock p {
    color: var(--white);
    font-size: var(--standard-font-size);
    line-height: var(--standard-line-height);
    padding-right: 20px;
    padding-top: 10px;
    width: 45%;
}
.darkBlock .panelLink {
    width: 55%;
}
.darkBlock .darkblockTitle {
    display: none;
}

.newsSection {
    max-width: var(--container);
    width: 100%;
    background-color: #f3f2ea;
    margin: 0 auto 25px;
    padding: var(--padding);
    display: flex;
    gap: 3%;
    padding-top: 25px;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
}
.news {
    width: 64%;
}
.sectionTitle {
    display: flex;
    gap: 25px;
    align-items: center;
    white-space: nowrap;
}
.sectionTitle .line {
    width: 100%;
    height: 2px;
    background-color: var(--black);
}

.newsArticles {
    margin-top: 25px;
}
.newsArticles > div {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.newsArticle {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    justify-content: space-between;
    width: calc(50% - 12px);
    color: inherit;
    background-color: var(--white);
}

.searchContainer .newsArticle {
    width: calc(33.33333% - 16px);
}
.newsArticle .standartWide2 {
    width: 100%;
}
.articleInfo {
    background-color: var(--white);
    padding: 0 12px 12px;
}
.articleInfo .authors {
    margin-top: 12px;
    padding-top: 5px;
    border-top: var(--border-bottom);
}
.articleInfo .greenText {
    margin-top: 12px;
}

.newsArticle h3 {
    padding: 12px 12px 0;
    transition: var(--transition);
}
.newsArticle:hover h3 {
    color: var(--link-color);
}
.newsArticle:hover img {
    transform: scale(1.1);
}
.trendingNews {
    background-color: var(--white);
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 0 0 33%;
}
.trendingHeadline {
    display: flex;
    padding: 16px 0;
    gap: 2%;
    border-bottom: var(--border-bottom);
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}
.trendingHeadline:last-child {
    border: none;
}
.trendingHeadline h5 {
    transition: var(--transition);
}
.trendingHeadline:hover h5 {
    color: var(--link-color);
}
.trendingHeadline:hover .largeWide img {
    transform: scale(1.05);
}
.trendingHeadline .largeWide {
    width: 33%;
}
.trendingInfo {
    display: flex;
    width: 65%;
    flex-direction: column;
    justify-content: space-between;
}
.authors p {
    color: var(--semi-light-grey);
    font-size: 12px;
    line-height: 1.1em;
}

.authors {
    display: flex;
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 5px;
}
.shareIcon {
    display: block;
    width: 24px;
    object-fit: cover;
}
.shareLink {
    display: flex;
    align-items: center;
    gap: 10px;
}
.aboutContainer {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    padding: 25px 16px;
    background-color: #f3f2ea;
    z-index: 222;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.imagePanel {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px 5%;
}
.imagePanel .standartWide2 {
    width: 45%;
}
.panelInfo {
    width: 50%;
}

.weAre {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.weAre h3 {
    margin: 10px 0 5px;
}

.teamContainer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 30px;
    gap: 16px 0;
}
.teamMember {
    width: 33.33333%;
    padding: 0 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.teamMember .position {
    text-align: center;
    font-size: var(--large-font-size);
    line-height: var(--large-line-height);
}
.teamMember .desc {
    text-align: center;
    font-size: var(--standart-font-size);
    line-height: var(--standart-line-height);
}
.privacyContainer {
    margin-top: 20px;
}
.privacyContainer > p {
    font-size: var(--large-font-size);
    line-height: var(--large-line-height);
    margin-bottom: 20px;
}
.privacyContainer > p b {
    font-size: var(--large-font-size);
    line-height: var(--large-line-height);
}
.effectiveDate{
    margin-bottom: 24px;
}
.privacyList {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style-position: inside;
    font-size: var(--large-font-size);
    line-height: var(--large-line-height);
}
.privacyList a {
    font-size: var(--large-font-size);
    line-height: var(--large-line-height);
    color: var(--black);
}
.privacyList p {
    text-indent: 20px;
}

.greenTextP {
    color: var(--primary-color);
    font-size: 20px;
    line-height: var(--large-line-height);
    font-weight: 600;
    margin-bottom: 20px;
}
.privacyList > li {
    font-size: var(--large-font-size);
    line-height: var(--large-line-height);
    font-weight: 700;
}
.privacyList  ol {
    padding-left: 30px;
    list-style-position: inside;
}
.privacyList > ol > li {
    font-weight: 700;
}
.privacyList ul {
    list-style-type: disc;
    list-style-position: inside;
    text-indent: 30px;
    padding-left: 10px;
}
.privacyList ul li {
    font-size: var(--standart-font-size);
    line-height: var(--standart-line-height);
}

.privacyList ol p {
    text-indent: 30px;
}

.grid-layout {
    display: flex;
    flex-wrap: wrap-reverse;
    justify-content: center;
    gap: 20px 2%;
    margin-top: 20px;
}

/* --- Card and Form Styling --- */
.card {
    padding: 2rem;
    border-radius: 0.75rem;

    width: 53%;
}

.card h2 {
    border-bottom: 1px solid var(--black);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem; /* sm */
    font-weight: 500;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--black);
    border-radius: 0.3rem;
    transition: border-color 0.15s linear;
    outline: none;
    background-color: transparent;
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
    color: var(--color-text);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--green);
}

.form-group textarea {
    resize: vertical;
}
.g-recaptcha {
    margin-bottom: 1rem;
}
/* --- Button Styling --- */
.submit-button {
    width: 100%;
    padding: 0.75rem 1.5rem;
    background-color: var(--black);
    color: var(--white);
    border-radius: 0.5rem;
    font-size: var(--standart-font-size);
    line-height: var(--standart-line-height);
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid var(--black);
}

.submit-button:hover {
    color: var(--black);
    background-color: var(--white);
}

/* --- Contact Details Styling --- */
.details-column {
    padding: 2rem;
    width: 45%;
}

.details-column h2 {
    border-bottom: 1px solid var(--black);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}
.details-column > p {
    font-size: var(--large-font-size);
    line-height: var(--large-line-height);
    margin-bottom: 10px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 10px;
    gap: 12px;
}

.contact-item p {
    font-size: var(--standart-font-size);
    line-height: var(--standart-line-height);
}

.contact-item div a {
    font-size: var(--standart-font-size);
    line-height: var(--standart-line-height);
    color: #000;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}
.contact-item h3 {
    width: 100%;
}
.contact-item div a:hover {
    border-bottom: 1px solid var(--black);
}
.socialIcon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.socialIcon img {
    display: block;
    width: 100%;
    height: 100%;
}

.socialIcon:hover {
    text-decoration: none;
    border-bottom: 0;
    opacity: 0.85;
}
.newsBanner {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto 15px;
    height: auto;
    min-height: 300px;
    object-fit: cover;
}
/* 
.newsBanner:before {
    display: block;
    content: "";
    padding-bottom: 50%;
    z-index: 2;
}

.newsBanner img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    top: 0;
    left: 0;
} */
.backgroundNews {
    position: absolute;
    overflow: hidden;
    top: -215px;
    left: 0;
    display: block;
    z-index: -1;
    width: 100%;
    background-color: #000;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    filter: blur(10px) brightness(30%);
    min-height: 500px;
}
/* .backgroundNews:before {
    display: block;
    content: "";
    padding-bottom: 500px;
    z-index: 2;
}
.backgroundNews img {
    position: absolute;
    width: 101%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    top: 0;
    left: 0;
    filter: blur(10px);
    opacity: 0.3;
} */
.newsContainer {
    max-width: 1332px;
    margin: 0 auto;
    width: 100%;
    padding: 0 16px 30px;
    overflow: hidden;
    z-index: 1;
    position: relative;
}

.titleSection {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.titleSection h1 {
    width: 100%;
}
.titleSection h2 {
    width: 100%;
    margin: 20px 0 15px;
}
.infoSection {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.infoSection p {
    font-size: var(--large-font-size);
    line-height: var(--large-line-height);
}
.infoSection .authors {
    width: fit-content;
    width: 100%;
}
.buttons {
    display: flex;
    align-items: center;
    position: relative;
}
.buttons img {
    width: 32px;
    height: 32px;
    object-fit: cover;
    cursor: pointer;
}
.newsContainer section {
    background-color: #f3f2ea;
}
.newsContainer p {
    margin-top: 16px;
    font-size: var(--large-font-size);
    line-height: 1.6em;
    text-align: left;
}
.newsContainer a {
    color: var(--link-color);
    transition: var(--transition);
    font-size: var(--large-font-size);
    line-height: 1.6em;
}
.newsContainer a:hover {
    color: var(--hover-color);
}
.newsContainer .standartWide {
    margin-top: 20px;
}

.pagination {
    display: flex;
    padding-left: 0;
    list-style: none;
    justify-content: center;
    margin-top: 30px;
    margin-bottom: 30px;
    border-top: 1px solid var(--black);
    padding-top: 20px;
}

.page-item {
    margin: 0 3px;
}

.page-link {
    color: #ffffff;
    background-color: var(--black);

    text-decoration: none;
    display: block;
    border-radius: 4px;
    font-size: var(--small-font-size);
    line-height: 32px;
    font-weight: 500;
    transition: all 0.2s;
    min-width: 32px;
    height: 32px;
    text-align: center;
}

.page-link:hover {
    background-color: var(--green);
    box-shadow: 0 0 5px var(--transparent-color);
}

.page-item.active .page-link {
    z-index: 1;
    background-color: var(--green);
    font-weight: bold;
}
.page-item.disabled .page-link,
.page-item.disabled span.page-link {
    color: #666666;
    pointer-events: none;
    background-color: #262626;
    border-color: #333333;
    cursor: default;
}

.error-container {
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    background-color: #f3f2ea;
}

.error-content {
    max-width: 600px;
}

.error-content h1 {
    font-size: 10rem;
    line-height: 1em;
    font-weight: 900;
    color: #ff4c4c;
}

.error-content p {
    font-size: 1.25rem;
    margin: 20px 0;
    color: #555;
}

.home-button {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 30px;
    background-color: var(--green);
    color: white;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
}
.home-button:hover {
    background-color: var(--hover-color);
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-button-next {
    color: var(--white);
    width: 36px;
    border-radius: 5px;
    height: 36px;
    padding: 5px;
    background-color: var(--black);
    border: 1px solid var(--black);
    transition: var(--transition);
}
.swiper-button-prev {
    color: var(--white);
    width: 36px;
    border-radius: 5px;
    height: 36px;
    padding: 5px;
    background-color: var(--black);
    border: 1px solid var(--black);
    transition: var(--transition);
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: var(--white);
    color: var(--black);
}

.newsSlider {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 16px 0;
    gap: 10px;
    border-bottom: var(--border-bottom);
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    background-color: #f3f2ea;
}
.newsSlider:last-child {
    border: none;
}
.newsSlider h4 {
    width: 100%;
    text-align: left;
    transition: var(--transition);
}
.newsSlider:hover h4 {
    color: var(--link-color);
}
.newsSlider:hover .largeWide img {
    transform: scale(1.05);
}
.newsSlider .largeWide {
    width: 100%;
}
.trendingInfo {
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: space-between;
}

.js-cookie-consent {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 100%;
    background: #f3f2ea;
    color: var(--black);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 12px 24px;
    font-size: var(--standard-font-size);
    line-height: var(--standard-line-height);
    text-decoration: none;
}
.js-cookie-consent a {
    color: var(--link-color);
    text-decoration: underline;
    font-size: var(--standard-font-size);
    line-height: var(--standard-line-height);
    transition: var(--transition);
}
.js-cookie-consent a:hover {
    color: var(--hover-color);
}

.success-popup {
    position: fixed;
    bottom: 120px;
    right: 0;
    background: #28a746b7;
    color: rgb(211, 211, 211);
    padding: 14px 18px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.6s ease-in;
    z-index: 99999999999;
}

.success-popup.show {
    transform: translateX(-20px);
    opacity: 1;
}

.success-popup.hide {
    transform: translateX(120%);
    opacity: 0;
}
