/* Project Page Specific Styles */
/* 
 * This CSS file uses variables defined in styles.css
 * Make sure styles.css is loaded before this file
 */

/* Article Title Section */
.article-title {
    display: flex;
    flex-direction: column;
    gap: var(--space-small);
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0;
    box-sizing: border-box;
    line-height: 0;
    text-align: left;
}

.article-main-title {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: var(--text-hero);
    color: var(--text-dark);
    width: 100%;
    letter-spacing: -1.28px;
    line-height: normal;
}

.article-main-title p {
    margin: 0;
    line-height: normal;
    display: block;
}

.article-subtitle {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: var(--text-heading);
    color: var(--text-gray);
    width: 100%;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.article-subtitle p {
    margin: 0;
    line-height: 1.5;
    display: block;
}

/* Hero Image */
.hero-image {
    width: 100%;
    background-color: #c4c4c4;
    margin: 0;
    flex-shrink: 0;
    overflow: hidden;
}

.hero-image video {
    width: 100%;
    height: auto;
    display: block;
}

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

/* Project Cards Row */
.project-cards-row {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    justify-content: center;
    padding: 0 150px;
    width: 100%;
    box-sizing: border-box;
}

.project-cards {
    display: flex;
    flex-direction: row;
    gap: 20.026px;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-height: 1px;
    min-width: 1px;
    padding: 0;
    box-sizing: border-box;
    flex-basis: 0;
    flex-grow: 1;
}

.project-card-wrapper {
    display: flex;
    flex-direction: row;
    flex-basis: 0;
    flex-grow: 1;
    align-items: center;
    align-self: stretch;
    flex-shrink: 0;
}

.project-meta-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    align-self: stretch;
}

.project-card {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
    justify-content: center;
    min-height: 1px;
    min-width: 1px;
    padding: var(--pad-project);
    border: 0.8px solid #bfb79f;
    border-radius: 6.5px;
    box-sizing: border-box;
    flex-basis: 0;
    flex-grow: 1;
    height: 100%;
    flex-shrink: 0;
    position: relative;
}

.project-meta-card {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
    justify-content: center;
    height: 100%;
    padding: 0 58.777px;
    border: 0.8px solid #bfb79f;
    border-radius: 6.5px;
    box-sizing: border-box;
    flex-shrink: 0;
}

.project-meta-card .project-card-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
    line-height: 0;
    text-align: left;
}

.project-card-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
    line-height: 0;
    text-align: left;
}

.project-card-title {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 24px;
    color: #1e1e1e;
    letter-spacing: -0.48px;
    line-height: 1.2;
    width: 100%;
}

.project-card-title p {
    margin: 0;
    line-height: 1.2;
    display: block;
}

.project-card-description {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: var(--font-size-medium);
    color: #757575;
    line-height: 1.4;
    width: 100%;
}

.project-card-description p {
    margin: 0;
    line-height: 1.4;
    display: block;
}

/* Impact Columns */
.project-impact-columns {
    display: flex;
    flex-direction: row;
    column-gap: 72px;
    row-gap: 0;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: var(--font-size-medium);
    color: #757575;
    line-height: 0;
    text-align: left;
    white-space: nowrap;
}

.impact-column {
    flex-shrink: 0;
}

.impact-column ul {
    margin: 0;
    padding: 0;
    list-style: disc;
    padding-left: 30px;
}

.impact-column li {
    margin-bottom: 0;
    line-height: 1.4;
}

.impact-column li span {
    line-height: 1.4;
}

.impact-column li:last-child {
    margin-bottom: 0;
}

/* Content Sections */
.content-section {
    display: flex;
    flex-direction: column;
    gap: 14.419px;
    align-items: center;
    justify-content: center;
    padding: 0 150px;
    width: 100%;
    box-sizing: border-box;
    color: var(--color-text-primary);
    line-height: 0;
    text-align: left;
}

.content-section-title {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 24px;
    color: var(--color-text-primary);
    line-height: 1.4;
    width: 100%;
}

.content-section-title p {
    margin: 0;
    line-height: 1.4;
    display: block;
}

.content-section-subtitle {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 22px;
    color: var(--color-text-primary);
    line-height: 1.4;
    width: 100%;
}

.content-section-subtitle p {
    margin: 0;
    line-height: 1.4;
    display: block;
}

.content-section-text {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: var(--font-size-medium);
    color: var(--color-text-primary);
    line-height: 1.5;
    width: 100%;
}

.content-section-text p {
    margin: 0;
    line-height: 1.5;
    margin-bottom: 0;
    display: block;
}

.content-section-text ol,
.content-section-text ul {
    margin: 0;
    padding: 0;
    list-style-position: outside;
    list-style: decimal;
    margin-bottom: 0;
}

.content-section-text ol {
    list-style: decimal;
}

.content-section-text ol[type="a"] {
    list-style: lower-alpha;
}

.content-section-text ul {
    list-style: disc;
}

.content-section-text li {
    margin-bottom: 0;
    line-height: 1.5;
    margin-left: 30px;
}

.content-section-text li span {
    line-height: 1.5;
}

.content-section-text li:last-child {
    margin-bottom: 0;
    margin-left: 30px;
}

.text-bold {
    font-weight: 700;
}

/* Image Cards */
.image-card {
    display: flex;
    flex-direction: column;
    gap: 14.018px;
    align-items: center;
    justify-content: center;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
}

.image-card-container {
    background-color: #dbd7c9;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-card-container img {
    width: 100%;
    height: auto;
    display: block;
}

.image-card-gray {
    background-color: #dbd7c9;
}

.image-card-light-gray {
    background-color: #f2f2f2;
}

.image-card-white {
    background-color: #ffffff;
}

.image-card-white img {
    width: 100%;
    height: auto;
    display: block;
}

.image-placeholder {
    background-color: #c4c4c4;
    width: 100%;
    height: 100%;
}

.image-caption {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: var(--font-size-medium);
    color: var(--color-text-primary);
    text-align: center;
    line-height: 0;
    width: 100%;
}

.image-caption p {
    margin: 0;
    line-height: 1.5;
    display: block;
}

.caption-bold {
    font-weight: 700;
}
