/* Pet Photography Module Styles
 * Prefix: pph- (pet photography)
 * Purpose: Styles for pet photography SEO landing pages
 */

/* Hero Section — matches styles/ page treatment (clean, on-brand) */
.pph-hero {
    background: transparent;
    color: var(--color-text);
    padding: 4rem 0 3rem;
    text-align: center;
}

.pph-hero h1 {
    font-size: 2.5rem;
    line-height: 1.15;
    margin: 0 0 1rem 0;
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
}

.pph-hero__subtitle {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin: 0 auto 2rem auto;
    max-width: 640px;
    line-height: 1.5;
}

/* Comparison Section */
.pph-comparison {
    padding: 4rem 0;
}

/* States Grid */
.pph-states {
    padding: 4rem 0;
    background: #f8f9fa;
}

.pph-states-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.pph-state-link {
    padding: 1rem;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    text-align: center;
    transition: all 0.2s;
    display: block;
    color: var(--color-text);
    text-decoration: none;
}

.pph-state-link:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    color: var(--color-primary);
}

/* Cities Section */
.pph-cities {
    padding: 4rem 0;
}

.pph-cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.pph-city-card {
    padding: 1.5rem;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all 0.2s;
}

.pph-city-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.pph-city-card__title {
    margin: 0 0 0.5rem 0;
    font-size: 1.125rem;
    color: var(--color-primary);
}

.pph-city-card__link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: var(--font-weight-bold);
}

.pph-city-card__link:hover {
    text-decoration: underline;
}

/* Styles Section */
.pph-styles {
    padding: 4rem 0;
    background: #f8f9fa;
}

/* How-To Section */
.pph-howto {
    padding: 4rem 0;
}

/* FAQ Section */
.pph-faq {
    padding: 4rem 0;
    background: #f8f9fa;
}

.pph-faq-container {
    max-width: 800px;
    margin: 2rem auto;
}

.pph-faq-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
}

.pph-faq-item h3 {
    margin: 0 0 1rem 0;
    color: var(--color-primary);
    font-size: 1.125rem;
}

.pph-faq-item p {
    margin: 0;
    line-height: 1.6;
}

/* CTA Center */
.pph-cta-center {
    text-align: center;
    margin-top: 3rem;
}

/* Responsive */
@media (max-width: 768px) {
    .pph-hero h1 {
        font-size: 2rem;
    }

    .pph-hero__subtitle {
        font-size: 1.125rem;
    }

    .pph-states-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .pph-cities-grid {
        grid-template-columns: 1fr;
    }
}

/* ====================================================================
   pSEO Enhanced AI-generated content
   ==================================================================== */

/* Container — gives the AI content a clear visual home */
.pSEO-enhanced-content {
    padding: 2.5rem 2rem;
    border-radius: 6px;
}

/* H2 — major section headers within the AI content */
.pSEO-enhanced-content h2 {
    font-size: 1.625rem;
    line-height: 1.3;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-text);
    font-weight: 700;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(var(--color-primary-rgb), 0.15);
}

.pSEO-enhanced-content>h2:first-child,
.pSEO-enhanced-content>h2:first-of-type {
    margin-top: 0;
}

/* H3 — FAQ questions and sub-headers */
.pSEO-enhanced-content h3 {
    font-size: 1.125rem;
    line-height: 1.4;
    margin-top: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
    font-weight: 600;
}

/* FAQ-style treatment: H3 followed by P gets a left-bordered card look */
.pSEO-enhanced-content h3+p {
    margin-top: 0;
    margin-bottom: 1.25rem;
    padding-left: 1rem;
    border-left: 3px solid rgba(var(--color-primary-rgb), 0.25);
    color: var(--color-text);
}

/* Body copy */
.pSEO-enhanced-content p {
    line-height: 1.7;
    margin-bottom: 1.15rem;
    color: var(--color-text);
    font-size: 1rem;
}

/* Make key prices and stats pop in brand color */
.pSEO-enhanced-content strong {
    color: var(--color-primary-dark);
    font-weight: 700;
}

/* Lists with custom orange bullet */
.pSEO-enhanced-content ul,
.pSEO-enhanced-content ol {
    margin: 1rem 0 1.5rem 0;
    padding-left: 1.5rem;
}

.pSEO-enhanced-content ul {
    list-style: none;
}

.pSEO-enhanced-content ul li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.625rem;
    line-height: 1.65;
}

.pSEO-enhanced-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    background: var(--color-primary);
    border-radius: 50%;
}

.pSEO-enhanced-content ol li {
    margin-bottom: 0.625rem;
    line-height: 1.65;
    padding-left: 0.375rem;
}

.pSEO-enhanced-content ol li::marker {
    color: var(--color-primary);
    font-weight: 700;
}

/* Inline links inside body content */
.pSEO-enhanced-content a {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
}

.pSEO-enhanced-content a:hover {
    color: var(--color-primary-dark);
    text-decoration-thickness: 2px;
}

/* ====================================================================
   Citations / Sources section at bottom of page
   ==================================================================== */
.pSEO-citations {
    margin: 4rem 0 2rem 0;
    padding: 1.75rem 2rem;
    background: var(--color-background-light);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    max-width: 760px;
}

.pSEO-citations h2 {
    font-size: 1.125rem;
    margin: 0 0 1rem 0;
    color: var(--color-text);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pSEO-citations h2::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    background: var(--color-primary);
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'><path d='M14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2M18,20H6V4H13V9H18V20Z'/></svg>") no-repeat center;
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'><path d='M14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2M18,20H6V4H13V9H18V20Z'/></svg>") no-repeat center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.pSEO-citations ol {
    margin: 0;
    padding-left: 1.5rem;
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.pSEO-citations li {
    margin-bottom: 0.5rem;
    word-break: break-word;
    line-height: 1.5;
}

.pSEO-citations li::marker {
    color: var(--color-primary);
    font-weight: 600;
}

.pSEO-citations a {
    color: var(--color-text-muted);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.pSEO-citations a:hover {
    color: var(--color-primary);
}

@media (max-width: 768px) {
    .pSEO-enhanced-content {
        padding: 1.5rem 1.25rem;
        margin: 2rem 0;
    }

    .pSEO-enhanced-content h2 {
        font-size: 1.375rem;
    }

    .pSEO-citations {
        padding: 1.25rem;
    }
}