/**
 * Cloud Types Infographic
 * Page-specific styles for the SVG altitude diagram + trilingual table.
 */

.cloud-types-infographic {
    display: block;
}

/* SVG chart card */
.cloud-types-chart-card {
    background: rgba(255,255,255,.9);
    border: 1px solid var(--line, #dbe4ee);
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(15,23,42,.08);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.cloud-types-chart-card svg {
    width: 100%;
    height: auto;
    display: block;
}

/* Altitude tier grid */
.cloud-types-tier-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.cloud-types-tier {
    background: #ffffff;
    border: 1px solid var(--line, #dbe4ee);
    border-radius: 16px;
    padding: 1.125rem;
}

.cloud-types-tier h2 {
    margin: 0 0 0.25rem;
    font-size: 1.08rem;
}

.cloud-types-tier__altitude {
    display: inline-block;
    font-size: 0.82rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.cloud-types-tier p {
    margin: 0;
    color: #64748b;
    font-size: 0.94rem;
}

.cloud-types-tier--high  { border-left: 4px solid #1e3a8a; }
.cloud-types-tier--mid   { border-left: 4px solid #3b82f6; }
.cloud-types-tier--low   { border-left: 4px solid #93c5fd; }
.cloud-types-tier--vertical { border-left: 4px solid #475569; }

/* Table card */
.cloud-types-table-card {
    background: rgba(255,255,255,.9);
    border: 1px solid var(--line, #dbe4ee);
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(15,23,42,.08);
    padding: 1.375rem;
}

.cloud-types-table-card h2 {
    margin: 0 0 0.75rem;
    font-size: 1.15rem;
}

.cloud-types-table-wrap {
    overflow-x: auto;
}

.cloud-types-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.cloud-types-table th,
.cloud-types-table td {
    border-bottom: 1px solid var(--line, #dbe4ee);
    padding: 0.75rem 0.625rem;
    vertical-align: top;
    text-align: left;
}

.cloud-types-table th {
    background: #f1f5f9;
    font-weight: 700;
}

.cloud-types-table tr:last-child td {
    border-bottom: none;
}

.cloud-types-table__jp {
    font-weight: 700;
}

.cloud-types-table__mn a {
    color: #92400e;
    text-decoration: none;
}

.cloud-types-table__mn a:hover {
    text-decoration: underline;
}

.cloud-types-table__en {
    color: #334155;
    font-style: italic;
}

@media (max-width: 640px) {
    .cloud-types-tier-grid {
        grid-template-columns: 1fr;
    }
}