/* Resource Page Styles */

:root {
    --primary-color: #0d6efd; --secondary-color: #6c757d; --text-color: #333; --text-light: #666; --border-color: #dee2e6; --light-bg: #f8f9fa; --shadow: 0 2px 10px rgba(0, 0, 0, 0.1); --border-radius: 8px; --transition: all 0.3s ease; }

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

body {
    font-family: 'PT Sans', 'Montserrat', sans-serif; color: var(--text-color); background: var(--light-bg); line-height: 1.8; }

.container {
    max-width: 1000px; }

/* Header */
.resource-header {
    box-shadow: var(--shadow); }

.header-content {
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }

.back-link {
    text-decoration: none; transition: var(--transition); font-weight: 500; }

.back-link:hover {
    opacity: 0.8; transform: translateX(-3px); }

.resource-title {
    font-size: 1.5rem; }

.resource-hero-image {
    width: 100%; height: 400px; overflow: hidden; border-radius: var(--border-radius); margin-bottom: 2rem; }

.resource-hero-image img {
    object-fit: cover; }

.btn {
    border: none; cursor: pointer; }

.resource-content h2 {
    padding-bottom: 1rem; border-bottom: 2px solid var(--border-color); }

.resource-content pre {
    overflow-x: auto; }

/* Checklist Styles */
.checklist-section {
    border-left: 4px solid var(--primary-color); }

.checklist {
    list-style: none; }

.checklist input[type="checkbox"] {
    flex-shrink: 0; margin-top: 2px; }

.checklist label {
    flex: 1; }

.tool-list {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.best-practices h2 {
    border-bottom-color: rgba(255, 255, 255, 0.3); }

.breakpoint-item {
    text-align: center; }

/* Responsive */
@media (max-width: 768px) {

    .resource-actions {
        flex-direction: column; }
}


/* Focus styles for accessibility - Auto-added */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #0066cc; outline-offset: 2px; }
