/*==============================================================
# MTD ITSA Quarterly Updates Section
# Seamlessly integrates with main.css variables and design system
==============================================================*/

/* Hero Banner */
.mtd-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    max-height: 480px;
    margin-top: 80px;
}

.mtd-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mtd-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 0;
    background: linear-gradient(to top, rgba(0,0,0,0.45), transparent);
}

.mtd-breadcrumbs ol {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.mtd-breadcrumbs li,
.mtd-breadcrumbs a {
    color: #fff;
    font-size: 0.9rem;
    text-decoration: none;
}

.mtd-breadcrumbs li.current {
    opacity: 0.75;
}

.mtd-breadcrumbs li:not(:last-child)::after {
    content: "/";
    margin-left: 8px;
    opacity: 0.6;
}

@media (max-width: 768px) {
    .mtd-hero {
        max-height: 260px;
    }
}

/* Main Banner Image */
.mtd-banner-section {
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.mtd-banner-img {
    width: 100%;
    display: block;
    object-fit: contain;
    background: #fff;
}

.mtd-section {
    padding: 80px 0;
    background-color: var(--background-color);
}

/* Typography - using your existing font hierarchy */
.mtd-tag {
    background: color-mix(in srgb, var(--accent-color), transparent 88%);
    color: var(--accent-color);
    padding: 0.3rem 0.9rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mtd-heading {
    font-size: clamp(2rem, 2.3rem + 0.4vw, 2.6rem);
    font-weight: 300;
    letter-spacing: -0.02em;
    margin-bottom: 1.1rem;
    color: var(--heading-color);
}

@media (max-width: 768px) {
    .mtd-heading {
        font-size: 2rem;
    }
}

.mtd-lead {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--default-color);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.mtd-note {
    background: color-mix(in srgb, var(--accent-color), transparent 92%);
    padding: 12px 16px;
    border-radius: 8px;
    border-left: 3px solid var(--accent-color);
    font-size: 0.9rem;
}

/* Dividers - matching your card-divider style */
.mtd-divider {
    height: 1px;
    background: #E5E7EB;
    margin: 32px 0;
    opacity: 0.7;
}

/* Subheadings */
.mtd-subheading {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--heading-color);
    margin-bottom: 16px;
    letter-spacing: 0.3px;
}

/* Lists - matching your feature list styling */
.mtd-list {
    list-style: none;
    padding: 0;
    margin: 0 0 8px 0;
}

.mtd-list li {
    padding: 8px 0 8px 28px;
    position: relative;
    font-size: 1rem;
    color: var(--default-color);
    border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
}

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

.mtd-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 1.1rem;
}

/* Steps - matching your feature card styling */
.mtd-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 16px;
}

.mtd-step {
    padding: 20px;
    background: color-mix(in srgb, var(--surface-color), transparent 5%);
    border-radius: 10px;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
    transition: all 0.3s ease;
}

.mtd-step:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border-color: var(--accent-color);
}

.mtd-step h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--heading-color);
    margin-bottom: 8px;
}

.mtd-step p {
    font-size: 0.95rem;
    color: var(--default-color);
    margin: 0;
    line-height: 1.5;
}

/* Compliance section */
.mtd-compliance {
    background: color-mix(in srgb, var(--accent-color), transparent 95%);
    padding: 16px 20px;
    border-radius: 8px;
    font-size: 1rem;
    color: var(--heading-color);
    border: 1px solid color-mix(in srgb, var(--accent-color), transparent 85%);
}

/* CTA Button - matching your btn-primary exactly */
.mtd-cta .btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--contrast-color);
    padding: 12px 32px;
    font-weight: 500;
    border-radius: 999px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.mtd-cta .btn-primary:hover {
    background-color: #1E40AF;
    border-color: #1E40AF;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.25);
}

/* Sidebar Cards - matching your pricing-card styling */
.mtd-sidebar {
    position: sticky;
    top: 100px;
}

.mtd-card {
    background: var(--surface-color);
    border: 1.5px solid #D6E0FF;
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.mtd-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.mtd-card .card-body {
    padding: 24px;
}

.mtd-card h3 {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    color: var(--default-color);
    text-transform: uppercase;
}

.mtd-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mtd-card ul li {
    padding: 8px 0;
    font-size: 0.95rem;
    color: var(--heading-color);
    border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
    display: flex;
    align-items: center;
}

.mtd-card ul li:last-child {
    border-bottom: none;
}

.mtd-card ul li::before {
    content: "•";
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 10px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .mtd-section {
        padding: 60px 0;
    }
    
    .mtd-sidebar {
        margin-top: 40px;
        position: static;
    }
    
    .mtd-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .mtd-section {
        padding: 40px 0;
    }
    
    .mtd-step {
        padding: 16px;
    }
    
    .mtd-list li {
        font-size: 0.95rem;
        padding: 6px 0 6px 24px;
    }
}

/* Print styles - if needed */
@media print {
    .mtd-sidebar {
        position: static;
    }
    
    .mtd-card {
        break-inside: avoid;
        border: 1px solid #ddd;
    }
    
    .mtd-cta {
        display: none;
    }
}

/* Dark mode support if needed */
.dark-background .mtd-card {
    background: color-mix(in srgb, var(--surface-color), black 20%);
    border-color: color-mix(in srgb, var(--accent-color), transparent 70%);
}

.dark-background .mtd-step {
    background: color-mix(in srgb, var(--surface-color), black 30%);
}

.dark-background .mtd-note {
    background: color-mix(in srgb, var(--accent-color), transparent 85%);
}