
/* LawDirectory.au Legal Guides, Hub & Article Responsive Styles */
.ldau-hub-wrapper, .ldau-article {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #1e293b;
    line-height: 1.8;
}
.ldau-article {
    max-width: 880px;
    margin: 0 auto;
    padding: 10px 0 40px;
    font-size: 1.0625rem;
}
.ldau-article h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    margin-top: 2.25rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.5rem;
}
.ldau-article h3 {
    font-size: 1.35rem;
    font-weight: 600;
    color: #1e293b;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
}
.ldau-article p {
    margin-bottom: 1.25rem;
}
.ldau-article ul, .ldau-article ol {
    margin-bottom: 1.5rem;
    padding-left: 1.75rem;
}
.ldau-article li {
    margin-bottom: 0.5rem;
}
.ldau-lead {
    font-size: 1.2rem;
    font-weight: 400;
    color: #334155;
    line-height: 1.75;
    margin-bottom: 2rem;
    border-left: 4px solid #1a365d;
    padding-left: 1.25rem;
    font-style: italic;
    background: #f8fafc;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    border-radius: 0 8px 8px 0;
}
.ldau-article-meta-box {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #f8fafc;
    border-radius: 12px;
    padding: 1.5rem 2rem;
    margin-bottom: 2.25rem;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.12);
}
.ldau-article-meta-box p {
    margin: 0;
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.6;
}
.ldau-article-meta-box strong {
    color: #f1f5f9;
}
.ldau-article-meta-box em {
    color: #e2e8f0;
}
.ldau-badge {
    display: inline-block;
    background: #d4af37;
    color: #0f172a;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    margin-bottom: 0.75rem;
}
.ldau-callout {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 5px solid #2563eb;
    border-radius: 8px;
    padding: 1.5rem 1.75rem;
    margin: 2rem 0;
}
.ldau-callout--gold {
    background: #fffdf5;
    border: 1px solid #fef3c7;
    border-left: 5px solid #d4af37;
}
.ldau-callout h3 {
    margin-top: 0;
    color: #0f172a;
    font-size: 1.25rem;
}
.ldau-callout p:last-child, .ldau-callout ul:last-child, .ldau-callout ol:last-child {
    margin-bottom: 0;
}
.ldau-guide-cta {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    color: #ffffff;
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    margin: 3.5rem 0 2rem;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.15);
}
.ldau-guide-cta h3 {
    color: #ffffff !important;
    font-size: 1.65rem;
    margin-top: 0;
    margin-bottom: 0.75rem;
}
.ldau-guide-cta p {
    color: #e2e8f0;
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 1.5rem;
}
.ldau-home-button {
    display: inline-block;
    font-weight: 600;
    text-decoration: none;
    padding: 0.85rem 1.75rem;
    border-radius: 8px;
    transition: all 0.2s ease-in-out;
}
.ldau-home-button--gold {
    background: #d4af37 !important;
    color: #0f172a !important;
}
.ldau-home-button--gold:hover {
    background: #c59f2e !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.35);
}

/* Hub Directory Index Styles */
.ldau-hub-header {
    text-align: center;
    padding: 2.5rem 1rem 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}
.ldau-hub-header h1 {
    font-size: 2.5rem;
    color: #0f172a;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.25;
}
.ldau-hub-header p {
    font-size: 1.15rem;
    color: #475569;
    line-height: 1.6;
}
.ldau-hub-section {
    max-width: 1200px;
    margin: 2.5rem auto 3.5rem;
    padding: 0 1rem;
}
.ldau-hub-section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.35rem;
}
.ldau-hub-section-desc {
    color: #64748b;
    font-size: 1rem;
    margin-bottom: 1.75rem;
}
.ldau-hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.75rem;
}
.ldau-hub-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}
.ldau-hub-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px -3px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}
.ldau-hub-card-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.ldau-hub-card-tag {
    font-size: 0.725rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #92640a;
    background: #fef9c3;
    padding: 0.25rem 0.65rem;
    border-radius: 4px;
    align-self: flex-start;
    margin-bottom: 0.85rem;
}
.ldau-hub-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.85rem;
    line-height: 1.4;
}
.ldau-hub-card-title a {
    color: #0f172a;
    text-decoration: none;
}
.ldau-hub-card-title a:hover {
    color: #1e40af;
}
.ldau-hub-card-excerpt {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}
.ldau-hub-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}
.ldau-hub-card-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: #1e40af;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.ldau-hub-card-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}
@media (max-width: 768px) {
    .ldau-hub-header h1 {
        font-size: 1.95rem;
    }
    .ldau-hub-grid {
        grid-template-columns: 1fr;
    }
}


/* Hide redundant theme title on Legal Guides Hub */
.page-id-526 .entry-header,
.page-id-526 header.entry-header,
.page-id-526 .ast-article-single .entry-header {
    display: none !important;
}


/* Statutory Provenance & Currency Box */
.ldau-statutory-provenance {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 5px solid #d97706;
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #1e293b;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.ldau-provenance-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding-bottom: 0.75rem;
    margin-bottom: 0.85rem;
    border-bottom: 1px solid #e2e8f0;
}
.ldau-provenance-pill {
    background: #fef3c7;
    color: #92400e;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.ldau-provenance-date {
    font-size: 0.875rem;
    color: #475569;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.ldau-provenance-date strong {
    color: #0f172a;
}
.ldau-provenance-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}
.ldau-provenance-row {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.ldau-provenance-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
}
.ldau-statute-list {
    margin: 0.25rem 0 0.5rem 1.25rem;
    padding: 0;
    list-style-type: square;
    color: #334155;
}
.ldau-statute-list li {
    margin-bottom: 0.4rem;
    line-height: 1.5;
}
.ldau-statute-enacted {
    display: inline-block;
    background: #e2e8f0;
    color: #334155;
    font-weight: 600;
    font-size: 0.75rem;
    padding: 0.1rem 0.45rem;
    border-radius: 4px;
    margin-left: 0.35rem;
}
.ldau-statute-amended {
    display: inline-block;
    background: #ecfdf5;
    color: #047857;
    font-weight: 600;
    font-size: 0.75rem;
    padding: 0.1rem 0.45rem;
    border-radius: 4px;
    margin-left: 0.35rem;
}
.ldau-provenance-forum {
    font-size: 0.9rem;
    color: #1e3a8a;
    font-weight: 600;
    margin: 0.15rem 0 0.5rem;
}
.ldau-provenance-notice {
    margin-top: 0.85rem;
    padding-top: 0.75rem;
    border-top: 1px dashed #cbd5e1;
    font-size: 0.825rem;
    color: #64748b;
    font-style: italic;
    line-height: 1.5;
}

/* Hub Card Meta for Statute & Date */
.ldau-hub-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.75rem;
    padding-top: 0.65rem;
    border-top: 1px solid #f1f5f9;
    font-size: 0.8rem;
    color: #64748b;
}
.ldau-hub-statute {
    font-weight: 600;
    color: #1e3a8a;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 60%;
}
.ldau-hub-date {
    color: #059669;
    font-weight: 600;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}
.ldau-hub-currency-banner {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    padding: 0.4rem 1.15rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin: 1.25rem auto 0;
}
.ldau-hub-currency-banner strong {
    color: #047857;
}
