/*--------------------------------------------------------------
# Zodiac Profile (Stage 9)
--------------------------------------------------------------*/

/* Signs grid on archive page */
.aw-zodiac-signs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 20px 0 30px;
}

.aw-zodiac-sign-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 8px;
    border: 1px solid #e0d8cf;
    border-radius: var(--aw-border-radius, 8px);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.aw-zodiac-sign-card:hover {
    border-color: #8b6db5;
    box-shadow: 0 4px 12px rgba(139, 109, 181, 0.15);
    text-decoration: none;
    color: inherit;
    transform: translateY(-2px);
}

/* Element-based border accent */
.aw-zodiac-sign-card--fire   { border-left: 3px solid #e91e63; }
.aw-zodiac-sign-card--earth  { border-left: 3px solid #4caf50; }
.aw-zodiac-sign-card--air    { border-left: 3px solid #2196f3; }
.aw-zodiac-sign-card--water  { border-left: 3px solid #00bcd4; }

.aw-zodiac-sign-card__symbol {
    font-size: 2.4em;
    line-height: 1;
    margin-bottom: 8px;
}

.aw-zodiac-sign-card__name {
    font-size: 0.95em;
    font-weight: 700;
    margin-bottom: 4px;
}

.aw-zodiac-sign-card__dates {
    font-size: 0.75em;
    color: #888;
    margin-bottom: 4px;
}

.aw-zodiac-sign-card__element {
    font-size: 0.7em;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Element groups on archive */
.aw-zodiac-element-group {
    margin: 16px 0;
    padding: 16px 20px;
    border-radius: var(--aw-border-radius, 8px);
    background: #f9f7f4;
}

.aw-zodiac-element--fire  { border-left: 4px solid #e91e63; }
.aw-zodiac-element--earth { border-left: 4px solid #4caf50; }
.aw-zodiac-element--air   { border-left: 4px solid #2196f3; }
.aw-zodiac-element--water { border-left: 4px solid #00bcd4; }

.aw-zodiac-element-group h3 {
    margin: 0 0 6px;
    font-size: 1.05em;
}

.aw-zodiac-element-group p {
    margin: 0 0 10px;
    font-size: 0.9em;
    color: #666;
}

.aw-zodiac-element-signs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
}

.aw-zodiac-element-signs a {
    text-decoration: none;
    color: #5a4a6b;
    font-weight: 600;
    font-size: 0.95em;
}

.aw-zodiac-element-signs a:hover {
    color: #8b6db5;
    text-decoration: underline;
}

/* Hero section for single profile */
.aw-zodiac-hero {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 30px 24px;
    margin-bottom: 24px;
    border-radius: var(--aw-border-radius, 8px);
    background: linear-gradient(135deg, #f5f0eb 0%, #ede4f5 100%);
}

.aw-zodiac-hero--fire  { background: linear-gradient(135deg, #fff3e0 0%, #fce4ec 100%); }
.aw-zodiac-hero--earth { background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%); }
.aw-zodiac-hero--air   { background: linear-gradient(135deg, #e3f2fd 0%, #ede7f6 100%); }
.aw-zodiac-hero--water { background: linear-gradient(135deg, #e0f7fa 0%, #e8eaf6 100%); }

.aw-zodiac-hero__symbol {
    font-size: 4em;
    line-height: 1;
}

.aw-zodiac-hero__info {
    flex: 1;
}

.aw-zodiac-hero__name {
    margin: 0 0 4px;
    font-size: 1.8em;
}

.aw-zodiac-hero__dates {
    font-size: 1em;
    color: #666;
    margin-bottom: 8px;
}

.aw-zodiac-hero__meta {
    display: flex;
    gap: 16px;
    font-size: 0.9em;
    color: #888;
}

/* Quick facts table */
.aw-zodiac-facts {
    margin: 0 0 30px;
}

.aw-zodiac-facts__table {
    width: 100%;
    border-collapse: collapse;
}

.aw-zodiac-facts__table th,
.aw-zodiac-facts__table td {
    padding: 10px 14px;
    border-bottom: 1px solid #e0d8cf;
    text-align: left;
    font-size: 0.95em;
}

.aw-zodiac-facts__table th {
    width: 180px;
    font-weight: 600;
    color: #5a4a6b;
    background: #faf8f5;
}

.aw-zodiac-facts__table tr:last-child th,
.aw-zodiac-facts__table tr:last-child td {
    border-bottom: none;
}

/* Cross-links */
.aw-zodiac-crosslinks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 30px 0;
    padding: 20px;
    background: #f9f7f4;
    border-radius: var(--aw-border-radius, 8px);
}

.aw-zodiac-crosslinks h3 {
    margin: 0 0 10px;
    font-size: 1em;
}

.aw-zodiac-crosslinks ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
}

.aw-zodiac-crosslinks li {
    font-size: 0.9em;
}

.aw-zodiac-crosslinks a {
    text-decoration: none;
    color: #5a4a6b;
}

.aw-zodiac-crosslinks a:hover {
    color: #8b6db5;
    text-decoration: underline;
}

/* Back link */
.aw-zodiac-back {
    margin: 24px 0;
    font-size: 0.95em;
}

.aw-zodiac-back a {
    color: #8b6db5;
    text-decoration: none;
}

.aw-zodiac-back a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .aw-zodiac-signs-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .aw-zodiac-hero {
        flex-direction: column;
        text-align: center;
        padding: 20px 16px;
    }

    .aw-zodiac-hero__meta {
        justify-content: center;
    }

    .aw-zodiac-hero__symbol {
        font-size: 3em;
    }

    .aw-zodiac-crosslinks {
        grid-template-columns: 1fr;
    }

    .aw-zodiac-facts__table th {
        width: 130px;
    }
}

@media (max-width: 480px) {
    .aw-zodiac-signs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

