/* ================================================================
   ADAMUS ASSOCIATES - MERGED STYLESHEET
   All CSS extracted from inline <style> blocks across 11 HTML pages.

   Structure:
   1. SHARED BASE (reset, variables, body, header, nav, logo, mobile-menu)
   2. GROUP A: MAIN PAGES (index, about, services, project-recovery, projects, contact)
   3. DEVELOPMENT ASSESSMENT: unique + scoped conflicting styles
   4. ARTICLES LISTING: unique + scoped conflicting styles
   5. ARTICLE DETAIL: shared styles (early-warning + nsw-dual + template)
   6. EARLY WARNING ARTICLE: scoped with .page-article-ews
   7. NSW DUAL ARTICLE: scoped with .page-article-nsw
   8. ARTICLE TEMPLATE: scoped with .page-article-template
   ================================================================ */


/* ==========================================================
   SHARED BASE - Reset, Variables, Body, Container, Header, Nav
   Used by ALL pages (from index.html as canonical base)
   ========================================================== */

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

:root {
    --primary-blue: #0000ce;
    --light-blue: #4d4dff;
    --dark-blue: #0000a3;
    --white: #fdfdfd;
    --pure-white: #ffffff;
    --black: #000000;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #999999;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
    --accent-gray: #f8fafc;
    --success-green: #00a86b;
    --warning-orange: #ff6b35;
    --alert-red: #dc2626;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: var(--gray-800);
    background-color: var(--white);
    font-weight: 400;
}

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

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 4px solid var(--primary-blue);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.25rem 0;
}

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

.logo-icon {
    width: 120px;
    height: 120px;
    border-radius: 15px;
    overflow: hidden;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.2s ease;
    padding: 0.5rem 0;
    position: relative;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--gray-900);
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--primary-blue);
    transition: width 0.2s ease;
}

.nav-links a[href*="development-assessment"]::after {
    width: 100%;
}

.nav-links a[href*="development-assessment"]:hover {
    color: var(--gray-900);
}

.nav-links a[href*="project-recovery"]::after {
    width: 100%;
    background: var(--alert-red);
}

.nav-links a[href*="project-recovery"]:hover {
    color: var(--gray-900);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu span {
    width: 25px;
    height: 3px;
    background: var(--gray-800);
    margin: 3px 0;
    transition: 0.3s;
}


/* ==========================================================
   GROUP A: MAIN PAGES
   index.html, about.html, services.html, project-recovery.html,
   projects.html, contact.html
   ========================================================== */

/* Main Content */
main {
    margin-top: 145px;
}

.page {
    display: none;
    min-height: calc(100vh - 160px);
    padding: 2rem 0;
}

.page.active {
    display: block;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(64, 64, 64, 0.8) 0%, rgba(82, 82, 82, 0.8) 100%), url('/homepage_image1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    padding: 6rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(0, 0, 206, 0.1) 100%);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    color: var(--gray-200);
    font-weight: 400;
}

.cta-button {
    display: inline-block;
    background: var(--primary-blue);
    color: var(--white);
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-blue);
    box-shadow: 0 4px 12px rgba(0, 0, 206, 0.3);
}

.cta-button:hover {
    background: var(--white);
    color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 206, 0.4);
}

.cta-button.secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    margin-left: 1rem;
}

.cta-button.secondary:hover {
    background: var(--white);
    color: var(--primary-blue);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2.5rem;
    margin: 4rem 0;
}

.services-grid .service-card {
    grid-column: span 2;
}

.services-grid .service-card:nth-child(4) {
    grid-column: 2 / span 2;
}

.services-grid .service-card:nth-child(5) {
    grid-column: 4 / span 2;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.1);
    text-align: left;
    transition: all 0.3s ease;
    border: 2px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gray-200);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(0,0,0,0.12);
    border-color: var(--primary-blue);
}

.service-card:hover::before {
    background: var(--primary-blue);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--accent-gray);
    border-radius: 16px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.625rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--primary-blue);
    color: var(--white);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
    font-weight: 600;
}

.service-card p {
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
}

.service-card ul {
    color: var(--gray-600);
    line-height: 1.6;
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.service-card li {
    margin: 0.5rem 0;
}

/* Section Styles */
.section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.75rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--gray-900);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.1rem;
    text-align: center;
    color: var(--gray-600);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.content-subtitle {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
    font-weight: 600;
}

/* About Section - Team Grid (Group A base) */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin: 3rem 0;
}

.team-member {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-member-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 4px solid var(--primary-blue);
    box-shadow: 0 4px 12px rgba(0, 0, 206, 0.2);
}

.team-member-content {
    flex: 1;
    text-align: center;
}

.team-member-content p:last-child {
    text-align: left;
}

.team-member h3 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.team-member .role {
    color: var(--gray-600);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Development Highlight */
.development-highlight {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    padding: 1.75rem;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.development-highlight::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
}

.development-highlight .container {
    position: relative;
    z-index: 1;
}

.development-highlight h3 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.development-highlight p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.development-highlight .cta-button {
    background: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.development-highlight .cta-button:hover {
    background: transparent;
    color: var(--white);
    transform: translateY(-2px);
}

.features-list {
    list-style: none;
    margin: 2rem 0;
}

.features-list li {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.features-list li:before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--white);
    font-weight: bold;
}

/* Property Calculator Styles (Group A base) */
.calculator {
    background: linear-gradient(135deg, #0000ce 0%, #0000a3 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    margin: 2rem 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: white;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 8px;
    font-size: 1rem;
    background: rgba(255,255,255,0.1);
    color: white;
    backdrop-filter: blur(10px);
}

.form-group input::placeholder {
    color: rgba(255,255,255,0.7);
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: rgba(255,255,255,0.8);
    background: rgba(255,255,255,0.2);
}

/* Fix dropdown option visibility */
.form-group select option {
    background: white;
    color: #333333;
    padding: 0.5rem;
}

.form-group select option:hover {
    background: #f0f0f0;
    color: #333333;
}

.form-group select option:checked {
    background: #0000ce;
    color: white;
}

.check-button {
    background: white;
    color: #0000ce;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1rem;
}

.check-button:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.result {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255,255,255,0.15);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    display: none;
}

.potential-high {
    border-left: 4px solid #00ff00;
}

.potential-medium {
    border-left: 4px solid #ffff00;
}

.potential-low {
    border-left: 4px solid #ff9900;
}

/* Client Logos Section */
.client-logos {
    background: var(--gray-50);
    padding: 3rem 2rem;
    border-radius: 20px;
    margin: 3rem 0;
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    align-items: center;
    margin-top: 2rem;
}

.client-logo {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    height: 120px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.client-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gray-200);
    transition: all 0.3s ease;
}

.client-logo:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

.client-logo:hover::before {
    background: var(--primary-blue);
}

.client-logo img {
    max-width: 100%;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(0.3);
    transition: filter 0.3s ease;
}

.client-logo:hover img {
    filter: grayscale(0);
}

/* Contact Form (Group A base) */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--gray-50);
    padding: 2rem;
    border-radius: 10px;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--gray-800);
}

.contact-form .form-group input,
.contact-form .form-group textarea,
.contact-form .form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--gray-200);
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
    background: white;
    color: var(--gray-800);
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus,
.contact-form .form-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.submit-btn {
    background: var(--primary-blue);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
}

.submit-btn:hover {
    background: var(--dark-blue);
}

/* Testimonials */
.testimonial {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin: 1.5rem 0;
    border-left: 4px solid var(--primary-blue);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--gray-600);
}

.testimonial-author {
    font-weight: bold;
    color: var(--primary-blue);
}

/* Footer (Group A base) */
footer {
    background: var(--gray-900);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.footer-section a {
    color: var(--gray-300);
    text-decoration: none;
}

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

/* Distressed PM Page Specific Styles */
.crisis-hero {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.7) 0%, rgba(153, 27, 27, 0.7) 100%), url('/homepage_image1.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 6rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.crisis-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(0, 0, 0, 0.2) 100%);
}

.crisis-hero .container {
    position: relative;
    z-index: 1;
}

.crisis-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.crisis-hero p {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: var(--white);
    font-weight: 400;
    line-height: 1.8;
}

.trust-badge {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    opacity: 0.9;
    font-style: italic;
}

.checklist-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.checklist-category {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-top: 4px solid var(--primary-blue);
    grid-column: span 2;
}

.checklist-category:nth-child(4) {
    grid-column: 2 / span 2;
}

.checklist-category:nth-child(5) {
    grid-column: 4 / span 2;
}

.checklist-category h4 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.checklist-item {
    display: flex;
    align-items: start;
    margin: 1rem 0;
}

.checklist-item input[type="checkbox"] {
    margin-right: 0.75rem;
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checklist-item label {
    cursor: pointer;
    color: var(--gray-700);
    line-height: 1.5;
}

.callout-box {
    background: linear-gradient(135deg, var(--warning-orange) 0%, #e63900 100%);
    color: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    margin: 3rem 0;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.callout-box p {
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
    font-weight: 500;
}

.stat-highlight {
    background: var(--accent-gray);
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
    border-left: 4px solid var(--alert-red);
}

.stat-highlight h4 {
    color: var(--alert-red);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.phase-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
}

.phase-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.1);
    border: 2px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.phase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--primary-blue);
}

.phase-number {
    display: inline-block;
    width: 60px;
    height: 60px;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.phase-card h3 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.phase-duration {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.phase-objective {
    background: var(--accent-gray);
    padding: 1rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    border-left: 3px solid var(--success-green);
}

.phase-objective strong {
    color: var(--success-green);
}

.phase-card h5 {
    color: var(--gray-900);
    margin: 1.5rem 0 1rem;
    font-size: 1.1rem;
}

.phase-deliverable {
    background: var(--gray-50);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    border-left: 3px solid var(--primary-blue);
}

.phase-deliverable strong {
    color: var(--primary-blue);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.client-type-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.client-type-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-top: 4px solid var(--primary-blue);
    transition: all 0.3s ease;
}

.client-type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.client-type-card h4 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.confidentiality-section {
    background: var(--accent-gray);
    padding: 2.5rem;
    border-radius: 12px;
    margin: 3rem 0;
    text-align: center;
    border: 2px solid var(--gray-200);
}

.confidentiality-section h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.case-study-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.case-study {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-left: 4px solid var(--success-green);
}

.case-study h4 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    line-height: 1.3;
}

.case-study .case-meta {
    color: var(--gray-600);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.case-study .case-status {
    background: var(--gray-50);
    padding: 0.75rem;
    border-radius: 6px;
    margin: 0.75rem 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.case-study .case-status strong {
    color: var(--alert-red);
}

.case-study .case-outcome {
    background: #f0fdf4;
    padding: 0.75rem;
    border-radius: 6px;
    margin: 0.75rem 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.case-study .case-outcome strong {
    color: var(--success-green);
}

.consultation-process {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin: 3rem 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.process-step {
    text-align: center;
    padding: 1.5rem;
}

.process-step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    line-height: 50px;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.process-step h5 {
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
}

.contact-prominence {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    padding: 3rem;
    border-radius: 12px;
    margin: 2rem 0;
    text-align: center;
}

.contact-prominence h4 {
    color: var(--white);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.contact-prominence p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

.contact-prominence a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
}

.contact-prominence a:hover {
    text-decoration: underline;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 2rem 0;
}

/* Group A Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 1.5rem 0;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        border-radius: 0 0 12px 12px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        padding: 0 2rem;
    }

    .mobile-menu {
        display: flex;
    }

    /* Mobile responsiveness for dual highlights */
    .development-highlight {
        padding: 1.5rem;
    }

    [style*="background: linear-gradient(135deg, #dc2626"] {
        padding: 1.5rem !important;
    }

    .development-highlight h3,
    [style*="background: linear-gradient(135deg, #dc2626"] h3 {
        font-size: 1.5rem !important;
    }

    /* Fix dual highlight container on mobile */
    section[style*="background: var(--accent-gray)"] div[style*="display: grid"] {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .hero h1, .crisis-hero h1 {
        font-size: 2.5rem;
    }

    .hero p, .crisis-hero p {
        font-size: 1.1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .services-grid .service-card {
        grid-column: span 1;
    }

    .services-grid .service-card:nth-child(4),
    .services-grid .service-card:nth-child(5) {
        grid-column: span 1;
    }

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

    .checklist-category {
        grid-column: span 1;
    }

    .checklist-category:nth-child(4),
    .checklist-category:nth-child(5) {
        grid-column: span 1;
    }

    .phase-timeline, .expertise-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .client-type-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 2rem;
    }

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

    .container {
        padding: 0 20px;
    }

    .section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 2.25rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .calculator {
        padding: 2rem 1.5rem;
    }

    .logo-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }

    .client-logo {
        height: 100px;
        padding: 1.5rem;
    }

    .cta-button.secondary {
        margin-left: 0;
        margin-top: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .case-study-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .case-study {
        padding: 1.25rem;
    }
}

/* Article Styles (Group A - used in index.html SPA) */
.article {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.article h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.article h4 {
    color: var(--primary-blue);
    margin: 1.5rem 0 1rem;
}

.article-meta {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.article p {
    margin-bottom: 1rem;
}

.article ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.article li {
    margin: 0.5rem 0;
}


/* ==========================================================
   DEVELOPMENT ASSESSMENT: UNIQUE STYLES
   (No scoping needed - class names unique to this page)
   ========================================================== */

/* Urgency Banner */
.urgency-banner {
    background: linear-gradient(135deg, var(--alert-red) 0%, #b91c1c 100%);
    color: white;
    padding: 0.85rem 1rem;
    text-align: center;
}

.urgency-banner strong {
    color: #fde047;
}

.urgency-banner .countdown {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    margin-left: 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Social Proof Strip */
.social-proof-strip {
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
    padding: 1rem 0;
}

.proof-items {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.proof-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--gray-600);
}

.proof-item .icon {
    color: var(--success-green);
    font-weight: bold;
}

.proof-item strong {
    color: var(--gray-800);
}

/* Promo Hero */
.promo-hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: white;
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.promo-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.promo-hero .container {
    position: relative;
    z-index: 1;
}

.promo-badge {
    display: inline-block;
    background: var(--alert-red);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.promo-hero h2 {
    font-size: 2.75rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: white;
}

.promo-hero .subtitle {
    font-size: 1.15rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

.promo-hero .hero-description {
    font-size: 1rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
}

.spots-remaining {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.2);
}

.spots-number {
    font-size: 1.35rem;
    font-weight: 700;
    color: #fde047;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.spots-text {
    font-size: 0.9rem;
    line-height: 1.3;
    text-align: left;
}

/* Pricing Cards */
.pricing-section {
    padding: 4rem 0;
    background: var(--accent-gray);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    box-shadow: 0 10px 24px rgba(0,0,0,0.1);
    border: 2px solid var(--gray-200);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gray-200);
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(0,0,0,0.12);
    border-color: var(--primary-blue);
}

.pricing-card:hover::before {
    background: var(--primary-blue);
}

.pricing-card.featured {
    border-color: var(--alert-red);
    transform: scale(1.02);
    z-index: 2;
}

.pricing-card.featured::before {
    background: var(--alert-red);
    height: 5px;
}

.pricing-card.featured:hover {
    transform: scale(1.02) translateY(-8px);
    border-color: var(--alert-red);
}

.popular-badge {
    position: absolute;
    top: -1px;
    right: 1.5rem;
    background: var(--alert-red);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 0 0 8px 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.card-header {
    text-align: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 1.5rem;
    width: 100%;
}

.tier-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
}

.pricing-card.featured .tier-name {
    color: var(--alert-red);
}

.price-container {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
}

.price-original {
    font-size: 1.25rem;
    color: var(--gray-600);
    text-decoration: line-through;
}

.price-gst {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-top: 0.25rem;
}

.savings-badge {
    display: inline-block;
    background: var(--alert-red);
    color: white;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-top: 0.75rem;
}

.pricing-features-list {
    flex: 1;
    list-style: none;
    margin-bottom: 1.5rem;
    padding: 0;
    width: 100%;
}

.pricing-features-list li {
    padding: 0.5rem 0;
    padding-left: 1.75rem;
    position: relative;
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.5;
}

.pricing-features-list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-weight: bold;
}

.pricing-features-list li.highlight {
    color: var(--gray-800);
    font-weight: 500;
}

.pricing-cta-wrapper {
    width: 100%;
    text-align: center;
}

.pricing-cta {
    display: block;
    width: 100%;
    padding: 0.85rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom: 0.75rem;
}

.pricing-cta.secondary {
    background: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.pricing-cta.secondary:hover {
    background: var(--primary-blue);
    color: white;
}

.pricing-cta.featured {
    background: var(--alert-red);
    color: white;
    border: 2px solid var(--alert-red);
}

.pricing-cta.featured:hover {
    background: #b91c1c;
    border-color: #b91c1c;
}

.delivery-time {
    font-size: 0.8rem;
    color: var(--gray-600);
}

/* Trust Grid */
.trust-section {
    padding: 3rem 0;
    background: white;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.trust-item .trust-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.trust-item h4 {
    font-size: 1rem;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.trust-item p {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin: 0;
}

/* Final CTA */
.final-cta {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.final-cta h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.final-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons-row {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.cta-button.white {
    background: white;
    color: var(--primary-blue);
    border: 2px solid white;
}

.cta-button.white:hover {
    background: transparent;
    color: white;
}

.cta-button.outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-button.outline:hover {
    background: white;
    color: var(--primary-blue);
}

.guarantee-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.15);
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-size: 0.9rem;
}


/* ==========================================================
   DEVELOPMENT ASSESSMENT: CONFLICTING STYLES
   Scoped with .page-dev-assessment body class
   ========================================================== */

/* nav has gap: 2rem on dev-assessment page */
.page-dev-assessment nav {
    gap: 2rem;
}

/* team-grid is different on dev-assessment */
.page-dev-assessment .team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin: 0;
}

/* team-member is different on dev-assessment */
.page-dev-assessment .team-member {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    display: block;
    flex-direction: unset;
    align-items: unset;
}

.page-dev-assessment .team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    object-fit: cover;
}

.page-dev-assessment .team-member h3 {
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.page-dev-assessment .team-member .role {
    color: var(--primary-blue);
    font-weight: 500;
    margin-bottom: 1rem;
}

.page-dev-assessment .team-member p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

/* logo-grid is different on dev-assessment */
.page-dev-assessment .logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    align-items: center;
    justify-items: center;
    margin-top: 0;
}

/* client-logo is different on dev-assessment */
.page-dev-assessment .client-logo {
    height: 120px;
    max-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: static;
    overflow: visible;
    cursor: default;
}

.page-dev-assessment .client-logo::before {
    display: none;
}

.page-dev-assessment .client-logo:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.page-dev-assessment .client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.page-dev-assessment .client-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* calculator is different on dev-assessment */
.page-dev-assessment .calculator {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 3rem auto;
    color: var(--gray-800);
}

.page-dev-assessment .calculator h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-blue);
}

/* form-row is different on dev-assessment */
.page-dev-assessment .form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

/* form-group is different on dev-assessment */
.page-dev-assessment .form-group {
    margin-bottom: 1rem;
}

.page-dev-assessment .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--gray-700);
}

.page-dev-assessment .form-group input,
.page-dev-assessment .form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    color: var(--gray-800);
    backdrop-filter: none;
}

.page-dev-assessment .form-group input::placeholder {
    color: var(--gray-400);
}

.page-dev-assessment .form-group input:focus,
.page-dev-assessment .form-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 0, 206, 0.1);
    background: white;
}

/* result is different on dev-assessment */
.page-dev-assessment .result {
    margin-top: 2rem;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    display: none;
    background: transparent;
    backdrop-filter: none;
}

/* potential classes are different on dev-assessment */
.page-dev-assessment .potential-high {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    border: 1px solid var(--success-green);
    border-left: 1px solid var(--success-green);
}

.page-dev-assessment .potential-medium {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid var(--warning-orange);
    border-left: 1px solid var(--warning-orange);
}

.page-dev-assessment .potential-low {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border: 1px solid var(--alert-red);
    border-left: 1px solid var(--alert-red);
}

/* contact-form is different on dev-assessment */
.page-dev-assessment .contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
}

.page-dev-assessment .contact-form .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--gray-800);
}

.page-dev-assessment .contact-form .form-group input,
.page-dev-assessment .contact-form .form-group textarea,
.page-dev-assessment .contact-form .form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--gray-200);
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
    background: white;
    color: var(--gray-800);
}

.page-dev-assessment .contact-form .form-group input:focus,
.page-dev-assessment .contact-form .form-group textarea:focus,
.page-dev-assessment .contact-form .form-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
}

/* Dev Assessment Responsive */
@media (max-width: 768px) {
    .page-dev-assessment .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
    }

    .page-dev-assessment .pricing-card.featured {
        transform: none;
        order: -1;
    }

    .page-dev-assessment .pricing-card.featured:hover {
        transform: translateY(-8px);
    }

    .page-dev-assessment .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .page-dev-assessment .promo-hero h2 {
        font-size: 2rem;
    }

    .page-dev-assessment .proof-items {
        flex-direction: column;
        gap: 0.75rem;
    }

    .page-dev-assessment .cta-buttons-row {
        flex-direction: column;
    }

    .page-dev-assessment .cta-buttons-row .cta-button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .page-dev-assessment .trust-grid {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================
   ARTICLES LISTING PAGE: UNIQUE STYLES
   (No scoping needed - class names unique to this page)
   ========================================================== */

/* Hero Section (articles listing) */
.hero-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    padding: 4rem 0 3rem;
    text-align: center;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-section p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
}

/* Articles Grid Layout */
.articles-container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    margin: 4rem 0;
}

.article-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

/* Article Card */
.article-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.article-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transform: translateY(-4px);
}

.article-card h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-card h2 a {
    color: var(--gray-900);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.article-excerpt {
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: var(--white);
    border-radius: 12px;
    padding: 1.75rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid var(--gray-200);
}

.sidebar-widget h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.sidebar-widget p {
    color: var(--gray-700);
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Lead Capture Widget */
.lead-capture {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
}

.lead-capture h3,
.lead-capture p {
    color: var(--white);
}

.lead-form input {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: 6px;
    font-size: 0.95rem;
}

.lead-form button {
    width: 100%;
    padding: 0.85rem;
    background: var(--white);
    color: var(--primary-blue);
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lead-form button:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

/* Contact Widget */
.phone-cta {
    display: block;
    background: var(--primary-blue);
    color: var(--white);
    text-align: center;
    padding: 0.85rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    margin: 1rem 0;
    transition: all 0.2s ease;
}

.phone-cta:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
}


/* ==========================================================
   ARTICLES LISTING PAGE: CONFLICTING STYLES
   Scoped with .page-articles body class
   ========================================================== */

/* .logo has margin-right on articles page */
.page-articles .logo {
    margin-right: 3rem;
}

/* .article-meta is flex on articles listing */
.page-articles .article-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--gray-600);
}

/* .read-more is different on articles listing */
.page-articles .read-more {
    display: inline-block;
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.page-articles .read-more:hover {
    color: var(--dark-blue);
    transform: translateX(4px);
}

/* .newsletter-form is different on articles listing */
.page-articles .newsletter-form input {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: 6px;
    font-size: 0.95rem;
}

.page-articles .newsletter-form button {
    width: 100%;
    padding: 0.85rem;
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.page-articles .newsletter-form button:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
}

/* Footer is different on articles listing */
.page-articles footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 3rem 0 2rem;
    margin-top: 5rem;
    text-align: left;
}

.page-articles .footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.page-articles .footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.page-articles .footer-section p {
    margin: 0.5rem 0;
    color: var(--gray-400);
}

.page-articles .footer-section a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.2s ease;
}

.page-articles .footer-section a:hover {
    color: var(--white);
}

.page-articles footer > .container > p {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-700);
    font-size: 0.9rem;
}

/* Articles listing responsive - different breakpoint (968px) */
@media (max-width: 968px) {
    .page-articles .nav-links {
        position: fixed;
        left: -100%;
        top: 145px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
        gap: 1.5rem;
    }

    .page-articles .nav-links.active {
        left: 0;
    }

    .page-articles .mobile-menu {
        display: flex;
    }

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

    .page-articles .sidebar {
        order: -1;
    }

    .page-articles .hero-section h1 {
        font-size: 2rem;
    }
}


/* ==========================================================
   ARTICLE DETAIL: SHARED STYLES
   Used by BOTH early-warning + nsw-dual + template article pages
   ========================================================== */

/* Article Page Layout */
.article-page {
    max-width: 900px;
    margin: 0 auto 4rem;
}

/* Article Content (shared across article detail pages) */
.article-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px 4rem;
    background: var(--white);
    line-height: 1.8;
    font-size: 1.1rem;
}

.article-content p {
    margin-bottom: 1.5rem;
    color: var(--gray-700);
}

.article-content h2 {
    color: var(--primary-blue);
    font-size: 1.8rem;
    margin: 2.5rem 0 1rem;
    font-weight: 600;
}

.article-content h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    font-weight: 600;
}

.article-content h4 {
    color: var(--primary-blue);
    font-size: 1.25rem;
    margin: 1.5rem 0 1rem;
    font-weight: 600;
}

.article-content ul, .article-content ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.article-content li {
    margin-bottom: 0.5rem;
    color: var(--gray-700);
}

.article-content a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.article-content a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Newsletter Signup (shared article detail) */
.newsletter-signup {
    background: var(--gray-900);
    color: var(--white);
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 3rem;
}

.newsletter-signup h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.newsletter-signup p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
}

.newsletter-form button {
    background: var(--primary-blue);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: var(--dark-blue);
}

/* Related Articles (shared article detail) */
.related-articles {
    margin-bottom: 3rem;
}

.related-articles h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--gray-900);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.related-card {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.related-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.related-card h4 a {
    color: var(--gray-900);
    text-decoration: none;
}

.related-card h4 a:hover {
    color: var(--primary-blue);
}

.related-card p {
    margin-bottom: 1rem;
    color: var(--gray-700);
}

/* .read-more (article detail shared version) */
.read-more {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 0.5rem;
}

/* Author Bio (shared article detail) */
.author-bio {
    display: flex;
    gap: 2rem;
    background: var(--gray-50);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 3rem;
}

.author-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--gray-300);
    flex-shrink: 0;
}

.author-info h4 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    color: var(--gray-900);
}

.author-title {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 1rem !important;
}

/* Phone Link (shared article detail) */
.phone-link {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 1rem;
}

.phone-link a {
    color: var(--white);
    text-decoration: none;
    border-bottom: 2px solid var(--white);
}

.phone-link a:hover {
    opacity: 0.9;
}


/* ==========================================================
   ARTICLE DETAIL: SCOPED CONFLICTING STYLES
   .cta-button, .cta-buttons, .stat-highlight, .article-meta,
   footer, .logo - scoped for early-warning article
   ========================================================== */

/* Scoped .cta-button for early-warning article */
.page-article-ews .cta-button {
    background: var(--white);
    color: var(--alert-red);
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid var(--white);
    box-shadow: none;
    display: inline-block;
}

.page-article-ews .cta-button:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
    transform: none;
    box-shadow: none;
}

/* Scoped .cta-buttons for early-warning article */
.page-article-ews .cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

/* Scoped .stat-highlight for early-warning article */
.page-article-ews .stat-highlight {
    background: var(--gray-50);
    border-left: 4px solid var(--primary-blue);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 4px;
}

.page-article-ews .stat-highlight h4 {
    color: var(--primary-blue);
}

/* Scoped .article-meta for early-warning article */
.page-article-ews .article-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    font-size: 1rem;
    opacity: 0.95;
    margin-bottom: 1.5rem;
    color: inherit;
}

.page-article-ews .article-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Scoped .logo for early-warning article */
.page-article-ews .logo {
    margin-right: 3rem;
}

/* Scoped footer for early-warning article */
.page-article-ews footer {
    background: var(--gray-900);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
}

.page-article-ews .footer-section h4 {
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.page-article-ews .footer-section a {
    color: var(--gray-300);
    text-decoration: none;
}

.page-article-ews .footer-section a:hover {
    color: var(--white);
}


/* ==========================================================
   EARLY WARNING ARTICLE SPECIFIC
   Scoped with .page-article-ews body class
   ========================================================== */

/* Article Hero (red gradient version) */
.page-article-ews .article-hero {
    background: linear-gradient(135deg, var(--alert-red) 0%, #b91c1c 100%);
    color: var(--white);
    padding: 4rem 0 3rem;
    margin-bottom: 3rem;
}

.page-article-ews .article-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.page-article-ews .article-intro {
    font-size: 1.25rem;
    line-height: 1.8;
    max-width: 900px;
    opacity: 0.95;
}

/* Article Body (early warning specific) */
.page-article-ews .article-body {
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 3rem;
}

.page-article-ews .article-body h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 2.5rem 0 1.25rem 0;
    line-height: 1.3;
}

.page-article-ews .article-body h2:first-child {
    margin-top: 0;
}

.page-article-ews .article-body h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-800);
    margin: 2rem 0 1rem 0;
}

.page-article-ews .article-body p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.page-article-ews .article-body ul, .page-article-ews .article-body ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.page-article-ews .article-body li {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.page-article-ews .article-body a {
    color: var(--primary-blue);
    text-decoration: none;
    border-bottom: 1px solid var(--primary-blue);
    transition: all 0.2s ease;
}

.page-article-ews .article-body a:hover {
    color: var(--dark-blue);
    border-bottom-color: var(--dark-blue);
}

.page-article-ews .article-body strong {
    font-weight: 600;
    color: var(--gray-900);
}

/* Warning Box */
.warning-box {
    background: #fff4e6;
    border-left: 4px solid var(--warning-orange);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 4px;
}

.warning-box p {
    margin-bottom: 0;
}

/* Article Footer CTA (early warning version - red gradient) */
.page-article-ews .article-footer-cta {
    background: linear-gradient(135deg, var(--alert-red) 0%, #b91c1c 100%);
    color: var(--white);
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 3rem;
}

.page-article-ews .article-footer-cta h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.page-article-ews .article-footer-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Early Warning Responsive */
@media (max-width: 768px) {
    .page-article-ews .logo-icon {
        width: 80px;
        height: 80px;
    }

    .page-article-ews .article-hero h1 {
        font-size: 2rem;
    }

    .page-article-ews .article-intro {
        font-size: 1.1rem;
    }

    .page-article-ews .article-body {
        padding: 2rem 1.5rem;
    }

    .page-article-ews .article-body h2 {
        font-size: 1.5rem;
    }

    .page-article-ews .author-bio {
        flex-direction: column;
        text-align: center;
    }

    .page-article-ews .author-image {
        margin: 0 auto;
    }

    .page-article-ews .newsletter-form {
        flex-direction: column;
    }

    .page-article-ews .cta-buttons {
        flex-direction: column;
    }
}


/* ==========================================================
   NSW DUAL OCCUPANCY ARTICLE SPECIFIC
   Scoped with .page-article-nsw body class
   ========================================================== */

/* .logo has margin-right on nsw article */
.page-article-nsw .logo {
    margin-right: 3rem;
}

/* Article Hero (gray bg with border - nsw version) */
.page-article-nsw .article-hero {
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    border-bottom: 3px solid var(--primary-blue);
    padding: 3.5rem 20px 2rem 20px;
    margin-bottom: 2rem;
    color: var(--gray-900);
}

.page-article-nsw .article-hero-container {
    max-width: 900px;
    margin: 0 auto;
}

.page-article-nsw .article-hero h1 {
    font-size: 2.5rem;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.page-article-nsw .article-hero-meta {
    display: flex;
    gap: 2rem;
    color: var(--gray-600);
    font-size: 0.95rem;
    flex-wrap: wrap;
    align-items: center;
}

.page-article-nsw .article-hero-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
}

/* Inline CTA (nsw version) */
.page-article-nsw .inline-cta {
    background: var(--gray-50);
    border-left: 4px solid var(--primary-blue);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 4px;
}

.page-article-nsw .inline-cta a {
    color: var(--primary-blue);
    font-weight: 600;
}

/* Article Footer CTA (nsw version - solid blue) */
.page-article-nsw .article-footer-cta {
    background: var(--primary-blue);
    color: var(--white);
    padding: 3rem 2rem;
    border-radius: 8px;
    margin: 3rem 0;
    text-align: center;
}

.page-article-nsw .article-footer-cta h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.page-article-nsw .article-footer-cta p {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Scoped .cta-buttons for nsw article */
.page-article-nsw .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

/* Scoped .cta-button for nsw article */
.page-article-nsw .cta-button {
    background: var(--white);
    color: var(--primary-blue);
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    box-shadow: none;
}

.page-article-nsw .cta-button:hover {
    background: var(--gray-50);
    transform: translateY(-2px);
    box-shadow: none;
    color: var(--primary-blue);
}

/* Scoped .phone-link for nsw article */
.page-article-nsw .phone-link {
    font-size: 1.1rem;
}

.page-article-nsw .phone-link a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    border-bottom: none;
}

/* Scoped .article-meta for nsw (not used directly but keeping consistent) */
.page-article-nsw .article-meta {
    display: flex;
    gap: 2rem;
    color: var(--gray-600);
    font-size: 0.95rem;
    flex-wrap: wrap;
}

/* Author Bio (nsw version - different styling) */
.page-article-nsw .author-bio {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: 8px;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin: 3rem 0;
}

.page-article-nsw .author-image {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    background: url(LA_headshot.jpg) center / cover no-repeat;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-article-nsw .author-info {
    flex: 1;
}

.page-article-nsw .author-bio h4 {
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.page-article-nsw .author-title {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 0.75rem !important;
}

.page-article-nsw .author-info p {
    color: var(--gray-700);
    font-size: 0.95rem;
}

/* Newsletter Signup (nsw version - blue bg) */
.page-article-nsw .newsletter-signup {
    background: var(--primary-blue);
    color: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    margin: 3rem 0;
}

.page-article-nsw .newsletter-signup h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.page-article-nsw .newsletter-signup p {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1.5rem;
}

.page-article-nsw .newsletter-form {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.page-article-nsw .newsletter-form input {
    flex: 1;
    min-width: 250px;
    padding: 0.85rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 1rem;
}

.page-article-nsw .newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.page-article-nsw .newsletter-form input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.2);
}

.page-article-nsw .newsletter-form button {
    padding: 0.85rem 2rem;
    background: var(--white);
    color: var(--primary-blue);
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-article-nsw .newsletter-form button:hover {
    background: var(--gray-50);
}

/* Related Articles (nsw version) */
.page-article-nsw .related-articles {
    margin: 3rem 0;
}

.page-article-nsw .related-articles h3 {
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    font-size: inherit;
}

.page-article-nsw .related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.page-article-nsw .related-card {
    background: var(--gray-50);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-blue);
    transition: all 0.3s ease;
}

.page-article-nsw .related-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: none;
}

.page-article-nsw .related-card h4 {
    margin-bottom: 0.5rem;
    font-size: inherit;
}

.page-article-nsw .related-card a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
}

.page-article-nsw .read-more {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary-blue);
    font-weight: 600;
    transition: gap 0.3s ease;
}

.page-article-nsw .read-more:hover {
    opacity: 0.8;
}

/* Scoped footer for nsw article */
.page-article-nsw footer {
    background: var(--gray-900);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
}

.page-article-nsw .footer-section h4 {
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.page-article-nsw .footer-section p {
    margin-bottom: 0.5rem;
}

.page-article-nsw .footer-section a {
    color: var(--gray-300);
    text-decoration: none;
    transition: color 0.2s ease;
}

.page-article-nsw .footer-section a:hover {
    color: var(--white);
}

/* NSW Article Responsive - 1024px breakpoint */
@media (max-width: 1024px) {
    .page-article-nsw nav {
        padding: 1.75rem 20px;
    }

    .page-article-nsw .logo-icon {
        width: 100px;
        height: 100px;
    }

    .page-article-nsw .nav-links {
        gap: 2rem;
    }

    .page-article-nsw .nav-links a {
        font-size: 1rem;
    }

    .page-article-nsw .article-hero h1 {
        font-size: 2.2rem;
    }

    .page-article-nsw .article-hero-meta {
        gap: 1.5rem;
        font-size: 0.9rem;
    }
}

/* NSW Article Responsive - 768px breakpoint */
@media (max-width: 768px) {
    .page-article-nsw .logo-icon {
        width: 80px;
        height: 80px;
    }

    .page-article-nsw .nav-links a {
        display: block;
        font-size: 1rem;
        padding: 0.5rem 0;
    }

    .page-article-nsw .article-hero {
        padding: 2.5rem 20px 1.5rem 20px;
        margin-bottom: 1.5rem;
    }

    .page-article-nsw .article-hero h1 {
        font-size: 1.75rem;
        margin-bottom: 1.25rem;
        line-height: 1.3;
    }

    .page-article-nsw .article-hero-meta {
        gap: 1rem;
        font-size: 0.85rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .page-article-nsw .article-hero-meta span {
        padding: 0.25rem 0;
    }

    .page-article-nsw .article-content {
        font-size: 1rem;
    }

    .page-article-nsw .article-content h2 {
        font-size: 1.5rem;
        margin: 2rem 0 0.75rem;
    }

    .page-article-nsw .article-content h3 {
        font-size: 1.25rem;
        margin: 1.5rem 0 0.75rem;
    }

    .page-article-nsw .inline-cta,
    .page-article-nsw .article-footer-cta,
    .page-article-nsw .related-articles,
    .page-article-nsw .newsletter-signup {
        padding: 1.5rem;
    }

    .page-article-nsw .article-footer-cta h3 {
        font-size: 1.5rem;
    }

    .page-article-nsw .cta-buttons {
        flex-direction: column;
    }

    .page-article-nsw .cta-button {
        width: 100%;
        text-align: center;
    }

    .page-article-nsw .author-bio {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .page-article-nsw .author-image {
        width: 100px;
        height: 100px;
    }

    .page-article-nsw .newsletter-form {
        flex-direction: column;
    }

    .page-article-nsw .newsletter-form input {
        min-width: 100%;
    }

    .page-article-nsw .newsletter-form button {
        width: 100%;
    }

    .page-article-nsw .related-grid {
        grid-template-columns: 1fr;
    }
}

/* NSW Article Responsive - 480px breakpoint */
@media (max-width: 480px) {
    .page-article-nsw main {
        margin-top: 100px;
    }

    .page-article-nsw nav {
        padding: 1rem 20px;
    }

    .page-article-nsw .logo-icon {
        width: 70px;
        height: 70px;
    }

    .page-article-nsw .article-hero {
        padding: 2rem 16px 1.25rem 16px;
        margin-bottom: 1rem;
    }

    .page-article-nsw .article-hero h1 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
        line-height: 1.25;
    }

    .page-article-nsw .article-hero-meta {
        gap: 0.75rem;
        font-size: 0.8rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .page-article-nsw .article-hero-meta span {
        padding: 0.25rem 0;
        gap: 0.35rem;
    }

    .page-article-nsw .article-content {
        font-size: 0.95rem;
    }

    .page-article-nsw .article-content h2 {
        font-size: 1.35rem;
    }
}


/* ==========================================================
   ARTICLE TEMPLATE SPECIFIC
   Scoped with .page-article-template body class
   ========================================================== */

/* Breadcrumb Navigation */
.page-article-template .breadcrumb {
    background: var(--gray-50);
    padding: 1rem 0;
    margin-bottom: 2rem;
}

.page-article-template .breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    font-size: 0.95rem;
}

.page-article-template .breadcrumb-nav a {
    color: var(--gray-600);
    text-decoration: none;
    transition: color 0.2s ease;
}

.page-article-template .breadcrumb-nav a:hover {
    color: var(--primary-blue);
}

.page-article-template .breadcrumb-nav span {
    color: var(--gray-400);
}

.page-article-template .breadcrumb-nav .current {
    color: var(--gray-800);
    font-weight: 500;
}

/* Article Header (template version) */
.page-article-template .article-header {
    margin-bottom: 2.5rem;
}

.page-article-template .article-header h1 {
    font-size: 2.75rem;
    color: var(--gray-900);
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* main has padding-top instead of margin-top on template page */
.page-article-template main {
    padding-top: 170px;
    margin-top: 0;
    min-height: 70vh;
}

/* mobile-menu is different on template page */
.page-article-template .mobile-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.page-article-template .mobile-menu span {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 3px;
    transition: 0.3s;
}

/* nav-links a::after has different transition on template */
.page-article-template .nav-links a::after {
    transition: width 0.3s ease;
}

/* nav-links li.active a on template */
.page-article-template .nav-links li.active a {
    color: var(--primary-blue);
}

/* .article-meta on template page */
.page-article-template .article-meta {
    display: flex;
    gap: 2rem;
    color: var(--gray-600);
    font-size: 0.95rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.page-article-template .article-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* .article-content overrides for template */
.page-article-template .article-content {
    background: var(--white);
    line-height: 1.8;
    font-size: 1.1rem;
    max-width: none;
    margin: 0;
    padding: 0;
}

.page-article-template .article-content ul, .page-article-template .article-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
    margin-left: 0;
}

.page-article-template .article-content li {
    margin: 0.75rem 0;
    color: var(--gray-700);
}

.page-article-template .article-content strong {
    color: var(--gray-900);
    font-weight: 600;
}

.page-article-template .article-content a {
    color: var(--primary-blue);
    text-decoration: underline;
    font-weight: normal;
    transition: color 0.2s ease;
}

.page-article-template .article-content a:hover {
    color: var(--dark-blue);
    opacity: 1;
}

/* Inline CTA (template version) */
.page-article-template .inline-cta {
    background: var(--accent-gray);
    border-left: 4px solid var(--primary-blue);
    padding: 1.75rem;
    border-radius: 8px;
    margin: 2.5rem 0;
}

.page-article-template .inline-cta p {
    margin-bottom: 1rem;
    font-weight: 500;
    color: var(--gray-800);
}

.page-article-template .inline-cta a {
    display: inline-block;
    background: var(--primary-blue);
    color: var(--white);
    padding: 0.85rem 1.75rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.page-article-template .inline-cta a:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
}

/* Article Footer CTA (template version - gradient) */
.page-article-template .article-footer-cta {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    margin: 3rem 0;
    text-align: center;
}

.page-article-template .article-footer-cta h3 {
    color: var(--white);
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.page-article-template .article-footer-cta p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.page-article-template .article-footer-cta .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.page-article-template .article-footer-cta .cta-button {
    display: inline-block;
    background: var(--white);
    color: var(--primary-blue);
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    border: none;
    box-shadow: none;
}

.page-article-template .article-footer-cta .cta-button:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

.page-article-template .article-footer-cta .phone-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1rem;
}

/* Related Articles (template version) */
.page-article-template .related-articles {
    background: var(--gray-50);
    padding: 2.5rem;
    border-radius: 12px;
    margin: 3rem 0;
}

.page-article-template .related-articles h3 {
    color: var(--primary-blue);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.page-article-template .related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.page-article-template .related-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.page-article-template .related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.page-article-template .related-card h4 {
    color: var(--gray-900);
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.page-article-template .related-card h4 a {
    color: inherit;
    text-decoration: none;
}

.page-article-template .related-card h4 a:hover {
    color: var(--primary-blue);
}

.page-article-template .related-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.page-article-template .related-card .read-more {
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
}

.page-article-template .related-card .read-more:hover {
    text-decoration: underline;
}

/* Author Bio (template version) */
.page-article-template .author-bio {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    padding: 2rem;
    margin: 3rem 0;
    display: flex;
    gap: 1.5rem;
    align-items: start;
}

.page-article-template .author-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--gray-200);
    flex-shrink: 0;
}

.page-article-template .author-info h4 {
    color: var(--gray-900);
    font-size: 1.3rem;
    margin-bottom: 0.25rem;
}

.page-article-template .author-info .author-title {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.page-article-template .author-info p {
    color: var(--gray-700);
    line-height: 1.6;
}

/* Newsletter Signup (template version) */
.page-article-template .newsletter-signup {
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
    color: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    margin: 3rem 0;
    text-align: center;
}

.page-article-template .newsletter-signup h3 {
    color: var(--white);
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.page-article-template .newsletter-signup p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.page-article-template .newsletter-form {
    display: flex;
    gap: 0.75rem;
    max-width: 500px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.page-article-template .newsletter-form input {
    flex: 1;
    min-width: 250px;
    padding: 0.85rem 1rem;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 6px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    font-size: 1rem;
}

.page-article-template .newsletter-form input::placeholder {
    color: rgba(255,255,255,0.7);
}

.page-article-template .newsletter-form input:focus {
    outline: none;
    border-color: rgba(255,255,255,0.8);
    background: rgba(255,255,255,0.2);
}

.page-article-template .newsletter-form button {
    padding: 0.85rem 2rem;
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-article-template .newsletter-form button:hover {
    background: var(--light-blue);
}

/* Scoped footer for template article */
.page-article-template footer {
    background: var(--gray-900);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
}

.page-article-template .footer-section h4 {
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.page-article-template .footer-section a {
    color: var(--gray-300);
    text-decoration: none;
}

.page-article-template .footer-section a:hover {
    color: var(--white);
}

/* Article Template Responsive */
@media (max-width: 768px) {
    .page-article-template .article-header h1 {
        font-size: 2rem;
    }

    .page-article-template .article-content {
        font-size: 1.05rem;
    }

    .page-article-template .article-content h2 {
        font-size: 1.5rem;
    }

    .page-article-template .article-content h3 {
        font-size: 1.3rem;
    }

    .page-article-template .inline-cta,
    .page-article-template .article-footer-cta,
    .page-article-template .related-articles,
    .page-article-template .newsletter-signup {
        padding: 1.5rem;
    }

    .page-article-template .author-bio {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .page-article-template .newsletter-form {
        flex-direction: column;
    }

    .page-article-template .newsletter-form input {
        min-width: 100%;
    }

    .page-article-template .related-grid {
        grid-template-columns: 1fr;
    }
}
