.wrap {
    max-width: 920px;
    margin: 40px auto;
    padding: 0 20px 48px;
}

.wrap img {
    max-width: 100%;
    height: auto;
}

/* Learn Hub & Article Styles */
.learn-hub__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Hero */
.learn-hero {
    text-align: center;
    margin-bottom: 40px;
}

.learn-hero h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.learn-hero p {
    max-width: 700px;
    margin: 0 auto 20px;
    opacity: 0.8;
}

/* Sections */
.learn-section {
    margin-top: 40px;
}

.learn-section h2 {
    margin-bottom: 20px;
}

/* Grid */
.learn-grid {
    display: grid;
    gap: 20px;
}

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

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

/* Cards */
.learn-card {
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: border-color 0.2s;
}

.learn-card:hover {
    border-color: #f0b90b;
}

.learn-card h3 {
    margin-bottom: 10px;
}

.learn-card h3 a {
    text-decoration: none;
    color: inherit;
}

.learn-card h3 a:hover {
    color: #f0b90b;
}

.learn-card p {
    margin-bottom: 10px;
    opacity: 0.7;
    font-size: 14px;
}

.learn-card a {
    text-decoration: none;
    color: #f0b90b;
}

.learn-card a:hover {
    text-decoration: underline;
}

.learn-card__link {
    font-weight: bold;
}

/* Article List */
.learn-article-list {
    padding-left: 20px;
}

.learn-article-list li {
    margin-bottom: 8px;
}

.learn-article-list a {
    text-decoration: none;
    color: #f0b90b;
}

.learn-article-list a:hover {
    text-decoration: underline;
}

/* Breadcrumbs */
.learn-breadcrumbs {
    margin-bottom: 24px;
    font-size: 14px;
    opacity: 0.7;
}

.learn-breadcrumbs a {
    text-decoration: none;
    color: #f0b90b;
}

.learn-breadcrumbs a:hover {
    text-decoration: underline;
}

.learn-breadcrumbs__sep {
    margin: 0 8px;
}

/* Article Content */
.learn-article__content {
    margin-bottom: 40px;
    line-height: 1.7;
}

.learn-article__content h1 {
    font-size: 28px;
    margin-bottom: 16px;
}

.learn-article__content h2 {
    font-size: 22px;
    margin-top: 32px;
    margin-bottom: 12px;
}

.learn-article__content p {
    margin-bottom: 16px;
}

.learn-article__content a {
    color: #f0b90b;
}

/* CTA Button — replaces trade links */
.learn-article__cta {
    text-align: center;
    margin: 40px 0;
}

.learn-cta-btn {
    display: inline-block;
    padding: 14px 32px;
    background: #f0b90b;
    color: #0f1923 !important;
    border-radius: 6px;
    text-decoration: none !important;
    font-weight: bold;
    font-size: 16px;
    transition: opacity 0.2s;
}

.learn-cta-btn:hover {
    background: #d79b08;
}

/* Style trade links inside article content as buttons too */
.learn-article__content a[href*="/Trade"],
.learn-article__content a[href*="/trade"] {
    display: inline-block;
    padding: 12px 24px;
    background: #f0b90b;
    color: #0f1923 !important;
    border-radius: 6px;
    text-decoration: none !important;
    font-weight: bold;
    margin-top: 8px;
}

/* Related Articles */
.learn-article__related {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.learn-article__related h3 {
    margin-bottom: 12px;
}

.learn-article__related ul {
    padding-left: 20px;
}

.learn-article__related li {
    margin-bottom: 8px;
}

.learn-article__related a {
    text-decoration: none;
    color: #f0b90b;
}

.learn-article__related a:hover {
    text-decoration: underline;
}

/* Category page */
.learn-category-page h1 {
    margin-bottom: 24px;
}

/* Responsive */
@media (max-width: 992px) {
    .learn-grid--start,
    .learn-grid--hubs {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .learn-grid--start,
    .learn-grid--hubs,
    .learn-grid--articles {
        grid-template-columns: 1fr;
    }

    .learn-hero h1 {
        font-size: 24px;
    }
}
