/* ═══════════════════════════════════════════════════════════
   IJS Website - ESG & Sustainability Styles
   ESG cards, sustainability data, ESG content pages
   ═══════════════════════════════════════════════════════════ */

/* ── ESG Section ── */
.esg-card {
    padding: var(--space-5);
    border-radius: var(--radius-xl);
    background: white;
    border: 1px solid var(--ijs-border-light);
    transition: all var(--transition-normal);
}

.esg-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--ijs-primary-light);
}

.esg-card-icon {
    width: 40px;
    height: 40px;
    margin-bottom: var(--space-3);
}

.esg-card-title {
    font-size: var(--text-lg);
    font-weight: var(--weight-semibold);
    margin-bottom: var(--space-2);
}

.esg-card-desc {
    font-size: var(--text-sm);
    color: var(--ijs-text-light);
    line-height: var(--leading-relaxed);
}

/* ── ESG Sustainability ── */
.esg-section {
    margin-bottom: var(--space-12);
    padding: var(--space-8);
    background: white;
    border-radius: var(--radius-xl);
    border: 1px solid var(--ijs-border-light);
}
.esg-section-header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding-left: var(--space-4);
    margin-bottom: var(--space-6);
}
.esg-section-header h3 {
    font-size: var(--text-2xl);
    font-weight: var(--weight-bold);
}
.esg-year-label {
    font-size: var(--text-sm);
    color: var(--ijs-text-light);
    margin-bottom: var(--space-4);
}
.esg-description {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--ijs-text);
    margin-bottom: var(--space-6);
}
.esg-economy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-6);
}
.esg-data-card {
    padding: var(--space-5);
    border: 1px solid var(--ijs-border-light);
    border-radius: var(--radius-lg);
    background: var(--ijs-bg-subtle);
}
.esg-data-card-title {
    font-size: var(--text-lg);
    font-weight: var(--weight-semibold);
    margin-bottom: var(--space-2);
}
.esg-data-card-total {
    font-size: var(--text-2xl);
    font-weight: var(--weight-bold);
    margin-bottom: var(--space-1);
}
.esg-data-unit-label {
    font-size: var(--text-xs);
    color: var(--ijs-text-light);
    margin-bottom: var(--space-3);
}
.esg-bar-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.esg-bar-row {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}
.esg-bar-year {
    font-size: var(--text-xs);
    color: var(--ijs-text-light);
    min-width: 36px;
}
.esg-bar-track {
    flex: 1;
    height: 16px;
    background: #f1f5f9;
    border-radius: 8px;
    overflow: hidden;
}
.esg-bar-fill {
    height: 100%;
    border-radius: 8px;
    transition: width 1s ease;
}
.esg-bar-value {
    font-size: var(--text-xs);
    font-weight: var(--weight-semibold);
    min-width: 48px;
    text-align: right;
}
.esg-chart-section,
.esg-table-section {
    margin-top: var(--space-6);
}
.esg-chart-title {
    font-size: var(--text-lg);
    font-weight: var(--weight-semibold);
    margin-bottom: var(--space-4);
}
.esg-bar-chart {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: var(--space-6);
    height: 220px;
    padding: var(--space-4) 0;
}
.esg-chart-bar-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
}
.esg-chart-bar-container {
    width: 60px;
    height: 180px;
    display: flex;
    align-items: flex-end;
}
.esg-chart-bar {
    width: 100%;
    border-radius: 6px 6px 0 0;
    position: relative;
    min-height: 4px;
    transition: height 1s ease;
}
.esg-chart-bar-value {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: var(--text-xs);
    font-weight: var(--weight-semibold);
    white-space: nowrap;
}
.esg-chart-bar-label {
    font-size: var(--text-xs);
    color: var(--ijs-text-light);
}
.esg-table {
    width: 100%;
    border-collapse: collapse;
}
.esg-table th,
.esg-table td {
    padding: var(--space-3) var(--space-4);
    border: 1px solid var(--ijs-border-light);
    text-align: center;
    font-size: var(--text-sm);
}
.esg-table th {
    background: var(--ijs-bg-subtle);
    font-weight: var(--weight-semibold);
}
.esg-table td:first-child {
    text-align: left;
}

/* ── ESG Content (governance/ethics/environment/social pages) ── */
.esg-content-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10);
    align-items: start;
}

.esg-content-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.esg-content-image img {
    width: 100%;
    height: auto;
    display: block;
}

.esg-content-text {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
}

.esg-content-text h3 {
    font-size: var(--text-xl);
    font-weight: var(--weight-semibold);
    margin: var(--space-6) 0 var(--space-3);
}

.esg-content-text ul {
    padding-left: var(--space-5);
    margin: var(--space-3) 0;
}

.esg-content-text li {
    margin-bottom: var(--space-2);
}

.esg-content-text p {
    margin-bottom: var(--space-4);
    color: var(--ijs-text-secondary);
}

/* ── ESG Content Reverse (image right, text left) ── */
.esg-content-reverse {
    direction: rtl;
}
.esg-content-reverse > * {
    direction: ltr;
}

/* ── ESG Section Heading ── */
.esg-section-heading {
    font-size: var(--text-2xl);
    font-weight: var(--weight-bold);
    text-align: center;
    margin-bottom: var(--space-8);
    color: var(--ijs-text);
}

/* ── ESG Cards ── */
.esg-card-grid {
    margin-top: var(--space-2);
}

.esg-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-5);
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.esg-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.esg-card-icon {
    font-size: 2rem;
    color: var(--ijs-primary);
    margin-bottom: var(--space-2);
}

.esg-card h4 {
    font-size: var(--text-base);
    font-weight: var(--weight-semibold);
    margin-bottom: var(--space-2);
    color: var(--ijs-text);
}

.esg-card p {
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    color: var(--ijs-text-muted);
}

/* ── ESG Social Layout ── */
.esg-pillar-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
}

.esg-pillar-list li {
    display: flex;
    gap: var(--space-4);
    align-items: flex-start;
}

.esg-pillar-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--ijs-primary-light, #e0f2fe);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--ijs-primary);
}

.esg-pillar-list h4 {
    font-size: var(--text-base);
    font-weight: var(--weight-semibold);
    margin-bottom: var(--space-1);
    color: var(--ijs-text);
}

.esg-pillar-list p {
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    color: var(--ijs-text-muted);
}

.esg-social-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin-top: var(--space-10);
}

.esg-social-images img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

@media (max-width: 768px) {
    .esg-pillar-list {
        grid-template-columns: 1fr;
    }
    .esg-social-images {
        grid-template-columns: 1fr;
        gap: var(--space-4);
        margin-top: var(--space-6);
    }
}

/* ── ESG Closing Statement ── */
.esg-closing {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-6) 0;
}

.esg-closing p {
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
    color: var(--ijs-text-secondary);
}

/* ── Charter Content ── */
.charter-content {
    max-width: 800px;
    margin: 0 auto;
}

.charter-content p {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--ijs-text-secondary);
}

.charter-list {
    list-style: none;
    padding: 0;
}

.charter-list li {
    position: relative;
    padding: var(--space-4) var(--space-4) var(--space-4) var(--space-8);
    margin-bottom: var(--space-3);
    background: white;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--ijs-primary);
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--ijs-text-secondary);
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

/* ── ESG Policy Download ── */
.policy-section {
    margin-bottom: var(--space-10);
}

.policy-section-title {
    font-size: var(--text-xl);
    font-weight: var(--weight-bold);
    color: var(--ijs-dark);
    margin-bottom: var(--space-4);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding-bottom: var(--space-3);
    border-bottom: 2px solid var(--ijs-border);
}

.policy-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.policy-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4) var(--space-5);
    background: var(--ijs-bg-gray);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.policy-item:hover {
    background: var(--ijs-bg-subtle);
    box-shadow: var(--shadow-sm);
}

.policy-item-title {
    font-size: var(--text-base);
    font-weight: var(--weight-medium);
    color: var(--ijs-dark);
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

/* ── ESG Charter (detail) ── */
.charter-text {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--ijs-text);
}

.charter-text h3 {
    font-size: var(--text-xl);
    font-weight: var(--weight-bold);
    margin: var(--space-8) 0 var(--space-4);
    color: var(--ijs-dark);
}

.charter-text p {
    margin-bottom: var(--space-4);
}

.charter-text ul,
.charter-text ol {
    padding-left: var(--space-5);
    margin: var(--space-3) 0;
}

.charter-text li {
    margin-bottom: var(--space-2);
    list-style: disc;
}

/* ── ESG Cyber Report ── */
.cyber-notice {
    padding: var(--space-5);
    background: var(--ijs-bg-gray);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-8);
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    color: var(--ijs-text-light);
}

.cyber-form {
    max-width: 800px;
    margin: 0 auto;
}

/* ── ESG Data Grid (sustainability) ── */
.esg-data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-6);
}
