:root {
    --primary-color: #b86c6c;
    --secondary-color: #EA580C;
    --accent-color: #F59E0B;
    --light-color: #FFF7ED;
    --dark-color: #1C1917;
    --text-color: #292524;
    --text-light: #78716C;
    --border-color: #E7E5E4;
    --success-color: #10B981;
    --warning-color: #F59E0B;
    --danger-color: #EF4444;
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-xxl: 3rem;

    --font-primary: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-heading: "Playfair Display", "Georgia", serif;

    --container-width: 1280px;
    --border-radius: 0px;
    --border-radius-lg: 0px;
    --border-radius-xl: 0px;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 12px 40px rgba(0, 0, 0, 0.15);

    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.75;
    color: var(--text-color);
    background: linear-gradient(180deg, #FFFFFF 0%, #FFF7ED 100%);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.article-content img {
    margin: 1rem auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul,
ol {
    list-style: none;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.grid {
    display: grid;
}

.hidden {
    display: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    border: 3px solid var(--primary-color);
    border-radius: 0;
    position: relative;
    overflow: hidden;
}

.btn-primary>* {
    position: relative;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--secondary-color);
    transition: var(--transition);
    z-index: 0;
}

.btn-primary:hover {
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover::before {
    left: 0;
}

.btn-secondary {
    background-color: white;
    color: var(--primary-color);
    border: 3px solid var(--primary-color);
    font-weight: 700;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn-secondary>* {
    position: relative;
    z-index: 1;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    transition: var(--transition);
    z-index: 0;
}

.btn-secondary:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary:hover::before {
    left: 0;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.navbar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 3px solid var(--primary-color);
    z-index: 1000;
    padding: var(--space-md) 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: var(--space-sm) 0;
    background: rgba(255, 255, 255, 0.98);
    border-bottom-width: 4px;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--primary-color);
    letter-spacing: -1px;
    text-transform: uppercase;
    position: relative;
}

.logo span {
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    gap: var(--space-xl);
}

.nav-item {
    position: relative;
}

.nav-link {
    font-weight: 600;
    padding: var(--space-sm) var(--space-md);
    position: relative;
    color: var(--text-color);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::before {
    transform: translateX(-50%) scaleX(1);
}

.nav-link::after {
    display: none;
}

.nav-actions {
    display: none;
    align-items: center;
    gap: var(--space-md);
}

.search-box {
    position: relative;
}

.search-input {
    padding: 0.6rem 1rem 0.6rem 2.5rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    width: 200px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    width: 240px;
}

.search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark-color);
    cursor: pointer;
}

.headline-section {
    padding-top: 30px;
    padding-bottom: var(--space-xxl);
}

.section-header {
    margin-bottom: var(--space-xl);
    display: block;
    position: relative;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--dark-color);
    position: relative;
    padding-bottom: var(--space-md);
    text-transform: none;
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin: 0;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 5px;
    background: var(--primary-color);
}

.headline-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.headline-card {
    background: white;
    border: none;
    border-radius: 0;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
    position: relative;
    border-top: 3px solid transparent;
    display: flex;
    flex-direction: column;
    /* min-height: 320px; */
}

.headline-card .headline-image {
    width: 100%;
    height: 200px;
    min-height: 200px;
}

.headline-card .headline-content {
    padding: var(--space-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0 20px 20px;
}

.headline-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.headline-card:hover::before {
    width: 100%;
}

.headline-card.featured {
    /* All cards have equal layout */
    /* display: grid; */
}

.headline-image {
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    width: 100%;
}

.headline-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: grayscale(20%);
    padding: 20px 20px 0 20px;
}

.headline-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.headline-category {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 0.4rem 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
    background: var(--primary-color);
    color: white;
    border-radius: 0;
    position: relative;
    clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 100%, 0px 100%);
}

.headline-title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: var(--space-sm);
    color: var(--dark-color);
}

.headline-title a {
    color: var(--dark-color);
    transition: var(--transition);
    display: block;
}

.headline-title a:hover {
    color: var(--primary-color);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.headline-excerpt {
    color: var(--text-light);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: var(--space-md);
    flex-grow: 1;
}

.headline-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-light);
}

.category-section {
    padding: var(--space-xxl) 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #FFF7ED 50%, #FFFFFF 100%);
    border-top: 4px solid var(--primary-color);
    border-bottom: 4px solid var(--primary-color);
    position: relative;
}

.category-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient(45deg,
            transparent,
            transparent 10px,
            rgba(220, 38, 38, 0.03) 10px,
            rgba(220, 38, 38, 0.03) 20px);
    pointer-events: none;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--space-lg);
    grid-auto-flow: dense;
}

.category-card {
    background: white;
    border: 3px solid var(--primary-color);
    border-radius: 0;
    padding: var(--space-xl) var(--space-lg);
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    min-height: 140px;
    aspect-ratio: 1;
}

.category-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(220, 38, 38, 0.1), transparent);
    transform: rotate(45deg);
    transition: var(--transition);
    opacity: 0;
}

.category-card:nth-child(odd) {
    border-color: var(--primary-color);
}

.category-card:nth-child(even) {
    border-color: var(--secondary-color);
}

.category-card:hover {
    background: var(--light-color);
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px) scale(1.02);
    border-width: 4px;
}

.category-card:hover::before {
    opacity: 1;
    animation: shine 0.6s ease;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.category-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--space-md);
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    border: 3px solid var(--secondary-color);
}

.category-title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
    color: var(--dark-color);
    position: relative;
    z-index: 1;
}

.category-title a {
    color: var(--dark-color);
    transition: var(--transition);
}

.category-title a:hover {
    color: var(--primary-color);
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

.category-count {
    font-size: 0.85rem;
    color: var(--text-light);
}

.trending-section {
    padding: var(--space-xxl) 0;
}

.trending-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.tag {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background-color: #F0F0F0;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.tag:hover {
    background-color: var(--secondary-color);
    color: white;
}

.tag.hot {
    background-color: #FFE8E0;
    color: #E74C3C;
}

.tag.hot:hover {
    background-color: #E74C3C;
    color: white;
}

.trending-articles {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .trending-articles {
        grid-template-columns: repeat(2, 1fr);
    }
}

.trending-article {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: var(--space-lg);
    background: white;
    border: none;
    border-left: 5px solid var(--primary-color);
    border-radius: 0;
    padding: var(--space-lg);
    transition: var(--transition);
    align-items: center;
    box-shadow: var(--shadow);
    position: relative;
}

.trending-article::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.05));
    transition: var(--transition);
}

.trending-article:hover {
    box-shadow: var(--shadow-xl);
    transform: translateX(5px);
    border-left-width: 8px;
    border-left-color: var(--secondary-color);
}

.trending-article:hover::after {
    width: 100%;
}

.trending-rank {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-color);
    text-align: center;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-shadow: 2px 2px 0 rgba(220, 38, 38, 0.2);
}

.trending-rank::before {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    opacity: 0.3;
}

.trending-article:hover .trending-rank {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.trending-article:hover .trending-rank::before {
    border-color: var(--secondary-color);
    opacity: 0.5;
    transform: scale(1.2);
}

.trending-content {
    flex-grow: 1;
}

.trending-article-title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    line-height: 1.4;
    position: relative;
    z-index: 1;
}

.trending-article-title a {
    color: var(--dark-color);
    transition: var(--transition);
}

.trending-article-title a:hover {
    color: var(--primary-color);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.trending-meta {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: 0.85rem;
    color: var(--text-light);
}

.latest-section {
    padding: var(--space-xxl) 0;
    background-color: #FFFFFF;
}

.articles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

@media (min-width: 768px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .articles-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.article-card {
    background: white;
    border: none;
    border-radius: 0;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
    position: relative;
    border-top: 3px solid transparent;
    display: flex;
    flex-direction: column;
    /* min-height: 320px; */
}

.article-image {
    width: 100%;
    height: 200px;
    min-height: 200px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

.article-content {
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

.article-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.article-card:hover::before {
    width: 100%;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: grayscale(20%);
    padding: 20px 20px 0 20px;
}

.article-category {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 0.4rem 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
    background: var(--primary-color);
    color: white;
    border-radius: 0;
    position: relative;
    clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 100%, 0px 100%);
}

.article-title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: var(--space-sm);
    color: var(--dark-color);
}

.article-title a {
    color: var(--dark-color);
    transition: var(--transition);
    display: block;
}

.article-title a:hover {
    color: var(--primary-color);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.article-excerpt {
    color: var(--text-light);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-light);
}

.featured-section {
    padding: var(--space-xxl) 0;
}

.featured-slider {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.featured-slide {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.featured-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: var(--space-xl);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
}

.featured-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: white;
}

.featured-excerpt {
    font-size: 1rem;
    margin-bottom: var(--space-md);
    opacity: 0.9;
}

.ranking-section {
    padding: var(--space-xxl) 0;
    background-color: var(--light-color);
    border-top: 3px solid var(--primary-color);
}

.ranking-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.ranking-item {
    display: grid;
    grid-template-columns: 60px 1fr;
    align-items: center;
    background: white;
    border: 2px solid var(--border-color);
    border-top: 5px solid var(--primary-color);
    padding: var(--space-lg);
    transition: var(--transition);
    gap: var(--space-md);
}

.ranking-item:hover {
    border-top-color: var(--secondary-color);
    border-top-width: 8px;
    transform: translateY(-3px);
}

.ranking-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--secondary-color);
    text-align: center;
    line-height: 1;
    text-shadow: 2px 2px 0 var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ranking-content {
    flex-grow: 1;
}

.ranking-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.ranking-meta {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: 0.85rem;
    color: var(--text-light);
}

.video-section {
    padding: var(--space-xxl) 0;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.video-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.video-thumbnail {
    position: relative;
    height: 160px;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.video-content {
    padding: var(--space-md);
}

.video-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    line-height: 1.4;
}

.video-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-light);
}

.poll-section {
    padding: var(--space-xxl) 0;
    background-color: #F9F7FD;
}

.poll-container {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-lg);
    max-width: 800px;
    margin: 0 auto;
}

.poll-question {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-xl);
    color: var(--primary-color);
    text-align: center;
}

.poll-options {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.poll-option {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background-color: #F8F9FA;
    border-radius: var(--border-radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.poll-option:hover {
    border-color: var(--primary-color);
    background-color: #F0F0F0;
}

.poll-option.selected {
    border-color: var(--secondary-color);
    background-color: #FFF0E8;
}

.poll-results {
    display: none;
}

.poll-result {
    margin-bottom: var(--space-lg);
}

.result-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-xs);
}

.result-bar {
    height: 10px;
    background-color: #F0F0F0;
    border-radius: 5px;
    overflow: hidden;
}

.result-fill {
    height: 100%;
    background-color: var(--secondary-color);
    border-radius: 5px;
    transition: width 1s ease;
}

.footer {
    background: linear-gradient(180deg, var(--dark-color) 0%, #0A0A0A 100%);
    color: white;
    padding: 30px 0;
    border-top: 4px solid var(--primary-color);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient(45deg,
            transparent,
            transparent 10px,
            rgba(220, 38, 38, 0.05) 10px,
            rgba(220, 38, 38, 0.05) 20px);
    pointer-events: none;
}

.footer-grid {
    display: grid;
    /* grid-template-columns: repeat(4, 1fr); */
    gap: var(--space-xl);
    /* margin-bottom: var(--space-xxl); */
}

.footer-column h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: var(--space-lg);
    position: relative;
    padding-bottom: var(--space-sm);
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-link:hover {
    color: white;
    padding-left: 5px;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.subscribe-input {
    padding: 0.8rem 1rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 0.95rem;
}

.subscribe-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--secondary-color);
}

.footer-bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.social-links {
    display: flex;
    gap: var(--space-md);
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

@media (max-width: 1024px) {
    .headline-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .ranking-list {
        grid-template-columns: 1fr;
    }

    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }
}

@media (max-width: 768px) {

    .nav-menu,
    .search-box {
        display: none;
    }

    .nav-actions .btn.btn-primary {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .headline-grid {
        grid-template-columns: 1fr;
    }

    .articles-grid {
        grid-template-columns: 1fr !important;
    }

    .article-card {
        min-height: auto;
    }

    .article-image {
        height: 200px;
        min-height: 200px;
    }

    .trending-articles {
        flex-direction: column;
    }

    .trending-article {
        grid-template-columns: 60px 1fr;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ranking-list {
        grid-template-columns: 1fr;
    }

    .ranking-item {
        grid-template-columns: 50px 1fr;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-md);
    }

    .section-title {
        font-size: 1.5rem;
    }

    .poll-option {
        flex-direction: column;
        align-items: flex-start;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

.delay-5 {
    animation-delay: 0.5s;
}

/* ============================================
   List Page Styles
   ============================================ */
.list-page {
    padding-top: 10px;
}

.page-header {
    padding: var(--space-xl) 0;
    background-color: #F9F7FD;
    border-bottom: 1px solid var(--border-color);
}

.page-title-section {
    /* Page title section styles */
    display: block;
}

.category-badge {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    padding: 0.5rem 1rem;
    /* border-radius: 30px; */
    margin-bottom: var(--space-md);
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-md);
    color: var(--dark-color);
}

.page-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 800px;
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.page-stats {
    display: flex;
    gap: var(--space-xl);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-color);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: var(--space-xs);
}

.filter-section {
    padding: var(--space-lg) 0;
    background-color: white;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 80px;
    z-index: 100;
}

@media (max-width: 768px) {
    .filter-section {
        top: 70px;
    }
}

.filter-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.filter-label {
    font-weight: 600;
    color: var(--dark-color);
    white-space: nowrap;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.filter-btn {
    padding: 0.5rem 1rem;
    background-color: #F8F9FA;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.filter-btn:hover {
    background-color: #F0F0F0;
}

.filter-btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.sort-options {
    min-width: 150px;
}

.sort-select {
    width: 100%;
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    background-color: white;
    cursor: pointer;
}

.sort-select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.time-filter {
    display: flex;
    gap: var(--space-sm);
}

.time-btn {
    padding: 0.5rem 0.8rem;
    background-color: #F8F9FA;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}

.time-btn:hover {
    background-color: #F0F0F0;
}

.time-btn.active {
    background-color: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

.view-toggle {
    display: flex;
    gap: var(--space-xs);
    margin-left: auto;
}

.view-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #F8F9FA;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-light);
}

.view-btn:hover {
    background-color: #F0F0F0;
    color: var(--primary-color);
}

.view-btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.tags-cloud {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border-color);
}

.tags-label {
    font-weight: 600;
    color: var(--dark-color);
    white-space: nowrap;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.tag.large {
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
}

.tag.active {
    background-color: var(--primary-color);
    color: white;
}

.list-container {
    padding: var(--space-xl) 0;
}

.list-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: var(--space-xl);
}

.list-sidebar {
    order: 0;
}

.list-main {
    min-width: 0;
}

@media (max-width: 1024px) {
    .list-layout {
        padding: 15px;
        grid-template-columns: 1fr;
    }

    .list-sidebar {
        order: 0;
    }
}

.articles-list {
    display: none;
    flex-direction: column;
    gap: var(--space-lg);
}

.articles-list.active {
    display: flex;
}

.list-item {
    display: flex;
    gap: var(--space-lg);
    background: white;
    border-radius: var(--border-radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.list-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.list-image {
    width: 200px;
    height: 150px;
    border-radius: var(--border-radius);
    overflow: hidden;
    flex-shrink: 0;
}

.list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.list-content {
    flex-grow: 1;
}

.list-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 30px;
    margin-bottom: var(--space-sm);
    background-color: #F0F0F0;
    color: var(--primary-color);
}

.list-title {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: var(--space-sm);
    color: var(--dark-color);
}

.list-excerpt {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.list-meta {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: 0.85rem;
    color: var(--text-light);
}

.pagination-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
    margin-top: var(--space-xxl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border-color);
}

.pagination {
    display: flex;
    align-items: center;
}

.pagination-list {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.page-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 var(--space-md);
    background-color: white;
    border: 2px solid var(--border-color);
    font-size: 0.95rem;
    color: var(--text-color);
    transition: var(--transition);
    font-weight: 600;
}

.page-link:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.page-item.active .page-link {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    border-width: 3px;
}

.page-item.prev .page-link,
.page-item.next .page-link {
    min-width: 100px;
}

.page-item.ellipsis {
    padding: 0 var(--space-sm);
    color: var(--text-light);
}

.pagination-info {
    font-size: 0.9rem;
    color: var(--text-light);
}

.page-jump {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.page-input {
    width: 60px;
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    text-align: center;
}

.page-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.categories-nav ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.category-item {
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.category-item:hover {
    background-color: #F8F9FA;
}

.category-item.active {
    background-color: var(--primary-color);
}

.category-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md);
    color: var(--text-color);
}

.category-item.active .category-link {
    color: white;
}

.category-name {
    font-weight: 500;
}

.category-count {
    font-size: 0.85rem;
    color: var(--text-light);
    background-color: #F0F0F0;
    padding: 0.2rem 0.5rem;
    border-radius: 30px;
}

.category-item.active .category-count {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.popular-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.popular-item {
    display: flex;
    gap: var(--space-md);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--border-color);
}

.popular-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.popular-rank {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    /* min-width: 30px; */
}

.popular-title {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: var(--space-xs);
}

.popular-meta {
    display: flex;
    gap: var(--space-md);
    font-size: 0.8rem;
    color: var(--text-light);
}

.editor-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.editor-item {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--border-color);
}

.editor-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.editor-image {
    height: 120px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.editor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.editor-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.editor-badge {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 30px;
    align-self: flex-start;
}

.editor-title {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
}

.editor-meta {
    display: flex;
    gap: var(--space-md);
    font-size: 0.8rem;
    color: var(--text-light);
}

.subscribe-content {
    text-align: center;
}

.subscribe-content p {
    margin-bottom: var(--space-md);
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

.sidebar-subscribe {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-sm);
}

.sidebar-subscribe .subscribe-input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 0.95rem;
}

.subscribe-note {
    font-size: 0.8rem;
    color: var(--text-light);
}

.related-categories {
    padding: var(--space-xxl) 0;
    background-color: #F9F7FD;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
}

.category-card.large {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    background: white;
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
}

.category-card.large:hover {
    /* transform: translateY(-8px); */
    box-shadow: var(--shadow-lg);
}

.category-content {
    flex-grow: 1;
}

.category-description {
    color: var(--text-light);
    margin-bottom: var(--space-sm);
    line-height: 1.5;
}

.category-count {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
}

@media (max-width: 1024px) {
    .filter-toolbar {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-md);
    }

    .view-toggle {
        margin-left: 0;
    }

    .page-title {
        font-size: 2rem;
    }

    .list-item {
        flex-direction: column;
    }

    .list-image {
        width: 100%;
        height: 200px;
    }
}

@media (max-width: 768px) {
    .page-stats {
        /* flex-direction: column; */
        gap: var(--space-md);
    }

    .filter-group {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-sm);
    }

    .pagination-section {
        flex-direction: column;
        align-items: center;
        gap: var(--space-md);
    }

    .pagination-info,
    .page-jump {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   Detail Page Styles
   ============================================ */
.article-detail {
    padding-top: 10px;
    padding-bottom: var(--space-xxl);
    background-color: #FFFFFF;
}

.breadcrumb {
    margin-bottom: var(--space-lg);
    font-size: 0.9rem;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--text-light);
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: var(--space-xl);
    margin-bottom: var(--space-xxl);
}

.article-main {
    min-width: 0;
}

.article-sidebar {
    order: 0;
}

@media (max-width: 1024px) {
    .article-layout {
        grid-template-columns: 1fr;
    }

    .article-sidebar {
        order: 0;
    }
}

@media (max-width: 768px) {
    .article-layout {
        display: block;
    }
}

.article-header {
    margin-bottom: var(--space-xl);
}

.article-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: var(--space-md);
    color: var(--dark-color);
    border-left: none;
    padding-left: 0;
    letter-spacing: -1px;
    position: relative;
}

.article-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
    align-items: center;
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-color);
}

.author-info {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.author-avatar.large {
    width: 80px;
    height: 80px;
    font-size: 1.5rem;
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: var(--dark-color);
}

.author-title {
    font-size: 0.9rem;
    color: var(--text-light);
}

.meta-details {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    font-size: 0.9rem;
    color: var(--text-light);
}

.highlight-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

@media (max-width: 768px) {
    .highlight-cards {
        grid-template-columns: 1fr;
    }
}

.highlight-card {
    background: linear-gradient(135deg, #F9F7FD, #FFFFFF);
    border-left: 4px solid var(--secondary-color);
    padding: var(--space-md);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    box-shadow: var(--shadow);
}

.highlight-icon {
    font-size: 1.5rem;
}

.highlight-content h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--dark-color);
}

.highlight-content p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
}

.featured-image {
    margin-bottom: var(--space-xl);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.image-caption {
    padding: var(--space-sm) var(--space-md);
    background-color: #F8F9FA;
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: center;
    border-bottom-left-radius: var(--border-radius-lg);
    border-bottom-right-radius: var(--border-radius-lg);
}

.article-content {
    font-size: 1.0625rem;
    line-height: 1.85;
    color: var(--text-color);
    padding: 0 20px 20px;
}

.article-intro {
    font-size: 1.2rem;
    color: var(--dark-color);
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--border-color);
}

.content-section {
    margin-bottom: var(--space-xl);
}

.article-content h2 {
    font-family: var(--font-heading);
    font-size: 1.875rem;
    font-weight: 800;
    margin-bottom: var(--space-md);
    color: var(--dark-color);
    padding-left: var(--space-md);
    border-left: 4px solid var(--primary-color);
    margin-top: var(--space-xl);
    letter-spacing: -0.5px;
}

.article-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: var(--dark-color);
}

.article-content p {
    margin-bottom: 0;
}

.pull-quote {
    background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
    border-left: 4px solid var(--primary-color);
    border-radius: var(--border-radius);
    padding: var(--space-lg);
    margin: var(--space-lg) 0;
    font-style: italic;
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--dark-color);
}

.pull-quote cite {
    display: block;
    margin-top: var(--space-sm);
    font-size: 1rem;
    font-style: normal;
    color: var(--text-light);
}

.image-with-caption {
    margin: var(--space-lg) 0;
}

.image-with-caption img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

.awards-table {
    margin: var(--space-lg) 0;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.table-row {
    display: flex;
    border-bottom: 1px solid var(--border-color);
}

.table-row:last-child {
    border-bottom: none;
}

.table-cell {
    padding: var(--space-md);
}

.award-category {
    width: 40%;
    font-weight: 600;
    background-color: #F8F9FA;
    color: var(--dark-color);
}

.award-winner {
    width: 60%;
    color: var(--text-color);
}

.article-footer {
    margin-top: var(--space-xxl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border-color);
}

.article-tags {
    margin-bottom: var(--space-xl);
}

.tags-label {
    font-weight: 600;
    margin-right: var(--space-sm);
    color: var(--dark-color);
}

.article-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xl);
    padding: var(--space-lg);
    background-color: #F8FAFC;
    border: 1px solid var(--border-color);
    border-left: none;
    border-radius: var(--border-radius-lg);
}

.action-buttons {
    display: flex;
    gap: var(--space-md);
}

.action-btn {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.6rem 1.2rem;
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.action-btn:hover {
    background-color: #F0F0F0;
}

.action-btn.liked {
    background-color: #E8F5E9;
    color: #27AE60;
    border-color: #27AE60;
}

.action-btn.saved {
    background-color: #E3F2FD;
    color: #3498DB;
    border-color: #3498DB;
}

.share-buttons {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.share-label {
    font-weight: 600;
    color: var(--dark-color);
}

.share-btn {
    width: 36px;
    height: 36px;
    background-color: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 700;
}

.share-btn:hover {
    transform: translateY(-2px);
}

.share-btn.facebook:hover {
    background-color: #3B5998;
    color: white;
}

.share-btn.twitter:hover {
    background-color: #1DA1F2;
    color: white;
}

.share-btn.line:hover {
    background-color: #00B900;
    color: white;
}

.share-btn.copy:hover {
    background-color: var(--primary-color);
    color: white;
}

.author-box {
    display: flex;
    gap: var(--space-lg);
    padding: var(--space-xl);
    background-color: #F9F7FD;
    border-radius: var(--border-radius-lg);
}

.author-bio {
    flex-grow: 1;
}

.author-bio h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--dark-color);
}

.author-bio .author-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--space-sm);
}

.author-description {
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

.author-links {
    display: flex;
    gap: var(--space-md);
}

.author-link {
    color: var(--secondary-color);
    font-weight: 600;
}

.author-link:hover {
    text-decoration: underline;
}

.comments-section {
    margin-top: var(--space-xxl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border-color);
}

.comments-count {
    font-size: 1rem;
    color: var(--text-light);
}

.comment-form {
    margin-bottom: var(--space-xl);
}

.comment-form textarea {
    width: 100%;
    padding: var(--space-md);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-size: 1rem;
    resize: vertical;
    margin-bottom: var(--space-md);
}

.comment-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form-note {
    font-size: 0.9rem;
    color: var(--text-light);
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.comment {
    display: flex;
    gap: var(--space-md);
}

.comment-avatar {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
    border: 2px solid var(--secondary-color);
}

.comment-content {
    flex-grow: 1;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-sm);
}

.comment-author {
    font-weight: 600;
    color: var(--dark-color);
}

.comment-time {
    font-size: 0.85rem;
    color: var(--text-light);
}

.comment-text {
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

.comment-actions {
    display: flex;
    gap: var(--space-md);
}

.comment-like,
.comment-reply {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}

.comment-like:hover,
.comment-reply:hover {
    color: var(--primary-color);
}

.comment-like.liked {
    color: var(--secondary-color);
    font-weight: 600;
}

.comment-reply {
    margin-left: var(--space-xl);
    margin-top: var(--space-lg);
    padding-left: var(--space-lg);
    border-left: 2px solid var(--border-color);
}

.reply-form {
    margin-top: var(--space-md);
}

.reply-form textarea {
    width: 100%;
    padding: var(--space-sm);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-size: 0.9rem;
    resize: vertical;
    margin-bottom: var(--space-sm);
}

.form-actions .btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
}

.load-more {
    text-align: center;
}

.sidebar-card {
    background-color: white;
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: var(--border-radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-xl);
    box-shadow: var(--shadow);
}

.card-header {
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--border-color);
}

.card-header h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark-color);
}

.author-sidebar {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.author-info h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--dark-color);
}

.author-title,
.author-bio-short {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: var(--space-xs);
}

.author-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--border-color);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
}

.follow-btn {
    width: 100%;
}

.toc-nav ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.toc-nav li {
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--border-color);
}

.toc-nav li:last-child {
    border-bottom: none;
}

.toc-nav a {
    color: var(--text-color);
    font-size: 0.95rem;
    display: block;
    padding: var(--space-xs) 0;
    transition: var(--transition);
}

.toc-nav a:hover {
    color: var(--primary-color);
    padding-left: var(--space-xs);
}

.related-article {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--border-color);
}

.related-article:last-child {
    border-bottom: none;
}

.related-image {
    width: 80px;
    height: 60px;
    border-radius: var(--border-radius);
    overflow: hidden;
    flex-shrink: 0;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-content {
    flex-grow: 1;
}

.related-title {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: var(--space-xs);
}

.related-meta {
    display: flex;
    gap: var(--space-md);
    font-size: 0.8rem;
    color: var(--text-light);
}

.ad-content {
    text-align: center;
}

.ad-image {
    margin-bottom: var(--space-md);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.ad-image img {
    width: 100%;
    height: auto;
}

.ad-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--dark-color);
}

.ad-text p {
    margin-bottom: var(--space-md);
    color: var(--text-light);
    font-size: 0.9rem;
}

.recommendation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

@media (max-width: 1024px) {
    .recommendation-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .recommendation-grid {
        grid-template-columns: 1fr;
    }
}

.related-articles-section {
    margin-top: var(--space-xxl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border-color);
}

.related-articles-title {
    font-size: 1.75rem;
    margin-bottom: var(--space-xl);
    position: relative;
    padding-bottom: var(--space-sm);
}

.related-articles-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: var(--border-radius-sm);
}

.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

@media (max-width: 768px) {
    .related-articles-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
}

.back-to-top {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    display: none;
    z-index: 999;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.back-to-top:hover {
    opacity: 0.9;
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.navbar-container {
    position: relative;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
    z-index: 10001;
    position: relative;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background-color: var(--dark-color);
    transition: var(--transition);
    display: block;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

@media (max-width: 768px) {
    .navbar {
        padding: 5px 0;
        position: relative;
    }

    .breadcrumb {
        display: none;
    }

    .article-detail {
        padding-top: 0;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        padding: var(--space-lg);
        box-shadow: var(--shadow-lg);
        z-index: 10000;
        gap: 0;
        border-top: 1px solid var(--border-color);
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        display: none;
    }

    .nav-menu.active {
        display: flex !important;
    }

    .nav-link {
        padding: var(--space-md);
        border-bottom: 1px solid var(--border-color);
        width: 100%;
        display: block;
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .hamburger {
        display: flex;
        z-index: 10001;
    }

    .nav-actions {
        display: flex;
    }

    .headline-section {
        padding-top: 10px;
    }

    .list-page {
        padding-top: 0;
    }

    .section-padding {
        padding-top: 20px !important;
    }

    .pagination-list {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-xs);
    }

    .search-box {
        display: none;
    }
}

.empty-state {
    text-align: center;
    padding: var(--space-xxl);
    background-color: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: var(--space-lg);
}

.empty-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: var(--space-md);
}

.empty-text {
    color: var(--text-light);
    margin-bottom: var(--space-xl);
    line-height: 1.6;
}

.pagination-wrapper {
    margin-top: var(--space-xxl);
    /* padding-top: var(--space-xl); */
    /* border-top: 1px solid var(--border-color); */
}

.pagination-container {
    display: flex;
    justify-content: center;
    /* margin-top: var(--space-xl); */
}

.post-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-sm);
    list-style: none;
    padding: 0;
    margin: 0;
}

.post-pagination li {
    display: flex;
    align-items: center;
}

.post-pagination a,
.post-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 var(--space-md);
    background-color: white;
    border: 2px solid var(--border-color);
    font-size: 0.95rem;
    color: var(--text-color);
    transition: var(--transition);
    font-weight: 600;
}

.post-pagination a:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.post-pagination .current,
.post-pagination a.current {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    border-width: 3px;
}

.post-pagination .disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.sidebar-widget {
    background-color: white;
    border-radius: var(--border-radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-xl);
    box-shadow: var(--shadow);
}

.widget-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    /* margin-bottom: var(--space-lg); */
    padding-bottom: var(--space-sm);
    /* border-bottom: 2px solid var(--border-color); */
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.tag-item {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background-color: white;
    color: var(--text-color);
    border: 2px solid var(--border-color);
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tag-item:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.tag-item.tag-small {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
}

.tag-item.tag-medium {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
}

.tag-item.tag-large {
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
}

.popular-article-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.popular-article {
    display: flex;
    gap: var(--space-md);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--border-color);
}

.popular-article:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.popular-article h4 {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: var(--space-xs);
}

.popular-article h4 a {
    color: var(--dark-color);
    transition: var(--transition);
}

.popular-article h4 a:hover {
    color: var(--primary-color);
}

.categories-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.sidebar-card {
    background-color: white;
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: var(--border-radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-xl);
    box-shadow: var(--shadow);
}

/* ============================================
   Alone Page Styles
   ============================================ */
.section-padding {
    padding-top: 30px;
    padding-bottom: var(--space-xl);
}

.section-padding-lg {
    padding-top: var(--space-xxl);
    padding-bottom: var(--space-xxl);
}

.blog-index {
    background-color: #FFFFFF;
}

.rightsidebar {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: var(--space-xl);
    align-items: flex-start;
}

.rightsidebar>aside,
.rightsidebar .sidebar,
.rightsidebar .list-sidebar {
    order: 0;
}

.ccontent-area {
    min-width: 0;
    max-width: none;
    order: -1;
}

.article-wrap {
    background-color: white;
    border: 1px solid var(--border-color);
    border-left: none;
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl);
    transition: var(--transition);
    margin-bottom: var(--space-xl);
    box-shadow: var(--shadow);
}

.article-wrap:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.entry-header {
    /* Entry header styles */
    display: block;
}

.entry-content {
    margin-top: var(--space-md);
}

.article_part_header {
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-lg);
    border-bottom: 3px solid var(--primary-color);
}

.article_part_h1 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    color: var(--dark-color);
    border-left: none;
    padding-left: 0;
    letter-spacing: -0.5px;
}

.detail-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 var(--space-lg) 0;
    color: var(--dark-color);
    border-left: none;
    padding-left: 0;
    letter-spacing: -0.5px;
}

.article_part_div {
    line-height: 1.8;
    font-size: 1.1rem;
    color: var(--text-color);
}

.article_part_div p {
    margin-bottom: var(--space-lg);
}

.article_part_div h2,
.article_part_div h3,
.article_part_div h4 {
    /* margin-top: var(--space-xl); */
    margin-bottom: var(--space-md);
    font-weight: 700;
    color: var(--dark-color);
}

.article_part_div h2 {
    font-size: 1.6rem;
}

.article_part_div h3 {
    font-size: 1.3rem;
}

.article_part_div h4 {
    font-size: 1.1rem;
}

.article_part_div ul,
.article_part_div ol {
    margin-bottom: var(--space-lg);
    padding-left: var(--space-xl);
}

.article_part_div li {
    margin-bottom: var(--space-sm);
}

.article_part_div img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    margin: var(--space-lg) auto;
}

.comments-area {
    margin-top: var(--space-xxl);
    padding-top: var(--space-xxl);
    border-top: 2px solid var(--border-color);
}

.comment-respond {
    background-color: white;
    border: 1px solid var(--border-color);
    border-left: none;
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl);
    /* margin-top: var(--space-xl); */
    box-shadow: var(--shadow);
}

.nv-is-boxed {
    border: 1px solid var(--border-color);
    border-left: none;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
}

.comment-reply-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-lg);
    color: var(--dark-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.comment-reply-title small {
    font-size: 0.9rem;
    font-weight: 400;
}

.comment-reply-title small a {
    color: var(--primary-color);
    text-decoration: underline;
}

.comment-notes {
    margin-bottom: var(--space-lg);
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

.comment-notes span {
    display: block;
    margin-bottom: var(--space-xs);
}

.required-field-message {
    margin-top: var(--space-sm);
}

.required {
    color: var(--danger-color);
    font-weight: 700;
}

.comment-form-author,
.comment-form-email,
.comment-form-url,
.comment-form-comment {
    margin-bottom: var(--space-lg);
}

.comment-form-author label,
.comment-form-email label,
.comment-form-url label,
.comment-form-comment label {
    display: block;
    margin-bottom: var(--space-sm);
    font-weight: 600;
    color: var(--text-color);
    font-size: 1rem;
}

.comment-form-author input,
.comment-form-email input,
.comment-form-url input {
    width: 100%;
    padding: var(--space-md);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
    background-color: white;
}

.comment-form-author input:focus,
.comment-form-email input:focus,
.comment-form-url input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 35, 90, 0.1);
}

.comment-form-comment textarea {
    width: 100%;
    padding: var(--space-md);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    resize: vertical;
    min-height: 150px;
    transition: var(--transition);
    background-color: white;
}

.comment-form-comment textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 35, 90, 0.1);
}

.comment-form-cookies-consent {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    font-size: 0.9rem;
    color: var(--text-light);
}

.comment-form-cookies-consent input[type="checkbox"] {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.comment-form-cookies-consent label {
    cursor: pointer;
    line-height: 1.6;
    flex: 1;
}

.form-submit {
    margin-top: var(--space-xl);
    margin-bottom: 0;
}

.button {
    display: inline-block;
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font-primary);
    text-decoration: none;
    text-align: center;
}

.button-primary {
    background-color: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.button-primary:hover {
    transform: translateY(-2px);
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--dark-color);
}

.button-primary:active {
    transform: translateY(0);
}

/* Alone Page Responsive */
@media (max-width: 1024px) {
    .rightsidebar {
        grid-template-columns: 1fr;
    }

    .rightsidebar>aside,
    .rightsidebar .sidebar,
    .rightsidebar .list-sidebar {
        order: 0;
    }
}

@media (max-width: 768px) {
    .article-wrap {
        padding: var(--space-lg);
    }

    .article_part_h1,
    .detail-title {
        font-size: 1.5rem;
    }

    .article_part_div {
        font-size: 1rem;
    }

    .comment-respond {
        padding: var(--space-lg);
    }

    .comment-reply-title {
        font-size: 1.2rem;
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-sm);
    }

    .form-actions {
        flex-direction: column;
    }
}

/* ============================================
   All Article Page Styles
   ============================================ */
.blog-archive-left {
    flex: 1;
    min-width: 0;
}

.rightsidebar .articles-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    font-size: 0.9rem;
    color: var(--text-light);
}

.entry-date-label {
    font-weight: 600;
    color: var(--text-color);
}

.entry-date {
    color: var(--text-light);
    margin-right: var(--space-md);
}

.entry-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

.common-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.entry-title a,
.common-title a {
    color: var(--dark-color);
    text-decoration: none;
    transition: var(--transition);
}

.entry-title a:hover,
.common-title a:hover {
    color: var(--primary-color);
}

.entry-content {
    margin-top: var(--space-md);
}

.expert-content {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
}

.common-p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
    padding: var(--space-sm) var(--space-md);
    background-color: var(--light-color);
    border: 2px solid var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.read-more:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--secondary-color);
    transform: translateX(5px);
}

.read-more span {
    transition: var(--transition);
    display: inline-block;
}

.read-more:hover span {
    transform: translateX(3px);
}

/* All Article Page Responsive */
@media (max-width: 768px) {

    .entry-title,
    .common-title {
        font-size: 1.25rem;
    }

    .entry-meta {
        font-size: 0.85rem;
    }

    .expert-content,
    .common-p {
        font-size: 0.95rem;
    }
}
