/* Specific Styles for Temperature Page */
.temp-hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.temp-hero-content {
    flex: 1 1 40rem;
    /* Increased from 31.25rem to give text more horizontal space */
}

/* Override the global text-wrap: balance to prevent premature line breaks on this layout */
.temp-hero-content #hero-title {
    text-wrap: wrap;
}

.temp-hero-image {
    flex: 1 1 20rem;
    /* Reduced flex basis */
    display: flex;
    justify-content: center;
}

.temp-hero-image img {
    width: 100%;
    max-width: 18rem;
    /* Scaled down further */
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.temp-hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: var(--header-gap);
    color: var(--text-white);
}

.temp-hero-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: var(--subtitle-gap);
}

.temp-hero-supporting {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: var(--subtitle-gap);
}



.problem-container {
    text-align: left;
}

.problem-text-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--element-gap);
}

.problem-text-content p {
    max-width: 100% !important;
    /* Override global 70ch to span full width */
    margin-bottom: 0 !important;
    /* Rely purely on gap for vertical rhythm */
}

.standalone-diagram {
    max-width: 62.5rem;
    width: 100%;
    height: auto;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin: 0 auto;
    display: block;
}

main .probe-images-container,
section .probe-images-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7.5rem;
    width: 100%;
    margin-top: var(--subtitle-gap);
}

.probe-image-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--element-gap);
    transition: all 0.3s ease;
}

.probe-image-wrapper img.probe-image {
    width: 17.5rem;
    height: auto;
    max-width: none;
    object-fit: contain;
    transition: all 0.3s ease;
    will-change: filter;
}

.probe-image-wrapper:hover {
    transform: translateY(-5px);
}

.probe-label {
    font-weight: bold;
    color: var(--bg-white);
}

.sensor-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--element-gap);
}

.sensor-feature-card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.sensor-feature-card h4 {
    color: var(--text-primary);
    font-weight: 700;
    margin: 0;
    margin-bottom: var(--card-header-gap);
    font-size: 1.25rem;
}

.sensor-feature-card p {
    color: var(--text-primary);
    margin: 0;
    line-height: 1.5;
    font-size: 1rem;
}

.sensor-feature-icon {
    color: var(--accent-color, var(--color-success));
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.equipment-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
}

.equipment-tag {
    background-color: var(--color-success);
    color: var(--accent-color, var(--color-success));
    padding: 0.25rem 0.625rem;
    border-radius: 1.25rem;
    font-size: 0.85rem;
    font-weight: 500;
}

.what-can-do-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.what-can-do-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: var(--bg-white);
    font-size: 1.1rem;
    line-height: 1.5;
}

.what-can-do-list .check-icon {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    color: var(--accent-color, var(--color-success));
    margin-top: 0.125rem;
}

@media (max-width: 768px) {
    .sensor-features-grid {
        grid-template-columns: 1fr;
    }
}



.probe-images {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.probe-images img {
    max-height: 7.5rem;
    object-fit: contain;
}



/* --- BASELINE CALIBRATION (architecture.md) --- */
p {
    max-width: 70ch;
}

.kicker {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
}

.sensor-feature-card h4 {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
}

.solution-card h3 {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
}

@media (min-width: 768px) and (max-width: 1024px) {

    .temp-hero-container,
    .probe-images-container {
        flex-direction: column !important;
        max-width: 37.5rem;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {

    .btn,
    .btn-primary {
        width: 100% !important;
        padding-top: 0.875rem !important;
        padding-bottom: 0.875rem !important;
    }

    .sensor-features-grid,
    .risks-grid,
    .solution-grid,
    .capabilities-grid,
    .probe-images-container {
        display: flex !important;
        flex-direction: column !important;
    }

    .temp-hero-container {
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: center !important;
        gap: 0 !important; /* Rely on specific margins below */
        height: auto !important;
        min-height: auto !important;
    }

    .temp-hero-content {
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        width: 100% !important;
        flex: none !important;
        margin: 0 !important;
        margin-top: 1rem !important; /* Reduced for closer top alignment */
    }

    .temp-hero-content h1,
    .temp-hero-content #hero-title {
        line-height: 1.15 !important;
        margin-bottom: 0.75rem !important;
    }

    .temp-hero-content p {
        margin-bottom: 1rem !important; /* Paragraph separation */
    }

    .temp-hero-image {
        margin: 0 !important;
        margin-top: 2rem !important; /* Larger top margin to separate from text */
        flex: none !important;
    }

    .temp-hero-image img {
        max-height: 45vh !important;
        width: auto !important;
        object-fit: contain !important;
        margin: 0 auto !important;
    }

    /* Kill Forced Height on the Hero Wrapper and add healthy padding to clear the absolute header */
    main.snap-container > section.snap-section:first-of-type {
        height: auto !important;
        min-height: auto !important;
        padding-top: 7rem !important; 
        padding-bottom: 2rem !important;
    }

    .equipment-tag {
        font-size: 1rem !important;
    }
}

/* Solution Section Styles */
.solution-title {
    color: var(--color-brand-primary);
    text-align: left;
    margin-bottom: var(--header-gap);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
}

.solution-subtitle {
    color: var(--bg-white);
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: left;
    margin-bottom: var(--subtitle-gap);
    max-width: 100%;
}