/* PPS Impact Module Wireframes - Styles */

:root {
    --primary-color: #7B3F99;
    --secondary-color: #5a2d75;
    --success-color: #28a745;
    --info-color: #17a2b8;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-gray: #f8f9fa;
    --gray: #6c757d;
    --dark: #343a40;
    --border-color: #dee2e6;
    --shadow: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-lg: 0 4px 12px rgba(0,0,0,0.15);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    line-height: 1.6;
    color: var(--dark);
}

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

/* Header Styles */
.main-header {
    background: white;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.main-header h1 {
    color: var(--primary-color);
    font-size: 2.5em;
    margin-bottom: 10px;
}

.subtitle {
    color: var(--gray);
    font-size: 1.2em;
}

/* Navigation */
.wireframe-nav {
    background: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.wireframe-nav h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.5em;
}

.nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.nav-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: var(--light-gray);
    border-radius: 8px;
    text-decoration: none;
    color: var(--dark);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.nav-card:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.nav-card .icon {
    font-size: 1.5em;
}

/* Wireframe Sections */
.wireframe-section {
    background: white;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-lg);
}

.wireframe-section h2 {
    color: var(--primary-color);
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
    margin-bottom: 25px;
    font-size: 1.8em;
}

/* Form Wireframe */
.form-wireframe {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--light-gray);
    overflow: hidden;
}

/* Tabs */
.tabs {
    display: flex;
    background: white;
    border-bottom: 2px solid var(--border-color);
}

.tab {
    padding: 15px 30px;
    cursor: pointer;
    background: var(--light-gray);
    border-right: 1px solid var(--border-color);
    transition: all 0.3s ease;
    font-weight: 500;
}

.tab:hover {
    background: #e9ecef;
}

.tab.active {
    background: white;
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
    margin-bottom: -2px;
}

/* Tab Content */
.tab-content {
    display: none;
    padding: 30px;
    background: white;
}

.tab-content.active {
    display: block;
}

.tab-content h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 1.3em;
}

/* Form Elements */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.form-field {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-field:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(123, 63, 153, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.field-note {
    display: block;
    color: var(--success-color);
    font-size: 0.85em;
    margin-top: 5px;
    font-style: italic;
}

/* Info Box */
.info-box {
    background: #e3f2fd;
    border-left: 4px solid var(--info-color);
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

/* Paragraph Sections */
.paragraph-section {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.section-header h4 {
    color: var(--secondary-color);
    font-size: 1.2em;
    margin: 0;
}

.section-layout {
    background: var(--light-gray);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.9em;
    color: var(--gray);
}

/* Inline Articles */
.inline-article {
    background: var(--light-gray);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    margin-bottom: 10px;
    overflow: hidden;
}

.inline-article.expanded {
    background: white;
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
}

.article-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: white;
    cursor: pointer;
}

.article-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-weight: bold;
}

.article-title {
    flex: 1;
    font-weight: 500;
}

.article-status {
    background: var(--info-color);
    color: white;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.85em;
}

.collapse-btn, .expand-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 5px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9em;
}

.collapse-btn:hover, .expand-btn:hover {
    background: var(--secondary-color);
}

.article-fields {
    padding: 20px;
    border-top: 1px solid var(--border-color);
}

/* Rich Text Editor */
.rich-text-editor {
    border: 2px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
}

.editor-toolbar {
    background: var(--light-gray);
    padding: 8px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    gap: 5px;
}

.editor-toolbar button {
    padding: 5px 10px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 3px;
    cursor: pointer;
}

.editor-toolbar button:hover {
    background: var(--primary-color);
    color: white;
}

/* Image Upload */
.image-upload {
    border: 2px dashed var(--border-color);
    border-radius: 6px;
    padding: 15px;
    text-align: center;
    background: var(--light-gray);
}

.image-preview {
    background: white;
    padding: 40px;
    margin-bottom: 10px;
    border-radius: 4px;
    font-size: 2em;
}

.focal-point-indicator {
    margin-top: 10px;
    color: var(--success-color);
    font-size: 0.9em;
}

.focal-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: var(--success-color);
    border-radius: 50%;
    margin-right: 5px;
}

/* Buttons */
.add-article-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background: var(--secondary-color);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.btn-dashed {
    background: white;
    color: var(--gray);
    border: 2px dashed var(--border-color);
    padding: 15px 30px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    width: 100%;
    transition: all 0.3s ease;
}

.btn-dashed:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-link {
    background: none;
    color: var(--primary-color);
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    text-decoration: underline;
}

/* Subsections */
.subsection {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 15px;
}

.subsection h5 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 10px;
    padding: 20px;
    background: var(--light-gray);
    border-top: 2px solid var(--border-color);
    margin-top: 30px;
}

/* Display Wireframe */
.display-wireframe {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: white;
    overflow: hidden;
}

.display-header {
    background: var(--primary-color);
    color: white;
    padding: 20px;
    text-align: center;
    position: relative;
}

.issue-date {
    font-size: 1.2em;
    font-weight: 600;
    letter-spacing: 2px;
}

.annotation {
    background: var(--warning-color);
    color: var(--dark);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.85em;
    margin-top: 10px;
    display: inline-block;
}

/* Display Sections */
.display-section {
    padding: 30px;
    border-bottom: 1px solid var(--border-color);
}

.section-title {
    color: var(--primary-color);
    font-size: 1.5em;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Feature Display */
.feature-main {
    margin-bottom: 30px;
    position: relative;
}

.image-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    position: relative;
    border-radius: 4px;
}

.image-placeholder.large {
    height: 300px;
    margin-bottom: 20px;
}

.image-placeholder.small {
    height: 120px;
    margin-bottom: 10px;
}

.image-placeholder.tiny {
    height: 80px;
    margin-bottom: 10px;
}

.image-placeholder.hero {
    height: 400px;
}

.image-note {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.7em;
}

.feature-secondary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-item h3,
.department-item h3 {
    color: var(--dark);
    font-size: 1.1em;
    margin-bottom: 5px;
}

.deck {
    color: var(--gray);
    font-size: 0.95em;
    margin-bottom: 10px;
}

.excerpt {
    color: var(--dark);
    margin-bottom: 10px;
}

.continue-reading {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.byline {
    color: var(--gray);
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Departments Grid */
.departments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.department-item {
    padding: 15px;
    background: var(--light-gray);
    border-radius: 6px;
}

.category {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 0.75em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

/* Inside APTA Grid */
.inside-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.inside-item {
    padding: 20px;
    background: var(--light-gray);
    border-radius: 6px;
}

.inside-item h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

/* Ad Blocks */
.ad-block {
    background: #ffe5e5;
    border: 2px dashed #ff9999;
    padding: 40px;
    text-align: center;
    color: #666;
    font-weight: 600;
    margin: 20px 0;
}

/* Article Page */
.article-page .article-header-display {
    padding: 20px 30px;
    background: var(--light-gray);
}

.issue-breadcrumb {
    color: var(--gray);
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.category-label {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 0.85em;
}

.article-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    padding: 30px;
}

.main-content h1 {
    color: var(--dark);
    font-size: 2.2em;
    margin-bottom: 10px;
}

.main-content .deck {
    font-size: 1.2em;
    color: var(--gray);
    margin-bottom: 20px;
}

.byline-section {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 30px;
}

.article-body {
    font-size: 1.05em;
    line-height: 1.8;
    color: #333;
}

.article-body p {
    margin-bottom: 20px;
}

.action-item {
    background: #fff3cd;
    border-left: 4px solid var(--warning-color);
    padding: 20px;
    margin: 30px 0;
}

.action-item h4 {
    color: var(--dark);
    margin-bottom: 10px;
}

.references {
    background: var(--light-gray);
    padding: 20px;
    border-radius: 6px;
    margin-top: 30px;
}

.references h4 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.references ol {
    margin-left: 20px;
    color: var(--gray);
}

.share-section {
    display: flex;
    gap: 10px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.share-section button {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    background: white;
    border-radius: 4px;
    cursor: pointer;
}

.share-section button:hover {
    background: var(--primary-color);
    color: white;
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 20px;
}

.sidebar-content {
    background: var(--light-gray);
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.sidebar-content h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.sidebar-content ul {
    margin-left: 20px;
    color: var(--gray);
}

.author-bio {
    background: white;
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 6px;
    margin-top: 20px;
}

.author-bio img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.author-bio h4 {
    color: var(--dark);
    margin-bottom: 5px;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.social-links a {
    display: inline-block;
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    color: white;
    text-align: center;
    line-height: 30px;
    border-radius: 50%;
    text-decoration: none;
}

/* Flow Diagram */
.flow-diagram {
    padding: 30px;
    background: white;
    border-radius: 8px;
}

.flow-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.flow-arrow {
    font-size: 2em;
    color: var(--primary-color);
    margin: 0 20px;
}

.flow-box {
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow);
}

.flow-box.form {
    background: #e3f2fd;
    border: 2px solid var(--info-color);
}

.flow-box.data {
    background: #f3e5f5;
    border: 2px solid var(--primary-color);
    text-align: left;
}

.flow-box.data ul {
    list-style: none;
    margin-top: 10px;
}

.flow-box.display {
    background: #e8f5e9;
    border: 2px solid var(--success-color);
    margin-bottom: 10px;
}

.flow-outputs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.key-features {
    background: var(--light-gray);
    padding: 20px;
    border-radius: 8px;
}

.key-features h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.key-features ul {
    list-style: none;
}

.key-features li {
    padding: 8px 0;
    color: var(--dark);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .feature-secondary-grid,
    .departments-grid,
    .inside-grid {
        grid-template-columns: 1fr;
    }
    
    .article-content-grid {
        grid-template-columns: 1fr;
    }
    
    .flow-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
    }
}

/* Focal Point Demonstration Styles */
.focal-demo {
    padding: 20px;
}

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

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

.focal-item h4 {
    color: #7B3F99;
    margin-bottom: 15px;
    font-size: 16px;
}

.image-demo {
    position: relative;
    background: linear-gradient(45deg, #f0f0f0 25%, transparent 25%),
                linear-gradient(-45deg, #f0f0f0 25%, transparent 25%),
                linear-gradient(45deg, transparent 75%, #f0f0f0 75%),
                linear-gradient(-45deg, transparent 75%, #f0f0f0 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    border: 2px dashed #999;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-demo.original-size {
    width: 200px;
    height: 150px;
}

.image-demo.hero-crop {
    width: 233px;
    height: 100px;
}

.image-demo.feature-large-crop {
    width: 178px;
    height: 100px;
}

.image-demo.feature-small-crop {
    width: 150px;
    height: 100px;
}

.image-demo.dept-small-crop {
    width: 133px;
    height: 100px;
}

.image-demo.marketing-crop {
    width: 133px;
    height: 100px;
}

.image-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.focal-point-marker {
    position: absolute;
    top: 40%;
    left: 60%;
    transform: translate(-50%, -50%);
    color: #ff4444;
    font-size: 24px;
    font-weight: bold;
    z-index: 2;
}

.image-label {
    background: rgba(255, 255, 255, 0.9);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    color: #666;
}

.image-desc {
    font-size: 13px;
    color: #666;
    margin-top: 10px;
    line-height: 1.4;
}

.focal-item.original .image-demo {
    border-color: #7B3F99;
    border-width: 3px;
}

.focal-explanation {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
}

.focal-explanation h4 {
    color: #7B3F99;
    margin-bottom: 15px;
}

.focal-explanation ul {
    list-style: none;
    padding: 0;
}

.focal-explanation li {
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
}

.focal-explanation li:last-child {
    border-bottom: none;
}

/* Mobile Wireframe Styles */
.mobile-container {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 20px;
}

.mobile-device, .tablet-device {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.device-frame {
    border: 3px solid #333;
    border-radius: 20px;
    padding: 10px;
    background: #000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.mobile-device .device-frame {
    width: 375px;
}

.tablet-device .device-frame {
    width: 768px;
}

.device-screen {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    min-height: 600px;
}

.mobile-device .device-screen {
    width: 355px;
}

.tablet-device .device-screen {
    width: 748px;
    min-height: 500px;
}

.device-label {
    margin-top: 15px;
    font-size: 14px;
    color: #666;
    font-weight: bold;
}

.mobile-header {
    background: #f5f5f5;
    padding: 15px;
    font-weight: bold;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

.mobile-header.purple {
    background: #7B3F99;
    color: white;
}

.mobile-tabs {
    display: flex;
    border-bottom: 2px solid #e0e0e0;
}

.mobile-tab {
    flex: 1;
    padding: 12px;
    text-align: center;
    background: #f8f9fa;
    border-right: 1px solid #e0e0e0;
    font-size: 14px;
}

.mobile-tab.active {
    background: white;
    border-bottom: 2px solid #7B3F99;
    margin-bottom: -2px;
}

.mobile-form {
    padding: 15px;
}

.mobile-form label {
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
    font-size: 14px;
    color: #666;
}

.mobile-field {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.mobile-section {
    padding: 15px;
    border-top: 1px solid #e0e0e0;
}

.mobile-section h4 {
    color: #7B3F99;
    margin-bottom: 10px;
    font-size: 16px;
}

.mobile-article-list {
    space-y: 8px;
}

.mobile-article {
    padding: 12px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 8px;
    font-size: 14px;
}

.mobile-article.expanded {
    background: white;
    border-color: #7B3F99;
}

.mobile-article-fields {
    margin-top: 10px;
}

.mobile-article-fields input,
.mobile-article-fields textarea {
    width: 100%;
    margin-top: 8px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
}

.mobile-feature-main {
    padding: 15px;
}

.mobile-image {
    background: #e0e0e0;
    border: 1px dashed #999;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 10px;
}

.mobile-image.large {
    height: 180px;
}

.mobile-image.small {
    width: 80px;
    height: 80px;
    float: left;
    margin-right: 10px;
}

.mobile-feature-main h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #333;
}

.mobile-feature-main p {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.mobile-byline {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
}

.mobile-feature-item {
    padding: 12px 15px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: start;
}

.mobile-content {
    flex: 1;
}

.mobile-content h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.mobile-content p {
    font-size: 13px;
    color: #666;
}

.mobile-section-title {
    background: #f8f9fa;
    padding: 10px 15px;
    font-weight: bold;
    color: #7B3F99;
    font-size: 14px;
}

.mobile-dept-item {
    padding: 12px 15px;
    border-bottom: 1px solid #e0e0e0;
}

.category-tag {
    display: inline-block;
    background: #7B3F99;
    color: white;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 11px;
    margin-bottom: 4px;
}

.mobile-dept-item h4 {
    font-size: 15px;
    margin: 0;
}

/* Tablet Styles */
.tablet-header {
    background: #7B3F99;
    color: white;
    padding: 20px;
    text-align: center;
    font-weight: bold;
}

.tablet-features {
    padding: 20px;
}

.tablet-main-feature {
    margin-bottom: 20px;
}

.tablet-image {
    background: #e0e0e0;
    border: 2px dashed #999;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 18px;
}

.tablet-main-feature h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.tablet-secondary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.tablet-secondary-item {
    border: 1px solid #e0e0e0;
    padding: 10px;
    border-radius: 4px;
}

.tablet-image-small {
    background: #f0f0f0;
    border: 1px dashed #999;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.tablet-secondary-item h4 {
    font-size: 16px;
    margin: 0;
}

.tablet-departments {
    padding: 20px;
    background: #f8f9fa;
}

.tablet-departments h3 {
    color: #7B3F99;
    margin-bottom: 15px;
    font-size: 18px;
}

.tablet-dept-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.tablet-dept-item {
    background: white;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
    font-size: 14px;
}

.responsive-notes {
    background: #fff8dc;
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
}

.responsive-notes h3 {
    color: #7B3F99;
    margin-bottom: 15px;
}

.responsive-notes ul {
    list-style: none;
    padding: 0;
}

.responsive-notes li {
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 14px;
}

.responsive-notes strong {
    color: #333;
}

/* Inline Entity Form Styles (Author) */
.inline-entity-form {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 10px;
    background: #f9f9f9;
}

.entity-select-wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
}

.entity-select-wrapper .form-field {
    flex: 1;
}

.btn-inline-add {
    padding: 8px 16px;
    background: #7B3F99;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    white-space: nowrap;
    transition: background 0.3s;
}

.btn-inline-add:hover {
    background: #5a2d75;
}

.inline-author-create {
    margin-top: 15px;
    padding: 15px;
    background: white;
    border: 2px solid #7B3F99;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.inline-author-create.collapsed {
    display: none;
}

.inline-form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.inline-form-title {
    font-weight: bold;
    color: #7B3F99;
    font-size: 16px;
}

.btn-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
}

.btn-close:hover {
    background: #f0f0f0;
    color: #333;
}

.inline-form-fields {
    space-y: 15px;
}

.inline-form-fields .form-group {
    margin-bottom: 15px;
}

.inline-form-fields .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.image-upload.small {
    display: flex;
    gap: 10px;
    align-items: center;
}

.image-upload.small button {
    padding: 6px 12px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
}

.image-upload.small button:hover {
    background: #e0e0e0;
}

.file-name {
    font-size: 13px;
    color: #666;
    font-style: italic;
}

.field-help {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 4px;
    font-style: italic;
}

/* Enhanced annotation for inline entity form */
.inline-entity-form + .field-note {
    background: #fff8dc;
    padding: 4px 8px;
    border-radius: 3px;
    margin-top: 8px;
    display: inline-block;
}

/* Print Styles */
@media print {
    body {
        background: white;
    }
    
    .wireframe-nav {
        display: none;
    }
    
    .wireframe-section {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #000;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-content.active {
    animation: fadeIn 0.3s ease;
}

/* Hover Effects */
.inline-article:hover {
    box-shadow: var(--shadow);
}

.feature-item:hover,
.department-item:hover,
.inside-item:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

/* Checkbox Styles */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: normal;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Add Section */
.add-section {
    padding: 20px;
    text-align: center;
}

/* Hero Section Styles */
.hero-section {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.impact-title {
    font-size: 4em;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
}

.background-note {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.9em;
    z-index: 10;
    max-width: 300px;
}

.info-bar-extended {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 30px 40px;
    padding-bottom: 60px;
    border-radius: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.issue-identifier {
    display: flex;
    align-items: center;
    gap: 20px;
}

.issue-identifier .issue-date {
    font-size: 1.2em;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--dark);
}

.feature-label {
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 1em;
    font-weight: 600;
    text-transform: uppercase;
}

/* Updated Image Placeholder Styles for Landscape Format */
.image-placeholder.landscape {
    height: 120px;
    margin-bottom: 10px;
    aspect-ratio: 16/9;
}

/* Inside APTA Layout Updates */
.inside-apta-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.inside-apta-content {
    min-height: 300px;
}

.inside-vertical-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.inside-apta-sidebar {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.ad-block-sidebar {
    background: #ffe5e5;
    border: 2px dashed #ff9999;
    padding: 40px 20px;
    text-align: center;
    color: #666;
    font-weight: 600;
    width: 100%;
    max-width: 320px;
}

/* Archive Section Styles */
.archive-section {
    background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
    color: white;
    padding: 40px;
    border-radius: 8px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: center;
}

.archive-title {
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 15px;
    color: white;
}

.archive-description {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.archive-button {
    background: white;
    color: #0066cc;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

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

.archive-covers {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.magazine-cover {
    width: 80px;
    height: 100px;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.magazine-cover:hover {
    transform: scale(1.05);
}

/* Article Page Styles */
.article-type-section {
    margin-bottom: 40px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.article-type-section h3 {
    background: var(--primary-color);
    color: white;
    padding: 15px 20px;
    margin: 0;
    font-size: 1.2em;
}

/* Article Page Type 1 - Sidebar Layout */
.article-header-simple {
    padding: 30px;
    background: var(--light-gray);
    border-bottom: 1px solid var(--border-color);
}

.feature-label-small {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 0.8em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.article-header-simple h1 {
    font-size: 2.2em;
    color: var(--dark);
    margin-bottom: 10px;
}

.article-header-simple .deck {
    font-size: 1.2em;
    color: var(--gray);
    margin-bottom: 15px;
}

/* Article Page Type 2 - Centered Layout */
.article-page-centered {
    max-width: 800px;
    margin: 0 auto;
}

.article-content-centered {
    padding: 30px;
    border-top: none;
}

.lead-image-container {
    margin-bottom: 30px;
    text-align: center;
    border-top: none;
}

.image-placeholder.large-centered {
    height: 300px;
    margin: 0 auto 15px;
    max-width: 600px;
}

.image-placeholder.medium-centered {
    height: 200px;
    margin: 20px auto;
    max-width: 400px;
}

.image-placeholder.medium {
    height: 200px;
    margin: 20px 0;
}

.image-caption {
    font-size: 0.9em;
    color: var(--gray);
    font-style: italic;
    text-align: center;
    margin-top: 10px;
}

.article-body-centered {
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.lead-paragraph {
    font-size: 1.2em;
    color: var(--dark);
    margin-bottom: 25px;
    font-weight: 500;
}

.pull-quote {
    background: var(--light-gray);
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    margin: 30px 0;
    font-size: 1.1em;
    font-style: italic;
}

.pull-quote blockquote {
    margin: 0;
    color: var(--secondary-color);
    font-weight: 500;
}

.inline-image-container-centered {
    margin: 30px 0;
    text-align: center;
}

.action-item-centered {
    background: #e3f2fd;
    border-left: 4px solid var(--info-color);
    padding: 20px;
    margin: 30px 0;
    border-radius: 4px;
}

.action-item-centered h4 {
    color: var(--info-color);
    margin-bottom: 10px;
}

.author-bio-centered {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 25px;
    background: var(--light-gray);
    border-radius: 8px;
    margin: 40px 0 20px;
}

.author-photo {
    width: 80px;
    height: 80px;
    background: var(--gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    color: white;
    flex-shrink: 0;
}

.author-info h4 {
    color: var(--dark);
    margin-bottom: 8px;
}

.author-info p {
    color: var(--gray);
    font-size: 0.9em;
    margin-bottom: 10px;
}

.share-section-centered {
    display: flex;
    gap: 10px;
    justify-content: center;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    margin-top: 30px;
}

/* Sidebar Enhancements */
.related-article {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.related-article:last-child {
    border-bottom: none;
}

.related-article h4 {
    color: var(--dark);
    margin-bottom: 5px;
    font-size: 1em;
}

.article-excerpt {
    color: var(--gray);
    font-size: 0.9em;
    margin: 0;
}

/* Inline Image Container */
.inline-image-container {
    margin: 25px 0;
}

/* Wrapped Inline Image Container */
.inline-image-container-wrapped {
    float: right;
    margin: 0 0 20px 20px;
    max-width: 300px;
}

.image-placeholder.medium-wrapped {
    height: 200px;
    margin: 0;
    width: 100%;
}

/* Impact Footer */
.impact-footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 20px 0;
    text-align: center;
    margin-top: 0;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-logo {
    font-size: 1.5em;
    font-weight: bold;
    color: white;
}

.footer-nav {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: white;
    text-decoration: none;
    font-size: 0.9em;
    transition: opacity 0.3s ease;
}

.footer-nav a:hover {
    opacity: 0.8;
}

.footer-nav .separator {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
}

/* Article Page 1 Specific Styles */
.issue-info-below {
    background: none;
    padding: 15px 30px;
    text-align: left;
}

.sidebar-additional-content {
    background: var(--light-gray);
    padding: 20px;
    border-radius: 6px;
    margin-top: 20px;
}

.sidebar-additional-content .sidebar-content {
    background: transparent;
    padding: 0;
    margin-bottom: 20px;
}

.sidebar-additional-content .sidebar-content:last-of-type {
    margin-bottom: 0;
}

.sidebar-additional-content h3 {
    color: var(--dark);
    background: none;
    font-size: 1.1em;
    margin-bottom: 15px;
    font-weight: bold;
}

.sidebar-intro {
    color: var(--dark);
    font-size: 0.9em;
    margin-bottom: 20px;
    line-height: 1.5;
}

.attribute-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.attribute-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.attribute-item h4 {
    color: var(--dark);
    font-size: 0.95em;
    margin-bottom: 5px;
    font-weight: bold;
    background: none;
}

.attribute-item p {
    color: var(--gray);
    font-size: 0.85em;
    margin: 0;
    line-height: 1.4;
}

/* Article Header Main Content */
.article-header-main-content {
    padding: 30px;
    background: none;
}

.article-header-main-content h1 {
    font-size: 2.2em;
    color: var(--dark);
    margin-bottom: 10px;
}

.article-header-main-content .deck {
    font-size: 1.2em;
    color: var(--gray);
    margin-bottom: 15px;
}

/* Article Subheadings */
.article-subheading {
    color: var(--dark) !important;
    font-size: 1.3em;
    margin: 25px 0 15px 0;
    background: none !important;
    font-weight: bold;
}

/* Blue Action Item */
.action-item-blue {
    background: linear-gradient(135deg, #4a90e2 0%, #7b68ee 100%);
    color: white;
    padding: 20px;
    margin: 30px 0;
    border-radius: 4px;
    position: relative;
}

.action-item-blue h4 {
    color: white;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.action-item-blue p {
    color: white;
    margin: 0;
}

/* Full Width Continuation Section */
.continuation-section {
    background: var(--light-gray);
    padding: 30px;
    margin: 30px -30px;
    border-left: 4px solid var(--primary-color);
}

.continuation-section p {
    margin: 0;
    line-height: 1.7;
    font-size: 1.05em;
    color: var(--dark);
}

/* Author Bio Updates */
.author-section-title {
    background: var(--primary-color);
    color: white;
    padding: 10px 20px;
    margin: 0 -20px 20px -20px;
    font-size: 1em;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.author-content {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.author-details h4 {
    margin: 0 0 8px 0;
    color: var(--dark);
}

.author-details p {
    margin: 0 0 10px 0;
    color: var(--gray);
    font-size: 0.9em;
}

/* References Section */
.references {
    background: var(--light-gray);
    padding: 20px;
    border-radius: 6px;
    margin: 30px 0 20px;
}

.references h4 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1em;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.references ol {
    margin-left: 20px;
    color: var(--gray);
    line-height: 1.6;
}

.references li {
    margin-bottom: 8px;
    font-size: 0.9em;
}

/* Updated Share Section */
.share-section-updated {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    margin-top: 20px;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    background: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

.share-btn:hover {
    background: var(--light-gray);
}

.share-btn.facebook:hover {
    background: #1877f2;
    color: white;
    border-color: #1877f2;
}

.share-btn.linkedin:hover {
    background: #0077b5;
    color: white;
    border-color: #0077b5;
}

.share-btn.copy-url:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Article 2 Specific Styles */
.article-header-white-bg {
    background: white;
    padding: 30px;
}

.article-header-white-bg .byline-section {
    border-top: 1px solid var(--border-color);
    border-bottom: none;
    padding-top: 15px;
    margin-top: 15px;
    margin-bottom: 0;
}

.issue-info-marketing {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.marketing-label {
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 1em;
    font-weight: 600;
    text-transform: uppercase;
}

.article-header-white-bg h1 {
    font-size: 2.2em;
    color: var(--dark);
    margin-bottom: 10px;
}

.article-header-white-bg .deck {
    font-size: 1.2em;
    color: var(--gray);
    margin-bottom: 15px;
}

/* Article 2 Centered Subheadings */
.article-subheading-centered {
    color: var(--dark) !important;
    font-size: 1.3em;
    margin: 25px 0 15px 0;
    background: none !important;
    font-weight: bold;
}

.author-content-centered {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

/* Responsive Updates */
@media (max-width: 768px) {
    .inside-apta-container {
        grid-template-columns: 1fr;
    }
    
    .inside-apta-sidebar {
        order: -1;
    }
    
    .archive-section {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .archive-covers {
        justify-content: center;
    }
    
    .impact-title {
        font-size: 3em;
    }
    
    .issue-identifier {
        flex-direction: column;
        gap: 10px;
    }
    
    .author-bio-centered {
        flex-direction: column;
        text-align: center;
    }
    
    .article-header-simple h1 {
        font-size: 1.8em;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-nav {
        justify-content: center;
    }
}