/*--------------------------------------------------------------
# Zodiac Stones (Stage 12)
--------------------------------------------------------------*/

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

.aw-zs-sign-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 12px;
    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-zs-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 card accents */
.aw-zs-sign-card--fire  { border-left: 3px solid #e74c3c; }
.aw-zs-sign-card--earth { border-left: 3px solid #f39c12; }
.aw-zs-sign-card--air   { border-left: 3px solid #3498db; }
.aw-zs-sign-card--water { border-left: 3px solid #1abc9c; }

.aw-zs-sign-symbol {
    font-size: 2em;
    line-height: 1;
    margin-bottom: 6px;
}

.aw-zs-sign-name {
    font-weight: 600;
    font-size: 0.95em;
    margin-bottom: 4px;
}

.aw-zs-sign-stones {
    font-size: 0.75em;
    color: #888;
    text-align: center;
}

/* Stones grid */
.aw-zs-stones-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 20px 0 30px;
}

.aw-zs-stone-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 12px;
    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-zs-stone-card:hover {
    border-color: #8b6db5;
    box-shadow: 0 4px 12px rgba(139, 109, 181, 0.15);
    text-decoration: none;
    color: inherit;
    transform: translateY(-2px);
}

.aw-zs-stone-color {
    display: block;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin-bottom: 8px;
    border: 2px solid rgba(0, 0, 0, 0.08);
}

.aw-zs-stone-name {
    font-weight: 600;
    font-size: 0.9em;
    margin-bottom: 4px;
}

.aw-zs-stone-signs {
    font-size: 0.85em;
    letter-spacing: 2px;
}

/* Sign-stone table */
.aw-zs-table-wrap {
    overflow-x: auto;
    margin: 20px 0 30px;
    -webkit-overflow-scrolling: touch;
}

.aw-zs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9em;
}

.aw-zs-table th,
.aw-zs-table td {
    border: 1px solid #e0d8cf;
    padding: 10px 14px;
    text-align: left;
}

.aw-zs-table thead th {
    background: #f5f0eb;
    font-weight: 700;
}

.aw-zs-table tbody td a {
    color: #5a4a6b;
    text-decoration: none;
}

.aw-zs-table tbody td a:hover {
    color: #8b6db5;
    text-decoration: underline;
}

/* Hero section for single pages */
.aw-zs-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-zs-hero--fire  { background: linear-gradient(135deg, #fef5f5 0%, #fce4e4 100%); }
.aw-zs-hero--earth { background: linear-gradient(135deg, #fef8f0 0%, #fce8d0 100%); }
.aw-zs-hero--air   { background: linear-gradient(135deg, #f0f5fe 0%, #dce8fc 100%); }
.aw-zs-hero--water { background: linear-gradient(135deg, #f0fefa 0%, #d0f0e8 100%); }

.aw-zs-hero--stone {
    background: linear-gradient(135deg, #f9f7f4 0%, #f0ebf5 100%);
}

.aw-zs-hero__symbol {
    font-size: 4em;
    line-height: 1;
    min-width: 80px;
    text-align: center;
}

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

.aw-zs-hero__name {
    margin: 0 0 8px;
    font-size: 1.4em;
}

.aw-zs-hero__stones {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.aw-zs-hero__stone-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border: 1px solid #ccc;
    border-radius: 20px;
    font-size: 0.85em;
    text-decoration: none;
    color: #5a4a6b;
    transition: background-color 0.2s;
}

.aw-zs-hero__stone-tag:hover {
    background-color: rgba(139, 109, 181, 0.08);
    text-decoration: none;
    color: #5a4a6b;
}

.aw-zs-hero__stone-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.aw-zs-hero__meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 0.9em;
    color: #666;
}

.aw-zs-stone-hero-color {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    min-width: 80px;
    border: 3px solid rgba(0, 0, 0, 0.08);
}

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

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

    .aw-zs-hero__stones {
        justify-content: center;
    }

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

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

