/* Content Pages Styling (Portfolio, etc.) */
/* Uses homepage-like typography with larger, more readable text */

.page-container {
    max-width: 900px;
    margin: 0 auto;
    padding-top: 40px;
    padding-bottom: 60px;
}

.page-content h1 {
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 30px;
    color: #000;
    text-align: left;
}

.page-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #000;
}

.page-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #000;
}

.page-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #000;
    margin-bottom: 16px;
}

.page-content strong {
    font-weight: 600;
    color: #000;
}

.page-content em {
    font-style: italic;
}

.page-content a {
    color: #000;
    text-decoration: underline;
    transition: opacity 0.2s ease;
}

.page-content a:hover {
    opacity: 0.7;
}

/* Exception for buttons - preserve button styling */
.page-content a.services-button {
    color: white;
    text-decoration: none;
}

.page-content a.services-button:hover {
    opacity: 0.9;
}

/* Improve spacing for consecutive paragraphs */
.page-content p + p {
    margin-top: 16px;
}

/* Responsive adjustments */
@media (max-width: 960px) {
    .page-container {
        padding-top: 30px;
        padding-bottom: 40px;
    }

    .page-content h1 {
        font-size: 2.2rem;
    }

    .page-content h2 {
        font-size: 1.4rem;
    }

    .page-content h3 {
        font-size: 1.2rem;
    }

    .page-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .page-content h1 {
        font-size: 2rem;
        margin-bottom: 25px;
    }

    .page-content h2 {
        font-size: 1.3rem;
        margin-top: 35px;
    }

    .page-content h3 {
        font-size: 1.15rem;
    }

    .page-content p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
}
