@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #00b894;
    --secondary-color: #930046;
    --text-color-dark: #333;
    --text-color-light: #fff;
    --grey-light: #f5f5f5;
    --grey-medium: #eee;
    --grey-dark: #666;
    --border-color: #e0e0e0;
    --green-color: #00b894;
    --red-color: #d63031;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color-dark);
    background-color: #f8f8f8;
}

.wrapper {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

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

a:hover {
    text-decoration: underline;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-color-dark);
    margin-bottom: 10px;
    line-height: 1.2;
}

h1 { font-size: 2.5em; }
h2 { font-size: 2em; }
h3 { font-size: 1.5em; }
h4 { font-size: 1.2em; }

header {
    background-color: var(--text-color-light);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo img {
    height: 33px;
}

nav ul {
    display: flex;
    gap: 25px;
}

nav a {
    color: var(--text-color-dark);
    font-weight: 500;
    font-size: 0.95em;
    position: relative;
    padding: 5px 0;
}

nav a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

nav a i {
    font-size: 0.7em;
    margin-left: 5px;
}

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

.header-right .search-icon,
.header-right .lang-switcher {
    color: var(--grey-dark);
    font-size: 1.1em;
    padding: 5px;
}

.header-right .lang-switcher i {
    font-size: 0.7em;
    margin-left: 5px;
}

.header-right .ad-button {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    padding: 8px 15px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9em;
    font-weight: 600;
    background-image: url('images/margex_ad_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.header-right .ad-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #e0f2f1;
    z-index: 1;
}

.header-right .ad-button img {
    height: 30px;
    width: auto;
    display: none;
}

.header-right .ad-button .ad-text {
    position: relative;
    z-index: 2;
    line-height: 1.3;
    color: #00796b;
}

.header-right .ad-button i {
    font-size: 0.8em;
    position: relative;
    z-index: 2;
}

main {
    padding: 30px 0;
}

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

.latest-news-sidebar {
    background-color: var(--text-color-light);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.latest-news-sidebar h3 {
    margin-bottom: 20px;
    font-size: 1.3em;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
    color: var(--text-color-dark);
}

.latest-news-sidebar ul li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed var(--grey-medium);
}

.latest-news-sidebar ul li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.latest-news-sidebar .price-analysis {
    display: inline-block;
    background-color: #e0f2f1;
    color: #00796b;
    font-size: 0.75em;
    padding: 4px 8px;
    border-radius: 4px;
    margin-bottom: 8px;
    font-weight: 600;
}

.latest-news-sidebar ul li a {
    color: var(--text-color-dark);
    font-weight: 600;
    line-height: 1.4;
    display: block;
    margin-bottom: 5px;
}

.latest-news-sidebar ul li a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.latest-news-sidebar .time-ago {
    font-size: 0.8em;
    color: var(--grey-dark);
}

.crypto-news-spotlight {
    background-color: var(--text-color-light);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.crypto-news-spotlight h3 {
    margin-bottom: 20px;
    font-size: 1.3em;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
    color: var(--text-color-dark);
}

.spotlight-main-article img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.spotlight-main-article .category {
    display: inline-block;
    background-color: #e0f2f1;
    color: #00796b;
    font-size: 0.8em;
    padding: 5px 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    font-weight: 600;
}

.spotlight-main-article h2 {
    font-size: 1.8em;
    margin-bottom: 10px;
}

.spotlight-main-article h2 a {
    color: var(--text-color-dark);
}

.spotlight-main-article h2 a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.spotlight-main-article .article-meta {
    font-size: 0.9em;
    color: var(--grey-dark);
}

.deep-dives-sidebar {
    background-color: var(--text-color-light);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.deep-dives-sidebar h3 {
    margin-bottom: 20px;
    font-size: 1.3em;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
    color: var(--text-color-dark);
}

.deep-dive-item {
    margin-bottom: 25px;
    position: relative;
}

.deep-dive-item:last-child {
    margin-bottom: 0;
}

.deep-dive-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

.deep-dive-item h4 {
    font-size: 1.1em;
    margin-bottom: 5px;
}

.deep-dive-item h4 a {
    color: var(--text-color-dark);
}

.deep-dive-item h4 a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.deep-dive-item p {
    font-size: 0.85em;
    color: var(--grey-dark);
}

.deep-dive-item .features-tag,
.deep-dive-item .cryptonews-reports-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--text-color-light);
    font-size: 0.7em;
    padding: 3px 8px;
    border-radius: 3px;
    font-weight: 500;
    z-index: 5;
}

.breadcrumb {
    padding: 15px 0;
    font-size: 0.9em;
    color: var(--grey-dark);
}

.breadcrumb a {
    color: var(--grey-dark);
}

.breadcrumb span {
    color: var(--primary-color);
    font-weight: 500;
}

.list-page-layout {
    display: grid;
    grid-template-columns: 0.5fr 2.5fr 1fr;
    gap: 30px;
}

.list-left-sidebar {
    padding: 20px 0;
}

.share-buttons h4 {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: var(--text-color-dark);
}

.share-buttons ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.share-buttons li {
    text-align: center;
}

.share-buttons .share-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--grey-medium);
    transition: background-color 0.3s ease;
}

.share-buttons .share-icon:hover {
    background-color: var(--primary-color);
}

/* 修改這裡：當鼠標懸停時，SVG 的 fill 顏色變為白色 */
.share-buttons .share-icon:hover svg {
    fill: var(--text-color-light); /* 設置為白色 */
}

.share-buttons .share-icon img {
    width: 20px;
    height: 20px;
}

.list-content-area {
    background-color: var(--text-color-light);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.list-content-area h1 {
    font-size: 2.2em;
    margin-bottom: 20px;
    color: var(--text-color-dark);
}

.filter-bar {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
    overflow-x: auto;
}

.filter-bar a {
    color: var(--grey-dark);
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
    white-space: nowrap;
}

.filter-bar a:hover,
.filter-bar a.active {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    text-decoration: none;
}

.article-list .article-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px dashed var(--grey-medium);
}

.article-list .article-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.article-list .article-thumbnail {
    flex-shrink: 0;
    width: 200px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

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

.article-list .article-thumbnail .category-tag {
    position: absolute;
    top: 8px;
    left: 8px;
    background-color: var(--primary-color);
    color: var(--text-color-light);
    font-size: 0.7em;
    padding: 3px 8px;
    border-radius: 3px;
    font-weight: 500;
}

.article-list .article-info h2 {
    font-size: 1.4em;
    margin-top: 0;
    margin-bottom: 8px;
}

.article-list .article-info h2 a {
    color: var(--text-color-dark);
}

.article-list .article-info h2 a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.article-list .article-info .article-meta {
    font-size: 0.85em;
    color: var(--grey-dark);
}

.list-right-sidebar {
    padding: 20px 0;
}

.list-right-sidebar .ad-block {
    background-color: var(--secondary-color);
    color: var(--text-color-light);
    padding: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    background-image: url('images/best_wallet_ad_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    min-height: 120px;
}

.list-right-sidebar .ad-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.list-right-sidebar .ad-block .ad-text {
    position: relative;
    z-index: 2;
    font-size: 1.1em;
    font-weight: 600;
    line-height: 1.3;
}

.list-right-sidebar .ad-block i {
    font-size: 1em;
    position: relative;
    z-index: 2;
    margin-left: auto;
}

.list-right-sidebar .recommended-articles {
    background-color: var(--text-color-light);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.list-right-sidebar .recommended-articles h3 {
    margin-bottom: 20px;
    font-size: 1.3em;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
    color: var(--text-color-dark);
}

.list-right-sidebar .recommended-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed var(--grey-medium);
}

.list-right-sidebar .recommended-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.list-right-sidebar .recommended-item img {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
}

.list-right-sidebar .recommended-info h4 {
    font-size: 0.95em;
    margin-top: 0;
    margin-bottom: 5px;
    line-height: 1.3;
}

.list-right-sidebar .recommended-info h4 a {
    color: var(--text-color-dark);
}

.list-right-sidebar .recommended-info h4 a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.list-right-sidebar .recommended-info .time-ago {
    font-size: 0.75em;
    color: var(--grey-dark);
}

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

.lives-main-content {
    background-color: var(--text-color-light);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.lives-main-content h1 {
    font-size: 2.2em;
    margin-bottom: 20px;
    color: var(--text-color-dark);
}

.lives-list .live-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px dashed var(--grey-medium);
    display: flex;
    flex-direction: column;
}

.lives-list .live-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.lives-list .live-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 0.85em;
    color: var(--grey-dark);
}

.lives-list .live-meta .live-time {
    font-weight: 600;
    color: var(--text-color-dark);
}

.lives-list .live-meta .live-category {
    background-color: #f0f0f0;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 500;
}

.lives-list .live-title h2 {
    font-size: 1.2em;
    margin-bottom: 5px;
}
.lives-list .live-title a {
    color: var(--text-color-dark);
    font-weight: 600;
}
.lives-list .live-title a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.lives-list .live-description {
    font-size: 0.9em;
    color: var(--grey-dark);
}

.lives-list .live-description a {
    font-weight: 500;
}

.lives-right-sidebar {
    padding: 20px 0;
}

.lives-right-sidebar .ad-block {
    background-color: var(--secondary-color);
    color: var(--text-color-light);
    padding: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    background-image: url('images/best_wallet_ad_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    min-height: 120px;
}

.lives-right-sidebar .ad-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.lives-right-sidebar .ad-block .ad-text {
    position: relative;
    z-index: 2;
    font-size: 1.1em;
    font-weight: 600;
    line-height: 1.3;
}

.lives-right-sidebar .ad-block i {
    font-size: 1em;
    position: relative;
    z-index: 2;
    margin-left: auto;
}

.lives-right-sidebar .recommended-articles {
    background-color: var(--text-color-light);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.lives-right-sidebar .recommended-articles h3 {
    margin-bottom: 20px;
    font-size: 1.3em;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
    color: var(--text-color-dark);
}

.lives-right-sidebar .recommended-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed var(--grey-medium);
}

.lives-right-sidebar .recommended-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.lives-right-sidebar .recommended-info h4 {
    font-size: 0.95em;
    margin-top: 0;
    margin-bottom: 5px;
    line-height: 1.3;
}

.lives-right-sidebar .recommended-info h4 a {
    color: var(--text-color-dark);
}

.lives-right-sidebar .recommended-info h4 a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.lives-right-sidebar .recommended-info .time-ago {
    font-size: 0.75em;
    color: var(--grey-dark);
}

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

.article-left-sidebar {
    padding: 20px 0;
}

.article-main-content {
    background-color: var(--text-color-light);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.article-category {
    display: inline-block;
    background-color: #e0f2f1;
    color: #00796b;
    font-size: 0.75em;
    padding: 4px 8px;
    border-radius: 4px;
    margin-right: 10px;
    margin-bottom: 10px;
    font-weight: 600;
}

.article-tags {
    display: inline-block;
    background-color: #f0f0f0;
    color: var(--grey-dark);
    font-size: 0.75em;
    padding: 4px 8px;
    border-radius: 4px;
    margin-bottom: 10px;
    font-weight: 500;
}

.article-main-content h1 {
    font-size: 2.8em;
    margin-top: 10px;
    margin-bottom: 20px;
}

.article-meta-info {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.author-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-weight: 600;
    line-height: 1.3;
}

.date-info .last-updated {
    font-size: 0.9em;
    color: var(--grey-dark);
    line-height: 1.3;
}

.disclaimer {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 30px;
    font-size: 0.9em;
    color: #856404;
}

.article-ad-banner {
    width: 100%;
    height: 150px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
    position: relative;
    background-image: url('images/article_bottom_ad_banner.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-ad-banner img {
    display: none;
}

.ad-text-overlay {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-color-light);
}

.ad-text-overlay p {
    font-size: 1.3em;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.ad-text-overlay .ad-button {
    background-color: #007bff;
    color: var(--text-color-light);
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.ad-text-overlay .ad-button:hover {
    background-color: #0056b3;
    text-decoration: none;
}

.article-content {
    line-height: 1.8;
    font-size: 1.05em;
}

.article-content p {
    margin-bottom: 1em;
}

.article-content h2,
.article-content h3 {
    margin-top: 1.5em;
    margin-bottom: 0.8em;
}

.article-content ul,
.article-content ol {
    margin-left: 20px;
    margin-bottom: 1em;
}

.article-content li {
    margin-bottom: 0.5em;
}

.related-articles {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.related-articles h3 {
    font-size: 1.5em;
    margin-bottom: 20px;
    color: var(--text-color-dark);
}

.related-articles ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.related-articles li a {
    color: var(--text-color-dark);
    font-weight: 600;
    line-height: 1.4;
}

.related-articles li a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.article-right-sidebar {
    padding: 20px 0;
}

.article-right-sidebar .ad-block {
    background-color: var(--secondary-color);
    color: var(--text-color-light);
    padding: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    background-image: url('images/best_wallet_ad_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    min-height: 120px;
}

.article-right-sidebar .ad-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.article-right-sidebar .ad-block .ad-text {
    position: relative;
    z-index: 2;
    font-size: 1.1em;
    font-weight: 600;
    line-height: 1.3;
}

.article-right-sidebar .ad-block i {
    font-size: 1em;
    position: relative;
    z-index: 2;
    margin-left: auto;
}

.about-us-sidebar {
    background-color: var(--text-color-light);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.about-us-sidebar h3 {
    font-size: 1.3em;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.about-us-sidebar p {
    margin-bottom: 15px;
    font-size: 0.95em;
    color: var(--grey-dark);
}

.about-us-sidebar p strong {
    color: var(--primary-color);
    font-size: 1.2em;
    display: block;
}

.author-avatars {
    display: flex;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 15px;
}

.author-avatars img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    margin-right: -10px;
    border: 2px solid var(--text-color-light);
    object-fit: cover;
}

.author-avatars span {
    margin-left: 20px;
    font-weight: 500;
    color: var(--grey-dark);
}

.authors-list-link {
    display: block;
    text-align: center;
    background-color: var(--primary-color);
    color: var(--text-color-light);
    padding: 10px 15px;
    border-radius: 5px;
    margin-top: 20px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.authors-list-link:hover {
    background-color: var(--secondary-color);
    text-decoration: none;
}

.article-right-sidebar .recommended-articles {
    background-color: var(--text-color-light);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.article-right-sidebar .recommended-articles h3 {
    margin-bottom: 20px;
    font-size: 1.3em;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
    color: var(--text-color-dark);
}

.article-right-sidebar .recommended-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed var(--grey-medium);
}

.article-right-sidebar .recommended-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.article-right-sidebar .recommended-item img {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
}

.article-right-sidebar .recommended-info h4 {
    font-size: 0.95em;
    margin-top: 0;
    margin-bottom: 5px;
    line-height: 1.3;
}

.article-right-sidebar .recommended-info h4 a {
    color: var(--text-color-dark);
}

.article-right-sidebar .recommended-info h4 a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.article-right-sidebar .recommended-info .time-ago {
    font-size: 0.75em;
    color: var(--grey-dark);
}

.pagination {
    margin-top: 30px;
    text-align: center;
}

.pagination ul {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 5px;
}

.pagination li {
    display: inline-block;
}

.pagination li a,
.pagination li span {
    display: block;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--text-color-dark);
    font-weight: 500;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.pagination li a:hover {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    text-decoration: none;
}

.pagination li.thisclass span,
.pagination li.current a {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    border-color: var(--primary-color);
}

.pagination li.prev a,
.pagination li.next a {
    background-color: var(--grey-light);
}

footer {
    background-color: #00796b;
    color: var(--text-color-light);
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 30px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col {
    margin-bottom: 20px;
}

.footer-col h4 {
    color: var(--text-color-light);
    margin-bottom: 20px;
    font-size: 1.1em;
    font-weight: 600;
}

.footer-logo {
    height: 35px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.about-us p {
    font-size: 0.9em;
    line-height: 1.7;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.7);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: var(--text-color-light);
    font-size: 1.2em;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    text-decoration: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9em;
}

.footer-links ul li a:hover {
    color: var(--text-color-light);
    text-decoration: underline;
}

.subscribe form {
    display: flex;
    margin-bottom: 15px;
}

.subscribe input[type="email"] {
    flex-grow: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 5px 0 0 5px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-color-light);
}

.subscribe input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.subscribe button {
    padding: 10px 20px;
    background-color: #00b894;
    color: var(--text-color-light);
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.subscribe button:hover {
    background-color: #00b894;
}

.subscribe p {
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom {
    padding-top: 20px;
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.6);
}

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

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    margin-left: 20px;
}

.footer-bottom-links a:hover {
    color: var(--text-color-light);
}

@media (max-width: 1200px) {
    .wrapper {
        padding: 0 15px;
    }
    .home-layout {
        grid-template-columns: 1fr 2fr;
        gap: 20px;
    }
    .deep-dives-sidebar {
        grid-column: 1 / -1;
        order: 3;
    }
    .list-page-layout,
    .article-layout {
        grid-template-columns: 1fr 2fr;
        gap: 20px;
    }
    .list-left-sidebar,
    .article-left-sidebar {
        grid-column: 1 / -1;
        order: 0;
        padding-top: 0;
    }
    .share-buttons {
        display: flex;
        justify-content: center;
        margin-bottom: 20px;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 15px;
    }
    .share-buttons h4 {
        display: none;
    }
    .share-buttons ul {
        flex-direction: row;
        gap: 10px;
    }
    .lives-page-layout-v2 {
        grid-template-columns: 1fr;
    }
    .lives-main-content-v2 {
        padding: 25px;
    }
    .lives-right-sidebar-v2 {
        order: 2;
        padding-top: 0;
    }
}

@media (max-width: 992px) {
    header .header-content {
        flex-direction: column;
        gap: 15px;
    }
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    .header-right {
        width: 100%;
        justify-content: center;
    }
    .home-layout {
        grid-template-columns: 1fr;
    }
    .list-page-layout,
    .article-layout {
        grid-template-columns: 1fr;
    }
    .list-right-sidebar,
    .article-right-sidebar {
        order: 2;
        padding-top: 0;
    }
    .article-main-content h1 {
        font-size: 2em;
    }
    .article-meta-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .article-list .article-item {
        flex-direction: column;
        align-items: flex-start;
    }
    .article-list .article-thumbnail {
        width: 100%;
        height: 200px;
        margin-bottom: 15px;
    }
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    .lives-page-layout-v2 {
        grid-template-columns: 1fr;
    }
    .lives-right-sidebar-v2 {
        order: 2;
        padding-top: 0;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .social-icons {
        justify-content: center;
    }
    .subscribe form {
        flex-direction: column;
        gap: 10px;
    }
    .subscribe input[type="email"],
    .subscribe button {
        border-radius: 5px;
        width: 100%;
    }
    .footer-bottom .wrapper {
        flex-direction: column;
        gap: 10px;
    }
    .footer-bottom-links {
        margin-left: 0;
    }
    .footer-bottom-links a {
        margin: 0 10px;
    }
}

.crypto-news-spotlight .additional-news-list {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    text-align: left;
}

.crypto-news-spotlight .additional-news-list h4 {
    font-size: 1.2em;
    margin-bottom: 20px;
    color: var(--text-color-dark);
}

.crypto-news-spotlight .additional-news-list ul {
    list-style: none;
    padding: 0;
}

.crypto-news-spotlight .additional-news-list .news-item-with-thumbnail {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px dashed var(--grey-medium);
}

.crypto-news-spotlight .additional-news-list .news-item-with-thumbnail:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.crypto-news-spotlight .additional-news-list .news-thumbnail {
    flex-shrink: 0;
    width: 120px;
    height: 80px;
    overflow: hidden;
    border-radius: 6px;
}

.crypto-news-spotlight .additional-news-list .news-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.crypto-news-spotlight .additional-news-list .news-content-area {
    flex-grow: 1;
}

.crypto-news-spotlight .additional-news-list .news-title {
    font-size: 1.05em;
    margin-top: 0;
    margin-bottom: 8px;
    line-height: 1.4;
}

.crypto-news-spotlight .additional-news-list .news-title a {
    color: var(--text-color-dark);
    font-weight: 600;
}

.crypto-news-spotlight .additional-news-list .news-title a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.crypto-news-spotlight .additional-news-list .news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.8em;
    color: var(--grey-dark);
    margin-bottom: 8px;
}

.crypto-news-spotlight .additional-news-list .news-category {
    background-color: #e0f2f1;
    color: #00796b;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 500;
}

.crypto-news-spotlight .additional-news-list .news-time-ago,
.crypto-news-spotlight .additional-news-list .news-author {
    color: var(--grey-dark);
}

.crypto-news-spotlight .additional-news-list .news-summary {
    font-size: 0.9em;
    color: var(--grey-dark);
    line-height: 1.5;
    margin-bottom: 0;
}

@media (max-width: 576px) {
    .crypto-news-spotlight .additional-news-list .news-item-with-thumbnail {
        flex-direction: column;
        align-items: flex-start;
    }
    .crypto-news-spotlight .additional-news-list .news-thumbnail {
        width: 100%;
        height: 150px;
        margin-bottom: 10px;
    }
}

/* Specific styles for lives-page-layout-v2 and its children */
.lives-page-layout-v2 {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 30px;
}

.lives-main-content-v2 {
    background-color: var(--text-color-light);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.lives-main-content-v2 h1 {
    font-size: 2.2em;
    margin-bottom: 20px;
    color: var(--text-color-dark);
}

.lives-main-content-v2 .page-description {
    font-size: 1em;
    color: var(--grey-dark);
    margin-bottom: 30px;
    line-height: 1.6;
}

.lives-timeline {
    margin-top: 20px;
}

.live-timeline-item {
    background-color: var(--text-color-light);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    padding: 20px;
    margin-bottom: 25px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.live-timeline-item .timeline-meta {
    flex-shrink: 0;
    width: 100px;
    text-align: right;
    font-size: 0.9em;
    color: var(--grey-dark);
    line-height: 1.4;
    padding-right: 15px;
    border-right: 2px solid var(--border-color);
}

.live-timeline-item .timeline-meta .timeline-date {
    display: block;
    font-weight: 600;
    color: var(--text-color-dark);
}

.live-timeline-item .timeline-content {
    flex-grow: 1;
}

.live-timeline-item .timeline-title {
    font-size: 1.3em;
    margin-top: 0;
    margin-bottom: 10px;
}

.live-timeline-item .timeline-title a {
    color: var(--text-color-dark);
    font-weight: 600;
}

.live-timeline-item .timeline-title a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.live-timeline-item .timeline-summary {
    font-size: 0.95em;
    color: var(--grey-dark);
    line-height: 1.6;
    margin-bottom: 10px;
}

.live-timeline-item .read-more {
    font-weight: 500;
    font-size: 0.9em;
}

.lives-right-sidebar-v2 {
    padding: 20px 0;
}

.lives-right-sidebar-v2 .ad-block {
    background-color: var(--secondary-color);
    color: #00796b;
    padding: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    background-image: url('images/best_wallet_ad_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    min-height: 120px;
}

.lives-right-sidebar-v2 .ad-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:#e0f2f1;
    z-index: 1;
}

.lives-right-sidebar-v2 .ad-block .ad-text {
    position: relative;
    z-index: 2;
    font-size: 1.1em;
    font-weight: 600;
    line-height: 1.3;
}

.lives-right-sidebar-v2 .ad-block i {
    font-size: 1em;
    position: relative;
    z-index: 2;
    margin-left: auto;
}

.lives-right-sidebar-v2 .recommended-articles {
    background-color: var(--text-color-light);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.lives-right-sidebar-v2 .recommended-articles h3 {
    margin-bottom: 20px;
    font-size: 1.3em;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
    color: var(--text-color-dark);
}

.lives-right-sidebar-v2 .recommended-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed var(--grey-medium);
}

.lives-right-sidebar-v2 .recommended-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.lives-right-sidebar-v2 .recommended-info h4 {
    font-size: 0.95em;
    margin-top: 0;
    margin-bottom: 5px;
    line-height: 1.3;
}

.lives-right-sidebar-v2 .recommended-info h4 a {
    color: var(--text-color-dark);
}

.lives-right-sidebar-v2 .recommended-info h4 a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.lives-right-sidebar-v2 .recommended-info .time-ago {
    font-size: 0.75em;
    color: var(--grey-dark);
}

.card-v2 {
    background-color: var(--text-color-light);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 20px;
}
