/* === Page Shell === */
.humidor-tool-page {
    padding-top: 80px;
}

.humidor-tool-hero {
    text-align: center;
    padding: 2.5rem 0 1.5rem;
}

.humidor-tool-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #1a1a1a;
}

.humidor-tool-subtitle {
    font-size: 1rem;
    color: #666;
    margin-bottom: 0;
}

/* === Tool Wrapper === */
.humidor-tool-wrapper {
    padding: 0 0 3rem;
    max-width: 720px;
    margin: 0 auto;
}

/* === Seasonal Timeline === */
.humidor-timeline {
    margin-bottom: 2rem;
}

.humidor-months {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: #888;
    margin-bottom: 0.4rem;
    padding: 0 2px;
}

.humidor-band {
    position: relative;
    display: flex;
    height: 56px;
    border-radius: 10px;
    overflow: hidden;
}

.humidor-segment {
    display: flex;
    align-items: center;
    justify-content: center;
}

.humidor-segment-rh {
    font-size: 0.95rem;
    font-weight: 800;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.humidor-segment--cool {
    background: linear-gradient(135deg, #4a7ab5, #5b8ec4);
}

.humidor-segment--hot {
    background: linear-gradient(135deg, #c0392b, #e05a4f);
}

.humidor-segment--rainy {
    background: linear-gradient(135deg, #27855e, #2ecc71);
}

/* Today marker */
.humidor-today-marker {
    position: absolute;
    top: -4px;
    bottom: -4px;
    width: 2px;
    background: #1a1a1a;
    z-index: 2;
    left: 0; /* positioned by JS */
    transition: left 0.4s ease;
}

.humidor-today-label {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.6rem;
    font-weight: 700;
    background: #1a1a1a;
    color: white;
    padding: 1px 6px;
    border-radius: 3px;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.humidor-season-labels {
    display: flex;
    font-size: 0.65rem;
    color: #666;
    margin-top: 0.3rem;
    text-align: center;
}

.humidor-season-labels > div {
    text-align: center;
}

/* === Live Conditions Nudge === */
.humidor-nudge {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 1.25rem;
    margin-bottom: 2rem;
}

.humidor-nudge-data {
    text-align: center;
    min-width: 75px;
    flex-shrink: 0;
}

.humidor-nudge-temp {
    font-size: 1.75rem;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1;
}

.humidor-nudge-humidity {
    font-size: 0.8rem;
    color: #666;
    margin-top: 0.15rem;
}

.humidor-nudge-updated {
    font-size: 0.65rem;
    color: #aaa;
    margin-top: 0.25rem;
}

.humidor-nudge-divider {
    width: 1px;
    align-self: stretch;
    background: #eee;
    flex-shrink: 0;
}

.humidor-nudge-advice {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #444;
}

.humidor-nudge-advice p {
    margin: 0.25rem 0 0;
}

.humidor-nudge-heading {
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.15rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.humidor-nudge-tag {
    font-size: 0.65rem;
    font-weight: 600;
    padding: 1px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.humidor-nudge-tag--ok {
    background: #d1fae5;
    color: #065f46;
}

.humidor-nudge-tag--alert {
    background: #fef3c7;
    color: #92400e;
}

/* === Section Title === */
.humidor-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #1a1a1a;
}

/* === Boveda Pack Reference === */
.humidor-pack-table {
    margin-bottom: 2rem;
}

.humidor-pack-row {
    display: flex;
    align-items: center;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    margin-bottom: 0.25rem;
    transition: background 0.2s;
}

.humidor-pack-row:nth-child(even) {
    background: #fafafa;
}

.humidor-pack-row.active {
    background: #e8f5e1;
    border: 1px solid #4a8c2a;
    font-weight: 600;
}

.humidor-pack-row.active::after {
    content: 'This season';
    margin-left: auto;
    font-size: 0.7rem;
    color: #3d6b22;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    flex-shrink: 0;
}

.humidor-pack-rh {
    font-weight: 700;
    min-width: 50px;
    color: #1a1a1a;
}

.humidor-pack-use {
    color: #555;
    font-size: 0.95rem;
}

/* === Hygrometer Check Cards === */
.hygro-check {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.hygro-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 1rem 1.25rem;
}

.hygro-pack {
    min-width: 56px;
    text-align: center;
    flex-shrink: 0;
}

.hygro-pack-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1;
}

.hygro-pack-label {
    font-size: 0.6rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.15rem;
}

.hygro-gauge {
    flex: 1;
    min-width: 0;
}

.hygro-bar {
    display: flex;
    height: 36px;
    border-radius: 6px;
    overflow: hidden;
}

.hygro-zone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
}

.hygro-zone-label {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    opacity: 0.85;
}

.hygro-zone-num {
    font-size: 0.75rem;
    font-weight: 800;
}

.hygro-zone--replace {
    background: #fde8e8;
    color: #991b1b;
}

.hygro-zone--watch {
    background: #fef3c7;
    color: #92400e;
}

.hygro-zone--good {
    background: #d1fae5;
    color: #065f46;
}

.hygro-note {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: #666;
    line-height: 1.5;
    padding: 0.75rem 1rem;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
}

.hygro-note-icon {
    flex-shrink: 0;
    font-size: 1rem;
    line-height: 1.4;
}

.hygro-physical {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.25rem;
}

.hygro-physical-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 1rem 0.75rem;
    border-radius: 10px;
    text-align: center;
}

.hygro-physical-card--good {
    background: #d1fae5;
    border: 1px solid #a7f3d0;
}

.hygro-physical-card--bad {
    background: #fde8e8;
    border: 1px solid #fca5a5;
}

.hygro-physical-icon {
    font-size: 1.75rem;
    line-height: 1;
}

.hygro-physical-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: #1a1a1a;
}

.hygro-physical-sub {
    font-size: 0.7rem;
    color: #666;
    line-height: 1.3;
}

@media (max-width: 640px) {
    .hygro-card {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
        padding: 0.85rem 1rem;
    }

    .hygro-pack {
        display: flex;
        align-items: baseline;
        gap: 0.4rem;
        min-width: 0;
    }

    .hygro-pack-num {
        font-size: 1.2rem;
    }

    .hygro-bar {
        height: 32px;
    }

    .hygro-physical {
        flex-direction: column;
    }
}

/* === SEO Content === */
.humidor-tool-content {
    background: #f8f9fa;
    padding: 3rem 0;
    border-top: 1px solid #eee;
}

.humidor-tool-article {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
}

.humidor-tool-article h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: #1a1a1a;
}

.humidor-tool-article h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.humidor-tool-article img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* === Mobile === */
@media (max-width: 640px) {
    .humidor-tool-title {
        font-size: 1.4rem;
    }

    .humidor-tool-hero {
        padding: 1.5rem 0 1rem;
    }

    .humidor-band {
        height: 48px;
    }

    .humidor-segment-rh {
        font-size: 0.8rem;
    }

    .humidor-months {
        font-size: 0.6rem;
    }

    .humidor-nudge {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.75rem;
    }

    .humidor-nudge-divider {
        width: 100%;
        height: 1px;
        align-self: auto;
    }

    .humidor-nudge-heading {
        justify-content: center;
    }

    .humidor-pack-row.active::after {
        font-size: 0.6rem;
    }
}
