/*
Theme Name: promolink
Theme URI: http://promo-link.ru
Author: the PromoLink team
Author URI: https://promo-link.ru/
Description: -
Requires at least: WordPress 4.9.6
Version: 1.3
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: promolink
Tags: PromoLink theme
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f7f9fc;
    color: #1e2f3e;
    line-height: 1.45;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 28px;
}

/* header styles */
.top-bar {
    background: white;
    border-bottom: 1px solid #e5ecf3;
    padding: 16px 0 12px;
}

.header-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo-area {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    -webkit-align-content: stretch;
    align-content: stretch;
    -webkit-align-items: center;
    align-items: center;
}
.logo {
    font-size: 1.9rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #1f3e6c, #2c5a8c);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}
.descriptor {
    font-size: 0.75rem;
    font-weight: 500;
    color: #4f6f8f;
    letter-spacing: 0.3px;
    margin-top: 2px;
}

.search-lang {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}
.search-box {
    display: flex;
    background: #f0f3f8;
    border-radius: 40px;
    padding: 4px 12px;
    align-items: center;
    gap: 8px;
}
.search-box input {
    border: none;
    background: transparent;
    padding: 8px 0;
    font-size: 0.9rem;
    width: 180px;
    outline: none;
    font-family: inherit;
}
.search-box i {
    color: #8aa0b5;
}
.lang-switch {
    display: flex;
    gap: 8px;
    background: #ffad23;
    border-radius: 40px;
    padding: 5px 12px;
}
.lang-btn {
    background: none;
    border: none;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 30px;
    transition: 0.2s;
    font-family: inherit;
    color: #2c4c6c;
}
.lang-btn.active {
    background: #1f3e6c;
    color: white;
}

/* navigation */
.nav-menu {
    background: white;
    border-bottom: 1px solid #e2eaf1;
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav-links {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 28px;
    padding: 14px 0;
    font-weight: 600;
    font-size: 0.9rem;
}
.nav-links li a {
    text-decoration: none;
    color: #1f3a4e;
    transition: 0.2s;
    font-weight: 500;
}
.nav-links li a:hover {
    color: #d98c2b;
}

/* ticker - new background color */
.ticker {
    background: #018440;
    color: white;
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    font-size: 0.85rem;
    margin-bottom: 32px;
}
.ticker-content {
    display: inline-block;
/*    animation: tickerMove 50s linear infinite;*/
    animation: tickerMove var(--duration) linear infinite;
    padding-left: 100%;
}
.ticker-content span {
    margin-right: 40px;
}
@keyframes tickerMove {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* main grid: content + sidebar */
.home-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    margin: 32px 0 48px;
}

/* main featured slider */
.featured-slider {
    background: white;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.02);
    margin-bottom: 40px;
    border: 1px solid #eef2f8;
    position: relative;
}
.slider-container {
    position: relative;
}
.slide {
    display: none;
    width: 100%;
}
.slide.active {
    display: block;
}
.slide img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
}
.slide-caption {
    padding: 24px 28px 28px;
}
.slide-caption h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.slide-date {
    font-size: 0.8rem;
    color: #d98c2b;
    font-weight: 500;
    margin-bottom: 10px;
}
.slider-buttons {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 12px;
}
.slider-btn {
    background: rgb(255 173 35);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 40px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: 0.2s;
}

/* card grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin: 28px 0 20px;
}
.news-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    transition: 0.25s ease;
    border: 1px solid #eef2f8;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px -12px rgba(0,0,0,0.1);
}
.news-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.card-content {
    padding: 18px 18px 22px;
}
.card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.card-desc {
    font-size: 0.85rem;
    color: #4a627a;
    line-height: 1.4;
    margin: 8px 0 12px;
}
.card-date {
    font-size: 0.7rem;
    color: #018440;
    font-weight: 600;
    margin-bottom: 14px;
}
.btn-read {
    background: transparent;
    border: 1px solid #cbdde6;
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    font-family: inherit;
}
.btn-read:hover {
    background: #1f3e6c;
    border-color: #1f3e6c;
    color: white;
}
.category-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.7rem;
    font-weight: 500;
    color: #1f6e9c;
    text-decoration: none;
}
.category-link:hover {
    color: #d98c2b;
}
.section-header-with-link {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    margin: 12px 0 8px;
}
.section-header-with-link h3 {
    font-size: 1.5rem;
    font-weight: 700;
}
.view-all-link {
    font-size: 0.8rem;
    font-weight: 500;
    color: #018440;
    text-decoration: none;
    border-bottom: 1px dashed #bdd4e6;
}
.view-all-link:hover {
    color: #d98c2b;
}

.banner-ad {
/*            background: #eef2fa;*/
/*            border-radius: 20px;*/
/*            padding: 32px 20px;*/
    text-align: center;
    margin: 28px 0;
/*            border: 1px dashed #c2d3e6;*/
    font-weight: 600;
    color: #2c5a8c;
}

.banner-ad img {
    width: 100%;
    max-width: 100%;
}

/* compact news list (left column bottom) */
.compact-news-list {
    background: white;
    border-radius: 24px;
    padding: 24px;
    margin-top: 40px;
    border: 1px solid #eef2f8;
}
.compact-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 18px;
    border-left: 4px solid #E21B22;
    padding-left: 14px;
}
.compact-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #edf2f7;
    font-size: 0.85rem;
}
.compact-time {
    min-width: 80px;
    font-weight: 600;
    color: #018440;
        flex: 1 0 auto;
}
.compact-headline {
    color: #1f3a4e;
    text-decoration: none;
    font-weight: 500;
        flex: 1 1 100%;
}
.compact-headline:hover {
    color: #d98c2b;
}

/* sidebar styles */
.sidebar-card {
    background: white;
    border-radius: 24px;
    padding: 20px;
    margin-bottom: 28px;
    border: 1px solid #eef2f8;
}
.sidebar-title {
    font-size: 1.2rem;
    font-weight: 700;
    border-left: 4px solid #E21B22;
    padding-left: 12px;
    margin-bottom: 18px;
}
.sidebar-title a {
    color: #1e2f3e;
    text-decoration-thickness: 1px;
    text-decoration-color: rgba(0,0,0,0.5);
    text-underline-offset: 2px;
}
.interview-preview, .research-preview {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.preview-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 18px;
}
.preview-title {
    font-weight: 700;
    font-size: 1rem;
}
.preview-desc {
    font-size: 0.8rem;
    color: #4f6f8f;
}
.calendar-events {
    margin-top: 12px;
}
.event-item {
    display: flex;
    align-items: baseline;
    gap: 12px;
    font-size: 0.85rem;
    padding: 10px 0;
    border-bottom: 1px solid #edf2f7;
}
.event-date {
    font-weight: 700;
    min-width: 60px;
    background: #f0f3fa;
    padding: 4px 8px;
    border-radius: 24px;
    text-align: center;
    font-size: 0.7rem;
    min-width: 80px;
}

/* footer new colors */
.footer {
    background: #018440;
    color: #fff;
    margin-top: 50px;
    padding: 40px 0 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px,1fr));
    gap: 30px;
    margin-bottom: 30px;
}
.footer-col h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 16px;
    font-weight: 600;
}
.footer-col a {
    display: block;
    color: #f0f7fc;
    text-decoration: none;
    font-size: 0.85rem;
    margin-bottom: 10px;
}
.social-icons a {
    display: inline;
}
.social-icons i {
    font-size: 1.4rem;
    margin-right: 15px;
    color: white;
}
.social-icons img {
    max-width: 23px;
    max-height: 23px;
    margin-right: 15px;
    position: relative;
    top: 3px;
}
.legal {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 24px;
    text-align: center;
    font-size: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

@media (max-width: 920px) {
    .home-grid {
        grid-template-columns: 1fr;
    }
    .news-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    /*.header-flex {
        flex-direction: column;
        align-items: flex-start;
    }*/
    .search-lang {
        width: 100%;
        justify-content: space-between;
    }
}
.pattern_bar {
    height: 40px;
/*    background: url('img/pattern.png');*/
    background: url('img/patternt_svg.svg');
    background-size: auto 200% ;
}
.slide-caption h2 {
    color: #1e2f3e;
}
.read-card-title a,
.card-content a,
.slide-caption a {
	text-decoration-thickness: 1px;
	text-decoration-color: rgba(0,0,0,0.5);
	text-underline-offset: 2px;
    color: #1e2f3e;
}
.ticker-content span a {
	text-decoration: none;
	color: #fff;
}
.ticker-content span a:hover {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-decoration-color: rgba(255,255,255,0.8);
	text-underline-offset: 2px;
	color: #fff;
}
.ticker:hover .ticker-content {
	animation-play-state: paused;
}
.sidebar-card .preview-title {
    color: #1e2f3e;
    text-decoration-thickness: 1px;
    text-decoration-color: rgba(0,0,0,0.5);
    text-underline-offset: 2px;    
}
.sidebar-card.banner {
    border-radius: 0;
    padding: 0;
    border: none;
}
.sidebar-card.banner img {
    display: block;
}
.sidebar-sticky {
    position: sticky;
    bottom: 20px;
    align-self: end;
}
/* two-column layout */
.article-page-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 40px;
    margin: 0 auto 48px;
/*    align-items: end;*/
}

/* article container */
.article-container {
    background: white;
    border-radius: 32px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.hero-image {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
}

.article-content {
    padding: 36px 40px;

 
}

.article-category {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #d98c2b;
    font-weight: 600;
    margin-bottom: 12px;
}

.article-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    color: #0a2942;
}

.article-meta {
    display: flex;
    gap: 20px;
    border-bottom: 1px solid #eef2f8;
    padding-bottom: 20px;
    margin-bottom: 30px;
    font-size: 0.85rem;
    color: #5a6f82;
}

.article-body p {
    margin-bottom: 1.4rem;
    font-size: 1rem;
    color: #2a3e52;
}

/* styled blocks */
.quote-block {
    background: #f2f6fc;
    border-left: 5px solid #d98c2b;
    padding: 24px 32px;
    margin: 32px 0;
    border-radius: 20px;
    font-weight: 500;
    font-size: 1.15rem;
    color: #1f3e5c;
}
.quote-author {
    display: block;
    margin-top: 14px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #6c86a0;
}

.article-body .table-wrapper {
    overflow-x: auto;
    margin: 32px 0;
    border-radius: 18px;
    border: 1px solid #e6edf4;
}
.article-body table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.article-body table th {
    background: #1f3e6c;
    color: white;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
}
.article-body table td {
    padding: 12px 16px;
    border-bottom: 1px solid #eef2f8;
}
.inline-image {
    margin: 32px 0;
    border-radius: 24px;
    overflow: hidden;
}
.article-body img {
    width: 100%;
    display: block;
}
.image-caption {
    font-size: 0.75rem;
    color: #6c86a0;
    margin-top: 8px;
    text-align: center;
}

.content-link {
    color: #1f6e9c;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px dashed #bdd4e6;
}
.content-link:hover {
    color: #d98c2b;
}

.article-body h2 {
    font-size: 1.75rem;
    margin: 1.8rem 0 0.8rem;
    font-weight: 700;
    color: #1a3a55;
}
.article-body h3 {
    font-size: 1.4rem;
    margin: 1.6rem 0 0.6rem;
    font-weight: 600;
}
.article-body h4, h5, h6 {
    margin: 1.2rem 0 0.4rem;
    font-weight: 600;
    color: #2a4c6e;
}
.article-body hr {
    margin: 32px 0;
    border: none;
    height: 1px;
    background: #eef2f8;
}

/* read also section */
.read-also-section {
    margin: 20px 0 60px;
}
.section-header {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 28px;
    color: #1f3e6c;
    border-bottom: 2px solid #e2eaf1;
    display: inline-block;
    padding-bottom: 6px;
}
.readalso-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}
.read-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    transition: 0.2s;
    border: 1px solid #eef2f8;
}
.read-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.read-card-content {
    padding: 18px;
}
.read-card-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 8px;
}
.read-card-date {
    font-size: 0.7rem;
    color: #018440;
    margin-top: 8px;
}
/* main grid: content + sidebar */
.breadcrumbs {
    margin: 20px 0 20px;
    font-size: 0.8rem;
    color: #5a6f82;
}
.breadcrumbs a {
    color: #018440;
    text-decoration: none;
    font-weight: 500;
}
.breadcrumbs a:hover {
    color: #d98c2b;
}
.breadcrumbs span {
    margin: 0 6px;
}
@media (max-width: 920px) {
    .article-page-grid {
        grid-template-columns: 1fr;
        align-items: stretch;
    }
    .sidebar-sticky {
        position: static;
        margin-top: 30px;
    }
    .article-content {
        padding: 24px 24px;
    }
    .article-title {
        font-size: 1.8rem;
    }
    .container {
        padding: 0 20px;
    }
}

.article-body a {
    font-weight: bold;
    color: #db8c2b;    
}


/* Category header */
.category-header {
    background: white;
    border-radius: 28px;
    padding: 32px 36px;
    margin-bottom: 32px;
    border: 1px solid #eef2f8;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.category-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0a2942;
    margin-bottom: 8px;
}
.category-description {
    font-size: 1rem;
    color: #4f6f8f;
}
.category-meta {
    margin-top: 16px;
    display: flex;
    gap: 24px;
    font-size: 0.85rem;
    color: #5a6f82;
}
.category-meta i {
    margin-right: 6px;
}

/* Two-column layout for category page */
.category-page-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 40px;
    margin: 0 auto 48px;
    align-items: start;
}

/* Category news list (vertical cards) */
.category-news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}
.category-news-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    transition: 0.25s ease;
    border: 1px solid #eef2f8;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: row;
    align-items: stretch;
}
.category-news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px -12px rgba(0,0,0,0.1);
}
.category-news-card img {
    width: 280px;
    min-height: 200px;
    object-fit: cover;
    flex-shrink: 0;
}
.category-news-content {
    padding: 22px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}
.category-news-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #0a2942;
}
.category-news-title a {
    color: inherit;
    text-decoration: none;
}
.category-news-title a:hover {
    color: #d98c2b;
}
.category-news-desc {
    font-size: 0.9rem;
    color: #4a627a;
    line-height: 1.5;
    margin-bottom: 14px;
}
.category-news-meta {
    display: flex;
    gap: 20px;
    font-size: 0.75rem;
    color: #5a6f82;
    margin-top: auto;
}
.category-news-meta .date {
    color: #018440;
    font-weight: 500;
}
.category-news-meta .category-tag {
    background: #f0f3fa;
    padding: 2px 12px;
    border-radius: 40px;
    color: #1f3e6c;
    font-weight: 500;
}
@media (max-width: 920px) {
    .category-page-grid {
        grid-template-columns: 1fr;
    }
    .sidebar-sticky {
        position: static;
        margin-top: 30px;
    }
    .category-news-card {
        flex-direction: column;
    }
    .category-news-card img {
        width: 100%;
        height: 200px;
    }
    .category-news-content {
        padding: 20px;
    }
    .container {
        padding: 0 20px;
    }
    .category-header {
        padding: 24px 20px;
    }
    .category-title {
        font-size: 1.8rem;
    }
}
/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
    flex-wrap: wrap;
}
.pagination span,
.pagination a {
    display: inline-block;
    padding: 10px 16px;
    border: 1px solid #e2eaf1;
    border-radius: 40px;
    text-decoration: none;
    color: #1f3a4e;
    font-weight: 500;
    font-size: 0.85rem;
    transition: 0.2s;
    background: white;
}
.pagination a:hover {
    background: #1f3e6c;
    color: white;
    border-color: #1f3e6c;
}
.pagination span,
.pagination a.active {
    background: #018440;
    color: white;
    border-color: #018440;
}
.category-news-card img {
    cursor: pointer;
}

.search-wrapper {
    width: 100%;
    background: #ffffff;
    padding: 20px 0;
}

.searchform {
    margin: 20px 0;
}

.searchform > div {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #ffffff;
}

#s {
    flex: 1;
    padding: 15px 25px;
    border: 2px solid #e8ecf1;
    border-radius: 10px;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
    background: #fff;
}

#s:focus {
    border-color: #00b894;
    background: #ffffff;
    box-shadow: 0 0 0 5px rgba(0, 184, 148, 0.08);
}

#searchsubmit {
    padding: 15px 45px;
    background: #00b894;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#searchsubmit:hover {
    background: #018440;
    transform: scale(1.02);
    box-shadow: 0 6px 25px rgba(0, 184, 148, 0.35);
}

@media (max-width: 576px) {
    .searchform > div {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    #s {
        flex: 1 1 100%;
    }
    
    #searchsubmit {
        flex: 1 1 100%;
        padding: 14px;
    }
}
footer .legal a {
    color: #fff;
}


.calendar-page-header {
    background: white;
    border-radius: 28px;
    padding: 32px 36px;
    margin-bottom: 32px;
    border: 1px solid #eef2f8;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.calendar-page-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0a2942;
    margin-bottom: 8px;
}
.calendar-page-description {
    font-size: 1rem;
    color: #4f6f8f;
}
.calendar-page-meta {
    margin-top: 16px;
    display: flex;
    gap: 24px;
    font-size: 0.85rem;
    color: #5a6f82;
    flex-wrap: wrap;
}
.calendar-page-meta i {
    margin-right: 6px;
}

/* Filter bar */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
    background: white;
    padding: 16px 20px;
    border-radius: 20px;
    border: 1px solid #eef2f8;
    align-items: center;
}
.filter-label {
    font-weight: 600;
    font-size: 0.85rem;
    color: #4f6f8f;
    margin-right: 8px;
}
.filter-btn {
    background: #f0f3f8;
    border: none;
    padding: 8px 16px;
    border-radius: 40px;
    font-weight: 500;
    font-size: 0.8rem;
    cursor: pointer;
    transition: 0.2s;
    font-family: inherit;
    color: #2c4c6c;
}
.filter-btn:hover {
    background: #e2eaf1;
}
.filter-btn.active {
    background: #1f3e6c;
    color: white;
}
.filter-month {
    margin-left: auto;
    display: flex;
    gap: 8px;
    align-items: center;
}
.filter-month button {
    background: none;
    border: 1px solid #e2eaf1;
    border-radius: 40px;
    padding: 6px 14px;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    color: #1f3a4e;
    transition: 0.2s;
}
.filter-month button:hover {
    background: #1f3e6c;
    color: white;
    border-color: #1f3e6c;
}
.filter-month .month-label {
    font-weight: 600;
    min-width: 100px;
    text-align: center;
}

/* Two-column layout */
.calendar-page-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 40px;
    margin: 0 auto 48px;
    align-items: start;
}

/* Calendar grid (month view) */
.calendar-grid-wrapper {
    background: white;
    border-radius: 28px;
    border: 1px solid #eef2f8;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: #f7f9fc;
    border-bottom: 1px solid #eef2f8;
}
.calendar-weekday {
    padding: 16px 8px;
    text-align: center;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #5a6f82;
    letter-spacing: 0.5px;
}
.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}
.calendar-day {
    min-height: 100px;
    padding: 8px 6px;
    border-right: 1px solid #f0f2f5;
    border-bottom: 1px solid #f0f2f5;
    background: white;
    transition: 0.2s;
    cursor: default;
}
.calendar-day:nth-child(7n) {
    border-right: none;
}
.calendar-day.empty {
    background: #fafbfc;
    border-bottom: 1px solid #f0f2f5;
}
.calendar-day-number {
    font-weight: 600;
    font-size: 0.85rem;
    color: #1f3a4e;
    margin-bottom: 4px;
}
.calendar-day.today .calendar-day-number {
    background: #018440;
    color: white;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.calendar-day .event-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-right: 3px;
    margin-bottom: 2px;
}
.calendar-day .event-dot.blue { background: #1f6e9c; }
.calendar-day .event-dot.green { background: #018440; }
.calendar-day .event-dot.orange { background: #d98c2b; }
.calendar-day .event-dot.red { background: #E21B22; }
.calendar-day .event-dot.purple { background: #7b4c9e; }
.calendar-day .event-label {
    font-size: 0.6rem;
    color: #4f6f8f;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.calendar-day .event-label a {
    color: inherit;
    text-decoration: none;
}
.calendar-day .event-label a:hover {
    color: #d98c2b;
}

/* Events list (below calendar) */
.events-list {
    padding: 24px 28px;
}
.events-list-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    border-left: 4px solid #E21B22;
    padding-left: 14px;
}
.event-item-detailed {
    display: flex;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid #edf2f7;
    align-items: flex-start;
}
.event-item-detailed:last-child {
    border-bottom: none;
}
.event-item-detailed .event-date-block {
    min-width: 80px;
    text-align: center;
    background: #f7f9fc;
    border-radius: 16px;
    padding: 8px 12px;
}
.event-item-detailed .event-day {
    font-size: 1.6rem;
    font-weight: 800;
    color: #0a2942;
    line-height: 1.2;
}
.event-item-detailed .event-month {
    font-size: 0.65rem;
    text-transform: uppercase;
    font-weight: 600;
    color: #4f6f8f;
}
.event-item-detailed .event-info {
    flex: 1;
}
.event-item-detailed .event-title {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 4px;
    color: #0a2942;
}
.event-item-detailed .event-title a {
    color: inherit;
    text-decoration: none;
}
.event-item-detailed .event-title a:hover {
    color: #d98c2b;
}
.event-item-detailed .event-desc {
    font-size: 0.85rem;
    color: #4f6f8f;
    margin-bottom: 6px;
}
.event-item-detailed .event-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.event-item-detailed .event-tag {
    font-size: 0.65rem;
    background: #f0f3fa;
    padding: 2px 12px;
    border-radius: 40px;
    color: #1f3e6c;
    font-weight: 500;
}

/* ===== RESPONSIVE (calendar specific) ===== */
@media (max-width: 920px) {
    .calendar-page-grid {
        grid-template-columns: 1fr;
    }
    .sidebar-sticky {
        position: static;
        margin-top: 30px;
    }
    .container {
        padding: 0 20px;
    }
    .calendar-page-header {
        padding: 24px 20px;
    }
    .calendar-page-title {
        font-size: 1.8rem;
    }
    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    .filter-month {
        margin-left: 0;
        justify-content: center;
    }
    .calendar-day {
        min-height: 70px;
        padding: 4px 4px;
    }
    .event-item-detailed {
        flex-direction: column;
        gap: 8px;
    }
    .event-item-detailed .event-date-block {
        display: flex;
        gap: 12px;
        align-items: center;
        min-width: auto;
        padding: 6px 14px;
    }
    .event-item-detailed .event-day {
        font-size: 1.2rem;
    }
    .events-list {
        padding: 16px;
    }
}


.mobile-header-controls {
    display: none;
    align-items: center;
    gap: 12px;
}

/* Mobile search toggle button */
.mobile-search-toggle {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #1f3a4e;
    cursor: pointer;
    padding: 6px;
}

/* Hamburger menu button (three lines) */
.mobile-menu-toggle {
    background: none;
    border: none;
    font-size: 1.6rem;
    color: #1f3a4e;
    cursor: pointer;
    padding: 4px 6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Each line of the hamburger */
.mobile-menu-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: #1f3a4e;
    border-radius: 3px;
    transition: 0.3s;
}

/* Hamburger animation: transform to X when active */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== MOBILE SEARCH OVERLAY ===== */
.mobile-search-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 300;
    align-items: flex-start;
    justify-content: center;
    padding-top: 80px;
}
.mobile-search-overlay.active {
    display: flex;
}

/* Search box inside overlay */
.mobile-search-overlay .search-box-mobile {
    background: white;
    border-radius: 40px;
    padding: 12px 20px;
    width: 90%;
    max-width: 500px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}
.mobile-search-overlay .search-box-mobile input {
    border: none;
    background: transparent;
    padding: 10px 0;
    font-size: 1rem;
    width: 100%;
    outline: none;
    font-family: inherit;
}
.mobile-search-overlay .search-box-mobile i {
    color: #8aa0b5;
    font-size: 1.2rem;
}
.mobile-search-overlay .search-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #1f3a4e;
    cursor: pointer;
}

/* ===== MOBILE FULLSCREEN MENU OVERLAY ===== */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    z-index: 150;
    padding: 80px 30px 40px;
    overflow-y: auto;
}
.mobile-menu-overlay.active {
    display: block;
}

/* Close button in mobile menu */
.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #1f3a4e;
    cursor: pointer;
}

/* Navigation links in mobile menu */
.mobile-menu-overlay .mobile-nav-links {
    list-style: none;
    padding: 0;
}
.mobile-menu-overlay .mobile-nav-links li {
    border-bottom: 1px solid #eef2f8;
}
.mobile-menu-overlay .mobile-nav-links li a {
    display: block;
    padding: 16px 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #1f3a4e;
    text-decoration: none;
    transition: 0.2s;
}
.mobile-menu-overlay .mobile-nav-links li a:hover {
    color: #d98c2b;
    padding-left: 8px;
}
.mobile-menu-overlay .mobile-nav-links li a i {
    margin-right: 12px;
    color: #018440;
    width: 24px;
}

/* Language switcher in mobile menu */
.mobile-menu-overlay .mobile-lang-switch {
    margin-top: 30px;
    display: flex;
    gap: 12px;
    justify-content: center;
}
.mobile-menu-overlay .mobile-lang-switch button {
    background: #f0f3f8;
    border: none;
    padding: 10px 20px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    font-family: inherit;
    color: #2c4c6c;
    transition: 0.2s;
}
.mobile-menu-overlay .mobile-lang-switch button.active {
    background: #1f3e6c;
    color: white;
}

/* ===== RESPONSIVE BREAKPOINTS ===== */

/* Tablet and mobile: show mobile controls, hide desktop elements */
@media (max-width: 820px) {
    /* Hide desktop search and language switcher */
    .search-lang {
        display: none;
    }
    
    /* Show mobile controls */
    .mobile-header-controls {
        display: flex;
    }
    
    /* Hide desktop navigation */
    .nav-menu {
        display: none;
    }
    
    /* Adjust header spacing */
    .top-bar {
        padding: 12px 0;
    }
    .header-flex {
        gap: 12px;
    }
    .descriptor {
        font-size: 0.65rem;
    }
    .logo {
        font-size: 1.5rem;
    }
}
.logo-area img {
    max-height: 100px;
}
@media (max-width: 480px) {
    .logo {
        font-size: 1.3rem;
    }
    .descriptor {
        display: none;
    }
    .logo-area img {
        max-height: 80px;
    }    
}

.logo-area {
    text-decoration: none;
}
.logo-area .text .logotext {
    color: #1e2f3e;
    font-size: 18px;
    font-weight: 500;
}
.logo-area .text .logotext:not(.active) {
    display: none;
}
.event-item a {
    color: #1e2f3e;
    text-decoration-thickness: 1px;
    text-decoration-color: rgba(0, 0, 0, 0.5);
    text-underline-offset: 1px;
}

/* ===== ABOUT PAGE SPECIFIC STYLES ===== */
/* все стили для страницы About Agency вынесены в этот блок */

/* Page header */
.about-page-header {
    background: white;
    border-radius: 28px;
    padding: 32px 36px;
    margin-bottom: 32px;
    border: 1px solid #eef2f8;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.about-page-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0a2942;
    margin-bottom: 8px;
}
.about-page-description {
    font-size: 1rem;
    color: #4f6f8f;
    max-width: 800px;
}
.about-page-meta {
    margin-top: 16px;
    display: flex;
    gap: 24px;
    font-size: 0.85rem;
    color: #5a6f82;
    flex-wrap: wrap;
}
.about-page-meta i {
    margin-right: 6px;
}

/* Accordion */
.accordion {
    margin: 0 0 48px;
}
.accordion-item {
    background: white;
    border-radius: 20px;
    border: 1px solid #eef2f8;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
    transition: 0.3s;
}
.accordion-item:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 28px;
    cursor: pointer;
    transition: 0.2s;
    user-select: none;
    background: white;
}
.accordion-header:hover {
    background: #fafbfc;
}
.accordion-header .region-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0a2942;
}
.accordion-header .region-icon {
    font-size: 1.6rem;
    margin-right: 14px;
}
.accordion-header .region-count {
    font-size: 0.75rem;
    color: #4f6f8f;
    font-weight: 500;
    background: #f0f3fa;
    padding: 2px 12px;
    border-radius: 40px;
    margin-left: 12px;
}
.accordion-header .accordion-arrow {
    font-size: 1.2rem;
    color: #8aa0b5;
    transition: 0.3s;
}
.accordion-item.active .accordion-arrow {
    transform: rotate(180deg);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    padding: 0 28px;
}
.accordion-item.active .accordion-body {
    max-height: 3000px;
    padding: 0 28px 28px;
}

/* Team grid inside accordion */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 8px;
}
.team-card {
    background: #f7f9fc;
    border-radius: 20px;
    overflow: hidden;
    transition: 0.3s;
    border: 1px solid #eef2f8;
}
.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.team-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.team-card .team-info {
    padding: 16px 18px 20px;
}
.team-card .team-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0a2942;
    margin-bottom: 4px;
}
.team-card .team-role {
    font-size: 0.8rem;
    color: #018440;
    font-weight: 500;
}
.team-card .team-bio {
    font-size: 0.8rem;
    color: #4f6f8f;
    margin-top: 8px;
    line-height: 1.4;
}

/* Region flag emoji or icon */
.region-flag {
    font-size: 1.8rem;
    line-height: 1;
}

/* ===== RESPONSIVE (about page specific) ===== */
@media (max-width: 820px) {
    .about-page-header {
        padding: 24px 20px;
    }
    .about-page-title {
        font-size: 1.8rem;
    }
    .accordion-header {
        padding: 16px 20px;
    }
    .accordion-header .region-title {
        font-size: 1.2rem;
    }
    .accordion-body {
        padding: 0 20px;
    }
    .accordion-item.active .accordion-body {
        padding: 0 20px 20px;
    }
    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 16px;
    }
    .team-card img {
        height: 160px;
    }
}

@media (max-width: 480px) {
    .about-page-title {
        font-size: 1.5rem;
    }
    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
    .team-card img {
        height: 140px;
    }
    .team-card .team-name {
        font-size: 0.9rem;
    }
    .team-card .team-role {
        font-size: 0.7rem;
    }
    .logo-area .text .logotext {
        max-width: 200px;
        display: block;
        width: 100%;        
    }
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 3px solid #018440;
    box-shadow: 0 -8px 40px rgba(0,0,0,0.08);
    padding: 20px 28px;
    z-index: 1000;
    transform: translateY(0);
    transition: transform 0.4s ease, opacity 0.4s ease;
    opacity: 1;
}

.cookie-banner.hidden {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}

.cookie-banner .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.cookie-banner .cookie-text {
    flex: 1 1 60%;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.cookie-banner .cookie-icon {
    font-size: 1.8rem;
    color: #d98c2b;
    flex-shrink: 0;
    margin-top: 2px;
}

.cookie-banner .cookie-message {
    font-size: 0.92rem;
    color: #2c4c6c;
    line-height: 1.5;
}

.cookie-banner .cookie-message strong {
    color: #0a2942;
}

.cookie-banner .cookie-message a {
    color: #018440;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px dashed #bdd4e6;
}

.cookie-banner .cookie-message a:hover {
    color: #d98c2b;
    border-bottom-color: #d98c2b;
}

.cookie-banner .cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-banner .btn-cookie {
    padding: 10px 28px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: 0.25s;
    font-family: inherit;
    border: none;
}

.cookie-banner .btn-accept {
    background: #018440;
    color: white;
}

.cookie-banner .btn-accept:hover {
    background: #026a33;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(1, 132, 64, 0.3);
}

.cookie-banner .btn-decline {
    background: #f0f3f8;
    color: #2c4c6c;
}

.cookie-banner .btn-decline:hover {
    background: #e2eaf1;
}

.cookie-banner .btn-settings {
    background: transparent;
    color: #1f6e9c;
    border: 1px solid #cbdde6;
}

.cookie-banner .btn-settings:hover {
    background: #f0f3f8;
    border-color: #8aa0b5;
}

/* ===== RESPONSIVE (cookie banner) ===== */
@media (max-width: 820px) {
    .cookie-banner {
        padding: 16px 20px;
    }

    .cookie-banner .container {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .cookie-banner .cookie-text {
        flex: 1 1 auto;
        flex-direction: column;
        gap: 8px;
    }

    .cookie-banner .cookie-icon {
        font-size: 1.4rem;
    }

    .cookie-banner .cookie-message {
        font-size: 0.85rem;
    }

    .cookie-banner .cookie-actions {
        justify-content: flex-end;
        width: 100%;
    }

    .cookie-banner .btn-cookie {
        padding: 8px 20px;
        font-size: 0.8rem;
        flex: 0 1 auto;
    }
}

@media (max-width: 480px) {
    .cookie-banner .cookie-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-banner .btn-cookie {
        padding: 10px 20px;
        text-align: center;
    }

    .demo-content {
        padding: 40px 24px;
    }
    .demo-content h1 {
        font-size: 1.8rem;
    }
}






/* ================================================================ */
/* ===== AIR DATEPICKER CUSTOM STYLES ===== */
/* все стили для кастомизации Air Datepicker вынесены в этот блок */

/* Calendar wrapper (контейнер для datepicker) */
.calendar-wrapper {
    background: white;
    border-radius: 28px;
    border: 1px solid #eef2f8;
    padding: 28px 32px 32px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

/* ===== ОСНОВНЫЕ СТИЛИ AIR DATEPICKER ===== */
.air-datepicker {
    width: 100%;
    font-family: 'Inter', sans-serif;
    border: none;
    box-shadow: none;
    background: transparent;
}

/* Навигация (месяц/год + стрелки) */
.air-datepicker-nav {
    border-bottom: 1px solid #eef2f8;
    padding-bottom: 16px;
    margin-bottom: 16px;
}

.air-datepicker-nav--title {
    font-weight: 700;
    font-size: 1.1rem;
    color: #0a2942;
}

.air-datepicker-nav--action {
    color: #1f3e6c;
}

.air-datepicker-nav--action:hover {
    background: #f0f3fa;
}

/* ===== ДНИ НЕДЕЛИ ===== */
.air-datepicker-body--day-name {
    color: #4f6f8f;
    font-weight: 600;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* ===== ЯЧЕЙКИ ДНЕЙ ===== */
.air-datepicker-cell {
    border-radius: 50%;
    font-weight: 500;
    font-size: 0.85rem;
    transition: 0.2s;
}

.air-datepicker-cell:hover {
    background: #f0f3fa;
}

/* Текущий день (сегодня) */
.air-datepicker-cell.-current- {
    color: #0a2942;
    font-weight: 700;
}

/* Выбранный день */
.air-datepicker-cell.-selected- {
    background: #018440 !important;
    color: white !important;
    font-weight: 700;
    border-radius: 0px;
}

.air-datepicker-cell.-selected-:hover {
    background: #026a33 !important;
}

/* ===== ДНИ С СОБЫТИЯМИ (базовый маркер) ===== */
.air-datepicker-cell.has-event {
    position: relative;
    font-weight: 700;
    color: #0a2942;
}

/* Точка-маркер под числом */
.air-datepicker-cell.has-event::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #d98c2b; /* базовый цвет (оранжевый) */
}

/* Белая точка на выбранном дне с событием */
.air-datepicker-cell.has-event.-selected-::after {
    background: white;
}

/* ===== ЦВЕТОВЫЕ МЕТКИ ДЛЯ РАЗНЫХ ТИПОВ СОБЫТИЙ ===== */
/* Маркеры разных цветов в зависимости от типа события */

/* Саммиты / встречи на высшем уровне */
.air-datepicker-cell.has-event.summit::after {
    background: #1f6e9c; /* синий */
}

/* Медиа-форумы */
.air-datepicker-cell.has-event.media::after {
    background: #d98c2b; /* золотисто-оранжевый */
}

/* Исследования / конференции */
.air-datepicker-cell.has-event.research::after {
    background: #7b4c9e; /* фиолетовый */
}

/* Воркшопы / семинары */
.air-datepicker-cell.has-event.workshop::after {
    background: #018440; /* зелёный (брендовый) */
}

/* Культурные события */
.air-datepicker-cell.has-event.cultural::after {
    background: #E21B22; /* красный */
}

/* ===== ОБЛАСТЬ ВЫВОДА СОБЫТИЙ ПОД КАЛЕНДАРЁМ ===== */
.events-list {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #eef2f8;
}

.events-list-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #0a2942;
}

.events-list-title i {
    color: #018440;
    margin-right: 8px;
}

/* Карточка события */
.event-detail-card {
    display: none;
    background: #f7f9fc;
    border-radius: 20px;
    padding: 20px 24px;
    border-left: 4px solid #018440;
    margin-bottom: 12px;
    animation: fadeIn 0.3s ease;
}

.event-detail-card.active {
    display: block;
}

.event-detail-card .event-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0a2942;
    margin-bottom: 4px;
}

.event-detail-card .event-date-display {
    font-size: 0.8rem;
    color: #018440;
    font-weight: 500;
    margin-bottom: 6px;
}

.event-detail-card .event-desc {
    font-size: 0.9rem;
    color: #4f6f8f;
    margin-bottom: 8px;
}

.event-detail-card .event-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.event-detail-card .event-tag {
    font-size: 0.65rem;
    background: white;
    padding: 2px 14px;
    border-radius: 40px;
    color: #1f3e6c;
    font-weight: 500;
    border: 1px solid #e2eaf1;
}

.event-detail-card .event-location {
    font-size: 0.8rem;
    color: #5a6f82;
    margin-top: 6px;
}

.event-detail-card .event-location i {
    margin-right: 6px;
    color: #d98c2b;
}

/* Сообщение "нет событий" */
.no-event-selected {
    color: #8aa0b5;
    font-size: 0.9rem;
    padding: 12px 0;
}

.no-event-selected i {
    margin-right: 8px;
}

/* Анимация появления карточки */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== АДАПТИВ ДЛЯ AIR DATEPICKER ===== */
@media (max-width: 820px) {
    .calendar-wrapper {
        padding: 20px 16px;
    }
    
    .air-datepicker-cell {
        font-size: 0.8rem;
    }
    
    .air-datepicker-cell.has-event::after {
        width: 5px;
        height: 5px;
        bottom: 3px;
    }
}

@media (max-width: 480px) {
    .event-detail-card {
        padding: 16px;
    }
    
    .event-detail-card .event-title {
        font-size: 1rem;
    }
    
    .air-datepicker-cell {
        font-size: 0.75rem;
    }
}
.air-datepicker-cell {
    border-radius: 0px;
}
.event-item-detailed.hidden {
    display: none;
}

@media (max-width: 768px) {
    .mobile_columns {
        columns: 2;
    }
    .compact-time {
        max-width: 80px;
    }
    .compact-time span {
        display: none;
    }
}
.footer-col li {
    list-style-type: none;
}
.alt_for_top_pic {
	font-size: 0.8rem;
    color: #4f6f8f;
    text-align: right;
    padding: 0.5em 1em 0 0;	
}