/* Art & Design Page Styles */
/* No inline styles - uses global theme variables and typography */

.art-design-page {
    min-height: 100vh;
}

/* Breadcrumb visibility and spacing - After hero */
.art-design-page .breadcrumb-wrapper {
    position: relative;
    z-index: 20;
    width: 100%;
    margin-top: 0;
    margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
    .art-design-page .breadcrumb-wrapper {
        margin-top: 0;
        margin-bottom: 1rem;
    }
}

/* Hero Section - Similar to in-stock pages */
.art-design-hero-section {
    position: relative;
    min-height: 44vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--marque-black, #0a0a0a);
    overflow: hidden;
    margin-top: 0;
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .art-design-hero-section {
        min-height: 53vh;
    }
}

.art-design-hero-background {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.art-design-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.art-design-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.5), var(--marque-black, #0a0a0a));
    z-index: 2;
}

.art-design-hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    padding: 2rem 1rem;
    text-align: center;
}

@media (min-width: 640px) {
    .art-design-hero-content {
        padding: 2.5rem 1.5rem;
    }
}

@media (min-width: 768px) {
    .art-design-hero-content {
        padding: 3rem 2rem;
    }
}

@media (min-width: 1024px) {
    .art-design-hero-content {
        padding: 3rem 3rem;
    }
}

/* Hero title: compact scale */
.art-design-hero-section .art-design-hero-content .art-design-hero-title,
h1.art-design-hero-title {
    font-family: var(--site-font-family, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif);
    font-size: 1.5rem !important;
    font-weight: 300 !important;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

@media (min-width: 640px) {
    .art-design-hero-section .art-design-hero-content .art-design-hero-title,
    h1.art-design-hero-title {
        font-size: 1.875rem !important;
    }
}

@media (min-width: 768px) {
    .art-design-hero-section .art-design-hero-content .art-design-hero-title,
    h1.art-design-hero-title {
        font-size: 2.25rem !important;
    }
}

@media (min-width: 1024px) {
    .art-design-hero-section .art-design-hero-content .art-design-hero-title,
    h1.art-design-hero-title {
        font-size: 2.5rem !important;
    }
}

.art-design-hero-subtitle {
    font-family: var(--site-font-family, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 42rem;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.7);
}

@media (min-width: 768px) {
    .art-design-hero-subtitle {
        font-size: 1.125rem;
    }
}

/* Legacy hero styles (for backward compatibility) */
.art-design-hero {
    padding: 4rem 0;
    text-align: center;
}

.art-design-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.art-design-subtitle {
    font-size: 1.125rem;
    opacity: 0.8;
}

/* Intro Text Section */
.art-design-intro {
    padding: 0.75rem 0 1.5rem;
    width: 100%;
}

.art-design-intro .container {
    width: 100%;
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .art-design-intro .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 768px) {
    .art-design-intro {
        padding: 1rem 0 2rem;
    }
    
    .art-design-intro .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (min-width: 1024px) {
    .art-design-intro .container {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

@media (min-width: 1280px) {
    .art-design-intro .container {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

.art-design-intro-text {
    font-family: var(--site-font-family, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif);
    font-size: 1rem;
    line-height: 1.7;
    text-align: center;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .art-design-intro-text {
        font-size: 1.125rem;
        line-height: 1.8;
    }
}

/* Theme support for intro text */
body.theme-dark .art-design-intro-text {
    color: rgba(255, 255, 255, 0.8);
}

body.theme-light .art-design-intro-text {
    color: #4b5563;
}

.art-design-categories {
    padding: 1rem 0 4rem;
    width: 100%;
    margin-top: 0;
}

@media (min-width: 768px) {
    .art-design-categories {
        padding: 1.5rem 0 4rem;
    }
}

.art-design-categories .container {
    width: 100%;
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .art-design-categories .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 768px) {
    .art-design-categories .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (min-width: 1024px) {
    .art-design-categories .container {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

@media (min-width: 1280px) {
    .art-design-categories .container {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

.art-design-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 400px));
    gap: 2rem;
    width: 100%;
    justify-content: center;
    justify-items: center;
}

.art-design-grid > * {
    min-width: 0;
    width: 100%;
}

@media (min-width: 640px) {
    .art-design-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 400px));
        gap: 2rem;
    }
}

@media (min-width: 768px) {
    .art-design-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 420px));
        gap: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .art-design-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 450px));
        gap: 3rem;
    }
}

@media (min-width: 1280px) {
    .art-design-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 480px));
        gap: 3rem;
    }
}

.art-design-category-card {
    display: block;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

.art-design-category-card,
.art-design-category-card * {
    box-sizing: border-box !important;
}

.art-design-category-card:hover {
    transform: translateY(-4px);
}

.art-design-category-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    max-height: 400px;
}

.art-design-category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.art-design-category-card:hover .art-design-category-image img {
    transform: scale(1.05);
}

.art-design-category-content {
    padding: 0;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
    overflow: hidden !important;
    display: block !important;
    position: relative !important;
}

.art-design-category-content > * {
    max-width: 100% !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
}

.art-design-category-content h2,
.art-design-category-content .art-design-category-title {
    max-width: 100% !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
}

.art-design-category-title,
.art-design-category-content .art-design-category-title,
.art-design-category-card .art-design-category-title,
.art-design-category-card h2.art-design-category-title,
.art-design-category-card .art-design-category-content h2,
.art-design-category-card .art-design-category-content h2.art-design-category-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 1rem !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    box-sizing: border-box !important;
    display: block !important;
    overflow: hidden !important;
    white-space: normal !important;
    hyphens: auto !important;
    word-break: break-word !important;
}

.art-design-category-desc {
    font-size: 0.875rem;
    opacity: 0.7;
    line-height: 1.5;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
    display: block;
    overflow: hidden;
    white-space: normal;
    margin-bottom: 1rem;
}

/* Empty State */
.art-design-empty {
    text-align: center;
    padding: 4rem 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.art-design-empty-icon {
    margin: 0 auto 1.5rem;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.theme-dark .art-design-empty-icon {
    color: rgba(255, 255, 255, 0.4);
}

body.theme-light .art-design-empty-icon {
    color: rgba(0, 0, 0, 0.3);
}

.art-design-empty-title {
    font-family: var(--site-font-family, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 1rem;
    line-height: 1.4;
}

body.theme-dark .art-design-empty-title {
    color: rgba(255, 255, 255, 0.9);
}

body.theme-light .art-design-empty-title {
    color: #111827;
}

.art-design-empty-text {
    font-family: var(--site-font-family, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 2rem;
}

body.theme-dark .art-design-empty-text {
    color: rgba(255, 255, 255, 0.7);
}

body.theme-light .art-design-empty-text {
    color: #4b5563;
}

.art-design-empty-link {
    display: inline-block;
    padding: 0.75rem 2rem;
    background-color: var(--marque-gold, #D3C6AE);
    color: var(--marque-black, #0a0a0a);
    text-decoration: none;
    font-family: var(--site-font-family, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif);
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: 0.375rem;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.art-design-empty-link:hover {
    background-color: #c4b59a;
    transform: translateY(-1px);
}

.art-design-empty-link:active {
    transform: translateY(0);
}

@media (min-width: 768px) {
    .art-design-empty {
        padding: 5rem 1rem;
    }
    
    .art-design-empty-title {
        font-size: 1.75rem;
    }
    
    .art-design-empty-text {
        font-size: 1.125rem;
    }
}

/* Category Page */
.art-design-category-hero {
    padding: 4rem 0 2rem;
    width: 100%;
}

.art-design-category-hero .container {
    width: 100%;
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .art-design-category-hero .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 768px) {
    .art-design-category-hero .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (min-width: 1024px) {
    .art-design-category-hero .container {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

@media (min-width: 1280px) {
    .art-design-category-hero .container {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

.art-design-category-hero-image {
    width: 100%;
    margin: 0 auto 2rem;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 0.5rem;
}

.art-design-category-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.art-design-category-hero-content {
    text-align: center;
    width: 100%;
    margin: 0 auto;
}

.art-design-items {
    padding: 1rem 0 4rem;
    width: 100%;
    margin-top: 0;
}

@media (min-width: 768px) {
    .art-design-items {
        padding: 1.5rem 0 4rem;
    }
}

.art-design-items .container {
    width: 100%;
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .art-design-items .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 768px) {
    .art-design-items .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (min-width: 1024px) {
    .art-design-items .container {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

@media (min-width: 1280px) {
    .art-design-items .container {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

.art-design-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 400px));
    gap: 2rem;
    width: 100%;
    max-width: 100%;
    justify-content: center;
    justify-items: center;
}

@media (min-width: 640px) {
    .art-design-items-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 400px));
        gap: 2rem;
    }
}

@media (min-width: 768px) {
    .art-design-items-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 420px));
        gap: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .art-design-items-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 450px));
        gap: 3rem;
    }
}

@media (min-width: 1280px) {
    .art-design-items-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 480px));
        gap: 3rem;
    }
}

/* Related Works grid - centered layout */
.art-design-detail-related .art-design-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 400px));
    justify-content: center;
    justify-items: center;
    max-width: 100%;
    width: 100%;
}

/* Related Works grid items - centered */
.art-design-detail-related .art-design-item-card {
    width: 100%;
    max-width: 100%;
}

.art-design-item-card {
    display: block;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: transform 0.3s ease;
    width: 100%;
    height: 100%;
}

.art-design-item-card:hover {
    transform: translateY(-4px);
}

.art-design-item-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    max-height: 400px;
}

.art-design-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.art-design-item-card:hover .art-design-item-image img {
    transform: scale(1.05);
}

.art-design-item-content {
    padding: 0;
}

.art-design-item-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    margin-top: 1rem;
    padding-left: 0;
    padding-right: 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
    display: block;
    overflow: hidden;
    white-space: normal;
}

.art-design-item-desc {
    font-size: 0.875rem;
    opacity: 0.7;
    line-height: 1.5;
}

/* Detail Page */
.art-design-detail-page {
    min-height: 100vh;
}

.art-design-detail-main-section {
    padding: 2rem 0 3rem;
    width: 100%;
}

.art-design-detail-main-section .container {
    width: 100%;
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .art-design-detail-main-section {
        padding: 2.5rem 0 3.5rem;
    }
    
    .art-design-detail-main-section .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 768px) {
    .art-design-detail-main-section {
        padding: 3rem 0 4rem;
    }
    
    .art-design-detail-main-section .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (min-width: 1024px) {
    .art-design-detail-main-section {
        padding: 3.5rem 0 4.5rem;
    }
    
    .art-design-detail-main-section .container {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

@media (min-width: 1280px) {
    .art-design-detail-main-section {
        padding: 4rem 0 5rem;
    }
    
    .art-design-detail-main-section .container {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

@media (min-width: 1536px) {
    .art-design-detail-main-section .container {
        padding-left: 5rem;
        padding-right: 5rem;
    }
}

.art-design-detail-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    width: 100%;
}

@media (min-width: 640px) {
    .art-design-detail-layout {
        gap: 2.5rem;
    }
}

@media (min-width: 768px) {
    .art-design-detail-layout {
        gap: 3rem;
    }
}

@media (min-width: 1024px) {
    .art-design-detail-layout {
        grid-template-columns: 1fr 1fr;
        gap: 3.5rem;
    }
}

@media (min-width: 1280px) {
    .art-design-detail-layout {
        gap: 4rem;
    }
}

@media (min-width: 1536px) {
    .art-design-detail-layout {
        gap: 5rem;
    }
}

.art-design-detail-gallery-wrapper {
    width: 100%;
    max-width: 100%;
}

.art-design-detail-gallery-empty {
    width: 100%;
    padding: 3rem 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    border: 2px dashed;
    border-radius: 0.5rem;
}

body.theme-dark .art-design-detail-gallery-empty {
    border-color: rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.02);
}

body.theme-light .art-design-detail-gallery-empty {
    border-color: rgba(0, 0, 0, 0.1);
    background-color: rgba(0, 0, 0, 0.02);
}

.art-design-detail-gallery-empty .art-design-empty-icon {
    margin-bottom: 1rem;
}

.art-design-detail-gallery-empty .art-design-empty-text {
    margin: 0;
    max-width: 400px;
}

.art-design-detail-gallery {
    width: 100%;
    max-width: 100%;
    position: relative;
}

@media (min-width: 1024px) {
    .art-design-detail-gallery {
        position: sticky;
        top: 2rem;
        align-self: start;
    }
}

.art-design-detail-main-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    cursor: pointer;
}

.art-design-detail-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.art-design-detail-main-image:hover img {
    transform: scale(1.02);
}

.art-design-detail-gallery-thumbs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

@media (min-width: 640px) {
    .art-design-detail-gallery-thumbs {
        gap: 0.75rem;
    }
}

.art-design-gallery-thumb {
    width: 60px;
    height: 60px;
    border-radius: 0.375rem;
    overflow: hidden;
    border: 2px solid transparent;
    padding: 0;
    background: none;
    cursor: pointer;
    transition: border-color 0.3s ease;
    flex-shrink: 0;
}

@media (min-width: 640px) {
    .art-design-gallery-thumb {
        width: 70px;
        height: 70px;
    }
}

@media (min-width: 768px) {
    .art-design-gallery-thumb {
        width: 80px;
        height: 80px;
    }
}

.art-design-gallery-thumb.active {
    border-color: currentColor;
}

.art-design-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.art-design-detail-content-wrapper {
    width: 100%;
    max-width: 100%;
}

.art-design-detail-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

@media (min-width: 640px) {
    .art-design-detail-title {
        font-size: 1.75rem;
    }
}

@media (min-width: 768px) {
    .art-design-detail-title {
        font-size: 1.75rem;
    }
}

@media (min-width: 1024px) {
    .art-design-detail-title {
        font-size: 1.75rem;
    }
}

.art-design-detail-short-desc {
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .art-design-detail-short-desc {
        font-size: 1.125rem;
        margin-bottom: 2rem;
    }
}

.art-design-detail-content-html {
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1.125rem;
}

.art-design-detail-content-html p {
    margin-bottom: 1rem;
    font-size: 1.125rem;
    line-height: 1.7;
}

.art-design-detail-specs {
    margin: 2rem 0;
    padding: 1.5rem;
    border-radius: 0.5rem;
    border: 1px solid;
}

.art-design-detail-spec {
    display: flex;
    padding: 0.75rem 0;
    border-bottom: 1px solid;
}

.art-design-detail-spec:last-child {
    border-bottom: none;
}

.art-design-detail-spec-label {
    font-weight: 600;
    min-width: 140px;
    margin-right: 1rem;
}

.art-design-detail-spec-value {
    flex: 1;
}

.art-design-detail-cta {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    width: 100%;
}

.art-design-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-decoration: none;
}

.art-design-cta-row {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 0.75rem;
    width: 100%;
    max-width: 800px;
}

.art-design-cta-btn {
    flex: 1 1 0;
    min-width: 0;
    width: 0;
}

@media (max-width: 639px) {
    .art-design-cta-btn {
        white-space: normal;
        min-height: 3.5rem;
        padding-top: 0.625rem;
        padding-bottom: 0.625rem;
    }
}

.art-design-cta-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-size: 0.9375rem;
}

@media (min-width: 640px) {
    .art-design-cta-wa {
        font-size: 1rem;
    }
}

.art-design-wa-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

@media (min-width: 640px) {
    .art-design-wa-icon {
        width: 24px;
        height: 24px;
    }
}

.art-design-cta-wa:hover,
.art-design-cta-wa:focus {
    background-color: rgba(37, 211, 102, 0.09);
    color: #25d366;
}

body.theme-light .art-design-cta-wa:hover,
body.theme-light .art-design-cta-wa:focus {
    background-color: rgba(37, 211, 102, 0.08);
    color: #128c7e;
}

.art-design-detail-description {
    padding: 3rem 0;
    width: 100%;
}

.art-design-detail-description .container {
    width: 100%;
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .art-design-detail-description .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 768px) {
    .art-design-detail-description .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (min-width: 1024px) {
    .art-design-detail-description {
        padding: 4rem 0;
    }
    
    .art-design-detail-description .container {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

@media (min-width: 1280px) {
    .art-design-detail-description .container {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

@media (min-width: 1536px) {
    .art-design-detail-description .container {
        padding-left: 5rem;
        padding-right: 5rem;
    }
}

.art-design-detail-description-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    width: 100%;
    max-width: 100%;
    align-items: start;
}

@media (min-width: 768px) {
    .art-design-detail-description-layout {
        gap: 3rem;
    }
}

@media (min-width: 1024px) {
    .art-design-detail-description-layout {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        gap: 4rem;
        align-items: start;
    }
    
    .art-design-detail-description-image-wrapper {
        grid-row: 1;
    }
    
    .art-design-detail-description-content {
        grid-row: 1;
    }
}

.art-design-detail-description-image-wrapper {
    width: 100%;
    display: block;
    margin: 0 !important;
    padding: 0 !important;
    align-self: start;
}

.art-design-detail-description-image {
    width: 100%;
    overflow: hidden;
    border-radius: 0.5rem;
    margin: 0 !important;
    padding: 0 !important;
    display: block;
}

.art-design-detail-description-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.art-design-detail-description-image:hover img {
    transform: scale(1.02);
}

.art-design-detail-description-content {
    width: 100%;
    max-width: 100%;
    line-height: 1.7;
    font-size: 1.125rem;
    display: block;
    margin: 0 !important;
    padding: 0 !important;
    align-self: start;
}

.art-design-detail-description-content p {
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    line-height: 1.7;
}

.art-design-detail-description-content h1,
.art-design-detail-description-content h2,
.art-design-detail-description-content h3,
.art-design-detail-description-content h4,
.art-design-detail-description-content h5,
.art-design-detail-description-content h6 {
    margin-top: 0;
}

.art-design-detail-description-content > *:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.art-design-detail-description-image-wrapper > *:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Force first heading to have no top margin */
.art-design-detail-description-content > h1:first-child,
.art-design-detail-description-content > h2:first-child,
.art-design-detail-description-content > h3:first-child,
.art-design-detail-description-content > h4:first-child,
.art-design-detail-description-content > h5:first-child,
.art-design-detail-description-content > h6:first-child,
.art-design-detail-description-content > p:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.art-design-detail-description-content > h1:first-child,
.art-design-detail-description-content > h2:first-child,
.art-design-detail-description-content > h3:first-child,
.art-design-detail-description-content > h4:first-child,
.art-design-detail-description-content > h5:first-child,
.art-design-detail-description-content > h6:first-child {
    margin-top: 0;
    padding-top: 0;
}

/* Heading styles are now handled by theme-specific rules below */
/* Removed general font-weight: 600 to allow theme-specific overrides */

.art-design-detail-description-content ul,
.art-design-detail-description-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.art-design-detail-description-content li {
    margin-bottom: 0.5rem;
}

.art-design-detail-description-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
}

.art-design-detail-description-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.art-design-detail-description-content table th,
.art-design-detail-description-content table td {
    padding: 0.75rem;
    border: 1px solid;
    text-align: left;
}

.art-design-detail-related {
    padding: 2.67rem 0 4rem 0;
    width: 100%;
    margin-top: -1.33rem;
}

.art-design-detail-related .container {
    max-width: 100% !important;
    width: 100%;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
    display: block;
}

@media (min-width: 640px) {
    .art-design-detail-related .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 768px) {
    .art-design-detail-related .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (min-width: 1024px) {
    .art-design-detail-related .container {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

@media (min-width: 1280px) {
    .art-design-detail-related .container {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

.art-design-detail-related-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

/* Dark/Light Theme Support */
/* Hero section theme support */
body.theme-dark .art-design-hero-section {
    background-color: var(--marque-black, #0a0a0a);
}

body.theme-light .art-design-hero-section {
    background-color: var(--marque-black, #0a0a0a);
}

body.theme-dark .art-design-hero-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.5), var(--marque-black, #0a0a0a));
}

body.theme-light .art-design-hero-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.5), var(--marque-black, #0a0a0a));
}

body.theme-dark .art-design-hero-title,
body.theme-light .art-design-hero-title {
    color: #ffffff;
}

body.theme-dark .art-design-hero-subtitle,
body.theme-light .art-design-hero-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.dark .art-design-title,
.dark .art-design-category-title,
.dark .art-design-item-title,
.dark .art-design-detail-title,
.dark .art-design-detail-related-title {
    color: var(--color-text, #ffffff);
}

.light .art-design-title,
.light .art-design-category-title,
.light .art-design-item-title,
.light .art-design-detail-title,
.light .art-design-detail-related-title {
    color: var(--color-text, #1f2937);
}

.dark .art-design-subtitle,
.dark .art-design-category-desc,
.dark .art-design-item-desc,
.dark .art-design-detail-short-desc {
    color: var(--color-text-secondary, rgba(255, 255, 255, 0.7));
}

.light .art-design-subtitle,
.light .art-design-category-desc,
.light .art-design-item-desc,
.light .art-design-detail-short-desc {
    color: var(--color-text-secondary, rgba(31, 41, 55, 0.7));
}

.dark .art-design-detail-specs {
    border-color: rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.05);
}

.light .art-design-detail-specs {
    border-color: rgba(0, 0, 0, 0.1);
    background-color: rgba(0, 0, 0, 0.02);
}

.dark .art-design-detail-spec {
    border-color: rgba(255, 255, 255, 0.1);
}

.light .art-design-detail-spec {
    border-color: rgba(0, 0, 0, 0.1);
}

.dark .art-design-cta-button {
    background-color: var(--color-primary, #d4af37);
    color: #000000;
}

.dark .art-design-cta-button:hover {
    background-color: var(--color-primary-hover, #c9a028);
}

.light .art-design-cta-button {
    background-color: var(--color-primary, #d4af37);
    color: #000000;
}

.light .art-design-cta-button:hover {
    background-color: var(--color-primary-hover, #c9a028);
}

.dark .art-design-detail-description {
    border-color: rgba(255, 255, 255, 0.1);
}

.light .art-design-detail-description {
    border-color: rgba(0, 0, 0, 0.1);
}

/* Dark Theme - Premium Colors */
/* Headings: warm pale gold (brighter), Paragraphs: marque gold (softer) */

/* Dark theme headings: warm pale gold (brighter) - ULTRA HIGH PRIORITY */
html body:not(.theme-light) .art-design-detail-description-content h1,
html body:not(.theme-light) .art-design-detail-description-content h2,
html body:not(.theme-light) .art-design-detail-description-content h3,
html body:not(.theme-light) .art-design-detail-description-content h4,
html body:not(.theme-light) .art-design-detail-description-content h5,
html body:not(.theme-light) .art-design-detail-description-content h6,
body.theme-dark .art-design-detail-description-content h1,
body.theme-dark .art-design-detail-description-content h2,
body.theme-dark .art-design-detail-description-content h3,
body.theme-dark .art-design-detail-description-content h4,
body.theme-dark .art-design-detail-description-content h5,
body.theme-dark .art-design-detail-description-content h6 {
    color: #D3C6AE !important;
    font-weight: 400 !important;
}

/* Dark theme paragraphs: white */
html body:not(.theme-light) .art-design-detail-description-content p,
body.theme-dark .art-design-detail-description-content p {
    color: #ffffff !important;
    line-height: 1.7 !important;
    margin-bottom: 1rem !important;
}

/* Override ALL possible heading styles - including inline styles, Tailwind classes, etc. */
/* ULTRA HIGH PRIORITY - Target ALL headings (h1-h6) */
html body:not(.theme-light) .art-design-detail-description-content h1,
html body:not(.theme-light) .art-design-detail-description-content h1[style*="font-weight"],
html body:not(.theme-light) .art-design-detail-description-content h1.font-bold,
html body:not(.theme-light) .art-design-detail-description-content h1[class*="font-bold"],
html body:not(.theme-light) .art-design-detail-description-content h2,
html body:not(.theme-light) .art-design-detail-description-content h2[style*="font-weight"],
html body:not(.theme-light) .art-design-detail-description-content h2.font-bold,
html body:not(.theme-light) .art-design-detail-description-content h2[class*="font-bold"],
html body:not(.theme-light) .art-design-detail-description-content h3,
html body:not(.theme-light) .art-design-detail-description-content h3[style*="font-weight"],
html body:not(.theme-light) .art-design-detail-description-content h3.font-bold,
html body:not(.theme-light) .art-design-detail-description-content h3[class*="font-bold"],
html body:not(.theme-light) .art-design-detail-description-content h4,
html body:not(.theme-light) .art-design-detail-description-content h4[style*="font-weight"],
html body:not(.theme-light) .art-design-detail-description-content h4.font-bold,
html body:not(.theme-light) .art-design-detail-description-content h4[class*="font-bold"],
html body:not(.theme-light) .art-design-detail-description-content h5,
html body:not(.theme-light) .art-design-detail-description-content h5[style*="font-weight"],
html body:not(.theme-light) .art-design-detail-description-content h5.font-bold,
html body:not(.theme-light) .art-design-detail-description-content h5[class*="font-bold"],
html body:not(.theme-light) .art-design-detail-description-content h6,
html body:not(.theme-light) .art-design-detail-description-content h6[style*="font-weight"],
html body:not(.theme-light) .art-design-detail-description-content h6.font-bold,
html body:not(.theme-light) .art-design-detail-description-content h6[class*="font-bold"],
body.theme-dark .art-design-detail-description-content h1,
body.theme-dark .art-design-detail-description-content h1[style*="font-weight"],
body.theme-dark .art-design-detail-description-content h1.font-bold,
body.theme-dark .art-design-detail-description-content h1[class*="font-bold"],
body.theme-dark .art-design-detail-description-content h2,
body.theme-dark .art-design-detail-description-content h2[style*="font-weight"],
body.theme-dark .art-design-detail-description-content h2.font-bold,
body.theme-dark .art-design-detail-description-content h2[class*="font-bold"],
body.theme-dark .art-design-detail-description-content h3,
body.theme-dark .art-design-detail-description-content h3[style*="font-weight"],
body.theme-dark .art-design-detail-description-content h3.font-bold,
body.theme-dark .art-design-detail-description-content h3[class*="font-bold"],
body.theme-dark .art-design-detail-description-content h4,
body.theme-dark .art-design-detail-description-content h4[style*="font-weight"],
body.theme-dark .art-design-detail-description-content h4.font-bold,
body.theme-dark .art-design-detail-description-content h4[class*="font-bold"],
body.theme-dark .art-design-detail-description-content h5,
body.theme-dark .art-design-detail-description-content h5[style*="font-weight"],
body.theme-dark .art-design-detail-description-content h5.font-bold,
body.theme-dark .art-design-detail-description-content h5[class*="font-bold"],
body.theme-dark .art-design-detail-description-content h6,
body.theme-dark .art-design-detail-description-content h6[style*="font-weight"],
body.theme-dark .art-design-detail-description-content h6.font-bold,
body.theme-dark .art-design-detail-description-content h6[class*="font-bold"] {
    color: #D3C6AE !important;
    font-weight: 400 !important;
    letter-spacing: -0.02em !important;
}

html body:not(.theme-light) .art-design-detail-description-content h1,
body.theme-dark .art-design-detail-description-content h1 {
    font-size: 1.75rem !important;
    line-height: 1.3 !important;
    margin-top: 2.5rem !important;
    margin-bottom: 1.25rem !important;
    font-weight: 400 !important;
    color: #D3C6AE !important;
}

/* First heading must have no top margin */
html body:not(.theme-light) .art-design-detail-description-content > h1:first-child,
html body:not(.theme-light) .art-design-detail-description-content > h2:first-child,
html body:not(.theme-light) .art-design-detail-description-content > h3:first-child,
html body:not(.theme-light) .art-design-detail-description-content > h4:first-child,
html body:not(.theme-light) .art-design-detail-description-content > h5:first-child,
html body:not(.theme-light) .art-design-detail-description-content > h6:first-child,
body.theme-dark .art-design-detail-description-content > h1:first-child,
body.theme-dark .art-design-detail-description-content > h2:first-child,
body.theme-dark .art-design-detail-description-content > h3:first-child,
body.theme-dark .art-design-detail-description-content > h4:first-child,
body.theme-dark .art-design-detail-description-content > h5:first-child,
body.theme-dark .art-design-detail-description-content > h6:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

html body:not(.theme-light) .art-design-detail-description-content h2,
body.theme-dark .art-design-detail-description-content h2 {
    font-size: 1.75rem !important;
    line-height: 1.3 !important;
    margin-top: 2.5rem !important;
    margin-bottom: 1.25rem !important;
    font-weight: 400 !important;
    color: #D3C6AE !important;
}

html body:not(.theme-light) .art-design-detail-description-content h3,
body.theme-dark .art-design-detail-description-content h3 {
    font-size: 1.375rem !important;
    line-height: 1.4 !important;
    margin-top: 2rem !important;
    margin-bottom: 1rem !important;
    font-weight: 400 !important;
    color: #D3C6AE !important;
}

html body:not(.theme-light) .art-design-detail-description-content h4,
body.theme-dark .art-design-detail-description-content h4 {
    font-size: 1.125rem !important;
    line-height: 1.5 !important;
    margin-top: 1.5rem !important;
    margin-bottom: 0.75rem !important;
    font-weight: 400 !important;
    color: #D3C6AE !important;
}

/* Dark theme list items: white */
html body:not(.theme-light) .art-design-detail-description-content ul li,
html body:not(.theme-light) .art-design-detail-description-content ol li,
body.theme-dark .art-design-detail-description-content ul li,
body.theme-dark .art-design-detail-description-content ol li {
    color: #ffffff !important;
}

html body:not(.theme-light) .art-design-detail-description-content strong,
html body:not(.theme-light) .art-design-detail-description-content b,
body.theme-dark .art-design-detail-description-content strong,
body.theme-dark .art-design-detail-description-content b {
    color: var(--marque-gold, #a89f91) !important;
    font-weight: 500 !important;
}

html body:not(.theme-light) .art-design-detail-description-content a,
body.theme-dark .art-design-detail-description-content a {
    color: rgba(168, 159, 145, 0.9) !important;
    text-decoration: underline !important;
    transition: color 0.3s ease !important;
}

html body:not(.theme-light) .art-design-detail-description-content a:hover,
body.theme-dark .art-design-detail-description-content a:hover {
    color: #c9b8a8 !important;
}

/* Light Theme - Premium Colors */
/* Headings: deep charcoal, Paragraphs: dark gray */

/* Light theme headings */
html body.theme-light .art-design-detail-description-content h1,
html body.theme-light .art-design-detail-description-content h2,
html body.theme-light .art-design-detail-description-content h3,
html body.theme-light .art-design-detail-description-content h4,
html body.theme-light .art-design-detail-description-content h5,
html body.theme-light .art-design-detail-description-content h6,
body.theme-light .art-design-detail-description-content h1,
body.theme-light .art-design-detail-description-content h2,
body.theme-light .art-design-detail-description-content h3,
body.theme-light .art-design-detail-description-content h4,
body.theme-light .art-design-detail-description-content h5,
body.theme-light .art-design-detail-description-content h6 {
    color: #111827 !important;
    font-weight: 400 !important;
}

/* Light theme paragraphs */
html body.theme-light .art-design-detail-description-content p,
body.theme-light .art-design-detail-description-content p {
    color: #4b5563 !important;
    line-height: 1.7 !important;
    margin-bottom: 1rem !important;
}

/* Override ALL possible heading styles - including inline styles, Tailwind classes, etc. */
/* ULTRA HIGH PRIORITY - Target ALL headings (h1-h6) */
html body.theme-light .art-design-detail-description-content h1,
html body.theme-light .art-design-detail-description-content h1[style*="font-weight"],
html body.theme-light .art-design-detail-description-content h1.font-bold,
html body.theme-light .art-design-detail-description-content h1[class*="font-bold"],
html body.theme-light .art-design-detail-description-content h2,
html body.theme-light .art-design-detail-description-content h2[style*="font-weight"],
html body.theme-light .art-design-detail-description-content h2.font-bold,
html body.theme-light .art-design-detail-description-content h2[class*="font-bold"],
html body.theme-light .art-design-detail-description-content h3,
html body.theme-light .art-design-detail-description-content h3[style*="font-weight"],
html body.theme-light .art-design-detail-description-content h3.font-bold,
html body.theme-light .art-design-detail-description-content h3[class*="font-bold"],
html body.theme-light .art-design-detail-description-content h4,
html body.theme-light .art-design-detail-description-content h4[style*="font-weight"],
html body.theme-light .art-design-detail-description-content h4.font-bold,
html body.theme-light .art-design-detail-description-content h4[class*="font-bold"],
html body.theme-light .art-design-detail-description-content h5,
html body.theme-light .art-design-detail-description-content h5[style*="font-weight"],
html body.theme-light .art-design-detail-description-content h5.font-bold,
html body.theme-light .art-design-detail-description-content h5[class*="font-bold"],
html body.theme-light .art-design-detail-description-content h6,
html body.theme-light .art-design-detail-description-content h6[style*="font-weight"],
html body.theme-light .art-design-detail-description-content h6.font-bold,
html body.theme-light .art-design-detail-description-content h6[class*="font-bold"],
body.theme-light .art-design-detail-description-content h1,
body.theme-light .art-design-detail-description-content h1[style*="font-weight"],
body.theme-light .art-design-detail-description-content h1.font-bold,
body.theme-light .art-design-detail-description-content h1[class*="font-bold"],
body.theme-light .art-design-detail-description-content h2,
body.theme-light .art-design-detail-description-content h2[style*="font-weight"],
body.theme-light .art-design-detail-description-content h2.font-bold,
body.theme-light .art-design-detail-description-content h2[class*="font-bold"],
body.theme-light .art-design-detail-description-content h3,
body.theme-light .art-design-detail-description-content h3[style*="font-weight"],
body.theme-light .art-design-detail-description-content h3.font-bold,
body.theme-light .art-design-detail-description-content h3[class*="font-bold"],
body.theme-light .art-design-detail-description-content h4,
body.theme-light .art-design-detail-description-content h4[style*="font-weight"],
body.theme-light .art-design-detail-description-content h4.font-bold,
body.theme-light .art-design-detail-description-content h4[class*="font-bold"],
body.theme-light .art-design-detail-description-content h5,
body.theme-light .art-design-detail-description-content h5[style*="font-weight"],
body.theme-light .art-design-detail-description-content h5.font-bold,
body.theme-light .art-design-detail-description-content h5[class*="font-bold"],
body.theme-light .art-design-detail-description-content h6,
body.theme-light .art-design-detail-description-content h6[style*="font-weight"],
body.theme-light .art-design-detail-description-content h6.font-bold,
body.theme-light .art-design-detail-description-content h6[class*="font-bold"] {
    color: var(--marque-black, #0a0a0a) !important;
    font-weight: 400 !important;
    letter-spacing: -0.02em !important;
}

html body.theme-light .art-design-detail-description-content h1,
body.theme-light .art-design-detail-description-content h1 {
    font-size: 1.75rem !important;
    line-height: 1.3 !important;
    margin-top: 2.5rem !important;
    margin-bottom: 1.25rem !important;
    font-weight: 400 !important;
    color: #111827 !important;
}

/* First heading must have no top margin - Light theme */
html body.theme-light .art-design-detail-description-content > h1:first-child,
html body.theme-light .art-design-detail-description-content > h2:first-child,
html body.theme-light .art-design-detail-description-content > h3:first-child,
html body.theme-light .art-design-detail-description-content > h4:first-child,
html body.theme-light .art-design-detail-description-content > h5:first-child,
html body.theme-light .art-design-detail-description-content > h6:first-child,
body.theme-light .art-design-detail-description-content > h1:first-child,
body.theme-light .art-design-detail-description-content > h2:first-child,
body.theme-light .art-design-detail-description-content > h3:first-child,
body.theme-light .art-design-detail-description-content > h4:first-child,
body.theme-light .art-design-detail-description-content > h5:first-child,
body.theme-light .art-design-detail-description-content > h6:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

html body.theme-light .art-design-detail-description-content h2,
body.theme-light .art-design-detail-description-content h2 {
    font-size: 1.75rem !important;
    line-height: 1.3 !important;
    margin-top: 2.5rem !important;
    margin-bottom: 1.25rem !important;
    font-weight: 400 !important;
    color: #111827 !important;
}

html body.theme-light .art-design-detail-description-content h3,
body.theme-light .art-design-detail-description-content h3 {
    font-size: 1.375rem !important;
    line-height: 1.4 !important;
    margin-top: 2rem !important;
    margin-bottom: 1rem !important;
    font-weight: 400 !important;
    color: #111827 !important;
}

html body.theme-light .art-design-detail-description-content h4,
body.theme-light .art-design-detail-description-content h4 {
    font-size: 1.125rem !important;
    line-height: 1.5 !important;
    margin-top: 1.5rem !important;
    margin-bottom: 0.75rem !important;
    font-weight: 400 !important;
    color: #111827 !important;
}

/* Light theme list items */
html body.theme-light .art-design-detail-description-content ul li,
html body.theme-light .art-design-detail-description-content ol li,
body.theme-light .art-design-detail-description-content ul li,
body.theme-light .art-design-detail-description-content ol li {
    color: #4b5563 !important;
}

html body.theme-light .art-design-detail-description-content strong,
html body.theme-light .art-design-detail-description-content b,
body.theme-light .art-design-detail-description-content strong,
body.theme-light .art-design-detail-description-content b {
    color: var(--marque-black, #0a0a0a) !important;
    font-weight: 500 !important;
}

html body.theme-light .art-design-detail-description-content a,
body.theme-light .art-design-detail-description-content a {
    color: var(--marque-gold, #a89f91) !important;
    text-decoration: underline !important;
    transition: color 0.3s ease !important;
}

html body.theme-light .art-design-detail-description-content a:hover,
body.theme-light .art-design-detail-description-content a:hover {
    color: #8b7d6f !important;
}

.dark .art-design-detail-description-content table th,
.dark .art-design-detail-description-content table td {
    border-color: rgba(255, 255, 255, 0.2);
}

.light .art-design-detail-description-content table th,
.light .art-design-detail-description-content table td {
    border-color: rgba(0, 0, 0, 0.2);
}

.dark .art-design-detail-related {
    border-color: rgba(255, 255, 255, 0.1);
}

.light .art-design-detail-related {
    border-color: rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 639px) {
    .art-design-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
        justify-content: center;
        justify-items: center;
    }
    
    .art-design-items-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        justify-content: center;
        justify-items: center;
    }
    
    .art-design-title,
    .art-design-detail-title {
        font-size: 1.75rem;
    }
    
    .art-design-detail-gallery-thumbs {
        justify-content: center;
    }
}

/* =================================
   Premium Colors - Different for headings and paragraphs
   ================================= */

/* Dark theme headings: warm pale gold (brighter) */
body.theme-dark .art-design-detail-title,
body.theme-dark .art-design-detail-related-title,
body.theme-dark .art-design-detail-description-content h1,
body.theme-dark .art-design-detail-description-content h2,
body.theme-dark .art-design-detail-description-content h3,
body.theme-dark .art-design-detail-description-content h4,
body.theme-dark .art-design-detail-description-content h5,
body.theme-dark .art-design-detail-description-content h6 {
    color: #D3C6AE !important;
    font-weight: 400 !important;
    font-style: normal;
}

/* Dark theme paragraphs and text: white */
body.theme-dark .art-design-detail-description-content p,
body.theme-dark .art-design-detail-description-content li,
body.theme-dark .art-design-detail-description-content span {
    color: #ffffff !important;
}

/* Light theme headings: deep charcoal */
body.theme-light .art-design-detail-title,
body.theme-light .art-design-detail-related-title,
body.theme-light .art-design-detail-description-content h1,
body.theme-light .art-design-detail-description-content h2,
body.theme-light .art-design-detail-description-content h3,
body.theme-light .art-design-detail-description-content h4,
body.theme-light .art-design-detail-description-content h5,
body.theme-light .art-design-detail-description-content h6 {
    color: #111827 !important;
    font-weight: 400 !important;
    font-style: normal;
}

/* Light theme paragraphs and text: dark gray */
body.theme-light .art-design-detail-description-content p,
body.theme-light .art-design-detail-description-content li,
body.theme-light .art-design-detail-description-content span {
    color: #4b5563 !important;
}

/* ============================================================
   ULTRA HIGH PRIORITY: Category Title Width Fix
   Must be at the end to override all other rules
   ============================================================ */
.art-design-category-card .art-design-category-content .art-design-category-title,
.art-design-category-card .art-design-category-content h2,
.art-design-category-card h2.art-design-category-title,
.art-design-grid .art-design-category-card .art-design-category-content .art-design-category-title,
.art-design-grid .art-design-category-card .art-design-category-content h2 {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    hyphens: auto !important;
    white-space: normal !important;
    overflow: hidden !important;
    display: block !important;
}

/* =================================
   Motion Reduction – Art & Design (WCAG 2.1)
   ================================= */

@media (prefers-reduced-motion: reduce) {
    .art-design-category-card,
    .art-design-item-card,
    .art-design-empty-link {
        transition: none;
    }
    .art-design-category-card:hover,
    .art-design-item-card:hover,
    .art-design-empty-link:hover {
        transform: none;
    }
    .art-design-category-image img,
    .art-design-item-image img,
    .art-design-detail-main-image img,
    .art-design-detail-description-image img {
        transition: none;
    }
    .art-design-category-card:hover .art-design-category-image img,
    .art-design-item-card:hover .art-design-item-image img,
    .art-design-detail-main-image:hover img,
    .art-design-detail-description-image:hover img {
        transform: none;
    }
    .art-design-gallery-thumb {
        transition: none;
    }
}
