/* Articles einheitliche Styles */
/* Mobile-first Design für optimale Benutzerfreundlichkeit */

/* Article Container */
.article-content {
    background: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding: 2rem;
    margin-bottom: 2rem;
}

/* Article Header */
.article-header {
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

.article-header h1 {
    color: #1f2937;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.article-meta {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: 0.75rem;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
}

.article-meta .badge {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
}

/* Article Content Styling */
.article-body {
    line-height: 1.8;
    color: #374151;
    font-size: 1.1rem;
}

.article-body h2 {
    color: #1f2937;
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #4a7c59;
}

.article-body h3 {
    color: #374151;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-body h4 {
    color: #4b5563;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.article-body p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.article-body ul, .article-body ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-body li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.article-body strong {
    color: #1f2937;
    font-weight: 600;
}

.article-body em {
    color: #4a7c59;
    font-style: italic;
}

/* Article Images */
.article-image {
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin: 2rem 0;
    max-width: 100%;
    height: auto;
}

.article-image-caption {
    text-align: center;
    font-style: italic;
    color: #6b7280;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

/* Article Tables */
.article-table {
    background-color: #ffffff;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    margin: 2rem 0;
}

.article-table th {
    background: linear-gradient(135deg, #4a7c59, #6b9b7a);
    color: #ffffff;
    font-weight: 600;
    padding: 1rem;
    border: none;
    text-align: left;
}

.article-table td {
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
    color: #374151;
    vertical-align: top;
}

.article-table tr:last-child td {
    border-bottom: none;
}

.article-table tr:nth-child(even) {
    background-color: #f8fafc;
}

/* Article Blockquotes */
.article-quote {
    background: linear-gradient(135deg, #f0f9f4, #e6f7ed);
    border-left: 4px solid #4a7c59;
    border-radius: 0.5rem;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    font-style: italic;
    color: #374151;
    position: relative;
}

.article-quote::before {
    content: """;
    font-size: 4rem;
    color: #4a7c59;
    position: absolute;
    top: -0.5rem;
    left: 1rem;
    font-family: serif;
}

.article-quote p {
    margin-bottom: 0;
    font-size: 1.1rem;
}

/* Article Code Blocks */
.article-code {
    background-color: #1f2937;
    color: #f9fafb;
    border-radius: 0.75rem;
    padding: 1.5rem;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    margin: 2rem 0;
    overflow-x: auto;
    border: 1px solid #374151;
}

/* Article Highlight Boxes */
.article-highlight {
    background: linear-gradient(135deg, #f0f9f4, #e6f7ed);
    border: 2px solid #4a7c59;
    border-radius: 1rem;
    padding: 2rem;
    margin: 2rem 0;
    position: relative;
}

.article-highlight h4 {
    color: #4a7c59;
    font-weight: 600;
    margin-bottom: 1rem;
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.article-highlight h4 i {
    font-size: 1.25rem;
    color: #4a7c59;
}

/* Article Warning Boxes */
.article-warning {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    border: 2px solid #d97706;
    border-radius: 1rem;
    padding: 2rem;
    margin: 2rem 0;
    position: relative;
}

.article-warning h4 {
    color: #d97706;
    font-weight: 600;
    margin-bottom: 1rem;
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.article-warning h4 i {
    font-size: 1.25rem;
    color: #d97706;
}

/* Article Success Boxes */
.article-success {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border: 2px solid #16a34a;
    border-radius: 1rem;
    padding: 2rem;
    margin: 2rem 0;
    position: relative;
}

.article-success h4 {
    color: #16a34a;
    font-weight: 600;
    margin-bottom: 1rem;
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.article-success h4 i {
    font-size: 1.25rem;
    color: #16a34a;
}

/* Article Info Boxes */
.article-info {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border: 2px solid #2563eb;
    border-radius: 1rem;
    padding: 2rem;
    margin: 2rem 0;
    position: relative;
}

.article-info h4 {
    color: #2563eb;
    font-weight: 600;
    margin-bottom: 1rem;
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.article-info h4 i {
    font-size: 1.25rem;
    color: #2563eb;
}

/* Author Bio Section */
.author-bio {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: 1rem;
    padding: 2rem;
    margin: 3rem 0;
    border: 1px solid #e5e7eb;
}

.author-bio h4 {
    color: #1f2937;
    font-weight: 600;
    margin-bottom: 1rem;
}

.author-bio .author-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.author-bio .author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #4a7c59;
    object-fit: cover;
}

.author-bio .author-details h5 {
    color: #1f2937;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.author-bio .author-details p {
    color: #6b7280;
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Article Tags */
.article-tags {
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: #f8fafc;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
}

.article-tags h5 {
    color: #374151;
    font-weight: 600;
    margin-bottom: 1rem;
}

.article-tags .tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.article-tags .tag {
    display: inline-block;
    background: linear-gradient(135deg, #4a7c59, #6b9b7a);
    color: #ffffff;
    padding: 0.375rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.article-tags .tag:hover {
    transform: translateY(-2px);
    color: #ffffff;
    text-decoration: none;
    background: linear-gradient(135deg, #6b9b7a, #4a7c59);
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.1);
}

.article-tags .tag:focus {
    outline: 2px solid #4a7c59;
    outline-offset: 2px;
}

/* Article Share Buttons */
.article-share {
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: #f8fafc;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
    text-align: center;
}

.article-share h5 {
    color: #374151;
    font-weight: 600;
    margin-bottom: 1rem;
}

.article-share .share-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.article-share .share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.2s ease;
}

.article-share .share-btn:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.article-share .share-btn.facebook {
    background-color: #1877f2;
    color: #ffffff;
}

.article-share .share-btn.twitter {
    background-color: #1da1f2;
    color: #ffffff;
}

.article-share .share-btn.whatsapp {
    background-color: #25d366;
    color: #ffffff;
}

.article-share .share-btn.email {
    background-color: #6b7280;
    color: #ffffff;
}

/* General Card Styles */
.card {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px -3px rgba(0, 0, 0, 0.1);
}

.card-header {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-bottom: 1px solid #e5e7eb;
    border-radius: 1rem 1rem 0 0 !important;
    padding: 1rem 1.5rem;
}

.card-header h5 {
    color: #1f2937;
    font-weight: 600;
    margin: 0;
    font-size: 1.1rem;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    color: #1f2937;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.card-text {
    color: #6b7280;
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Call-to-Action Card */
.card.bg-primary {
    background: linear-gradient(135deg, #4a7c59, #6b9b7a) !important;
    border: none;
}

.card.bg-primary .card-title {
    color: #ffffff;
}

.card.bg-primary .card-text {
    color: #f0f9f4;
}

/* Related Articles */
.related-articles {
    margin: 3rem 0;
}

.related-articles h4 {
    color: #1f2937;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
}

.related-articles .card {
    height: 100%;
}

.related-articles .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 15px -3px rgba(0, 0, 0, 0.1);
}

.related-articles .card-img-top {
    border-radius: 1rem 1rem 0 0;
    height: 200px;
    object-fit: cover;
}

.related-articles .card-title {
    font-size: 1.1rem;
}

.related-articles .card-text {
    font-size: 0.9rem;
}

.related-articles .card-link {
    color: #4a7c59;
    font-weight: 500;
    text-decoration: none;
}

.related-articles .card-link:hover {
    color: #6b9b7a;
    text-decoration: underline;
}

/* List Group in Cards */
.list-group-flush .list-group-item {
    border-left: none;
    border-right: none;
    padding: 0.75rem 0;
}

.list-group-flush .list-group-item:first-child {
    border-top: none;
}

.list-group-flush .list-group-item:last-child {
    border-bottom: none;
}

.list-group-item-action:hover {
    background-color: #f8fafc;
    color: #4a7c59;
}

/* Category Cards */
.card .badge {
    background: linear-gradient(135deg, #4a7c59, #6b9b7a);
    color: #ffffff;
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
}

/* Newsletter Card */
.card form .form-control {
    border-radius: 0.5rem;
    border: 1px solid #d1d5db;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
}

.card form .form-control:focus {
    border-color: #4a7c59;
    box-shadow: 0 0 0 0.2rem rgba(74, 124, 89, 0.25);
}

.card form .btn {
    border-radius: 0.5rem;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
}

/* Call-to-Action Section Cards */
.article-emergency .card {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.article-emergency .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: #4a7c59;
}

.article-emergency .card .fa-2x {
    color: #4a7c59;
    margin-bottom: 1rem;
}

.article-emergency .card h5 {
    color: #1f2937;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.article-emergency .card .text-muted {
    color: #6b7280 !important;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.article-emergency .card .btn {
    border-radius: 0.5rem;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: all 0.2s ease;
}

.article-emergency .card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px -2px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .article-content {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .article-header {
        padding-bottom: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .article-header h1 {
        font-size: 1.75rem;
    }
    
    .article-meta {
        padding: 0.75rem 1rem;
    }
    
    .article-body {
        font-size: 1rem;
    }
    
    .article-body h2 {
        font-size: 1.5rem;
        margin-top: 2rem;
    }
    
    .article-body h3 {
        font-size: 1.25rem;
        margin-top: 1.5rem;
    }
    
    .article-highlight,
    .article-warning,
    .article-success,
    .article-info {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .author-bio .author-info {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .article-share .share-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .article-share .share-btn {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
    
    /* Mobile Card Optimizations */
    .card {
        margin-bottom: 1rem;
    }
    
    .card-header {
        padding: 0.75rem 1rem;
    }
    
    .card-header h5 {
        font-size: 1rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .card-title {
        font-size: 1rem;
    }
    
    .card-text {
        font-size: 0.9rem;
    }
    
    /* Call-to-Action Cards Mobile */
    .article-emergency .card {
        margin-bottom: 1rem;
    }
    
    .article-emergency .card .fa-2x {
        font-size: 1.5rem;
    }
    
    .article-emergency .card h5 {
        font-size: 1rem;
    }
    
    .article-emergency .card .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .article-content {
        padding: 1rem;
    }
    
    .article-header h1 {
        font-size: 1.5rem;
    }
    
    .article-body {
        font-size: 0.95rem;
    }
    
    .article-body h2 {
        font-size: 1.25rem;
    }
    
    .article-body h3 {
        font-size: 1.1rem;
    }
    
    .article-table {
        font-size: 0.9rem;
    }
    
    .article-table th,
    .article-table td {
        padding: 0.75rem 0.5rem;
    }
    
    /* Small Mobile Card Optimizations */
    .card {
        border-radius: 0.75rem;
        margin-bottom: 0.75rem;
    }
    
    .card-header {
        padding: 0.5rem 0.75rem;
    }
    
    .card-header h5 {
        font-size: 0.9rem;
    }
    
    .card-body {
        padding: 0.75rem;
    }
    
    .card-title {
        font-size: 0.9rem;
    }
    
    .card-text {
        font-size: 0.85rem;
    }
    
    /* Call-to-Action Cards Small Mobile */
    .article-emergency .card .fa-2x {
        font-size: 1.25rem;
    }
    
    .article-emergency .card h5 {
        font-size: 0.9rem;
    }
    
    .article-emergency .card .btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    /* List Group Mobile */
    .list-group-flush .list-group-item {
        padding: 0.5rem 0;
        font-size: 0.9rem;
    }
    
    /* Badge Mobile */
    .card .badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }
}

/* Reading Progress Bar */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: rgba(74, 124, 89, 0.2);
    z-index: 9999;
}

.reading-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #4a7c59, #6b9b7a);
    width: 0%;
    transition: width 0.3s ease;
}

/* Article Toolbar */
.article-toolbar {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: 0.75rem;
    padding: 1rem 1.5rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.1);
}

.article-toolbar .btn {
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.article-toolbar .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.1);
}

/* Table of Contents */
.table-of-contents {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.table-of-contents .card {
    border: 2px solid #4a7c59;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.table-of-contents a {
    color: #4a7c59;
    transition: color 0.2s ease;
}

.table-of-contents a:hover {
    color: #6b9b7a;
    text-decoration: underline !important;
}

/* Dark Mode Styles */
.dark-mode {
    background-color: #1a1a1a;
    color: #e5e5e5;
}

.dark-mode .article-content {
    background-color: #2d2d2d;
    color: #e5e5e5;
}

.dark-mode .article-body h2,
.dark-mode .article-body h3,
.dark-mode .article-body h4 {
    color: #f0f0f0;
}

.dark-mode .article-body p {
    color: #d1d5db;
}

.dark-mode .card {
    background-color: #2d2d2d;
    border-color: #404040;
}

.dark-mode .card-header {
    background-color: #404040;
    border-color: #404040;
}

.dark-mode .article-toolbar {
    background: linear-gradient(135deg, #2d2d2d, #404040);
    border-color: #404040;
}

.dark-mode .table-of-contents .card {
    background-color: #2d2d2d;
    border-color: #4a7c59;
}

/* FAQ Section */
.faq-section .accordion-item {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.faq-section .accordion-button {
    background-color: #f8fafc;
    border: none;
    font-weight: 600;
    color: #1f2937;
}

.faq-section .accordion-button:not(.collapsed) {
    background-color: #4a7c59;
    color: #ffffff;
}

.faq-section .accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(74, 124, 89, 0.25);
}

.faq-section .accordion-body {
    background-color: #ffffff;
    color: #374151;
}

/* Step Guide */
.step-guide .step-item {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: 0.75rem;
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
    transition: transform 0.2s ease;
}

.step-guide .step-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.step-number .badge {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Accessibility Improvements */
.article-content:focus-within {
    outline: 2px solid #4a7c59;
    outline-offset: 2px;
}

.btn:focus,
.accordion-button:focus {
    outline: 2px solid #4a7c59;
    outline-offset: 2px;
}

/* Skip to content link for screen readers */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #4a7c59;
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 10000;
}

.skip-link:focus {
    top: 6px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .article-content {
        border: 2px solid #000;
    }
    
    .article-body h2 {
        border-bottom: 3px solid #000;
    }
    
    .btn-outline-secondary {
        border-width: 2px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .reading-progress-bar,
    .article-toolbar .btn,
    .step-guide .step-item {
        transition: none;
    }
    
    .table-of-contents {
        animation: none;
    }
}

/* Footer Styles */
footer.bg-light {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0) !important;
}

/* Print Styles */
@media print {
    .article-content {
        box-shadow: none;
        border: 1px solid #e5e7eb;
    }
    
    .article-share,
    .related-articles,
    .article-toolbar,
    .table-of-contents,
    .reading-progress {
        display: none !important;
    }
    
    .article-body {
        font-size: 12pt;
        line-height: 1.6;
    }
    
    .article-body h2 {
        page-break-after: avoid;
    }
    
    .article-body h3 {
        page-break-after: avoid;
    }
    
    .faq-section,
    .step-guide {
        page-break-inside: avoid;
    }
    
    .article-highlight,
    .article-warning {
        border: 1px solid #000;
        background: #f9f9f9;
    }
}


.unsplash-block {
    margin: 20px 0;
    text-align: center;
}

.unsplash-block img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.unsplash-block .credit {
    font-size: 0.75rem;
    color: #777;
    text-align: center;
    margin-top: 4px;
}

.unsplash-block .credit a {
    color: #777;
    text-decoration: none;
}

.unsplash-block .credit a:hover {
    text-decoration: underline;
}

/* Unsplash-Block Styles - Mobile-First Responsive Design */
.unsplash-block {
    margin: 1.5rem 0;
    text-align: center;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.unsplash-image-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.unsplash-image-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.unsplash-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.unsplash-image:hover {
    transform: scale(1.02);
}

.unsplash-block .credit {
    font-size: 0.75rem;
    color: #6b7280;
    text-align: center;
    margin-top: 0.75rem;
    padding: 0 1rem;
    line-height: 1.4;
}

.unsplash-block .credit a {
    color: #4b5563;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.unsplash-block .credit a:hover {
    color: #1f2937;
    text-decoration: underline;
}

/* Mobile-First Responsive Breakpoints */
@media (max-width: 576px) {
    .unsplash-block {
        margin: 1rem 0;
    }
    
    .unsplash-image-container {
        border-radius: 8px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    }
    
    .unsplash-image {
        border-radius: 8px;
    }
    
    .unsplash-block .credit {
        font-size: 0.7rem;
        margin-top: 0.5rem;
        padding: 0 0.5rem;
    }
}

@media (min-width: 577px) and (max-width: 768px) {
    .unsplash-block {
        margin: 1.25rem 0;
    }
    
    .unsplash-image-container {
        max-width: 90%;
    }
}

@media (min-width: 769px) and (max-width: 992px) {
    .unsplash-block {
        margin: 1.5rem 0;
    }
    
    .unsplash-image-container {
        max-width: 80%;
    }
}

@media (min-width: 993px) and (max-width: 1200px) {
    .unsplash-block {
        margin: 2rem 0;
    }
    
    .unsplash-image-container {
        max-width: 70%;
    }
}

@media (min-width: 1201px) {
    .unsplash-block {
        margin: 2.5rem 0;
    }
    
    .unsplash-image-container {
        max-width: 60%;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .unsplash-block .credit {
        color: #9ca3af;
    }
    
    .unsplash-block .credit a {
        color: #d1d5db;
    }
    
    .unsplash-block .credit a:hover {
        color: #f9fafb;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .unsplash-image-container {
        border: 2px solid #000;
    }
    
    .unsplash-block .credit a {
        text-decoration: underline;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .unsplash-image-container,
    .unsplash-image {
        transition: none;
    }
    
    .unsplash-image-container:hover {
        transform: none;
    }
    
    .unsplash-image:hover {
        transform: none;
    }
}
