/* ===== Shared Panchang SEO Section Styles ===== */
/* Used by: Panchang, Hora, Choghadiya, Tithi, Rahu Kaal, Muhurat */

.panchang-seo {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

/* --- Dynamic Summary Strip --- */
.panchang-seo-summary {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, #fef3c7 0%, #fff7ed 50%, #fef3c7 100%);
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius) var(--radius) 0;
}
.panchang-seo-summary-icon {
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    font-size: 0.9rem;
    margin-top: 0.1rem;
}
.panchang-seo-summary p {
    margin: 0;
    font-family: var(--font-serif);
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--foreground);
}
.panchang-seo-summary strong {
    color: var(--primary);
    font-weight: 600;
}

/* --- Shared block styles --- */
.panchang-seo-block {
    padding: 0;
}
.panchang-seo-heading {
    font-family: "Exo 2", sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--foreground);
    margin: 0 0 0.75rem;
    line-height: 1.3;
}
.panchang-seo-heading .panchang-seo-heading-sanskrit {
    font-weight: 400;
    color: var(--primary);
    opacity: 0.7;
    margin-left: 0.5rem;
    font-size: 0.85em;
}
.panchang-seo-intro {
    font-size: 0.925rem;
    line-height: 1.8;
    color: var(--muted-foreground);
    margin: 0 0 1.5rem;
    max-width: 72ch;
}
.panchang-seo-intro strong {
    color: var(--foreground);
}

/* --- Limbs / Items --- */
.panchang-seo-limbs {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.panchang-seo-limb {
    display: flex;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
    background: var(--card);
    transition: background 0.2s;
}
.panchang-seo-limb:not(:last-child) {
    border-bottom: 1px solid var(--border);
}
.panchang-seo-limb:hover {
    background: #fefaf3;
}
.panchang-seo-limb-num {
    flex-shrink: 0;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    opacity: 0.5;
    padding-top: 0.2rem;
    width: 1.75rem;
}
.panchang-seo-limb-body h3 {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
    margin: 0 0 0.35rem;
}
.panchang-seo-limb-body h3 span {
    font-weight: 400;
    color: var(--muted-foreground);
    font-size: 0.85em;
    margin-left: 0.5rem;
}
.panchang-seo-limb-body p {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--muted-foreground);
    margin: 0;
}

/* --- Reasons / Benefits --- */
.panchang-seo-reasons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.panchang-seo-reason {
    display: flex;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--card);
    transition: background 0.2s;
}
.panchang-seo-reason:not(:last-child) {
    border-bottom: 1px solid var(--border);
}
.panchang-seo-reason:hover {
    background: #fefaf3;
}
.panchang-seo-reason-icon {
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 0.95rem;
}
.panchang-seo-reason h3 {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--foreground);
    margin: 0 0 0.25rem;
}
.panchang-seo-reason p {
    font-size: 0.85rem;
    line-height: 1.65;
    color: var(--muted-foreground);
    margin: 0;
}

/* --- City-specific --- */
.panchang-seo-city {
    background: var(--muted);
    border-radius: var(--radius);
    padding: 1.5rem;
    border: 1px solid var(--border);
}
.panchang-seo-city p {
    font-size: 0.9rem;
    line-height: 1.75;
    color: var(--muted-foreground);
    margin: 0 0 0.75rem;
}
.panchang-seo-city p:last-child {
    margin-bottom: 0;
}
.panchang-seo-city strong {
    color: var(--foreground);
}

/* --- FAQ Accordion --- */
.panchang-seo-faq {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.panchang-seo-faq-item {
    background: var(--card);
}
.panchang-seo-faq-item:not(:last-child) {
    border-bottom: 1px solid var(--border);
}
.panchang-seo-faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 0.925rem;
    font-weight: 600;
    color: var(--foreground);
    list-style: none;
    transition: background 0.2s;
    gap: 1rem;
}
.panchang-seo-faq-item summary::-webkit-details-marker {
    display: none;
}
.panchang-seo-faq-item summary::marker {
    content: '';
}
.panchang-seo-faq-item summary:hover {
    background: #fefaf3;
}
.panchang-seo-faq-chevron {
    flex-shrink: 0;
    font-size: 0.75rem;
    color: var(--muted-foreground);
    transition: transform 0.25s ease;
}
.panchang-seo-faq-item[open] .panchang-seo-faq-chevron {
    transform: rotate(180deg);
}
.panchang-seo-faq-answer {
    padding: 0 1.25rem 1.25rem;
}
.panchang-seo-faq-answer p {
    font-size: 0.875rem;
    line-height: 1.75;
    color: var(--muted-foreground);
    margin: 0;
}
.panchang-seo-faq-answer strong {
    color: var(--foreground);
}

/* --- Related Tools --- */
.panchang-seo-related {
    background: var(--foreground);
    border-radius: var(--radius);
    padding: 1.5rem;
    overflow: hidden;
}
.panchang-seo-related-title {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 1rem;
}
.panchang-seo-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}
.panchang-seo-related-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    color: #fff;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 0.9rem;
}
.panchang-seo-related-link:hover {
    background: rgba(255,255,255,0.14);
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-1px);
}
.panchang-seo-related-link > i:first-child {
    font-size: 1.1rem;
    color: var(--secondary);
    flex-shrink: 0;
}
.panchang-seo-related-link > span {
    flex: 1;
    font-weight: 600;
    line-height: 1.3;
}
.panchang-seo-related-link > span small {
    display: block;
    font-weight: 400;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.45);
    margin-top: 0.1rem;
}
.panchang-seo-related-link > i:last-child {
    font-size: 0.75rem;
    opacity: 0.4;
    transition: opacity 0.2s, transform 0.2s;
}
.panchang-seo-related-link:hover > i:last-child {
    opacity: 0.8;
    transform: translateX(2px);
}

/* --- Tools grid (used in muhurat) --- */
.panchang-seo-tools {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}
.panchang-seo-tool {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--foreground);
    text-decoration: none;
    transition: all 0.2s;
    font-size: 0.9rem;
    font-weight: 600;
}
.panchang-seo-tool:hover {
    border-color: var(--primary);
    transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 640px) {
    .panchang-seo-summary {
        flex-direction: column;
        gap: 0.75rem;
    }
    .panchang-seo-limb {
        padding: 1rem;
        gap: 0.75rem;
    }
    .panchang-seo-reason {
        padding: 1rem;
        gap: 0.75rem;
    }
    .panchang-seo-related-grid {
        grid-template-columns: 1fr;
    }
    .panchang-seo-tools {
        grid-template-columns: 1fr;
    }
    .panchang-seo-heading {
        font-size: 1.2rem;
    }
    .panchang-seo-city {
        padding: 1.25rem;
    }
}
