/* ========================================
   V2 LAYOUT REFINEMENTS
   Layered overrides — keeps all base components intact
   ======================================== */

/* 1. Reduce top whitespace in content area */
.content {
    padding-top: 0;
}

/* 2. Guide blocks: full-bleed instead of box-in-a-box
   Uses negative margins like section-header and micro-content already do.
   Removes side borders so it reads as a page section, not a nested card. */
.guide-block {
    margin-left: -16px;
    margin-right: -16px;
    border-left: none;
    border-right: none;
    border-top: 3px solid #000;
    border-bottom: 3px solid #000;
    padding: 24px 16px;
    margin-top: 24px;
    margin-bottom: 24px;
}

/* First guide-block: butt right up against the issue info bar */
.guide-block:first-child {
    margin-top: 0;
    border-top: none;
}

/* 3. Tighten list items inside guide blocks */
.guide-block .list-item {
    padding: 6px 0;
}

/* 4. Pull quote: tighter vertical margin */
.pull-quote {
    margin: 24px 0 16px 0;
}

/* 5. Article spacing: slightly less generous */
.article,
.interview,
.article-with-sidebar,
.article-with-photo,
.advice-column {
    margin-top: 24px;
    margin-bottom: 24px;
}

/* 6. Image blocks get the same grey bottom separator other content types use,
   so ads/images don't bleed into the next article */
.image-block {
    border-bottom: 1px solid #ddd;
    padding-bottom: 24px;
}

/* 7. Image blocks: tighter margins */
.image-block {
    margin: 24px 0;
}

/* 7. Experimental text: tighter top margin */
.experimental-text {
    margin: 24px 0 16px 0;
}

/* 8. Section headers: reduce top gap */
.section-header {
    margin-top: 12px;
}

/* 9. Ranked list — bold numbered grid component */
.ranked-list {
    margin: 24px 0;
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
}

.ranked-list .headline {
    margin-bottom: 16px;
}

.ranked-item {
    display: flex;
    border: 2px solid #000;
    border-bottom: none;
}

.ranked-item:last-child {
    border-bottom: 2px solid #000;
}

.ranked-number {
    font-size: 32px;
    font-weight: 700;
    min-width: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 2px solid #000;
    background: #000;
    color: white;
    flex-shrink: 0;
}

.ranked-text {
    font-size: 16px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
}

.ranked-item-winner {
    background: #f0f0f0;
}

.ranked-item-winner .ranked-text {
    font-weight: 700;
}

/* 10. Weather icons row */
.weather-icons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 10px;
    opacity: 0.5;
}

/* 11. Standalone quotation — inverted block with watermark quote mark */
.standalone-quote {
    background: #000;
    color: white;
    padding: 40px 24px 28px 24px;
    margin: 24px -16px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.standalone-quote::before {
    content: '\201C';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 160px;
    font-weight: 700;
    color: white;
    opacity: 0.08;
    line-height: 1;
    pointer-events: none;
}

.standalone-quote-text {
    font-size: 20px;
    font-weight: 700;
    font-style: italic;
    line-height: 1.5;
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.standalone-quote-author {
    font-size: 14px;
    margin-top: 16px;
    opacity: 0.6;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
}

/* 12. Mobile adjustments */
@media (max-width: 500px) {
    .content {
        padding-top: 0;
    }
}
