@import url('https://fonts.googleapis.com/css2?family=Pacifico&display=swap');

body {
    background: #101014;
    color: #fff;
    font-family: 'Charter', Georgia, Cambria, 'Times New Roman', Times, serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-size: 1.18rem;
    line-height: 1.8;
}

.blog-container {
    max-width: 92vw;
    margin: 0 auto;
    padding: 2.5rem 2vw 2rem 2vw;
    padding-top: 80px;
}

.blog-header {
    text-align: center;
    margin-bottom: 2.5rem;
    border-bottom: none;
    box-shadow: 0 2px 8px 0 rgba(36,40,60,0.08);
    padding-bottom: 1.2rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: linear-gradient(to bottom, #101014 80%, #23263a 100%);
    z-index: 100;
    padding-left: 2vw;
    padding-right: 2vw;
}

.blog-header-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
    margin-bottom: 1.2rem;
    gap: 1.2rem;
    padding-left: 2vw;
    padding-right: 2vw;
}

.logo-and-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    text-align: center;
}

.blog-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(36,40,60,0.08);
    background: #23263a;
    margin-bottom: 0.2rem;
    flex-shrink: 0;
}

.blog-title {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 2.7rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.01em;
    margin: 0;
    flex: 1 1 0;
    text-align: left;
}

.blog-subtitle {
    font-size: 1.1rem;
    color: #bfc9e0;
    font-family: 'Charter', 'Bitstream Charter', 'Sitka Text', Cambria, serif;
    text-align: right;
    flex: 1 1 0;
    margin: 0;
    font-weight: 400;
}

.blog-description {
    font-size: 1.08rem;
    color: #e0e6ed;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2vw;
    padding-right: 2vw;
}

.blog-main {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.blog-sections {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    width: 100%;
    padding-left: 2vw;
    padding-right: 2vw;
}

.blog-section-card {
    background: #23263a;
    border-radius: 1.2em;
    box-shadow: 0 2px 16px rgba(0,0,0,0.10);
    border: 1px solid #23263a;
    padding: 0;
    min-width: 240px;
    max-width: 320px;
    flex: 1 1 260px;
    text-align: left;
    transition: box-shadow 0.2s, transform 0.2s;
    margin-bottom: 0;
    overflow: hidden;
}
.card-header {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 1.3rem;
    color: #fff;
    font-weight: 700;
    padding: 1.3rem 1.5rem;
    cursor: pointer;
    background: none;
    border: none;
    outline: none;
    transition: background 0.2s, color 0.2s;
}
.blog-section-card.open .card-header {
    background: #181c24;
    color: #6ec1e4;
}
.card-dropdown {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.25s, padding 0.2s;
    background: #23263a;
    color: #e0e6ed;
    font-size: 1.05rem;
    line-height: 1.7;
    padding: 0 1.5rem;
}
.blog-section-card.open .card-dropdown {
    max-height: 200px;
    opacity: 1;
    padding: 1em 1.5rem 1.3rem 1.5rem;
}

@media (max-width: 900px) {
    .blog-sections {
        flex-direction: column;
        align-items: center;
        padding-left: 3vw;
        padding-right: 3vw;
    }
    .blog-section-card {
        max-width: 100%;
        width: 100%;
    }
    .blog-container {
        max-width: 100vw;
        padding: 2.5rem 3vw 2rem 3vw;
    }
    .blog-header-row {
        padding-left: 3vw;
        padding-right: 3vw;
    }
    .blog-description {
        padding-left: 3vw;
        padding-right: 3vw;
    }
    .header-message {
        font-size: 1rem;
    }
    .blog-nav {
        gap: 1.2rem;
    }
    .blog-tab {
        font-size: 1.08rem;
        padding: 0.5em 1em;
    }
}

@media (max-width: 600px) {
    .blog-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    .blog-logo {
        width: 64px;
        height: 64px;
    }
    .blog-title {
        font-size: 1.7rem;
        text-align: left;
    }
    .blog-subtitle {
        font-size: 1rem;
        text-align: left;
    }
}

@media (max-width: 800px) {
    .blog-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    .logo-and-message {
        align-items: flex-start;
        margin-bottom: 0.5rem;
    }
    .header-message {
        font-size: 0.98rem;
        white-space: normal;
    }
    .blog-logo {
        width: 80px;
        height: 80px;
    }
    .blog-nav {
        gap: 0.5rem;
        margin-top: 0.7rem;
        justify-content: flex-start;
    }
    .blog-tab {
        font-size: 0.98rem;
        padding: 0.4em 0.7em;
    }
}

.about-card {
    min-height: 0;
}

.main-content {
    margin-top: 2.5rem;
    padding: 0;
    background: none;
    border-radius: 0;
    box-shadow: none;
    color: #e0e6ed;
    font-size: 1.12rem;
    line-height: 1.8;
    min-height: 120px;
    max-width: 98vw;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}
.main-content-section {
    margin-top: 10rem;
    display: block;
    padding: 0 1vw 0 1vw;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.18rem;
    line-height: 1.8;
}

.header-message {
    font-size: 1.0rem;
    color: #bfc9e0;
    font-family: 'Charter', Georgia, Cambria, 'Times New Roman', Times, serif;
    font-style: italic;
    margin-left: 0;
    margin-top: 0;
    margin-bottom: 0;
    white-space: normal;
    align-self: center;
}

.blog-nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 2rem;
    margin-top: 0;
    margin-bottom: 0;
    flex-wrap: wrap;
    flex-shrink: 0;
    margin-left: auto;
}

.blog-tab {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 1.5rem;
    color: #bfc9e0;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.8em 2em;
    border-radius: 1.2em;
    transition: background 0.2s, color 0.2s;
    font-weight: 600;
    outline: none;
    user-select: none;
}
.blog-tab.open, .blog-tab:focus {
    background: #23263a;
    color: #6ec1e4;
}
.blog-tab:hover {
    background: #23263a;
    color: #fff;
}

.fancy-title {
    font-family: 'Pacifico', cursive;
    font-size: 3.2rem;
    color: #fff;
    letter-spacing: 0.04em;
    text-align: center;
    display: block;
    margin-bottom: 0.2rem;
}

a {
    color: #6ec1e4;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #8dd4f0;
    text-decoration: underline;
}

/* Welcome content styles */
.welcome-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.welcome-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.welcome-content p {
    font-size: 1.3rem;
    color: #bfc9e0;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.welcome-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.welcome-link {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #23263a 0%, #2d3142 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #3a3f55;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.welcome-link:hover {
    background: linear-gradient(135deg, #2d3142 0%, #3a3f55 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    text-decoration: none;
}

/* Article list styles */
.article-list {
    margin-top: 2rem;
}

.article-preview {
    background: linear-gradient(135deg, #23263a 0%, #2d3142 100%);
    border: 1px solid #3a3f55;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.article-preview:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    border-color: #4a9eff;
}

.article-preview h3 {
    color: #fff;
    margin: 0 0 0.5rem 0;
    font-size: 1.4rem;
    font-weight: 600;
}

.article-meta {
    color: #8b9bb4;
    font-size: 0.9rem;
    margin: 0 0 1rem 0;
    font-style: italic;
}

.article-excerpt {
    color: #bfc9e0;
    line-height: 1.6;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .welcome-links {
        flex-direction: column;
        align-items: center;
    }
    
    .welcome-link {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .welcome-content h2 {
        font-size: 2rem;
    }
    
    .welcome-content p {
        font-size: 1.1rem;
    }
}