/* --- THEME VARIABLES --- */
:root { --brand-color: #ff5722; --brand-dark: #1a1a1a; --bg-body: #f4f6f8; --font-head: 'Roboto Condensed', sans-serif; --font-body: 'Inter', sans-serif; --font-logo: 'Oswald', sans-serif; --font-article: 'Merriweather', serif; --card-border: #e1e4e8; }
/* --- BASE STYLES --- */
body { font-family: var(--font-body); background-color: var(--bg-body); color: #111; overflow-x: hidden; font-size: 14px; }
/* --- SECTION STYLES --- */
.section-gap { margin-bottom: 30px; }
.section-title { border-bottom: 2px solid #e0e0e0; margin-bottom: 20px; display: flex; justify-content: space-between; align-items: flex-end; padding-bottom: 5px; }
.section-title h3 { font-family: var(--font-head); font-weight: 800; font-size: 18px; text-transform: uppercase; margin: 0; position: relative; }
.section-title h3::after { content: ''; position: absolute; bottom: -7px; left: 0; width: 100%; height: 3px; background: var(--brand-color); }
.view-all-link { font-size: 12px; font-weight: 700; color: var(--brand-color); text-transform: uppercase; display: inline-flex; align-items: center; gap: 5px; cursor: pointer; }
.view-all-link i { transition: transform 0.3s ease; font-size: 10px; }
.view-all-link:hover i { transform: translateX(5px); }
/* --- AUTHOR PROFILE HEADER --- */
.author-profile-header { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%); position: relative; overflow: hidden; }
.author-profile-header::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); opacity: 0.5; }
.author-header-content { position: relative; z-index: 1; padding: 60px 0 80px; }
.author-main-info { display: flex; align-items: flex-start; gap: 40px; }
.author-avatar-wrapper { position: relative; flex-shrink: 0; }
.author-avatar-large { width: 180px; height: 180px; border-radius: 50%; object-fit: cover; border: 5px solid rgba(255, 255, 255, 0.2); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3); }
.verified-badge { position: absolute; bottom: 10px; right: 10px; width: 40px; height: 40px; background: var(--brand-color); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 18px; border: 3px solid #fff; box-shadow: 0 4px 15px rgba(255, 87, 34, 0.4); }
.author-details { flex: 1; color: #fff; }
.author-name-large { font-family: var(--font-head); font-weight: 800; font-size: 42px; margin-bottom: 8px; line-height: 1.1; }
.author-role-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 87, 34, 0.9); color: #fff; padding: 8px 20px; border-radius: 50px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 20px; }
.author-role-badge i { font-size: 12px; }
.author-bio-text { font-size: 16px; line-height: 1.7; color: rgba(255, 255, 255, 0.85); max-width: 600px; margin-bottom: 25px; }
.author-meta-info { display: flex; align-items: center; gap: 25px; flex-wrap: wrap; margin-bottom: 25px; }
.meta-item { display: flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, 0.7); font-size: 13px; }
.meta-item i { color: var(--brand-color); font-size: 14px; }
.author-social-links { display: flex; gap: 12px; }
.social-link { width: 44px; height: 44px; background: rgba(255, 255, 255, 0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 16px; transition: all 0.3s ease; border: 1px solid rgba(255, 255, 255, 0.1); }
.social-link:hover { background: var(--brand-color); color: #fff; transform: translateY(-3px); border-color: var(--brand-color); }
/* --- AUTHOR STATS BAR --- */
.author-stats-bar { background: #fff; margin-top: -40px; position: relative; z-index: 2; border-radius: 12px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1); padding: 30px 40px; display: flex; justify-content: space-between; align-items: center; }
.stats-grid { display: flex; gap: 50px; }
.stat-item { text-align: center; position: relative; }
.stat-item:not(:last-child)::after { content: ''; position: absolute; right: -25px; top: 50%; transform: translateY(-50%); width: 1px; height: 40px; background: #e0e0e0; }
.stat-number { font-family: var(--font-head); font-weight: 800; font-size: 32px; color: var(--brand-color); line-height: 1; margin-bottom: 5px; }
.stat-label { font-size: 12px; color: #888; text-transform: uppercase; font-weight: 600; letter-spacing: 0.5px; }
.btn-follow { display: inline-flex; align-items: center; gap: 10px; padding: 14px 30px; border-radius: 50px; font-size: 14px; font-weight: 700; cursor: pointer; transition: all 0.3s ease; border: none; text-transform: uppercase; letter-spacing: 0.5px; background: var(--brand-color); color: #fff; }
.btn-follow:hover { background: #e64a19; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(255, 87, 34, 0.3); }
.btn-follow.following { background: #27ae60; }
/* --- FILTER TABS --- */
.filter-section { background: #fff; border-radius: 8px; padding: 20px 25px; margin-bottom: 25px; box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; }
.filter-tabs { display: flex; gap: 5px; flex-wrap: wrap; }
.filter-tab { padding: 10px 20px; border-radius: 50px; font-size: 13px; font-weight: 600; color: #666; background: #f5f5f5; cursor: pointer; transition: all 0.3s ease; border: none; }
.filter-tab:hover { background: #eee; color: #333; }
.filter-tab.active { background: var(--brand-color); color: #fff; }
.filter-right { display: flex; align-items: center; gap: 15px; }
.sort-dropdown { display: flex; align-items: center; gap: 8px; }
.sort-dropdown label { font-size: 12px; color: #888; font-weight: 600; text-transform: uppercase; margin-bottom: 0; }
.sort-dropdown select { padding: 8px 15px; border: 1px solid #e0e0e0; border-radius: 6px; font-size: 13px; color: #333; background: #fff; cursor: pointer; }
.sort-dropdown select:focus { outline: none; border-color: var(--brand-color); }
.view-toggle { display: flex; gap: 5px; }
.view-btn { width: 38px; height: 38px; border: 1px solid #e0e0e0; border-radius: 6px; display: flex; align-items: center; justify-content: center; color: #888; background: #fff; cursor: pointer; transition: all 0.3s ease; }
.view-btn:hover { border-color: var(--brand-color); color: var(--brand-color); }
.view-btn.active { background: var(--brand-color); border-color: var(--brand-color); color: #fff; }
/* --- ARTICLES GRID --- */
.articles-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 25px; }
.article-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05); border: 1px solid var(--card-border); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.article-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); border-color: transparent; }
.article-card .card-image { position: relative; height: 200px; overflow: hidden; }
.article-card .card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.article-card:hover .card-image img { transform: scale(1.1); }
.article-card .card-image .category-badge { position: absolute; top: 15px; left: 15px; background: var(--brand-color); color: #fff; padding: 5px 12px; border-radius: 4px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.article-card .card-image .read-time { position: absolute; bottom: 15px; right: 15px; background: rgba(0, 0, 0, 0.7); color: #fff; padding: 5px 10px; border-radius: 4px; font-size: 11px; font-weight: 600; }
.article-card .card-body { padding: 20px; height: calc(100% - 200px); display: flex; flex-direction: column; }
.article-card .card-title { font-family: var(--font-head); font-weight: 700; font-size: 18px; line-height: 1.35; margin-bottom: 12px; color: #111; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-card:hover .card-title { color: var(--brand-color); }
.article-card .card-excerpt { font-size: 13px; color: #666; line-height: 1.6; margin-bottom: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-card .card-meta { display: flex; justify-content: space-between; align-items: center; padding-top: 15px; border-top: 1px solid #f0f0f0; margin-top: auto; }
.article-card .meta-date { font-size: 12px; color: #999; display: flex; align-items: center; gap: 6px; }
.article-card .meta-date i { color: var(--brand-color); }
.article-card .meta-stats { display: flex; gap: 15px; }
.article-card .meta-stats span { font-size: 12px; color: #999; display: flex; align-items: center; gap: 5px; }
/* --- ARTICLES LIST VIEW --- */
.articles-list { display: none; }
.articles-list.active { display: block; }
.articles-grid.hidden { display: none; }
.article-list-item { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05); border: 1px solid var(--card-border); margin-bottom: 20px; display: flex; transition: all 0.3s ease; }
.article-list-item:hover { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); border-color: transparent; }
.article-list-item .list-image { width: 280px; flex-shrink: 0; overflow: hidden; }
.article-list-item .list-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.article-list-item:hover .list-image img { transform: scale(1.05); }
.article-list-item .list-content { padding: 25px; display: flex; flex-direction: column; }
.article-list-item .list-category { display: inline-block; color: var(--brand-color); font-size: 11px; font-weight: 700; text-transform: uppercase; margin-bottom: 10px; }
.article-list-item .list-title { font-family: var(--font-head); font-weight: 700; font-size: 20px; line-height: 1.35; margin-bottom: 12px; color: #111; }
.article-list-item:hover .list-title { color: var(--brand-color); }
.article-list-item .list-excerpt { font-size: 14px; color: #666; line-height: 1.6; margin-bottom: 15px; }
.article-list-item .list-meta { display: flex; align-items: center; gap: 20px; font-size: 12px; color: #999; }
.article-list-item .list-meta span { display: flex; align-items: center; gap: 6px; }
.article-list-item .list-meta i { color: var(--brand-color); }
/* --- LOAD MORE --- */
.load-more-section { text-align: center; margin-top: 40px; margin-bottom: 30px; }
.btn-load-more { display: inline-flex; align-items: center; gap: 10px; padding: 15px 40px; background: #fff; border: 2px solid var(--brand-color); color: var(--brand-color); border-radius: 50px; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; cursor: pointer; transition: all 0.3s ease; }
.btn-load-more:hover { background: var(--brand-color); color: #fff; }
.btn-load-more i { font-size: 12px; }
/* --- SIDEBAR STYLES --- */
.sticky-sidebar { position: sticky; top: 20px; }
/* --- SIDEBAR NEWS CARD --- */
.news-card { transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); border: 1px solid var(--card-border); border-bottom: 3px solid var(--card-border); position: relative; top: 0; background: #fff; border-radius: 4px; overflow: hidden; margin-bottom: 15px; }
.news-card:last-child { margin-bottom: 0; }
.news-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08); border-bottom-color: var(--brand-color); border-color: transparent; }
.news-card .img-wrap { overflow: hidden; border-radius: 0; position: relative; height: 150px; }
.news-card .img-wrap img { transition: transform 0.6s ease; width: 100%; height: 100%; object-fit: cover; }
.news-card:hover .img-wrap img { transform: scale(1.1); }
.news-card .card-content { padding: 15px; }
.news-card .cat-badge { font-size: 10px; font-weight: 700; text-transform: uppercase; color: var(--brand-color); margin-bottom: 4px; display: block; }
.news-card .news-title { font-family: var(--font-head); font-weight: 700; font-size: 15px; line-height: 1.3; margin-top: 5px; margin-bottom: 5px; color: #111; }
.news-card .news-title a { color: inherit; }
.news-card:hover .news-title { color: var(--brand-color); }
.news-card .time-stamp { font-size: 11px; color: #888; font-weight: 600; text-transform: uppercase; display: block; margin-top: 5px; }
.news-card:hover .time-stamp { color: var(--brand-color) !important; }
/* --- AD SECTION --- */
.ad-section-wrapper { width: 100%; background: #f8f9fa; border: 1px dashed #ced4da; margin: 30px 0; padding: 15px; display: flex; justify-content: center; align-items: center; flex-direction: column; border-radius: 6px; }
.ad-section-wrapper.sidebar-ad { margin: 0 0 25px 0; }
.ad-label { font-size: 10px; color: #999; margin-bottom: 5px; text-transform: uppercase; letter-spacing: 1px; }
.ad-box { background: #fff; border: 1px solid #ccc; display: flex; justify-content: center; align-items: center; color: #ccc; font-size: 12px; }
.ad-box-300x250 { width: 300px; height: 250px; max-width: 100%; }
/* --- RESPONSIVE 1199px --- */
@media (max-width: 1199px) {
.author-main-info { gap: 30px; }
.author-avatar-large { width: 150px; height: 150px; }
.author-name-large { font-size: 36px; }
.stats-grid { gap: 30px; }
.stat-item:not(:last-child)::after { right: -15px; }
.author-header-content { padding: 40px 0 65px;}
.author-bio-text { font-size: 14px; margin-bottom: 20px;}
.social-link { width: 40px; height: 40px;}
.author-stats-bar { padding: 25px 25px;}
.stat-number { font-size: 28px;}
.btn-follow { padding: 12px 22px; font-size: 14px;}
.article-card .card-title {font-size: 16px; margin-bottom: 10px;}
.filter-section { padding: 16px 20px; margin-bottom: 22px;}
.filter-tab { padding: 8px 18px; font-size: 12px;}
.view-btn { width: 34px; height: 34px;}


}
/* --- RESPONSIVE 991px --- */
@media (max-width: 991px) {
.author-header-content { padding: 40px 0 70px; }
.author-main-info { flex-direction: column; text-align: center; align-items: center; }
.author-bio-text { max-width: 100%; }
.author-meta-info { justify-content: center; }
.author-social-links { justify-content: center; }
.author-stats-bar { flex-direction: column; gap: 25px; padding: 25px; }
.stats-grid { width: 100%; justify-content: space-around; }
.stat-item:not(:last-child)::after { display: none; }
.article-list-item { flex-direction: column; }
.article-list-item .list-image { width: 100%; height: 200px; }
.filter-section { flex-direction: column; align-items: stretch; }
.filter-tabs { overflow-x: auto; padding-bottom: 5px; }
.filter-right { justify-content: space-between; }
.ad-section-wrapper.sidebar-ad { margin: 25px 0 25px 0;}
}
/* --- RESPONSIVE 767px --- */
@media (max-width: 767px) {
.author-header-content { padding: 30px 0 60px; }
.author-avatar-large { width: 120px; height: 120px; }
.verified-badge { width: 32px; height: 32px; font-size: 14px; }
.author-name-large { font-size: 28px; }
.author-role-badge { font-size: 11px; padding: 6px 15px; }
.author-bio-text { font-size: 14px; }
.author-meta-info { gap: 15px; }
.meta-item { font-size: 12px; }
.author-stats-bar { margin-top: -30px; }
.stats-grid { gap: 15px; }
.stat-number { font-size: 24px; }
.stat-label { font-size: 10px; }
.btn-follow { padding: 12px 20px; font-size: 12px; }
.filter-tab { padding: 8px 15px; font-size: 12px; white-space: nowrap; }
.article-card .card-image { height: 160px; }
.article-card .card-title { font-size: 16px; }
.news-card .img-wrap { height: 120px; }
.section-title h3 { font-size: 16px; }
.articles-grid { gap: 20px;}
.article-card .card-body {height: calc(100% - 160px);}

}
/* --- RESPONSIVE 575px --- */
@media (max-width: 575px) {
.stats-grid { flex-wrap: wrap; justify-content: center; }
.stat-item { min-width: 80px; }
.btn-follow { width: 100%; justify-content: center; }
.articles-grid { grid-template-columns: 1fr; }

}