/* AI Character Gallery - Mobile-First Responsive Design */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    background-color: #1a1c23;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
}

body {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

/* Main Containers */
.aicg-gallery-container, 
.aicg-single-container {
    background-color: #1a1c23;
    color: #ffffff;
    padding: 15px 10px;
    font-family: 'Inter', sans-serif;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
}

@media (min-width: 481px) {
    .aicg-gallery-container, 
    .aicg-single-container {
        padding: 20px 15px;
    }
}

@media (min-width: 769px) {
    .aicg-gallery-container, 
    .aicg-single-container {
        padding: 30px 20px;
        max-width: 100%;
        width: 100%;
    }
}

/* Gallery Header */
.aicg-gallery-header {
    text-align: center;
    margin-bottom: 15px;
}

.aicg-gallery-header h1 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #fff;
    letter-spacing: -0.5px;
}

@media (min-width: 481px) {
    .aicg-gallery-header h1 {
        font-size: 28px;
    }
}

@media (min-width: 769px) {
    .aicg-gallery-header h1 {
        font-size: 42px;
    }
}

.aicg-gallery-header p {
    font-size: 14px;
    color: #9ca3af;
    font-weight: 400;
}

@media (min-width: 481px) {
    .aicg-gallery-header p {
        font-size: 16px;
    }
}

@media (min-width: 769px) {
    .aicg-gallery-header p {
        font-size: 20px;
    }
}

/* Search Bar */
.aicg-search-bar {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.aicg-search-wrapper {
    position: relative;
    width: 100%;
    max-width: 650px;
}

.aicg-search-wrapper input {
    width: 100%;
    padding: 12px 15px;
    border-radius: 12px;
    border: 1px solid #374151;
    background: #f3f4f6;
    color: #1f2937;
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

@media (min-width: 481px) {
    .aicg-search-wrapper input {
        padding: 14px 20px;
        font-size: 16px;
    }
}

@media (min-width: 769px) {
    .aicg-search-wrapper input {
        padding: 18px 30px;
        font-size: 18px;
    }
}

.aicg-search-wrapper .dashicons-search {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    font-size: 18px;
}

@media (min-width: 769px) {
    .aicg-search-wrapper .dashicons-search {
        right: 25px;
        font-size: 24px;
    }
}

/* Category Navigation */
.aicg-categories-nav {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: thin;
    scrollbar-color: #f59e0b #1a1c23;
}

@media (min-width: 481px) {
    .aicg-categories-nav {
        gap: 12px;
        margin-bottom: 30px;
    }
}

@media (min-width: 769px) {
    .aicg-categories-nav {
        gap: 20px;
        margin-bottom: 60px;
    }
}

.aicg-categories-nav::-webkit-scrollbar {
    height: 4px;
}

.aicg-categories-nav::-webkit-scrollbar-track {
    background: #1a1c23;
}

.aicg-categories-nav::-webkit-scrollbar-thumb {
    background-color: #f59e0b;
    border-radius: 10px;
}

.aicg-cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s;
    width: 65px;
    flex-shrink: 0;
}

@media (min-width: 481px) {
    .aicg-cat-item {
        width: 85px;
    }
}

@media (min-width: 769px) {
    .aicg-cat-item {
        width: 110px;
    }
}

.aicg-cat-item:hover, 
.aicg-cat-item.active {
    transform: translateY(-3px);
}

.aicg-cat-thumb {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #f59e0b;
    margin-bottom: 5px;
    background: #2a2d37;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.2);
    transition: all 0.3s ease;
}

@media (min-width: 481px) {
    .aicg-cat-thumb {
        width: 70px;
        height: 70px;
        border-width: 2px;
        margin-bottom: 8px;
    }
}

@media (min-width: 769px) {
    .aicg-cat-thumb {
        width: 90px;
        height: 90px;
        border-width: 3px;
        margin-bottom: 10px;
        box-shadow: 0 0 15px rgba(245, 158, 11, 0.3);
    }
}

.aicg-cat-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aicg-cat-item span {
    font-size: 10px;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
    line-height: 1.2;
}

@media (min-width: 481px) {
    .aicg-cat-item span {
        font-size: 12px;
    }
}

@media (min-width: 769px) {
    .aicg-cat-item span {
        font-size: 15px;
    }
}

.aicg-cat-item:hover .aicg-cat-thumb, 
.aicg-cat-item.active .aicg-cat-thumb {
    border-color: #ffffff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.aicg-cat-item.active span {
    color: #f59e0b;
}

/* Grid Layout */
.aicg-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

@media (min-width: 481px) {
    .aicg-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (min-width: 769px) {
    .aicg-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

@media (min-width: 1024px) {
    .aicg-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
}

@media (min-width: 1200px) {
    .aicg-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 24px;
    }
}

.aicg-card {
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s;
    position: relative;
}

.aicg-card:hover {
    transform: scale(1.02);
}

.aicg-card a {
    text-decoration: none;
}

.aicg-card-image {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1/1;
}

.aicg-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aicg-card-title {
    padding: 10px 5px;
    text-align: center;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: transparent;
    width: 100%;
    position: relative;
    z-index: 10;
}

.aicg-card-title h3 {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    color: #f59e0b !important;
    display: block !important;
    visibility: visible !important;
    text-transform: capitalize;
    line-height: 1.4;
}

@media (min-width: 481px) {
    .aicg-card-title h3 {
        font-size: 14px;
    }
}

@media (min-width: 769px) {
    .aicg-card-title h3 {
        font-size: 16px;
    }
}

/* Single View Layout */
.aicg-single-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

@media (min-width: 481px) {
    .aicg-single-content {
        gap: 20px;
    }
}

@media (min-width: 769px) {
    .aicg-single-content {
        gap: 30px;
    }
}

.aicg-character-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

@media (min-width: 769px) {
    .aicg-character-layout {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 30px;
    }
}

.aicg-main-preview img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    transition: opacity 0.2s ease-in-out;
    display: block;
}

/* Single Page Header */
.aicg-single-header {
    margin-bottom: 25px;
    text-align: center;
    width: 100%;
}

.aicg-single-header h1 {
    font-size: 2.5rem;
    color: #fff;
    margin: 0;
    font-weight: 700;
    text-transform: capitalize;
    letter-spacing: -1px;
}

@media (max-width: 768px) {
    .aicg-single-header h1 {
        font-size: 1.8rem;
    }
}

.aicg-character-header-top {
    margin-bottom: 20px;
    text-align: center;
}

/* Variations List */
.aicg-variations-list {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 8px;
    scrollbar-width: thin;
}

@media (min-width: 769px) {
    .aicg-variations-sidebar {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .aicg-variations-list {
        flex-direction: row;
        justify-content: center;
        overflow-x: visible;
        gap: 15px;
        padding-bottom: 0;
        width: auto;
    }
}

.aicg-variation-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 6px 4px;
    background: #2a2d37;
    border-radius: 10px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 70px;
    flex-shrink: 0;
    text-align: center;
}

@media (min-width: 769px) {
    .aicg-variation-item {
        flex-direction: column;
        min-width: 120px;
        flex-shrink: 0;
        padding: 10px;
        gap: 10px;
        text-align: center;
    }
}

.aicg-variation-item:hover {
    background: #374151;
}

.aicg-variation-item.active {
    background: #374151;
    border-color: #f59e0b;
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.3);
}

.aicg-variation-thumb {
    width: 60px;
    aspect-ratio: 4/5;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

@media (min-width: 769px) {
    .aicg-variation-thumb {
        width: 80px;
        border-radius: 8px;
    }
}

.aicg-variation-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aicg-variation-name {
    font-weight: 600;
    font-size: 10px;
    color: #d1d5db;
    line-height: 1.2;
}

@media (min-width: 769px) {
    .aicg-variation-name {
        font-size: 15px;
    }
}

.aicg-variation-item.active .aicg-variation-name {
    color: #f59e0b;
}

/* Buttons */
.aicg-primary-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

@media (min-width: 481px) {
    .aicg-primary-buttons {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        margin-bottom: 30px;
    }
}

@media (min-width: 769px) {
    .aicg-primary-buttons {
        gap: 20px;
        margin-bottom: 40px;
    }
}

.aicg-download-btn,
.aicg-guide-btn {
    padding: 12px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 13px;
    border: 2px solid;
}

@media (min-width: 481px) {
    .aicg-download-btn,
    .aicg-guide-btn {
        padding: 14px;
        font-size: 15px;
        gap: 10px;
    }
}

@media (min-width: 769px) {
    .aicg-download-btn,
    .aicg-guide-btn {
        padding: 16px;
        font-size: 16px;
        gap: 12px;
    }
}

.aicg-download-btn {
    border-color: #10b981;
    background: #374151;
    color: #10b981;
}

.aicg-download-btn:hover {
    background: #10b981;
    color: #1a1c23;
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.5);
}

.aicg-guide-btn {
    border-color: #f59e0b;
    background: transparent;
    color: #f59e0b;
}

.aicg-guide-btn:hover {
    background: #f59e0b;
    color: #1a1c23;
    transform: translateY(-2px);
}

/* Character Title Section */
.aicg-character-title-section {
    margin-top: 20px;
    margin-bottom: 15px;
}

@media (min-width: 481px) {
    .aicg-character-title-section {
        margin-top: 25px;
        margin-bottom: 20px;
    }
}

@media (min-width: 769px) {
    .aicg-character-title-section {
        margin-top: 40px;
        margin-bottom: 30px;
    }
}

.aicg-character-title-section h1 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    color: #fff;
    letter-spacing: -0.3px;
    word-wrap: break-word;
    line-height: 1.3;
}

@media (min-width: 481px) {
    .aicg-character-title-section h1 {
        font-size: 24px;
    }
}

@media (min-width: 769px) {
    .aicg-character-title-section h1 {
        font-size: 32px;
    }
}

@media (min-width: 1024px) {
    .aicg-character-title-section h1 {
        font-size: 36px;
    }
}

/* Content Boxes */
.aicg-character-description,
.aicg-prompt-box,
.aicg-guide-box {
    background: #2a2d37;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 15px;
    border: 1px solid #374151;
}

@media (min-width: 481px) {
    .aicg-character-description,
    .aicg-prompt-box,
    .aicg-guide-box {
        padding: 18px;
        border-radius: 16px;
        margin-bottom: 20px;
    }
}

@media (min-width: 769px) {
    .aicg-character-description,
    .aicg-prompt-box,
    .aicg-guide-box {
        padding: 30px;
        border-radius: 20px;
        margin-bottom: 30px;
    }
}

.aicg-character-description h3,
.aicg-prompt-box h3,
.aicg-guide-box h3,
.aicg-related-section h3 {
    color: #f59e0b;
    font-size: 16px;
    border-bottom: 2px solid #f59e0b;
    display: inline-block;
    margin-bottom: 12px;
    padding-bottom: 5px;
}

@media (min-width: 481px) {
    .aicg-character-description h3,
    .aicg-prompt-box h3,
    .aicg-guide-box h3,
    .aicg-related-section h3 {
        font-size: 18px;
        margin-bottom: 15px;
    }
}

@media (min-width: 769px) {
    .aicg-character-description h3,
    .aicg-prompt-box h3,
    .aicg-guide-box h3,
    .aicg-related-section h3 {
        font-size: 22px;
        margin-bottom: 20px;
    }
}

.aicg-description-content {
    font-size: 13px;
    line-height: 1.6;
    color: #d1d5db;
}

@media (min-width: 481px) {
    .aicg-description-content {
        font-size: 14px;
        line-height: 1.7;
    }
}

@media (min-width: 769px) {
    .aicg-description-content {
        font-size: 16px;
        line-height: 1.8;
    }
}

/* Related Section */
.aicg-related-section {
    margin-bottom: 20px;
}

@media (min-width: 481px) {
    .aicg-related-section {
        margin-bottom: 25px;
    }
}

@media (min-width: 769px) {
    .aicg-related-section {
        margin-bottom: 40px;
    }
}

.aicg-related-section h3 {
    margin-top: 0;
    margin-bottom: 12px;
}

@media (min-width: 481px) {
    .aicg-related-section h3 {
        margin-bottom: 15px;
    }
}

@media (min-width: 769px) {
    .aicg-related-section h3 {
        margin-bottom: 20px;
    }
}

/* Related Grid */
.aicg-related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

@media (min-width: 481px) {
    .aicg-related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (min-width: 769px) {
    .aicg-related-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

@media (min-width: 1024px) {
    .aicg-related-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 18px;
    }
}

@media (min-width: 1200px) {
    .aicg-related-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 20px;
    }
}

.aicg-related-card img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

@media (min-width: 481px) {
    .aicg-related-card img {
        border-radius: 12px;
    }
}

@media (min-width: 769px) {
    .aicg-related-card img {
        border-radius: 16px;
    }
}

.aicg-related-card h4 {
    margin: 8px 0 0;
    font-size: 11px;
    text-align: center;
    color: #fff;
    word-wrap: break-word;
    line-height: 1.3;
}

@media (min-width: 481px) {
    .aicg-related-card h4 {
        font-size: 12px;
        margin-top: 10px;
    }
}

@media (min-width: 769px) {
    .aicg-related-card h4 {
        font-size: 14px;
        margin-top: 10px;
    }
}

.aicg-related-card a {
    text-decoration: none;
}

/* View More Button */
.aicg-view-more {
    text-align: center;
    margin-top: 20px;
}

@media (min-width: 481px) {
    .aicg-view-more {
        margin-top: 30px;
    }
}

@media (min-width: 769px) {
    .aicg-view-more {
        margin-top: 50px;
    }
}

.aicg-view-more button {
    padding: 12px 20px;
    border-radius: 10px;
    border: 1px solid #374151;
    cursor: pointer;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #374151;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
}

@media (min-width: 481px) {
    .aicg-view-more button {
        padding: 14px 24px;
        font-size: 15px;
        gap: 10px;
    }
}

@media (min-width: 769px) {
    .aicg-view-more button {
        padding: 16px 30px;
        font-size: 16px;
    }
}

.aicg-view-more button:hover {
    background: #4b5563;
    transform: translateY(-2px);
}

/* New Fields Styles */
.aicg-short-summary {
    margin-top: 10px;
    font-size: 16px;
    color: #9ca3af;
    line-height: 1.6;
}

.aicg-character-lore, 
.aicg-design-explanation,
.aicg-technical-info {
    margin-top: 30px;
    padding: 20px;
    background: #2a2d37;
    border-radius: 12px;
}

.aicg-character-lore h3, 
.aicg-design-explanation h3,
.aicg-technical-info h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #f59e0b;
    border-bottom: 1px solid #374151;
    padding-bottom: 10px;
}

.aicg-lore-content, 
.aicg-design-content {
    font-size: 15px;
    line-height: 1.7;
    color: #e5e7eb;
}

/* Technical Info Table */
.aicg-tech-table {
    width: 100%;
    border-collapse: collapse;
}

.aicg-tech-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #374151;
    font-size: 14px;
}

.aicg-tech-table tr:last-child td {
    border-bottom: none;
}

.aicg-tech-table td:first-child {
    width: 30%;
    color: #9ca3af;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.aicg-tech-table td:last-child {
    color: #ffffff;
    font-weight: 500;
}

@media (max-width: 768px) {
    .aicg-tech-table td {
        display: block;
        width: 100% !important;
        padding: 8px 0;
    }
    .aicg-tech-table td:first-child {
        border-bottom: none;
        padding-bottom: 0;
    }
}

/* FAQ Section Styles */
.aicg-faq-section {
    margin-top: 30px;
    padding: 20px;
    background: #2a2d37;
    border-radius: 12px;
}

.aicg-faq-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #f59e0b;
    border-bottom: 1px solid #374151;
    padding-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.aicg-faq-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.aicg-faq-item {
    background: #1a1c23;
    border-radius: 8px;
    border: 1px solid #374151;
    overflow: hidden;
    transition: all 0.3s ease;
}

.aicg-faq-item:hover {
    border-color: #f59e0b;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.aicg-faq-question {
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #ffffff;
    font-size: 15px;
    user-select: none;
}

.aicg-faq-question:after {
    content: '\f347';
    font-family: 'dashicons';
    font-size: 18px;
    color: #f59e0b;
    transition: transform 0.3s ease;
}

.aicg-faq-item.active .aicg-faq-question:after {
    transform: rotate(180deg);
}

.aicg-faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-out;
    color: #9ca3af;
    font-size: 14px;
    line-height: 1.6;
}

.aicg-faq-item.active .aicg-faq-answer {
    padding: 0 20px 20px 20px;
    max-height: 500px;
}

@media (min-width: 769px) {
    .aicg-faq-section {
        padding: 30px;
    }
    .aicg-faq-question {
        font-size: 16px;
    }
    .aicg-faq-answer {
        font-size: 15px;
    }
}

/* Content Wrapper for Desktop Layout */
.aicg-content-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
}

@media (min-width: 769px) {
    .aicg-content-wrapper {
        grid-template-columns: 1fr 1fr 0.8fr;
        gap: 25px;
        margin-top: 30px;
    }
}

.aicg-left-column,
.aicg-middle-column,
.aicg-right-column {
    display: flex;
    flex-direction: column;
}

@media (min-width: 769px) {
    .aicg-left-column .aicg-character-lore,
    .aicg-middle-column .aicg-design-explanation,
    .aicg-right-column .aicg-technical-info {
        margin-top: 0;
        padding: 20px;
        background: #2a2d37;
        border-radius: 12px;
        border: 1px solid #374151;
    }

    .aicg-left-column .aicg-character-lore h3,
    .aicg-middle-column .aicg-design-explanation h3,
    .aicg-right-column .aicg-technical-info h3 {
        font-size: 16px;
        margin-bottom: 12px;
        color: #f59e0b;
        border-bottom: 1px solid #374151;
        padding-bottom: 8px;
    }

    .aicg-lore-content,
    .aicg-design-content {
        font-size: 13px;
        line-height: 1.6;
        color: #d1d5db;
    }
}

@media (max-width: 768px) {
    .aicg-left-column .aicg-character-lore,
    .aicg-middle-column .aicg-design-explanation {
        margin-top: 30px;
        padding: 20px;
        background: #2a2d37;
        border-radius: 12px;
    }

    .aicg-right-column .aicg-technical-info {
        margin-top: 30px;
        padding: 20px;
        background: #2a2d37;
        border-radius: 12px;
    }
}

/* SEO Full Article Styles */
.aicg-seo-full-article {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #333;
}

.aicg-seo-section {
    margin-bottom: 30px;
}

.aicg-seo-section h3 {
    color: #f59e0b;
    font-size: 22px;
    margin-bottom: 15px;
    border-bottom: 2px solid #f59e0b;
    display: inline-block;
    padding-bottom: 5px;
}

.aicg-seo-content {
    line-height: 1.6;
    color: #eee;
}

.aicg-seo-full-article .aicg-content-wrapper {
    margin: 40px 0;
}

/* Linear Layout Styles */
.aicg-linear-layout {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 900px !important;
    margin: 0 auto;
}

.aicg-linear-layout .aicg-single-header {
    text-align: center;
    margin-bottom: 10px;
}

.aicg-short-summary-section {
    text-align: center;
    font-size: 18px;
    color: #9ca3af;
    font-style: italic;
}

.aicg-image-gallery-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.aicg-linear-content-body {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.aicg-linear-section h3 {
    color: #f59e0b;
    font-size: 24px;
    margin-bottom: 15px;
    border-bottom: 2px solid #f59e0b;
    display: inline-block;
    padding-bottom: 5px;
}

.aicg-linear-content {
    line-height: 1.8;
    font-size: 16px;
    color: #eee;
}

/* Highlight section for Character Lore */
.aicg-highlight-section {
    background: rgba(245, 158, 11, 0.05);
    padding: 25px;
    border-radius: 15px;
    border-left: 5px solid #f59e0b;
}

.aicg-technical-section .aicg-tech-table {
    width: 100%;
    border-collapse: collapse;
    background: #2a2d37;
    border-radius: 10px;
    overflow: hidden;
}

.aicg-technical-section .aicg-tech-table td {
    padding: 12px 20px;
    border-bottom: 1px solid #374151;
}

.aicg-technical-section .aicg-tech-table td strong {
    color: #f59e0b;
}

/* Force single column for related grid in linear layout */
.aicg-linear-layout .aicg-related-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

@media (max-width: 768px) {
    .aicg-linear-layout {
        padding: 15px;
    }
    .aicg-linear-section h3 {
        font-size: 20px;
    }
}
