/* ========================================
   MONERO WEEKLY ROUNDUP STYLES
   Adapted for monero.how dark theme (#353535)
   Add to main monero.how CSS file
   ======================================== */

/* ----------------------------------------
   COLOR PALETTE (for reference)
   Background:       #353535
   Card background:  #2e2e2e
   Elevated card:    #3d3d3d
   Border default:   #4a4a4a
   Border accent:    #f26822  (Monero orange)
   Text primary:     #f0f0f0
   Text secondary:   #b0b0b0
   Text muted:       #888888
   Link color:       #f0a070
   Link hover:       #f26822
   ---------------------------------------- */


/* ========================================
   SHARED / TYPOGRAPHY
   ======================================== */

.roundup-landing a,
.roundup-issue a {
    color: #f0a070;
    text-decoration: underline;
    text-decoration-color: rgba(240, 160, 112, 0.4);
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.roundup-landing a:hover,
.roundup-issue a:hover {
    color: #f26822;
    text-decoration-color: #f26822;
}

.roundup-landing hr,
.roundup-issue hr {
    border: none;
    border-top: 1px solid #4a4a4a;
    margin: 40px 0;
}


/* ========================================
   LANDING PAGE — .roundup-landing
   ======================================== */

.roundup-landing {
    max-width: 900px;
    margin: 0 auto;
    color: #f0f0f0;
}

/* Page header */
.roundup-landing .page-header {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid #4a4a4a;
}

.roundup-landing .page-header h1 {
    font-size: 40px;
    font-weight: bold;
    color: #f0f0f0;
    margin-bottom: 10px;
}

.roundup-landing .page-header .subtitle {
    font-size: 19px;
    color: #f26822;
    margin-bottom: 18px;
    font-style: italic;
}

.roundup-landing .page-header .description {
    font-size: 16px;
    color: #b0b0b0;
    line-height: 1.8;
    max-width: 680px;
    margin: 0 auto;
}

/* Section headings */
.roundup-landing h2 {
    font-size: 26px;
    font-weight: bold;
    color: #f0f0f0;
    margin-bottom: 22px;
    padding-bottom: 10px;
    border-bottom: 1px solid #4a4a4a;
}

/* Latest issue section */
.roundup-landing .latest-issue {
    margin-bottom: 55px;
}

/* All issues section */
.roundup-landing .past-issues {
    margin-bottom: 55px;
}

/* Issue cards */
.roundup-landing .issue-card {
    background: #2e2e2e;
    border: 1px solid #4a4a4a;
    padding: 24px 28px;
    margin-bottom: 16px;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.roundup-landing .issue-card:hover {
    border-color: #f26822;
    background: #333333;
}

.roundup-landing .issue-card.featured {
    background: #3d3d3d;
    border: 2px solid #f26822;
    padding: 28px 32px;
}

.roundup-landing .issue-header h3 {
    font-size: 20px;
    margin-bottom: 4px;
}

.roundup-landing .issue-header h3 a {
    color: #f0f0f0;
    text-decoration: none;
    font-weight: bold;
}

.roundup-landing .issue-header h3 a:hover {
    color: #f26822;
    text-decoration: none;
}

.roundup-landing .issue-date {
    font-size: 13px;
    color: #888;
    margin-bottom: 12px;
}

.roundup-landing .issue-summary {
    font-size: 15px;
    line-height: 1.75;
    color: #b0b0b0;
    margin-bottom: 16px;
}

.roundup-landing .read-more {
    display: inline-block;
    color: #f26822;
    font-weight: bold;
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid rgba(242, 104, 34, 0.4);
    padding-bottom: 2px;
    transition: border-color 0.2s ease;
}

.roundup-landing .read-more:hover {
    border-bottom-color: #f26822;
}

/* What to Expect grid */
.roundup-landing .roundup-info {
    margin-bottom: 55px;
}

.roundup-landing .info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.roundup-landing .info-item {
    background: #2e2e2e;
    border: 1px solid #4a4a4a;
    padding: 20px 22px;
}

.roundup-landing .info-item h3 {
    font-size: 16px;
    font-weight: bold;
    color: #f0a070;
    margin-bottom: 8px;
    border: none;
    padding: 0;
}

.roundup-landing .info-item p {
    font-size: 14px;
    color: #999;
    line-height: 1.6;
    margin: 0;
}

/* Stay Updated */
.roundup-landing .subscribe-info {
    background: #2e2e2e;
    border: 1px solid #4a4a4a;
    padding: 36px 40px;
    text-align: center;
    margin-bottom: 40px;
}

.roundup-landing .subscribe-info h2 {
    border: none;
    padding: 0;
    margin-bottom: 12px;
    font-size: 22px;
}

.roundup-landing .subscribe-info p {
    font-size: 15px;
    color: #999;
    line-height: 1.7;
}


/* ========================================
   ISSUE PAGES — .roundup-issue
   ======================================== */

.roundup-issue {
    max-width: 800px;
    margin: 0 auto;
    color: #f0f0f0;
}

/* Back link */
.roundup-issue .roundup-back-link {
    margin-bottom: 24px;
}

.roundup-issue .roundup-back-link a {
    color: #888;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.roundup-issue .roundup-back-link a:hover {
    color: #f26822;
}

/* Issue header */
.roundup-issue .roundup-header {
    margin-bottom: 36px;
}

.roundup-issue .roundup-header h1 {
    font-size: 34px;
    font-weight: bold;
    color: #f0f0f0;
    line-height: 1.25;
    margin-bottom: 10px;
}

.roundup-issue .roundup-date {
    font-size: 13px;
    color: #888;
}

/* Editor's Note */
.roundup-issue .editor-note {
    background: #2e2e2e;
    border-left: 4px solid #f26822;
    padding: 22px 26px;
    margin-bottom: 40px;
}

.roundup-issue .editor-note h2 {
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #f26822;
    margin-bottom: 12px;
    border: none;
    padding: 0;
}

.roundup-issue .editor-note p {
    font-size: 16px;
    color: #c8c8c8;
    line-height: 1.8;
    margin: 0;
}

/* Sections */
.roundup-issue .roundup-section {
    margin-bottom: 52px;
}

.roundup-issue .roundup-section h2 {
    font-size: 22px;
    font-weight: bold;
    color: #f0f0f0;
    margin-bottom: 22px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f26822;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Update items */
.roundup-issue .update-item {
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid #404040;
}

.roundup-issue .update-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.roundup-issue .update-item h3 {
    font-size: 18px;
    font-weight: bold;
    color: #f0f0f0;
    margin-bottom: 10px;
    line-height: 1.35;
}

.roundup-issue .update-item p {
    font-size: 15px;
    line-height: 1.85;
    color: #b8b8b8;
    margin: 0;
}

/* Inline links within update items */
.roundup-issue .update-item a {
    color: #f0a070;
    text-decoration: underline;
    text-decoration-color: rgba(240, 160, 112, 0.35);
}

.roundup-issue .update-item a:hover {
    color: #f26822;
    text-decoration-color: #f26822;
}

/* Looking Ahead section (no dividers needed) */
.roundup-issue .roundup-section:last-of-type .update-item {
    border-bottom: none;
}

/* Issue footer */
.roundup-issue .roundup-footer {
    background: #2e2e2e;
    border: 1px solid #4a4a4a;
    padding: 28px 32px;
    text-align: center;
    margin-top: 50px;
}

.roundup-issue .roundup-footer p {
    font-size: 14px;
    color: #999;
    margin-bottom: 8px;
}

.roundup-issue .roundup-footer p:last-child {
    margin-bottom: 0;
}

.roundup-issue .roundup-footer strong {
    color: #c8c8c8;
}

/* Issue navigation */
.roundup-issue .roundup-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid #4a4a4a;
    gap: 12px;
}

.roundup-issue .roundup-navigation a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    padding: 10px 18px;
    border: 1px solid #4a4a4a;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.roundup-issue .roundup-navigation a:hover {
    color: #f26822;
    border-color: #f26822;
    background: rgba(242, 104, 34, 0.06);
}

.roundup-issue .nav-index {
    color: #888 !important;
    border-color: #3d3d3d !important;
    font-weight: normal !important;
}

.roundup-issue .nav-index:hover {
    color: #f26822 !important;
    border-color: #f26822 !important;
    background: rgba(242, 104, 34, 0.06) !important;
}


/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {

    .roundup-landing .page-header h1 {
        font-size: 30px;
    }

    .roundup-landing .info-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .roundup-landing .subscribe-info {
        padding: 28px 22px;
    }

    .roundup-issue .roundup-header h1 {
        font-size: 26px;
    }

    .roundup-issue .roundup-section h2 {
        font-size: 18px;
    }

    .roundup-issue .editor-note {
        padding: 18px 20px;
    }

    .roundup-issue .roundup-navigation {
        flex-direction: column;
        align-items: stretch;
    }

    .roundup-issue .roundup-navigation a {
        text-align: center;
        width: 100%;
    }
}
