/* Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background-color: #517594; /* Синеватый фон по бокам */
    color: #000;
    margin: 0;
    padding: 0;
}

/* Универсальное правило для адаптивности изображений в блоках */
.img-fluid {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Top Red Navigation */
.top-header {
    background-color: #e60000;
    width: 100%;
    padding: 8px 0;
    text-align: center;
}

.top-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
}

.top-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
}

.top-nav a:hover {
    text-decoration: underline;
}

/* Main Wrapper simulating centered white container */
.main-wrapper {
    max-width: 980px;
    margin: 0 auto;
    background-color: #ffffff;
    min-height: 100vh;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
}

/* Banner Section */
.banner-section {
    padding: 10px 15px 0 15px;
    text-align: left;
}

.logo-area {
    font-family: Georgia, serif;
    font-size: 42px;
    font-weight: bold;
    line-height: 1.1;
}

.logo-swiss {
    color: #e60000;
}

.logo-star {
    color: #517594;
}

.logo-class {
    color: #e60000;
}

.banner-subtitle {
    font-size: 11px;
    color: #444;
    margin-bottom: 8px;
    font-weight: bold;
}

/* Стили для баннера-картинки */
.banner-image-container {
    width: 100%;
    overflow: hidden;
    border: 1px solid #ccc;
    margin-bottom: 5px;
}

.banner-real-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Columns Section */
.columns-section {
    display: flex;
    gap: 8px;
    padding: 15px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.col-card {
    flex: 1;
    min-width: 215px;
    border: 1px solid #dcdcdc;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
}

.col-header {
    background-color: #e60000;
    color: #ffffff;
    text-align: center;
    font-size: 12px;
    font-weight: bold;
    padding: 6px 4px;
    letter-spacing: 0.5px;
}

.col-content {
    padding: 10px;
    font-size: 11px;
    line-height: 1.4;
    color: #333;
}

.event-title {
    font-size: 11px;
    font-weight: bold;
    color: #0000cc;
    text-align: center;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.event-subtitle-sub {
    text-align: center;
    font-weight: bold;
    font-size: 11px;
    margin-bottom: 4px;
}

.red-text {
    color: #e60000;
    text-align: center;
    font-weight: bold;
    margin-bottom: 8px;
}

.event-desc {
    margin-bottom: 8px;
    text-align: center;
}

/* Контейнеры карточек с ограничением размеров */
.calendar-preview, .event-logo-box, .market-img-box, .star-log-img {
    border: 1px solid #ccc;
    background: #ffffff;
    padding: 5px;
    text-align: center;
    margin-bottom: 8px;
    overflow: hidden;
}

.more-link {
    display: block;
    text-align: center;
    color: #e60000;
    font-weight: bold;
    text-decoration: none;
    font-size: 11px;
}

.more-link:hover {
    text-decoration: underline;
}

.event-logo-text {
    font-size: 9px;
    font-weight: bold;
    color: #003366;
}

/* Market & Log sections */
.market-section, .star-log-section, .starlights-section {
    border-bottom: 1px dashed #ccc;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.market-title {
    font-size: 11px;
    font-weight: bold;
    color: #e60000;
    text-align: center;
    margin-bottom: 6px;
}

.market-text {
    font-size: 10px;
    color: #333;
    margin-bottom: 6px;
}

.small-note {
    font-size: 10px;
    color: #0000cc;
    font-weight: bold;
}

.text-center {
    text-align: center;
}

.starlights-header {
    background-color: #003366;
    color: white;
    text-align: center;
    font-weight: bold;
    padding: 3px;
    font-size: 10px;
    margin-bottom: 4px;
}

.starlights-title {
    text-align: center;
    font-size: 10px;
    font-weight: bold;
    color: #e60000;
    margin-bottom: 4px;
}

.year-big {
    text-align: center;
    margin-bottom: 6px;
}

/* Bottom Footer */
.bottom-footer {
    background-color: #e60000;
    color: #ffffff;
    text-align: center;
    padding: 8px;
    font-size: 11px;
    margin-top: auto;
}

/* Responsive */
@media (max-width: 900px) {
    .columns-section {
        flex-direction: column;
    }
}