/* ==========================================================================
   Insurance Service Page Styles
   Progressive-style layout with quote card overlapping hero image
   ========================================================================== */

/* Hero Section - Clean Title Area (White Background)
   ========================================================================== */
.insurance-hero {
    background: #fff;
    padding: 50px 0 20px;
    text-align: center;
}

.insurance-hero-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
}

.insurance-hero-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.insurance-hero-subheader {
    font-size: 18px;
    color: #555;
    margin: 0;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   Quote + Image Wrapper - Keeps image in place when accordion opens
   ========================================================================== */
.insurance-quote-image-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ==========================================================================
   Quote Form Accordion Section - Overlaps Image
   ========================================================================== */
.insurance-quote-section {
    position: relative;
    z-index: 10;
    padding: 20px 0 0;
    background: transparent;
}

.insurance-quote-container {
    max-width: 700px;
    margin: 0 auto;
}

/* Accordion Card */
.quote-accordion {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 2px solid #b81c1c;
    position: relative;
    z-index: 20;
}

.quote-accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 28px;
    background: #fff;
    color: #b81c1c;
    font-size: 18px;
    font-weight: 600;
    font-family: inherit;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.quote-accordion-header:hover {
    background-color: #fdf5f5;
}

.quote-accordion-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.quote-accordion-title i {
    font-size: 20px;
    color: #b81c1c;
}

.quote-accordion-icon {
    transition: transform 0.3s ease;
}

.quote-accordion-icon i {
    font-size: 16px;
    color: #b81c1c;
}

.quote-accordion-header[aria-expanded="true"] .quote-accordion-icon {
    transform: rotate(180deg);
}

/* Panel */
.quote-accordion-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.quote-accordion-panel.active {
    max-height: 100%;
}

.quote-form-wrapper {
    padding: 28px;
    border-top: 1px solid #e5e5e5;
}

/* Contact Options - Below Accordion, Overlapping Image */
.quote-contact-options {
    display: flex;
    justify-content: center;
    gap: 32px;
    padding: 20px 0;
    position: relative;
    z-index: 15;
}

.quote-contact-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.3s ease;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.quote-contact-link:hover {
    opacity: 0.9;
    color: #fff;
}

.quote-contact-link i {
    font-size: 16px;
    color: #fff;
}

/* ==========================================================================
   Hero Image Banner - Positioned Behind Accordion
   ========================================================================== */
.insurance-hero-image {
    position: absolute;
    top: 35px; /* Start partway down so accordion overlaps */
    left: 0;
    right: 0;
    z-index: 1;
}

.insurance-hero-image img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 8px;
}

/* Spacer to maintain layout flow after absolute image */
.insurance-hero-image-spacer {
    height: 340px; /* Approximate visible image height */
}

/* Breadcrumbs */
.insurance-breadcrumbs {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 16px 0;
}

.breadcrumbs-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    font-size: 14px;
}

.breadcrumbs-container a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs-container a:hover {
    color: var(--morrell-red, #900);
}

.breadcrumb-sep {
    margin: 0 10px;
    color: #999;
}

.breadcrumb-current {
    color: #1a1a1a;
    font-weight: 500;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.animate-fade-up {
    opacity: 0;
    animation: fadeUp 0.6s ease forwards;
}

.animate-slide-up {
    opacity: 0;
    animation: slideUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.2s;
}

.animate-fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.4s; }
.delay-4 { animation-delay: 0.5s; }

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .animate-fade-up,
    .animate-slide-up,
    .animate-fade-in {
        opacity: 1;
        animation: none;
        transform: none;
    }
    
    .quote-accordion-panel {
        transition: none;
    }
}

/* Main Content Section
   ========================================================================== */
.insurance-content {
    padding: 80px 0;
    background: #fff;
}

.insurance-content-container {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    align-items: start;
}

.insurance-content-main {
    min-width: 0;
}

.insurance-content-body {
    font-size: 17px;
    line-height: 1.8;
    color: #444;
}

.insurance-content-body h2 {
    font-size: 28px;
    margin-bottom: 0.5em;
}

.insurance-content-body h3 {
    font-size: 22px;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.insurance-content-body p {
    margin-bottom: 1.5em;
}

.insurance-content-body ul,
.insurance-content-body ol {
    margin-bottom: 1.5em;
    padding-left: 1.5em;
}

.insurance-content-body li {
    margin-bottom: 0.5em;
}

/* Section Title */
.section-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 24px;
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-size: 16px;
    color: #666;
    margin: -16px 0 30px;
}

/* Coverage Options Grid
   ========================================================================== */
.coverage-options {
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid #eee;
}

.coverage-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.coverage-card {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 28px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.coverage-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Coverage Card Scroll Animations */
.js-animations .coverage-options .coverage-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.js-animations .coverage-options.in-view .coverage-card {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger the cards */
.js-animations .coverage-options.in-view .coverage-card:nth-child(1) { transition-delay: 0.1s; }
.js-animations .coverage-options.in-view .coverage-card:nth-child(2) { transition-delay: 0.2s; }
.js-animations .coverage-options.in-view .coverage-card:nth-child(3) { transition-delay: 0.3s; }
.js-animations .coverage-options.in-view .coverage-card:nth-child(4) { transition-delay: 0.4s; }
.js-animations .coverage-options.in-view .coverage-card:nth-child(5) { transition-delay: 0.5s; }
.js-animations .coverage-options.in-view .coverage-card:nth-child(6) { transition-delay: 0.6s; }
.js-animations .coverage-options.in-view .coverage-card:nth-child(7) { transition-delay: 0.7s; }
.js-animations .coverage-options.in-view .coverage-card:nth-child(8) { transition-delay: 0.8s; }

.coverage-icon {
    width: 50px;
    height: 50px;
    background: rgba(153, 0, 0, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.coverage-icon i {
    font-size: 22px;
    color: var(--morrell-red, #900);
}

.coverage-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 10px;
}

.coverage-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* FAQ Section
   ========================================================================== */
.insurance-faqs {
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid #eee;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: #fff;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    text-align: left;
    cursor: pointer;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f9f9f9;
}

.faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--morrell-red, #900);
    transition: transform 0.3s ease;
}

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

.faq-answer {
    display: none;
    padding: 0 24px 20px;
    font-size: 15px;
    color: #555;
    line-height: 1.7;
}

.faq-answer.active {
    display: block;
}

/* FAQ Scroll Animations */
.js-animations .insurance-faqs .faq-item {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.js-animations .insurance-faqs.in-view .faq-item {
    opacity: 1;
    transform: translateY(0);
}

.js-animations .insurance-faqs.in-view .faq-item:nth-child(1) { transition-delay: 0.1s; }
.js-animations .insurance-faqs.in-view .faq-item:nth-child(2) { transition-delay: 0.15s; }
.js-animations .insurance-faqs.in-view .faq-item:nth-child(3) { transition-delay: 0.2s; }
.js-animations .insurance-faqs.in-view .faq-item:nth-child(4) { transition-delay: 0.25s; }
.js-animations .insurance-faqs.in-view .faq-item:nth-child(5) { transition-delay: 0.3s; }
.js-animations .insurance-faqs.in-view .faq-item:nth-child(6) { transition-delay: 0.35s; }
.js-animations .insurance-faqs.in-view .faq-item:nth-child(7) { transition-delay: 0.4s; }
.js-animations .insurance-faqs.in-view .faq-item:nth-child(8) { transition-delay: 0.45s; }
.js-animations .insurance-faqs.in-view .faq-item:nth-child(9) { transition-delay: 0.5s; }
.js-animations .insurance-faqs.in-view .faq-item:nth-child(10) { transition-delay: 0.55s; }

/* Insurance Sidebar
   ========================================================================== */
.insurance-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.sidebar-card:last-child {
    margin-bottom: 0;
}

.sidebar-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 12px;
}

.sidebar-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 16px;
}

.sidebar-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--morrell-red, #900);
    text-decoration: none;
    margin-bottom: 16px;
}

.sidebar-phone i {
    font-size: 18px;
}

.sidebar-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--morrell-red, #900);
    text-decoration: none;
}

.sidebar-link:hover {
    text-decoration: underline;
}

/* Sidebar Resources */
.sidebar-resources-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-resource-item {
    border-bottom: 1px solid #e5e5e5;
}

.sidebar-resource-item:last-child {
    border-bottom: none;
}

.sidebar-resource-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    text-decoration: none;
    transition: background 0.3s ease;
}

.sidebar-resource-item a:hover .resource-title {
    color: var(--morrell-red, #900);
}

.resource-type-badge {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
    background: var(--morrell-red, #900);
    padding: 3px 8px;
    border-radius: 4px;
    flex-shrink: 0;
}

.sidebar-resource-item .resource-title {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    transition: color 0.3s ease;
}

.sidebar-resource-item i {
    color: #ccc;
    font-size: 12px;
}

.sidebar-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--morrell-red, #900);
    text-decoration: none;
    margin-top: 16px;
}

.sidebar-view-all:hover {
    text-decoration: underline;
}

/* Sidebar Scroll Animations */
.js-animations .insurance-sidebar .sidebar-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.js-animations .insurance-sidebar .sidebar-card.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Resources Section (Full Width)
   ========================================================================== */
.insurance-resources-section {
    padding: 80px 0;
    background: #f9f9f9;
}

.insurance-resources-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.insurance-resources-header {
    text-align: center;
    margin-bottom: 40px;
}

.insurance-resources-header .section-title {
    margin-bottom: 12px;
}

.insurance-resources-header .section-subtitle {
    margin: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.resource-card {
    background: #fff;
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.resource-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.resource-reading-time {
    font-size: 12px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 5px;
}

.resource-reading-time i {
    font-size: 11px;
}

.resource-card-title {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 10px;
}

.resource-card-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.resource-card-title a:hover {
    color: var(--morrell-red, #900);
}

.resource-card-summary {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 16px;
}

.resource-card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.resource-read-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--morrell-red, #900);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.resource-read-link:hover {
    text-decoration: underline;
}

.resource-read-link i {
    font-size: 12px;
}

.resource-download-link {
    font-size: 13px;
    color: #666;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
}

.resource-download-link:hover {
    color: var(--morrell-red, #900);
}

/* Resource Card Scroll Animations */
.js-animations .resources-grid .resource-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.js-animations .insurance-resources-section.in-view .resource-card {
    opacity: 1;
    transform: translateY(0);
}

.js-animations .insurance-resources-section.in-view .resource-card:nth-child(1) { transition-delay: 0.1s; }
.js-animations .insurance-resources-section.in-view .resource-card:nth-child(2) { transition-delay: 0.2s; }
.js-animations .insurance-resources-section.in-view .resource-card:nth-child(3) { transition-delay: 0.3s; }
.js-animations .insurance-resources-section.in-view .resource-card:nth-child(4) { transition-delay: 0.4s; }

/* Buttons (reusable)
   ========================================================================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--morrell-red, #900);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.btn-primary:hover {
    background: #a00;
    transform: translateY(-2px);
    color: #fff;
}

/* ==========================================================================
   Single Resource Page Styles
   ========================================================================== */

/* Resource Header
   ========================================================================== */
.resource-header {
    background: #f9f9f9;
    padding: 60px 0;
    text-align: center;
}

.resource-header-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.resource-meta-top {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.resource-category {
    font-size: 12px;
    font-weight: 600;
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
}

.resource-category:hover {
    color: var(--morrell-red, #900);
}

.resource-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.resource-summary {
    font-size: 18px;
    color: #555;
    margin: 0 0 24px;
    line-height: 1.6;
}

.resource-meta-bar {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.resource-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
}

.resource-meta-item i {
    color: var(--morrell-red, #900);
    font-size: 14px;
}

.resource-download-cta {
    margin-top: 24px;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--morrell-red, #900);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.btn-download:hover {
    background: #700;
    transform: translateY(-2px);
    color: #fff;
}

/* Resource Content
   ========================================================================== */
.resource-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px;
}

.resource-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 50px;
    align-items: start;
}

.resource-content {
    min-width: 0;
}

.resource-featured-image {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
}

.resource-featured-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.resource-body {
    font-size: 17px;
    line-height: 1.8;
    color: #444;
}

.resource-body h2 {
    font-size: 26px;
    margin-top: 2em;
    margin-bottom: 0.5em;
}

.resource-body h3 {
    font-size: 20px;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.resource-body p {
    margin-bottom: 1.5em;
}

.resource-body ul,
.resource-body ol {
    margin-bottom: 1.5em;
    padding-left: 1.5em;
}

.resource-body li {
    margin-bottom: 0.5em;
}

.resource-body blockquote {
    border-left: 4px solid var(--morrell-red, #900);
    padding: 20px 30px;
    margin: 2em 0;
    background: #f9f9f9;
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

/* Resource Tags */
.resource-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding-top: 30px;
    margin-top: 40px;
    border-top: 1px solid #eee;
}

.resource-tags-label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.resource-tag {
    font-size: 13px;
    color: #555;
    text-decoration: none;
    background: #f0f0f0;
    padding: 6px 14px;
    border-radius: 4px;
    transition: background 0.3s ease, color 0.3s ease;
}

.resource-tag:hover {
    background: var(--morrell-red, #900);
    color: #fff;
}

/* Actions Bar */
.resource-actions-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid #eee;
}

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

.resource-share-label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.resource-share-buttons {
    display: flex;
    gap: 8px;
}

.resource-share-buttons .share-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    border-radius: 50%;
    color: #555;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
}

.resource-share-buttons .share-btn:hover {
    background: var(--morrell-red, #900);
    color: #fff;
}

.btn-download-inline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #f0f0f0;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.3s ease, color 0.3s ease;
}

.btn-download-inline:hover {
    background: var(--morrell-red, #900);
    color: #fff;
}

.btn-download-inline .download-size {
    font-weight: 400;
    opacity: 0.8;
}

/* Resource Sidebar
   ========================================================================== */
.resource-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-download {
    text-align: center;
}

.sidebar-download-icon {
    width: 60px;
    height: 60px;
    background: rgba(153, 0, 0, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.sidebar-download-icon i {
    font-size: 28px;
    color: var(--morrell-red, #900);
}

.sidebar-download h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px;
}

.sidebar-download p {
    font-size: 14px;
    color: #666;
    margin: 0 0 12px;
}

.sidebar-file-size {
    display: block;
    font-size: 13px;
    color: #888;
    margin-bottom: 16px;
}

.btn-sidebar-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    background: var(--morrell-red, #900);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.3s ease;
}

.btn-sidebar-download:hover {
    background: #700;
    color: #fff;
}

/* Related Insurance */
.sidebar-related-insurance h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px;
}

.sidebar-related-insurance p {
    font-size: 14px;
    color: #666;
    margin: 0 0 16px;
}

.sidebar-insurance-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.sidebar-insurance-link:hover {
    border-color: var(--morrell-red, #900);
    color: var(--morrell-red, #900);
}

/* Related Resources */
.sidebar-related h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 16px;
}

.related-resources-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.related-resources-list li {
    border-bottom: 1px solid #e5e5e5;
}

.related-resources-list li:last-child {
    border-bottom: none;
}

.related-resources-list a {
    display: block;
    padding: 12px 0;
    text-decoration: none;
}

.related-resources-list .related-type {
    display: block;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--morrell-red, #900);
    margin-bottom: 4px;
}

.related-resources-list .related-title {
    font-size: 14px;
    color: #333;
    transition: color 0.3s ease;
}

.related-resources-list a:hover .related-title {
    color: var(--morrell-red, #900);
}

/* Sidebar CTA */
.resource-sidebar .sidebar-cta {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
}

.resource-sidebar .sidebar-cta h3 {
    color: #fff;
    font-size: 18px;
    margin: 0 0 8px;
}

.resource-sidebar .sidebar-cta p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 16px;
}

.resource-sidebar .sidebar-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--morrell-red, #900);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.3s ease;
}

.resource-sidebar .sidebar-cta-btn:hover {
    background: #a00;
    color: #fff;
}

/* More Resources Section
   ========================================================================== */
.more-resources-section {
    padding: 80px 0;
    background: #f9f9f9;
}

.more-resources-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.more-resources-section .section-title {
    text-align: center;
    margin-bottom: 40px;
}

.more-resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Responsive
   ========================================================================== */
@media (max-width: 1024px) {
    .resources-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .more-resources-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .insurance-content-container,
    .resource-layout {
        grid-template-columns: 1fr;
    }
    
    .insurance-sidebar,
    .resource-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .sidebar-cta {
        grid-column: 1 / -1;
    }
    
    .coverage-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .insurance-hero-container,
    .insurance-content-container,
    .insurance-resources-container,
    .resource-container,
    .more-resources-container,
    .breadcrumbs-container {
        padding-left: 24px;
        padding-right: 24px;
    }
    
    .insurance-hero {
        padding: 50px 0 30px;
    }
    
    .insurance-hero-subheader {
        font-size: 16px;
    }
    
    /* Quote + Image Wrapper Responsive */
    .insurance-quote-image-wrapper {
        padding: 0 24px;
    }
    
    /* Hero Image Responsive */
    .insurance-hero-image {
        top: 30px;
    }
    
    .insurance-hero-image img {
        max-height: 300px;
    }
    
    .insurance-hero-image-spacer {
        height: 280px;
    }
    
    /* Quote Section Responsive */
    .insurance-quote-section {
        padding: 20px 0 0;
    }
    
    .insurance-quote-container {
        max-width: 100%;
    }
    
    .quote-accordion-header {
        padding: 18px 22px;
        font-size: 17px;
    }
    
    .quote-form-wrapper {
        padding: 24px 20px;
    }
    
    .quote-contact-options {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding: 16px 0;
    }
    
    .insurance-content,
    .insurance-resources-section {
        padding: 60px 0;
    }
    
    .resources-grid,
    .more-resources-grid {
        grid-template-columns: 1fr;
    }
    
    .insurance-sidebar,
    .resource-sidebar {
        grid-template-columns: 1fr;
    }
    
    .resource-actions-bar {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .resource-meta-bar {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .insurance-hero {
        padding: 40px 0 24px;
    }
    
    .insurance-hero-container {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .insurance-hero-subheader {
        font-size: 15px;
    }
    
    /* Quote + Image Wrapper Mobile */
    .insurance-quote-image-wrapper {
        padding: 0 16px;
    }
    
    /* Hero Image Mobile */
    .insurance-hero-image {
        top: 25px;
    }
    
    .insurance-hero-image img {
        max-height: 220px;
        border-radius: 6px;
    }
    
    .insurance-hero-image-spacer {
        height: 200px;
    }
    
    /* Quote Section - Smaller Screens */
    .insurance-quote-section {
        padding: 16px 0 0;
    }
    
    .quote-accordion {
        border-radius: 8px;
    }
    
    .quote-accordion-header {
        padding: 14px 16px;
        font-size: 15px;
    }
    
    .quote-accordion-title {
        gap: 10px;
    }
    
    .quote-accordion-title i {
        font-size: 16px;
    }
    
    .quote-form-wrapper {
        padding: 20px 16px;
    }
}

/* ==========================================================================
   Resources Archive Page Styles
   ========================================================================== */

.resources-archive {
    background: #fff;
}

/* Header */
.resources-header {
    background: #f9f9f9;
    padding: 60px 0;
    text-align: center;
}

.resources-header-inner {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 24px;
}

.resources-title {
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}

.resources-subtitle {
    font-size: 17px;
    color: #555;
    margin: 0;
    line-height: 1.6;
}

/* Container */
.resources-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 40px 80px;
}

/* Filters */
.resources-filters {
    margin-bottom: 40px;
}

.filter-form {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    flex-wrap: wrap;
    padding: 24px;
    background: #f9f9f9;
    border-radius: 10px;
}

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

.filter-group label {
    font-size: 13px;
    font-weight: 600;
    color: #333;
}

.filter-group select {
    padding: 10px 36px 10px 14px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E") no-repeat right 12px center;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    min-width: 180px;
}

.filter-group select:focus {
    outline: none;
    border-color: var(--morrell-red, #900);
}

.filter-submit {
    padding: 10px 24px;
    background: var(--morrell-red, #900);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.filter-submit:hover {
    background: #700;
}

.filter-clear {
    padding: 10px 16px;
    font-size: 14px;
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.filter-clear:hover {
    color: var(--morrell-red, #900);
}

/* Results Count */
.resources-results-count {
    margin-bottom: 24px;
}

.resources-results-count p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Resources Grid */
.resources-archive .resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.resources-archive .resource-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resources-archive .resource-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.resource-card-image {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.resource-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.resource-card:hover .resource-card-image img {
    transform: scale(1.05);
}

.resource-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.resources-archive .resource-card-header {
    margin-bottom: 12px;
}

.resources-archive .resource-card-title {
    font-size: 18px;
    margin: 0 0 10px;
}

.resources-archive .resource-card-summary {
    flex: 1;
}

.resource-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #eee;
}

.resource-card-footer .resource-download-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    border-radius: 6px;
    color: #666;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
}

.resource-card-footer .resource-download-link:hover {
    background: var(--morrell-red, #900);
    color: #fff;
}

/* No Results */
.resources-no-results {
    text-align: center;
    padding: 80px 20px;
}

.resources-no-results i {
    font-size: 48px;
    color: #ddd;
    margin-bottom: 20px;
}

.resources-no-results h2 {
    font-size: 24px;
    color: #333;
    margin: 0 0 12px;
}

.resources-no-results p {
    font-size: 16px;
    color: #666;
    margin: 0 0 24px;
}

/* Pagination */
.resources-pagination {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.resources-pagination ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.resources-pagination li a,
.resources-pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    text-decoration: none;
    background: #f5f5f5;
    border-radius: 8px;
    transition: background 0.3s ease, color 0.3s ease;
}

.resources-pagination li a:hover {
    background: #e0e0e0;
    color: #1a1a1a;
}

.resources-pagination li span.current {
    background: var(--morrell-red, #900);
    color: #fff;
}

/* Responsive */
@media (max-width: 900px) {
    .resources-archive .resources-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 600px) {
    .resources-container {
        padding: 40px 24px 60px;
    }
    
    .filter-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        width: 100%;
    }
    
    .filter-group select {
        width: 100%;
        min-width: auto;
    }
    
    .filter-submit {
        width: 100%;
    }
    
    .filter-clear {
        text-align: center;
    }
    
    .resources-archive .resources-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Resource Cards with Featured Images - Add to insurance-resources.css
   ========================================================================== */

/* Update Resources Section for Image Cards */
.insurance-resources-section .resources-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Resource Card with Image */
.insurance-resources-section .resource-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.insurance-resources-section .resource-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Card Image */
.insurance-resources-section .resource-card-image {
    display: block;
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f0f0f0;
}

.insurance-resources-section .resource-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.insurance-resources-section .resource-card:hover .resource-card-image img {
    transform: scale(1.05);
}

/* Badge Overlay on Image */
.insurance-resources-section .resource-card-image .resource-type-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--morrell-red, #b81c1c);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

/* Placeholder for Resources Without Image */
.insurance-resources-section .resource-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

.insurance-resources-section .resource-card-placeholder i {
    font-size: 48px;
    color: #ccc;
}

/* Card Content Area */
.insurance-resources-section .resource-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.insurance-resources-section .resource-card-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 12px;
    line-height: 1.4;
}

.insurance-resources-section .resource-card-title a {
    color: #1a1a2e;
    text-decoration: none;
    transition: color 0.3s ease;
}

.insurance-resources-section .resource-card-title a:hover {
    color: var(--morrell-red, #b81c1c);
}

.insurance-resources-section .resource-card-summary {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

/* Card Actions */
.insurance-resources-section .resource-card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid #eee;
    margin-top: auto;
}

.insurance-resources-section .resource-read-link {
    color: var(--morrell-red, #b81c1c);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s ease;
}

.insurance-resources-section .resource-read-link:hover {
    gap: 10px;
}

.insurance-resources-section .resource-download-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #f5f5f5;
    color: #555;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.3s ease, color 0.3s ease;
}

.insurance-resources-section .resource-download-link:hover {
    background: var(--morrell-red, #b81c1c);
    color: #fff;
}

/* View All Button */
.resources-view-all {
    text-align: center;
    margin-top: 40px;
}

/* Override animation styles - ensure cards are visible */
.insurance-resources-section .resource-card {
    opacity: 1 !important;
    transform: none !important;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border: 2px solid var(--morrell-red, #b81c1c);
    color: var(--morrell-red, #b81c1c);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.3s ease, color 0.3s ease;
}

.btn-outline:hover {
    background: var(--morrell-red, #b81c1c);
    color: #fff;
}

/* Responsive */
@media (max-width: 1024px) {
    .insurance-resources-section .resources-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .insurance-resources-section .resources-grid {
        grid-template-columns: 1fr;
    }
    
    .insurance-resources-section .resource-card-content {
        padding: 20px;
    }
}