/**
 * Crypto Noticias PRO Styles
 * Page template: Crypto Noticias PRO
 */

:root {
    --crypto-orange: #f7931a;
    --crypto-blue: #3c3c3d;
    --crypto-gold: #ffb119;
    --crypto-green: #27ae60;
    --crypto-dark: #1a1a1a;
    --crypto-gray: #f4f4f4;
    --crypto-border: #e1e1e1;
    --crypto-text: #333;
}

.crypto-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Open Sans', sans-serif;
    color: var(--crypto-text);
}

/* SECTION TITLE */
.section-title {
    border-bottom: 2px solid var(--crypto-dark);
    margin-bottom: 25px;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
}

.section-title h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
}

/* HERO SECTION */
.crypto-page .hero-header {
    text-align: center;
    margin-bottom: 40px;
}

.crypto-page .hero-header h1 {
    font-size: 36px;
    margin-bottom: 10px;
    color: var(--crypto-dark);
}

.crypto-page .hero-header p {
    font-size: 18px;
    color: #666;
}

.hero-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

.hero-feature {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.hero-thumbnail img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.hero-feature:hover .hero-thumbnail img {
    transform: scale(1.05);
}

.hero-content {
    padding: 25px;
    background: #fff;
}

.hero-meta {
    margin-bottom: 10px;
}

.hero-meta a {
    color: var(--crypto-orange);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    text-decoration: none;
}

.hero-content h2 {
    font-size: 28px;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-content h2 a {
    color: var(--crypto-dark);
    text-decoration: none;
}

.hero-content h2 a:hover {
    color: var(--crypto-orange);
}

.hero-time {
    color: #999;
    font-size: 13px;
    margin-bottom: 15px;
}

.hero-excerpt p {
    color: #555;
    line-height: 1.6;
}

/* HERO SIDEBAR */
.hero-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-secondary-item {
    display: flex;
    gap: 15px;
    background: #fff;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: background 0.2s ease;
}

.hero-secondary-item:hover {
    background: var(--crypto-gray);
}

.hero-secondary-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
}

.hero-secondary-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.hero-secondary-info h3 {
    font-size: 16px;
    margin: 0 0 5px 0;
    line-height: 1.3;
}

.hero-secondary-info h3 a {
    color: var(--crypto-dark);
    text-decoration: none;
}

.hero-secondary-info h3 a:hover {
    color: var(--crypto-orange);
}

.hero-secondary-info time {
    color: #999;
    font-size: 12px;
}

/* AD SECTION */
.ad-section {
    background: var(--crypto-gray);
    padding: 30px;
    text-align: center;
    margin-bottom: 50px;
    border: 1px dashed var(--crypto-border);
}

.ad-block {
    display: inline-block;
    padding: 40px;
    color: #999;
}

/* LATEST NEWS */
.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.news-card {
    display: flex;
    gap: 20px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-card-thumb {
    flex-shrink: 0;
    width: 200px;
}

.news-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card-content {
    padding: 15px 15px 15px 0;
}

.news-card-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.news-card-content h3 a {
    color: var(--crypto-dark);
    text-decoration: none;
}

.news-card-content time {
    color: #999;
    font-size: 12px;
    display: block;
    margin-bottom: 10px;
}

.news-card-excerpt p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* PAGINATION */
.pagination {
    text-align: center;
    margin-top: 40px;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 4px;
    background: #fff;
    border: 1px solid var(--crypto-border);
    color: var(--crypto-dark);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.pagination .page-numbers.current {
    background: var(--crypto-orange);
    color: #fff;
    border-color: var(--crypto-orange);
}

.pagination .page-numbers:hover:not(.current) {
    background: var(--crypto-gray);
}

/* MARKET TRENDS */
.trend-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.trend-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.trend-thumb img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.trend-info {
    padding: 15px;
}

.trend-info h4 {
    font-size: 15px;
    margin: 0;
    line-height: 1.4;
}

.trend-info h4 a {
    color: var(--crypto-dark);
    text-decoration: none;
}

/* LATAM COUNTRIES */
.latam-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.country-card {
    background: var(--crypto-gray);
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    border-top: 4px solid var(--crypto-orange);
}

.country-card h3 {
    margin-bottom: 15px;
    color: var(--crypto-dark);
}

.country-card p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.btn-link {
    color: var(--crypto-orange);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
}

/* ACADEMY */
.academy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.academy-card {
    background: var(--crypto-dark);
    color: #fff;
    padding: 40px 20px;
    text-align: center;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.academy-card:hover {
    transform: translateY(-5px);
    background: #333;
}

.academy-icon {
    font-size: 40px;
}

.academy-card span {
    font-size: 20px;
    font-weight: 700;
}

/* CTA BLOCK */
.cta-block {
    background: linear-gradient(135deg, var(--crypto-orange), var(--crypto-gold));
    padding: 60px 20px;
    text-align: center;
    border-radius: 12px;
    color: #fff;
}

.cta-content h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 30px;
}

.btn-cta {
    display: inline-block;
    background: #fff;
    color: var(--crypto-orange);
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: background 0.2s ease;
}

.btn-cta:hover {
    background: var(--crypto-gray);
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .hero-container, .news-grid, .trend-grid, .latam-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-container, .news-grid, .trend-grid, .latam-grid, .academy-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-header h1 {
        font-size: 28px;
    }
    
    .news-card {
        flex-direction: column;
    }
    
    .news-card-thumb {
        width: 100%;
    }
}

/* FOOTER CUSTOMIZATION */
.site-footer {
    background-color: var(--crypto-dark);
    color: #fff;
    padding: 40px 0;
    text-align: center;
    margin-top: 50px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-info p {
    margin: 0;
    font-size: 14px;
    color: #bbb;
}
