/* Pay Calculator Australia - Styles */
/* Modern, clean design with Australian-inspired colors */

:root {
    --primary-color: #1a4d2e;
    --primary-dark: #0d3320;
    --primary-light: #2d7a4a;
    --secondary-color: #f4b942;
    --secondary-dark: #d9a23a;
    --accent-color: #00a86b;
    --text-color: #2c3e50;
    --text-light: #5a6c7d;
    --bg-color: #ffffff;
    --bg-alt: #f8faf9;
    --bg-light: #eef4f0;
    --border-color: #d1e3d8;
    --success-color: #27ae60;
    --error-color: #e74c3c;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--primary-color);
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: var(--secondary-color);
    color: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.4rem;
}

.logo h1 {
    font-size: 1.4rem;
    font-weight: 600;
}

.nav {
    display: flex;
    gap: 25px;
}

.nav a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 5px 0;
    position: relative;
}

.nav a:hover {
    color: var(--secondary-color);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Calculator Section */
.calculator-section {
    padding: 60px 0;
    background: var(--bg-alt);
}

.calculator-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.calculator-card h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

.calculator-form {
    display: grid;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95rem;
}

.form-group input,
.form-group select {
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: var(--transition);
    background: white;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26,77,46,0.1);
}

.form-group input::placeholder {
    color: #aaa;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 500;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.btn-calculate {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    margin-top: 10px;
}

.btn-calculate:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-calculate:active {
    transform: translateY(0);
}

/* Results Section */
.results {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px solid var(--border-color);
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.results h4 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    text-align: center;
}

.results-grid {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
}

.result-item {
    background: var(--bg-light);
    padding: 25px;
    border-radius: var(--radius-md);
    text-align: center;
}

.result-item.highlight {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
}

.result-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 8px;
}

.result-value {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
}

.result-period {
    display: block;
    font-size: 0.85rem;
    opacity: 0.8;
    margin-top: 5px;
}

.results-table {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 30px;
}

.result-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.result-row:last-child {
    border-bottom: none;
}

.result-row span:first-child {
    color: var(--text-light);
}

.result-row span:last-child {
    font-weight: 600;
}

.result-row .deduction {
    color: var(--error-color);
}

.result-row.super-row span:last-child {
    color: var(--accent-color);
}

.result-row.total-row {
    border-top: 2px solid var(--primary-color);
    margin-top: 5px;
    padding-top: 15px;
}

.result-row.total-row span {
    font-weight: 700;
    color: var(--primary-color);
}

.pay-periods h5 {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 15px;
}

.periods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
}

.period-item {
    background: white;
    border: 2px solid var(--border-color);
    padding: 15px;
    border-radius: var(--radius-sm);
    text-align: center;
}

.period-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 5px;
}

.period-value {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Info Sections */
.info-section {
    padding: 60px 0;
}

.info-section.alt-bg {
    background: var(--bg-alt);
}

.info-section h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: center;
}

.section-intro {
    text-align: center;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Tax Table */
.tax-table-wrapper {
    overflow-x: auto;
    margin: 25px 0;
}

.tax-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.tax-table th,
.tax-table td {
    padding: 14px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.tax-table th {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
}

.tax-table tbody tr:hover {
    background: var(--bg-light);
}

.tax-table tbody tr:last-child td {
    border-bottom: none;
}

.tax-note {
    text-align: center;
    color: var(--text-light);
    font-size: 0.95rem;
    margin-top: 20px;
}

.hecs-table {
    max-width: 600px;
    margin: 25px auto;
}

/* Info Cards */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.info-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.info-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.info-card h4 {
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.info-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Medicare Section */
.medicare-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.medicare-main,
.medicare-surcharge {
    background: white;
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.medicare-main h4,
.medicare-surcharge h4 {
    color: var(--primary-color);
    margin: 20px 0 15px;
    font-size: 1.1rem;
}

.medicare-main h4:first-of-type {
    margin-top: 0;
}

.medicare-main ul {
    padding-left: 20px;
}

.medicare-main li {
    margin-bottom: 10px;
    color: var(--text-light);
}

.surcharge-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.surcharge-table th,
.surcharge-table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.surcharge-table th {
    background: var(--bg-light);
    color: var(--text-color);
}

/* FAQ Section */
.faq-list {
    max-width: 800px;
    margin: 30px auto 0;
}

.faq-item {
    background: white;
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 25px 20px;
    color: var(--text-light);
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

/* SEO Description Section */
.seo-description {
    padding: 60px 0;
    background: var(--bg-alt);
}

.seo-description h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    text-align: center;
}

.seo-content {
    max-width: 900px;
    margin: 0 auto;
}

.seo-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
    text-align: justify;
}

.seo-content p:last-child {
    margin-bottom: 0;
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.9);
    padding: 50px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-section h4 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.footer-section p {
    font-size: 0.95rem;
    line-height: 1.7;
    opacity: 0.85;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    padding: 25px 0;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 15px;
    }

    .nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px 25px;
    }

    .hero {
        padding: 40px 0;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .calculator-card {
        padding: 25px;
    }

    .calculator-card h3 {
        font-size: 1.3rem;
    }

    .result-value {
        font-size: 1.8rem;
    }

    .info-section h3 {
        font-size: 1.5rem;
    }

    .medicare-info {
        grid-template-columns: 1fr;
    }

    .tax-table th,
    .tax-table td {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .footer-content {
        gap: 30px;
    }
}

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

    .info-cards {
        grid-template-columns: 1fr;
    }

    .faq-question {
        padding: 15px 18px;
        font-size: 0.95rem;
    }

    .faq-answer p {
        padding: 0 18px 18px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* Logo Link Styles */
a.logo {
    text-decoration: none;
    color: white;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 600;
}

.nav a.active {
    color: var(--secondary-color);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background: white;
    left: 0;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

/* Breadcrumbs */
.breadcrumbs {
    background: var(--bg-light);
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb-list {
    list-style: none;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.9rem;
}

.breadcrumb-list a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb-list a:hover {
    text-decoration: underline;
}

.breadcrumb-list .separator {
    color: var(--text-light);
}

.breadcrumb-list span[aria-current="page"] {
    color: var(--text-light);
}

/* Hero H1 Styles */
.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

/* Contextual Introduction */
.contextual-intro {
    padding: 50px 0;
    background: white;
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
}

.intro-content h2 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.intro-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

/* User Guide Section */
.user-guide-section {
    padding: 60px 0;
    background: white;
}

.user-guide-content {
    max-width: 900px;
    margin: 0 auto;
}

.user-guide-content h2 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

.guide-steps {
    margin-bottom: 40px;
}

.guide-step {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding: 25px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.step-content p {
    color: var(--text-light);
    line-height: 1.7;
}

.guide-faq {
    background: var(--bg-alt);
    padding: 30px;
    border-radius: var(--radius-md);
}

.guide-faq h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.guide-faq-item {
    margin-bottom: 20px;
}

.guide-faq-item:last-child {
    margin-bottom: 0;
}

.guide-faq-item h4 {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 8px;
}

.guide-faq-item p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Latest Articles Section */
.latest-articles {
    padding: 60px 0;
    background: white;
}

.latest-articles h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 10px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.article-card {
    background: var(--bg-alt);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.article-content {
    padding: 25px;
}

.article-category {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.article-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.article-card h3 a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.article-card h3 a:hover {
    color: var(--primary-color);
}

.article-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.read-more:hover {
    text-decoration: underline;
}

.view-all-articles {
    text-align: center;
    margin-top: 30px;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    display: inline-block;
    background: white;
    color: var(--primary-color);
    padding: 14px 28px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--primary-color);
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

/* Page Hero (for static pages) */
.page-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    padding: 50px 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.page-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Content Section (for static pages) */
.content-section {
    padding: 60px 0;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.content-wrapper h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 30px 0 15px;
}

.content-wrapper h2:first-child {
    margin-top: 0;
}

.content-wrapper h3 {
    font-size: 1.2rem;
    color: var(--text-color);
    margin: 25px 0 10px;
}

.content-wrapper p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

.content-wrapper ul {
    padding-left: 25px;
    margin-bottom: 20px;
}

.content-wrapper li {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 8px;
}

/* CTA Box */
.cta-box {
    background: var(--bg-light);
    padding: 30px;
    border-radius: var(--radius-md);
    margin-top: 40px;
    text-align: center;
}

.cta-box.centered {
    max-width: 600px;
    margin: 0 auto;
}

.cta-box h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.cta-box p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h2,
.contact-form-wrapper h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-methods {
    margin: 30px 0;
}

.contact-method {
    margin-bottom: 25px;
}

.contact-method h3 {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 8px;
}

.contact-method p {
    color: var(--text-light);
    line-height: 1.6;
}

.important-note {
    background: var(--bg-light);
    padding: 20px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--secondary-color);
}

.important-note h3 {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 10px;
}

.important-note ul {
    padding-left: 20px;
    margin-top: 10px;
}

.important-note li {
    color: var(--text-light);
    margin-bottom: 5px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form textarea {
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    transition: var(--transition);
}

.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26,77,46,0.1);
}

/* FAQ Quick Section */
.faq-quick {
    padding: 60px 0;
    background: var(--bg-alt);
}

.faq-quick h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
}

.faq-quick-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.faq-quick-item {
    background: white;
    padding: 25px;
    border-radius: var(--radius-md);
}

.faq-quick-item h3 {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 10px;
}

.faq-quick-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Blog Listing */
.blog-listing {
    padding: 60px 0;
}

.blog-grid {
    display: grid;
    gap: 30px;
}

.blog-card {
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
}

.blog-card:hover {
    box-shadow: var(--shadow-md);
}

.blog-card-content {
    padding: 30px;
}

.blog-category {
    display: inline-block;
    background: var(--bg-light);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.blog-card h2 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-card h2 a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.blog-card h2 a:hover {
    color: var(--primary-color);
}

.blog-excerpt {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 15px;
}

.blog-meta {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

/* Blog Article */
.blog-article {
    padding: 60px 0;
}

.article-header {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
}

.article-header .article-category {
    margin-bottom: 20px;
}

.article-header h1 {
    font-size: 2.2rem;
    color: var(--text-color);
    line-height: 1.3;
    margin-bottom: 20px;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 25px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
}

.article-content .lead {
    font-size: 1.15rem;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.article-content h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 35px 0 15px;
}

.article-content h3 {
    font-size: 1.2rem;
    color: var(--text-color);
    margin: 25px 0 12px;
}

.article-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 18px;
}

.article-content ul,
.article-content ol {
    padding-left: 25px;
    margin-bottom: 20px;
}

.article-content li {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 8px;
}

.article-content a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid var(--primary-color);
    transition: var(--transition);
}

.article-content a:hover {
    border-bottom-color: transparent;
}

.article-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    padding: 40px;
    border-radius: var(--radius-md);
    text-align: center;
    margin-top: 50px;
}

.article-cta h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: white;
}

.article-cta p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 20px;
}

.article-cta .btn-primary {
    background: white;
    color: var(--primary-color);
}

.article-cta .btn-primary:hover {
    background: rgba(255,255,255,0.9);
}

/* CTA Section */
.cta-section {
    padding: 60px 0;
    background: var(--bg-alt);
}

/* Legal Content */
.legal-content .content-wrapper h2 {
    margin-top: 35px;
}

.legal-content .content-wrapper h3 {
    margin-top: 20px;
}

/* Info Section H2 (for refactored pages) */
.info-section h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: center;
}

.calculator-card h2 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

/* Print Styles */
@media print {
    .header,
    .hero,
    .nav,
    .btn-calculate,
    .footer,
    .breadcrumbs {
        display: none;
    }

    .calculator-section {
        padding: 0;
    }

    .calculator-card {
        box-shadow: none;
        padding: 0;
    }

    .results {
        border-top: 1px solid #000;
    }
}

/* Additional Responsive Styles */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav {
        display: none;
        width: 100%;
        flex-direction: column;
        text-align: center;
        padding-top: 15px;
    }

    .nav.active {
        display: flex;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .page-hero h1 {
        font-size: 1.8rem;
    }

    .guide-step {
        flex-direction: column;
        text-align: center;
    }

    .step-number {
        margin: 0 auto;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .article-header h1 {
        font-size: 1.7rem;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .article-meta {
        flex-direction: column;
        gap: 5px;
    }

    .blog-meta {
        flex-direction: column;
        gap: 5px;
    }
}
