:root {
    --primary: #3273dc;
    --link: #3273dc;
    --info: #209cee;
    --success: #23d160;
    --warning: #ffdd57;
    --danger: #ff3860;
    --black: #0a0a0a;
    --dark: #363636;
    --light: #f5f5f5;
    --white: #ffffff;
    --text: #4a4a4a;
    --text-strong: #363636;
    --text-light: #7a7a7a;
    --family-sans-serif: "Ubuntu", "Roboto", "Open Sans", "Microsoft YaHei", sans-serif;
    --radius: 4px;
    --shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    --card-radius: 6px;
    --nav-height: 56px;
}

* {
    box-sizing: border-box;
}

body {
    background-color: #f7f7f7;
    font-family: var(--family-sans-serif);
    color: var(--text);
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

a {
    color: var(--link);
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: var(--dark);
}

.container {
    max-width: 1344px;
    /* Icarus max width */
    margin: 0 auto;
    padding: 0 1rem;
}

/* Navbar */
.navbar {
    background-color: var(--white);
    min-height: var(--nav-height);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--nav-height);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.125rem;
}

.navbar-item {
    color: var(--text-light);
    padding: 0.5rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
}

.navbar-item:hover,
.navbar-item.active {
    color: var(--link);
}

.navbar-menu {
    display: flex;
    gap: 0.5rem;
}

.navbar-end {
    display: flex;
    align-items: center;
}

.search-icon {
    color: var(--text-light);
}

/* Layout */
.main-container {
    margin-top: 1.5rem;
    padding-bottom: 3rem;
}

.columns {
    display: flex;
    gap: 1.5rem;
}

.column.is-3 {
    width: 25%;
    flex: 0 0 25%;
}

.column.is-9 {
    width: 75%;
    flex: 0 0 75%;
}

/* Cards */
.card {
    background-color: var(--white);
    border-radius: var(--card-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 1.5rem;
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.card-image img {
    display: block;
    width: 100%;
    object-fit: cover;
}

.card-content {
    padding: 1.5rem;
}

/* Profile Card */
.profile-card {
    text-align: center;
}

.profile-card .card-image {
    padding: 1.5rem 1.5rem 0;
}

.avatar-image {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    margin: 0 auto;
    border: 1px solid #eee;
}

.author-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 1rem 0 0.5rem;
}

.author-bio {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.social-links a {
    color: var(--text);
    font-size: 1.1rem;
    padding: 0.4rem;
    border-radius: 4px;
    background: #f5f5f5;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links a:hover {
    background: var(--link);
    color: white;
}

.monitor-stats {
    display: flex;
    justify-content: space-around;
    padding: 1rem 0;
    border-top: 1px solid #f5f5f5;
    border-bottom: 1px solid #f5f5f5;
    margin-bottom: 1.5rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-strong);
}

.stat-key {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
}

.follow-btn {
    width: 100%;
    background-color: var(--link);
    color: white;
    border: none;
    padding: 0.6rem;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.follow-btn:hover {
    background-color: #276cda;
    color: white;
}

/* Sidebar Widgets */
.widget-header {
    padding: 0.8rem 1.25rem;
    border-bottom: 1px solid #ededed;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-light);
}

.menu-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.menu-list li a {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 1.25rem;
    color: var(--text);
    border-left: 2px solid transparent;
}

.menu-list li a:hover {
    background-color: #f9f9f9;
    color: var(--link);
    border-left-color: var(--link);
}

.menu-list .tag {
    background-color: #f5f5f5;
    color: var(--text-light);
    padding: 0.1rem 0.5rem;
    border-radius: 2px;
    font-size: 0.75rem;
    height: 1.5em;
    line-height: 1.5;
}

/* Article Cards */
.article-card {
    display: flex;
    flex-direction: column;
}

.article-media {
    overflow: hidden;
    height: 300px;
    position: relative;
    border-bottom: 1px solid #f5f5f5;
}

.article-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-media img {
    transform: scale(1.05);
}

.article-content {
    padding: 2rem;
}

.article-meta {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.article-meta i {
    margin-right: 0.3rem;
}

.article-meta a {
    color: var(--text-light);
}

.article-meta a:hover {
    color: var(--link);
}

.title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.title a {
    color: var(--text-strong);
}

.title a:hover {
    color: var(--link);
}

.excerpt {
    color: var(--text);
    margin-bottom: 1.5rem;
    text-align: justify;
}

.read-more {
    display: inline-block;
    background-color: var(--link);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 500;
}

.read-more:hover {
    background-color: #276cda;
    color: white;
    box-shadow: 0 4px 6px rgba(50, 115, 220, 0.2);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.pagination-link,
.pagination-previous,
.pagination-next {
    border: 1px solid #dbdbdb;
    min-width: 2.25em;
    height: 2.25em;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: var(--radius);
    background: var(--white);
    color: var(--text-strong);
}

.pagination-link.is-current {
    background-color: var(--link);
    border-color: var(--link);
    color: var(--white);
}

.pagination-link:hover,
.pagination-previous:hover,
.pagination-next:hover {
    border-color: var(--text-light);
    color: var(--text-strong);
}

/* Footer */
.footer {
    background-color: var(--white);
    padding: 3rem 1.5rem;
    margin-top: 3rem;
}

.has-text-centered {
    text-align: center;
}

.footer p {
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.is-hidden {
    display: none;
}

#back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--link);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    opacity: 0.8;
    transition: all 0.3s;
    z-index: 99;
}

#back-to-top:hover {
    opacity: 1;
    transform: translateY(-3px);
}

/* Responsive */
@media screen and (max-width: 1023px) {
    .columns {
        flex-direction: column;
    }

    .column.is-3,
    .column.is-9 {
        width: 100%;
        flex: auto;
    }

    .sidebar-left {
        order: 2;
    }

    .main-content {
        order: 1;
    }

    .navbar-menu {
        display: none;
        /* In real implementation, add mobile toggle */
    }
}