/**
 * Main Stylesheet for US Street Talk 2025 Theme
 *
 * @package USStreetTalk2025
 * @since 1.0.0
 */

/* ============================================
   Top Bar
   ============================================ */
.top-bar {
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
    padding: 8px 0;
    font-size: 14px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar svg {
    width: 16px;
    height: 16px;
    vertical-align: middle;
}

.location-info {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-color);
}

.header-subscribe-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-color);
    font-size: 14px;
    transition: color 0.3s ease;
    text-decoration: none;
}

.header-subscribe-btn:hover {
    color: #b21942;
}

.header-subscribe-btn.subscribed {
    color: #b21942;
}

.header-subscribe-btn.blocked {
    color: #999;
    cursor: not-allowed;
}

.header-subscribe-btn .header-subscribe-text {
    font-weight: 500;
}

/* ============================================
   Header
   ============================================ */
.site-header {
    background-color: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.site-branding {
    flex-shrink: 0;
}

.custom-logo-link {
    display: block;
}

.custom-logo {
    height: auto;
    max-width: 230px;
    max-height: 60px;
    width: auto;
}

/* Navigation */
.main-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
    align-items: center;
    justify-content: center;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    color: var(--text-color);
    font-weight: 500;
    font-size: 16px;
    padding: 8px 0;
    display: block;
    transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a:active,
.nav-menu .current-menu-item > a,
.nav-menu .current_page_item > a {
    color: #b21942;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.search-toggle:hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 4px;
    z-index: 1001;
    position: relative;
}

.menu-toggle-icon {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 24px;
    height: 18px;
    position: relative;
}

.menu-toggle-icon span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
    position: absolute;
}

.menu-toggle-icon span:nth-child(1) {
    top: 0;
}

.menu-toggle-icon span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.menu-toggle-icon span:nth-child(3) {
    bottom: 0;
}

.menu-toggle.active .menu-toggle-icon span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.menu-toggle.active .menu-toggle-icon span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .menu-toggle-icon span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* Search Overlay */
/* Header Search Bar */
.header-search-bar {
    display: none;
    width: 100%;
    background-color: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 900;
}

.header-search-bar.active,
body.search-open .header-search-bar {
    display: block;
}

.header-search-form {
    display: flex;
    gap: 10px;
    align-items: center;
    position: relative;
    width: 100%;
}

.header-search-form label {
    flex: 1 1 auto;
    width: 100%;
}

.header-search-field {
    flex: 1;
    min-width: 0;
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-color);
    color: var(--text-color);
    border-radius: 6px;
    transition: border-color 0.3s ease;
}

.header-search-field:focus {
    outline: none;
    border-color: #b21942;
}

.header-search-submit {
    flex: 0 0 auto;
    padding: 12px 20px;
    background-color: #b21942;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-search-submit:hover {
    background-color: var(--primary-color);
}

.header-search-close {
    flex: 0 0 auto;
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.header-search-close:hover {
    color: #b21942;
}

.search-field::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-submit {
    background: var(--primary-color);
    border: none;
    color: #ffffff;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.search-submit:hover {
    background: var(--accent-color);
}

/* ============================================
   Main Featured Section (Top Headlines | Featured | Recent)
   ============================================ */
.main-featured-section {
    margin: 20px 0;
    padding: 40px 0;
}

.featured-layout {
    display: grid;
    grid-template-columns: 40% 57%;
    gap: 3%;
}

.section-heading {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
    margin-bottom: 25px;
    padding-bottom: 0;
    border: none;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.section-heading::before {
    content: "";
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #b21942;
    flex-shrink: 0;
}

.section-heading::after {
    content: "";
    height: 2px;
    flex: 1;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #f2f2f2;
    margin-left: 4px;
}


/* Top Headlines Column */
.top-headlines-column {
}

.headlines-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.headline-item {
    padding-bottom: 10px;
}

.headline-wrapper {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.headline-thumbnail {
    flex-shrink: 0;
    width: 100px;
    height: 75px;
    border-radius: 6px;
    overflow: hidden;
}

.headline-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.headline-thumbnail:hover .headline-image {
    transform: scale(1.1);
}

.headline-content {
    flex: 1;
    min-width: 0;
}

.headline-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 5px;
}

.headline-title a {
    color: var(--text-color);
    transition: color 0.3s ease;
}

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

.headline-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: var(--text-light);
}

.headline-date {
    text-transform: capitalize;
}

.headline-category {
    color: var(--accent-color);
    font-weight: 600;
}

/* Featured Article Column */
.featured-article-column {
    padding: 0 0;
}

.featured-article {
    display: flex;
    flex-direction: column;
}

.featured-image {
    position: relative;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.featured-image:hover img {
    transform: scale(1.05);
}

.featured-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.featured-content {
    padding: 0 10px;
}

.featured-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
}

.featured-title a {
    color: var(--text-color);
    transition: color 0.3s ease;
}

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

.featured-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.featured-excerpt {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-light);
    margin-top: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.featured-author {
    font-weight: 600;
    color: var(--text-color);
}

/* Recent Posts Sidebar */
.recent-posts-sidebar {
    border-left: 1px solid var(--border-color);
    padding-left: 30px;
}

.recent-posts-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.recent-post-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 15px;
    background-color: var(--bg-light);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid transparent;
}

.recent-post-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--border-color);
}

.recent-post-item:last-child {
    margin-bottom: 0;
}

.recent-post-thumbnail {
    flex-shrink: 0;
    position: relative;
    width: 120px;
    height: 90px;
    border-radius: 6px;
    overflow: hidden;
}

.recent-post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.recent-post-item:hover .recent-post-image {
    transform: scale(1.1);
}

.recent-post-category-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.recent-post-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.recent-post-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}

.recent-post-title a {
    color: var(--text-color);
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recent-post-title a:hover {
    color: var(--primary-color);
}

.recent-post-meta {
    display: flex;
    gap: 15px;
    align-items: center;
    font-size: 12px;
    color: var(--text-light);
    flex-wrap: wrap;
}

.recent-post-meta svg {
    width: 14px;
    height: 14px;
    vertical-align: middle;
    margin-right: 4px;
}

.recent-post-date,
.recent-post-reading-time {
    display: flex;
    align-items: center;
    gap: 4px;
}

.circular-thumbnail {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

/* Stay Connected */
.stay-connected {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.stay-connected .widget-title {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: 4px;
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.social-btn:hover {
    opacity: 0.9;
    color: #ffffff;
}

.social-btn.facebook {
    background-color: #1877f2;
}

.social-btn.twitter {
    background-color: #1da1f2;
}

.social-btn.instagram {
    background-color: #e4405f;
}

.social-btn.pinterest {
    background-color: #bd081c;
}

.social-btn.youtube {
    background-color: #ff0000;
}

/* ============================================
   Editor's Choice Section
   ============================================ */
.editors-choice-section {
    margin: 0 0;
    padding: 40px 0;
    background-color: var(--bg-light);
}

.editors-choice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.editors-choice-item {
    background-color: var(--bg-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.editors-choice-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.editors-choice-image {
    position: relative;
    overflow: hidden;
}

.editors-choice-image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.editors-choice-item:hover .editors-choice-image img {
    transform: scale(1.1);
}

.editors-choice-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.editors-choice-content {
    padding: 20px;
}

.editors-choice-title {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 10px;
}

.editors-choice-title a {
    color: var(--text-color);
    transition: color 0.3s ease;
}

.editors-choice-title a:hover {
    color: var(--primary-color);
}

.editors-choice-date {
    font-size: 13px;
    color: var(--text-light);
}

/* ============================================
   Main Content Section (Trendy News | Politics | Sidebar)
   ============================================ */
.main-content-section {
    margin: 60px 0;
    padding: 40px 0;
    background-color: var(--bg-light);
}

.content-layout {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
}

/* Trendy News Column (Market News) */
.trendy-news-column {
    padding-right: 15px;
}

.trendy-news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.trendy-news-card {
    display: flex;
    flex-direction: column;
}

.trendy-news-image {
    position: relative;
    margin-bottom: 15px;
    border-radius: 4px;
    overflow: hidden;
}

.trendy-news-image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.trendy-news-image:hover img {
    transform: scale(1.05);
}

.trendy-news-category {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.trendy-news-content {
    padding: 0 5px;
}

.trendy-news-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
}

.trendy-news-title a {
    color: var(--text-color);
    transition: color 0.3s ease;
}

.trendy-news-title a:hover {
    color: var(--primary-color);
}

.trendy-news-date {
    font-size: 12px;
    color: var(--text-light);
}

/* Politics Column (Insurance) */
.politics-column {
    padding: 0 15px;
}

.politics-posts {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.politics-post {
    display: flex;
    flex-direction: column;
}

.politics-post.featured-politics {
    margin-bottom: 10px;
}

.politics-image {
    position: relative;
    margin-bottom: 15px;
    border-radius: 4px;
    overflow: hidden;
}

.politics-image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.politics-image:hover img {
    transform: scale(1.05);
}

.politics-content {
    padding: 0 5px;
}

.politics-title {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 10px;
}

.politics-title a {
    color: var(--text-color);
    transition: color 0.3s ease;
}

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

.politics-date {
    font-size: 13px;
    color: var(--text-light);
}

/* Homepage Sidebar (Auto News) */
.homepage-sidebar {
    padding-left: 15px;
}

/* Auto News Grid */
.auto-news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.auto-news-card {
    display: flex;
    flex-direction: column;
}

.auto-news-image {
    position: relative;
    margin-bottom: 15px;
    border-radius: 4px;
    overflow: hidden;
}

.auto-news-image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.auto-news-image:hover img {
    transform: scale(1.05);
}

.auto-news-category {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.auto-news-content {
    padding: 0 5px;
}

.auto-news-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
}

.auto-news-title a {
    color: var(--text-color);
    transition: color 0.3s ease;
}

.auto-news-title a:hover {
    color: var(--primary-color);
}

.auto-news-date {
    font-size: 12px;
    color: var(--text-light);
}

.hot-categories-widget {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.hot-categories-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hot-category-item {
    display: flex;
    gap: 15px;
    align-items: center;
}

.hot-category-thumb {
    width: 50px;
    height: 50px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
}

.hot-category-info {
    flex: 1;
}

.hot-category-name {
    display: block;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.hot-category-name:hover {
    color: var(--primary-color);
}

.hot-category-count {
    font-size: 12px;
    color: var(--text-light);
}

.newsletter-widget {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-form input[type="email"] {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: var(--primary-color);
}

.newsletter-btn {
    width: 100%;
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

.recent-posts-widget-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.recent-post-widget-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 15px;
    background-color: var(--bg-light);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid transparent;
}

.recent-post-widget-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--border-color);
}

.recent-post-widget-item:last-child {
    margin-bottom: 0;
}

.recent-post-widget-thumbnail {
    flex-shrink: 0;
    position: relative;
    width: 100px;
    height: 75px;
    border-radius: 6px;
    overflow: hidden;
}

.recent-post-widget-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.recent-post-widget-item:hover .recent-post-widget-image {
    transform: scale(1.1);
}

.recent-post-widget-category-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 3px 6px;
    border-radius: 3px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.recent-post-widget-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.recent-post-widget-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}

.recent-post-widget-title a {
    color: var(--text-color);
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recent-post-widget-title a:hover {
    color: var(--primary-color);
}

.recent-post-widget-meta {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 11px;
    color: var(--text-light);
    flex-wrap: wrap;
}

.recent-post-widget-meta svg {
    width: 12px;
    height: 12px;
    vertical-align: middle;
    margin-right: 3px;
}

.recent-post-widget-date,
.recent-post-widget-reading-time {
    display: flex;
    align-items: center;
    gap: 3px;
}

/* ============================================
   Weekly Videos Section
   ============================================ */
.weekly-videos-section {
    margin: 60px 0;
    padding: 40px 0;
    background-color: var(--bg-light);
}

.videos-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}
.videos-header .section-heading{
    margin-bottom: 0;
}

.see-all-link {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.see-all-link:hover {
    color: var(--accent-color);
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.video-item {
    background-color: var(--bg-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.video-item:hover {
    transform: translateY(-5px);
}

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

.video-thumbnail img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.video-item:hover .video-thumbnail img {
    transform: scale(1.1);
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.video-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    z-index: 2;
}

.video-content {
    padding: 20px;
}

.video-title {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
}

.video-title a {
    color: var(--text-color);
    transition: color 0.3s ease;
}

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

/* ============================================
   Most Popular & Fitness Section
   ============================================ */
.popular-fitness-section {
    margin: 60px 0;
}

.popular-fitness-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.most-popular-list,
.fitness-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.popular-item,
.fitness-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

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

.popular-image,
.fitness-image {
    flex-shrink: 0;
    width: 150px;
    border-radius: 4px;
    overflow: hidden;
}

.popular-image img,
.fitness-image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.popular-image:hover img,
.fitness-image:hover img {
    transform: scale(1.1);
}

.popular-content,
.fitness-content {
    flex: 1;
}

.popular-title,
.fitness-title {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 10px;
}

.popular-title a,
.fitness-title a {
    color: var(--text-color);
    transition: color 0.3s ease;
}

.popular-title a:hover,
.fitness-title a:hover {
    color: var(--primary-color);
}

.popular-date,
.fitness-date {
    font-size: 13px;
    color: var(--text-light);
}

/* ============================================
   Weekly Favourite & Newsletter Section
   ============================================ */
.weekly-favourite-section {
    margin: 60px 0;
    padding: 40px 0;
    background-color: var(--bg-light);
}

.weekly-favourite-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.weekly-favourite-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.weekly-favourite-item {
    background-color: var(--bg-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.weekly-favourite-item:hover {
    transform: translateY(-5px);
}

.weekly-favourite-image {
    position: relative;
    overflow: hidden;
}

.weekly-favourite-image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.weekly-favourite-item:hover .weekly-favourite-image img {
    transform: scale(1.1);
}

.weekly-favourite-content {
    padding: 15px;
}

.weekly-favourite-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
}

.weekly-favourite-title a {
    color: var(--text-color);
    transition: color 0.3s ease;
}

.weekly-favourite-title a:hover {
    color: var(--primary-color);
}

.weekly-favourite-date {
    font-size: 12px;
    color: var(--text-light);
}

.newsletter-signup-column {
    background-color: var(--bg-color);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.newsletter-signup-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 25px;
    line-height: 1.3;
}

.newsletter-signup-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.newsletter-signup-form input[type="email"] {
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    font-size: 16px;
}

.newsletter-signup-form input[type="email"]:focus {
    outline: none;
    border-color: var(--primary-color);
}

.newsletter-signup-btn {
    width: 100%;
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 15px;
}

.section-header {
    margin-bottom: 30px;
}

.section-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0;
}

.posts-grid {
    display: grid;
    gap: 30px;
}

.post-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 20px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.post-card:last-child {
    border-bottom: none;
}

.post-card .post-title {
    font-size: 1.5rem;
}

.read-more-link {
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 10px;
    display: inline-block;
    transition: color 0.3s ease;
}

.read-more-link:hover {
    color: var(--accent-color);
}

/* ============================================
   Sidebar
   ============================================ */
.sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.widget {
    margin-bottom: 30px;
}

.widget-title {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.custom-sidebar .sidebar-section {
    margin-bottom: 50px;
}

.custom-sidebar .sidebar-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 16px;
    letter-spacing: 0.2px;
}

.custom-sidebar .search-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    width: 100%;
}

.custom-sidebar .search-form label {
    flex: 1;
    min-width: 0;
}

.custom-sidebar .search-field {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    color: #000;
}

.custom-sidebar .search-submit {
    padding: 12px 16px;
    border-radius: 6px;
    font-weight: 700;
}

.custom-sidebar .sidebar-category-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.custom-sidebar .sidebar-category-list li {
    position: relative;
    padding-left: 18px;
    font-size: 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.custom-sidebar .sidebar-category-list li:last-child {
    border-bottom: none;
}

.custom-sidebar .sidebar-category-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-weight: bold;
    line-height: 1;
}

.custom-sidebar .sidebar-category-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    text-decoration: none;
    width: 100%;
    transition: color 0.3s ease;
}

.custom-sidebar .sidebar-category-list li a:hover {
    color: var(--primary-color);
}

.custom-sidebar .category-name {
    font-weight: 500;
    color: var(--text-color);
    font-size: 15px;
    margin-bottom: 0;
}

.custom-sidebar .category-count {
    font-size: 13px;
    color: var(--text-light);
}

.custom-sidebar .sidebar-text {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.custom-sidebar .newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.custom-sidebar .newsletter-form input[type="email"] {
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
}

.custom-sidebar .newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: var(--primary-color);
}

.custom-sidebar .newsletter-btn {
    width: 100%;
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* WordPress Recent Posts Widget Styling - Default Output */
.widget_recent_entries ul,
.widget_recent_entries_custom ul,
.widget_recent_entries_enhanced ul {
    list-style: none !important;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.widget_recent_entries li,
.widget_recent_entries_custom li,
.widget_recent_entries_enhanced li {
    display: flex !important;
    gap: 15px;
    align-items: flex-start;
    padding: 15px 0 !important;
    padding-bottom: 20px !important;
    background-color: var(--bg-color) !important;
    border-radius: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none !important;
    border-bottom: 1px solid var(--border-color) !important;
    position: relative;
    margin: 0 !important;
    list-style: none !important;
}

.widget_recent_entries li:last-child,
.widget_recent_entries_custom li:last-child,
.widget_recent_entries_enhanced li:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

.widget_recent_entries li:hover,
.widget_recent_entries_custom li:hover,
.widget_recent_entries_enhanced li:hover {
    /* Hover effects removed */
}

.widget_recent_entries li::before,
.widget_recent_entries_custom li::before,
.widget_recent_entries_enhanced li::before {
    display: none !important;
    content: none !important;
}

/* Handle default widget structure - images */
.widget_recent_entries li img,
.widget_recent_entries_custom li img,
.widget_recent_entries_enhanced li img {
    width: 100px !important;
    height: 75px !important;
    object-fit: cover;
    border-radius: 6px;
    transition: transform 0.3s ease;
    display: block;
    flex-shrink: 0;
}

.widget_recent_entries li > a:first-child:has(img),
.widget_recent_entries_custom li > a:first-child:has(img),
.widget_recent_entries_enhanced li > a:first-child:has(img) {
    flex-shrink: 0;
    position: relative;
    width: 100px;
    height: 75px;
    border-radius: 6px;
    overflow: hidden;
    display: block;
    margin-right: 15px;
}

.widget_recent_entries li:hover img,
.widget_recent_entries_custom li:hover img,
.widget_recent_entries_enhanced li:hover img {
    transform: scale(1.1);
}

.thumbnail-placeholder {
    width: 100px;
    height: 75px;
    background-color: var(--bg-light);
    border-radius: 6px;
    display: block;
}

.widget_recent_entries .post-thumbnail-wrapper,
.widget_recent_entries_custom .post-thumbnail-wrapper {
    flex-shrink: 0;
    position: relative;
    width: 100px;
    height: 75px;
    border-radius: 6px;
    overflow: hidden;
}

.widget_recent_entries .post-thumbnail-wrapper img,
.widget_recent_entries_custom .post-thumbnail-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.widget_recent_entries li:hover .post-thumbnail-wrapper img,
.widget_recent_entries_custom li:hover .post-thumbnail-wrapper img {
    transform: scale(1.1);
}

.widget_recent_entries .post-category-badge,
.widget_recent_entries_custom .post-category-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 3px 6px;
    border-radius: 3px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.widget_recent_entries .post-content-wrapper,
.widget_recent_entries_custom .post-content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.widget_recent_entries a,
.widget_recent_entries_custom a {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-color);
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
}

.widget_recent_entries a:hover,
.widget_recent_entries_custom a:hover {
    color: var(--primary-color);
}

.widget_recent_entries .post-date,
.widget_recent_entries_custom .post-date {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--text-light);
}

.widget_recent_entries .post-date::before,
.widget_recent_entries_custom .post-date::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 2C2.44772 2 2 2.44772 2 3V13C2 13.5523 2.44772 14 3 14H13C13.5523 14 14 13.5523 14 13V3C14 2.44772 13.5523 2 13 2H3ZM1 3C1 1.89543 1.89543 1 3 1H13C14.1046 1 15 1.89543 15 3V13C15 14.1046 14.1046 15 13 15H3C1.89543 15 1 14.1046 1 13V3Z' fill='%23666'/%3E%3Cpath d='M4 1C4.55228 1 5 1.44772 5 2V4C5 4.55228 4.55228 5 4 5C3.44772 5 3 4.55228 3 4V2C3 1.44772 3.44772 1 4 1Z' fill='%23666'/%3E%3Cpath d='M12 1C12.5523 1 13 1.44772 13 2V4C13 4.55228 12.5523 5 12 5C11.4477 5 11 4.55228 11 4V2C11 1.44772 11.4477 1 12 1Z' fill='%23666'/%3E%3Cpath d='M2 7H14V8H2V7Z' fill='%23666'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 4px;
}

/* Style default WordPress widget list items - ensure proper layout */
.widget_recent_entries li:not(.custom-recent-post-item),
.widget_recent_entries_custom li:not(.custom-recent-post-item),
.widget_recent_entries_enhanced li:not(.custom-recent-post-item) {
    display: flex !important;
    flex-direction: row;
    align-items: flex-start;
    gap: 15px;
}

/* Default widget structure: title link (not containing image) */
.widget_recent_entries li > a:not(:has(img)),
.widget_recent_entries_custom li > a:not(:has(img)),
.widget_recent_entries_enhanced li > a:not(:has(img)) {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-color);
    transition: color 0.3s ease;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.widget_recent_entries li > a:not(:has(img)):hover,
.widget_recent_entries_custom li > a:not(:has(img)):hover,
.widget_recent_entries_enhanced li > a:not(:has(img)):hover {
    color: var(--primary-color);
}

/* Date styling in default widget */
.widget_recent_entries li span,
.widget_recent_entries_custom li span,
.widget_recent_entries_enhanced li span {
    font-size: 11px;
    color: var(--text-light);
    display: block;
    margin-top: 5px;
}

/* Custom Recent Posts List (Enhanced Widget) */
.custom-recent-posts-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.custom-recent-post-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 15px 0;
    padding-bottom: 20px;
    background-color: var(--bg-color);
    border-radius: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.custom-recent-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.custom-recent-post-item:hover {
    /* Hover effects removed */
}

.custom-recent-post-item::before {
    display: none;
}

.custom-recent-post-item .post-thumbnail-wrapper {
    flex-shrink: 0;
    position: relative;
    width: 100px;
    height: 75px;
    border-radius: 6px;
    overflow: hidden;
}

.custom-recent-post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.custom-recent-post-item:hover .custom-recent-post-image {
    transform: scale(1.1);
}

.custom-recent-post-item .post-category-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 3px 6px;
    border-radius: 3px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.custom-recent-post-item .post-content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.custom-recent-post-item .post-content-wrapper > a {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-color);
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
}

.custom-recent-post-item .post-content-wrapper > a:hover {
    color: var(--primary-color);
}

.custom-recent-post-item .post-meta-info {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 11px;
    color: var(--text-light);
    flex-wrap: wrap;
}

.custom-recent-post-item .post-meta-info svg {
    width: 12px;
    height: 12px;
    vertical-align: middle;
    margin-right: 3px;
}

.custom-recent-post-item .post-date,
.custom-recent-post-item .post-reading-time {
    display: flex;
    align-items: center;
    gap: 3px;
}

/* ============================================
   Archive / Category Layout
   ============================================ */
.archive-content .content-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    align-items: start;
}

.archive-content .main-posts {
    min-width: 0;
}

.archive-content .posts-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* ============================================
   Page Content (Informative Pages)
   ============================================ */
.page-content {
    margin: 40px 0;
}

.page-content .container {
    max-width: 1200px;
}

.page-content .entry-header {
    margin-bottom: 30px;
}

.page-content .entry-title {
    font-size: 2.75rem;
    line-height: 1.2;
    margin-bottom: 25px;
    font-weight: 700;
    color: var(--text-color);
}

.page-content .entry-featured-image {
    margin: 30px 0;
    border-radius: 8px;
    overflow: hidden;
}

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

.page-content .entry-content {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   Single Post
   ============================================ */
.single-post-content {
    margin: 40px 0;
}

.single-post-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    align-items: start;
}

.single-post-main {
    min-width: 0;
}

.single-post {
    background-color: var(--bg-color);
    padding: 0;
}

.entry-header {
    margin-bottom: 30px;
}

.post-categories {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.post-categories .post-category {
    position: static;
    display: inline-block;
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 6px 15px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease;
}

.post-categories .post-category:hover {
    background-color: var(--accent-color);
    color: #ffffff;
}

.entry-title {
    font-size: 2.75rem;
    line-height: 1.2;
    margin-bottom: 25px;
    font-weight: 700;
    color: var(--text-color);
}

.entry-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    border-top: 2px solid var(--border-color);
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.meta-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar img {
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.author-name {
    font-weight: 600;
    color: var(--text-color);
    font-size: 16px;
}

.author-info .post-date {
    font-size: 14px;
    color: var(--text-light);
}

.meta-extra {
    display: flex;
    gap: 25px;
    align-items: center;
    font-size: 14px;
    color: var(--text-light);
    flex-wrap: wrap;
}

.meta-extra svg {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-right: 6px;
}

.meta-extra span {
    display: flex;
    align-items: center;
}

.entry-featured-image {
    margin: 40px 0;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

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

.featured-image-caption {
    margin-top: 10px;
    font-size: 14px;
    color: var(--text-light);
    font-style: italic;
    text-align: center;
}

.entry-content {
    font-size: 18px;
    line-height: 1.9;
    margin: 40px 0;
    color: var(--text-color);
}

.entry-content p {
    margin-bottom: 24px;
}

.entry-content h2 {
    font-size: 2rem;
    margin-top: 50px;
    margin-bottom: 25px;
    color: var(--primary-color);
    font-weight: 700;
}

.entry-content h3 {
    font-size: 1.75rem;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--text-color);
    font-weight: 700;
}

.entry-content h4 {
    font-size: 1.5rem;
    margin-top: 35px;
    margin-bottom: 18px;
    color: var(--text-color);
    font-weight: 700;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 24px;
    padding-left: 30px;
}

.entry-content li {
    margin-bottom: 12px;
}

.entry-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 25px;
    margin: 30px 0;
    font-style: italic;
    color: var(--text-light);
    font-size: 1.1em;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
}

.entry-content a {
    color: var(--primary-color);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.entry-content a:hover {
    color: var(--accent-color);
}

.entry-content .page-links {
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.entry-content .page-links a {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 5px;
    background-color: var(--bg-light);
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.entry-content .page-links a:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

.entry-content .page-links > span {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 5px;
    background-color: var(--primary-color);
    color: #ffffff;
    border-radius: 4px;
    font-weight: 600;
}

.entry-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 30px;
}

.tags-label {
    font-weight: 700;
    color: var(--text-color);
    font-size: 16px;
    margin-right: 5px;
}

.tag-link {
    background-color: var(--bg-light);
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.tag-link:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
}

/* Social Share */
.social-share {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
}

.share-label {
    font-weight: 700;
    color: var(--text-color);
    font-size: 16px;
}

.share-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #ffffff;
    transition: transform 0.3s ease, opacity 0.3s ease;
    text-decoration: none;
}

.share-btn:hover {
    transform: translateY(-3px);
    color: #ffffff;
}

.share-btn.facebook {
    background-color: #1877f2;
}

.share-btn.twitter {
    background-color: #1da1f2;
}

.share-btn.linkedin {
    background-color: #0077b5;
}

.share-btn.email {
    background-color: var(--primary-color);
}

.single-post-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

/* Author Box */
.author-box {
    display: flex;
    gap: 25px;
    padding: 35px;
    background-color: var(--bg-light);
    border-radius: 12px;
    margin: 50px 0;
    border: 1px solid var(--border-color);
}

.author-avatar-large {
    flex-shrink: 0;
}

.author-avatar-large img {
    border-radius: 50%;
    width: 100px;
    height: 100px;
    border: 3px solid var(--primary-color);
}

.author-details {
    flex: 1;
}

.author-box .author-name {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--primary-color);
    font-weight: 700;
}

.author-bio {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 15px;
}

/* Related Posts */
.related-posts {
    margin: 60px 0;
    padding-top: 40px;
    border-top: 2px solid var(--border-color);
}

.related-posts-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.related-post {
    display: flex;
    flex-direction: column;
}

.related-post-thumbnail {
    margin-bottom: 15px;
    border-radius: 4px;
    overflow: hidden;
}

.related-post-thumbnail img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.related-post-thumbnail:hover img {
    transform: scale(1.1);
}

.related-post-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.related-post-title a {
    color: var(--text-color);
}

.related-post-title a:hover {
    color: var(--primary-color);
}

/* ============================================
   Archive & Search
   ============================================ */
.archive-header,
.search-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
}

.archive-title,
.search-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.3;
}

.archive-title.section-heading {
    font-size: 2.5rem;
    text-transform: none;
    letter-spacing: normal;
    font-weight: 700;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.archive-description {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.6;
}

.search-query {
    color: var(--accent-color);
    word-break: break-word;
    display: inline-block;
}

.no-posts {
    text-align: center;
    padding: 60px 20px;
}

.no-posts p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.search-form-wrapper {
    max-width: 500px;
    margin: 30px auto;
}

/* ============================================
   404 Page
   ============================================ */
.error-404-content {
    margin: 60px 0;
}

.error-404-wrapper {
    text-align: center;
    padding: 60px 20px;
}

.error-title {
    font-size: 8rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 20px;
}

.error-subtitle {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.error-description {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.error-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.popular-posts-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid var(--border-color);
}

/* ============================================
   Categories Section
   ============================================ */
.categories-section {
    margin: 60px 0;
    padding: 40px 0;
    background-color: var(--bg-light);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.category-card {
    background-color: var(--bg-color);
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.category-card a {
    display: block;
}

.category-name {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

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

/* ============================================
   Breadcrumbs
   ============================================ */
.breadcrumbs {
    margin: 20px 0;
    font-size: 14px;
}

.breadcrumbs ol {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 10px;
    flex-wrap: wrap;
}

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

.breadcrumbs li:not(:last-child)::after {
    content: '/';
    margin-left: 10px;
    color: var(--text-light);
}

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

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

/* ============================================
   Pagination
   ============================================ */
.pagination {
    margin: 40px 0;
}

.pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pagination-link {
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.pagination-link:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
}

.pagination-link.current {
    background-color: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
}

.pagination-ellipsis {
    padding: 10px 5px;
    color: var(--text-light);
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
    background-color: var(--primary-color);
    color: #ffffff;
    margin-top: 60px;
}

.footer-widgets {
    padding: 60px 0 40px;
}

.footer-widgets-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-column {
    min-width: 0;
}

.footer-column-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 14px;
}

.footer-read-more {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s ease;
    display: inline-block;
    margin-top: 10px;
}

.footer-read-more:hover {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
}

.footer-categories-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-categories-list li {
    margin-bottom: 10px;
}

.footer-categories-list a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
    font-size: 14px;
}

.footer-categories-list a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.footer-notifications p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 14px;
}

.btn-notification {
    background-color: #ffffff;
    color: var(--primary-color);
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    font-size: 14px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-notification:hover {
    background-color: #b21942;
    color: #ffffff;
    transform: translateY(-2px);
}

.notification-status {
    margin-top: 10px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.social-icons-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: translateY(-3px);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.footer-widget-area .widget {
    background-color: transparent;
    padding: 0;
}

.footer-widget-area .widget-title {
    color: #ffffff;
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.footer-widget-area a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-widget-area a:hover {
    color: #ffffff;
}

.footer-bottom {
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-divider {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* ============================================
   Comments
   ============================================ */
.comments-area {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid var(--border-color);
}

.comments-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comment {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.comment:last-child {
    border-bottom: none;
}

.comment-author {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

.comment-author .avatar {
    border-radius: 50%;
}

.comment-meta {
    display: flex;
    flex-direction: column;
}

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

.comment-date {
    font-size: 14px;
    color: var(--text-light);
}

.comment-content {
    margin-left: 55px;
    line-height: 1.6;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .single-post-wrapper {
        grid-template-columns: 1fr;
    }
    
    .single-post-sidebar {
        position: static;
    }
    
    .featured-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .top-headlines-column,
    .recent-posts-sidebar {
        border: none;
        padding: 0;
    }
    
    .headlines-list {
        grid-template-columns: 1fr;
    }
    
    .content-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .trendy-news-grid,
    .auto-news-grid {
        grid-template-columns: 1fr;
    }
    
    .trendy-news-column,
    .homepage-sidebar {
        border: none;
        padding: 0;
    }
    
    .editors-choice-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .popular-fitness-layout {
        grid-template-columns: 1fr;
    }
    
    .weekly-favourite-layout {
        grid-template-columns: 1fr;
    }
    
    .weekly-favourite-grid {
        grid-template-columns: 1fr;
    }
    
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .archive-content .content-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .sidebar {
        position: static;
    }
    
    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .archive-title,
    .search-title {
        font-size: 2rem;
    }
    
    .archive-title.section-heading {
        font-size: 2rem;
        flex-wrap: wrap;
    }
    
    .search-query {
        word-break: break-word;
        display: inline;
    }
    
    .page-content .entry-title {
        font-size: 2.5rem;
    }
    
    .page-content .entry-content {
        font-size: 17px;
    }
    
    .page-content .entry-content h2 {
        font-size: 1.875rem;
    }
    
    .page-content .entry-content h3 {
        font-size: 1.625rem;
    }
    
    .page-content .entry-content h4 {
        font-size: 1.375rem;
    }
}

@media (max-width: 1200px) {
    .main-navigation {
        position: fixed;
        top: 0;
        left: -100%;
        width: 300px;
        height: 100vh;
        background-color: var(--bg-color);
        border-right: 1px solid var(--border-color);
        box-shadow: 4px 0 6px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        z-index: 1003;
        overflow-y: auto;
        display: block;
    }
    
    .main-navigation.active {
        left: 0;
    }
    
    .header-actions {
        display: flex;
        align-items: center;
        gap: 15px;
    }
    
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px;
        color: var(--text-color);
        transition: color 0.3s ease;
    }
    
    .menu-toggle:hover {
        color: var(--primary-color);
    }
    
    .nav-menu {
        display: flex;
        flex-direction: column;
        margin: 0;
        padding: 80px 20px 20px;
        gap: 0;
        list-style: none;
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-menu a {
        padding: 15px 0;
    }
    
    /* Overlay when menu is open */
    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 990;
        opacity: 0;
        animation: fadeIn 0.3s ease forwards;
    }
    
    @keyframes fadeIn {
        to {
            opacity: 1;
        }
    }
}

@media (max-width: 768px) {
    .footer-widgets-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .featured-title {
        font-size: 1.5rem;
    }
    
    .editors-choice-grid {
        grid-template-columns: 1fr;
    }
    
    .videos-grid {
        grid-template-columns: 1fr;
    }
    
    .post-card {
        grid-template-columns: 1fr;
    }
    
    .archive-content .content-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .archive-title,
    .search-title {
        font-size: 1.75rem;
    }
    
    .archive-title.section-heading {
        font-size: 1.75rem;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .archive-title.section-heading::before {
        width: 10px;
        height: 10px;
    }
    
    .search-query {
        word-break: break-word;
        display: inline;
    }
    
    .archive-description {
        font-size: 16px;
    }
    
    .page-content .entry-title {
        font-size: 2.25rem;
    }
    
    .page-content .entry-content {
        font-size: 17px;
    }
    
    .page-content .entry-content h2 {
        font-size: 1.875rem;
        margin-top: 45px;
        margin-bottom: 22px;
    }
    
    .page-content .entry-content h3 {
        font-size: 1.625rem;
        margin-top: 38px;
        margin-bottom: 19px;
    }
    
    .page-content .entry-content h4 {
        font-size: 1.375rem;
        margin-top: 32px;
        margin-bottom: 16px;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .error-title {
        font-size: 5rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-widgets-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .author-box {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 599px) {
    .custom-logo {
        max-width: 200px;
    }
    
    .footer-widgets-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-column {
        width: 100%;
    }
    
    .footer-notifications #subscribe-notification-btn + .btn-manage-topics {
        margin-top: 15px;
        display: block;
        width: 100%;
    }
    
    .footer-notifications .btn-notification,
    .footer-notifications .btn-manage-topics {
        width: 100%;
    }
    
    .meta-author {
        justify-content: center;
    }
    
    .entry-meta {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .entry-title {
        font-size: 2rem;
    }
    
    .page-content .entry-title {
        font-size: 2rem;
    }
    
    .page-content .entry-content {
        font-size: 16px;
    }
    
    .page-content .entry-content h2 {
        font-size: 1.75rem;
        margin-top: 40px;
        margin-bottom: 20px;
    }
    
    .page-content .entry-content h3 {
        font-size: 1.5rem;
        margin-top: 35px;
        margin-bottom: 18px;
    }
    
    .page-content .entry-content h4 {
        font-size: 1.25rem;
        margin-top: 30px;
        margin-bottom: 15px;
    }
    
    .single-post-wrapper {
        grid-template-columns: 1fr;
    }
    
    .author-box {
        flex-direction: column;
        text-align: center;
    }
    
    .social-share {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .archive-content .content-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .archive-title,
    .search-title {
        font-size: 1.5rem;
    }
    
    .archive-title.section-heading {
        font-size: 1.5rem;
        flex-wrap: wrap;
        gap: 8px;
        line-height: 1.4;
    }
    
    .archive-title.section-heading::before {
        width: 8px;
        height: 8px;
    }
    
    .archive-title.section-heading::after {
        min-width: 40px;
    }
    
    .search-query {
        word-break: break-word;
        display: inline;
        font-size: inherit;
    }
    
    .archive-description {
        font-size: 14px;
    }
    
    .archive-content .posts-grid {
        gap: 20px;
    }
    
    .archive-header {
        margin-bottom: 30px;
        padding-bottom: 15px;
    }
    
    .main-featured-section{
        margin: 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .entry-title {
        font-size: 2rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Back to Top Button
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

/* ============================================
   Screen Reader Text
   ============================================ */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* ============================================
   Push Notification Popup
   ============================================ */
.notification-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    padding: 20px;
}

.notification-popup-content {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 40px;
    max-width: 600px;
    width: 100%;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    text-align: center;
    animation: popupSlideIn 0.3s ease-out;
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.notification-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.notification-popup-close:hover {
    color: #333;
}

.notification-popup-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.notification-popup-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.notification-popup-content p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

.notification-popup-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.notification-popup-buttons .btn {
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
}

.notification-popup-buttons .btn-primary {
    background-color: #b21942;
    color: #ffffff;
}

.notification-popup-buttons .btn-primary:hover {
    background-color: #8f1534;
    transform: translateY(-2px);
}

.notification-popup-buttons .btn-secondary {
    background-color: #f5f5f5;
    color: #333;
}

.notification-popup-buttons .btn-secondary:hover {
    background-color: #e5e5e5;
}

/* Topic Selection in Popup */
.notification-topics-selection {
    text-align: left;
    margin: 25px 0;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.notification-topics-selection h4 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
}

.notification-topics-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-height: 300px;
    overflow-y: auto;
    padding: 10px;
}

.notification-topic-item {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.notification-topic-item:hover {
    background-color: #f0f0f0;
}

.notification-topic-item input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #b21942;
}

.notification-topic-item span {
    font-size: 15px;
    color: #333;
    user-select: none;
}

/* Topic Management Modal */
.topic-management-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    padding: 20px;
}

.topic-management-content {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 40px;
    max-width: 700px;
    width: 100%;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-height: 90vh;
    overflow-y: auto;
}

.topic-management-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.topic-management-close:hover {
    color: #333;
}

.topic-management-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: center;
}

.topic-management-content > p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    text-align: center;
}

.topic-management-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-height: 400px;
    overflow-y: auto;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 25px;
}

.topic-select-all {
    grid-column: 1 / -1;
    background-color: #ffffff;
    border: 2px solid #b21942;
    border-radius: 6px;
    padding: 12px !important;
    margin-bottom: 8px;
}

.topic-select-all:hover {
    background-color: #fff5f7;
}

.topic-select-all span {
    font-size: 16px !important;
    color: #b21942 !important;
}

.topic-management-divider {
    grid-column: 1 / -1;
    height: 1px;
    background-color: #ddd;
    margin: 8px 0;
}

.topic-management-item {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 10px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.topic-management-item:hover {
    background-color: #f0f0f0;
}

.topic-management-item input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #b21942;
}

.topic-management-item span {
    font-size: 15px;
    color: #333;
    user-select: none;
}

.topic-management-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.topic-management-buttons .btn {
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.topic-management-buttons .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.topic-management-buttons .btn .btn-text,
.topic-management-buttons .btn .btn-loader {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.topic-management-buttons .btn .btn-loader {
    position: absolute;
}

.topic-management-buttons .btn .spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: inline-block;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.topic-management-buttons .btn-primary {
    background-color: #b21942;
    color: #ffffff;
}

.topic-management-buttons .btn-primary:hover {
    background-color: #8f1534;
    transform: translateY(-2px);
}

.topic-management-buttons .btn-secondary {
    background-color: #f5f5f5;
    color: #333;
}

.topic-management-buttons .btn-secondary:hover {
    background-color: #e5e5e5;
}

/* Manage Topics Button */
.btn-manage-topics {
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    border: 1px solid #ffffff;
    background-color: transparent;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-manage-topics:hover {
    background-color: #b21942;
    color: #ffffff;
}

@media (max-width: 768px) {
    .notification-topics-list,
    .topic-management-list {
        grid-template-columns: 1fr;
    }
    
    .notification-popup-content,
    .topic-management-content {
        padding: 30px 20px;
    }
}

/* In-page notification */
.in-page-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-width: 400px;
    z-index: 999998;
    display: none;
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.in-page-notification-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.in-page-notification-content p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.in-page-notification-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.in-page-notification-close:hover {
    color: #333;
}

