
/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Description: Child Theme for Astra - Mazhalai Ulagam
Author: Mazhalai Ulagam
Author URI: https://mazhalaiulagam.com/
Template: astra
Version: 1.0.0
Text Domain: astra-child
*/


/* =========================================
   Mazhalai Ulagam - Colouring Artwork Page
   ========================================= */


/* Main Page */

.mu-artwork-page {
    background: #fffaf0;
    padding: 35px 0 55px;
}

.mu-artwork {
    max-width: 1100px;
    margin: 0 auto;
}


/* Artwork Header */

.mu-artwork-header {
    background: #fff2d5;
    border: 1px solid #f5e2b8;
    border-radius: 18px;
    padding: 30px 20px;
    margin-bottom: 30px;
    text-align: center;
}

.mu-artwork-title {
    color: #75522b;
    font-size: 34px;
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.4;
}

.mu-artwork-english-title {
    color: #876b48;
    font-size: 19px;
    margin: 5px 0;
}

.mu-artwork-hindi-title {
    color: #876b48;
    font-size: 18px;
    margin: 5px 0 0;
}


/* Artwork Gallery */

.mu-artwork-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 35px;
}

.mu-artwork-card {
    padding: 18px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    border: 1px solid #e8e8e8;
}

.mu-colour-card {
    background: #f0f8ee;
    border-color: #d8e9d2;
}

.mu-outline-card {
    background: #eef6ff;
    border-color: #d6e6f8;
}

.mu-artwork-card h2 {
    font-size: 21px;
    font-weight: 700;
    margin: 0 0 18px;
    color: #514b40;
}

.mu-artwork-card a {
    display: block;
}

.mu-artwork-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 750px;
    object-fit: contain;
    border-radius: 8px;
    margin: 0 auto;
    transition: transform 0.2s ease;
}

.mu-artwork-card a:hover .mu-artwork-image {
    transform: scale(1.015);
}


/* Download Section */

.mu-artwork-downloads {
    background: #fff0e6;
    border: 1px solid #f3d9c7;
    border-radius: 18px;
    padding: 28px 20px;
    margin-bottom: 35px;
    text-align: center;
}

.mu-artwork-downloads h2 {
    color: #754c32;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 22px;
}

.mu-download-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.mu-download-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 58px;
    padding: 13px 16px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mu-download-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.12);
}

.mu-download-icon {
    font-size: 21px;
}

.mu-pdf-button {
    background: #dff1df;
    color: #246b35 !important;
    border: 1px solid #c4e3c6;
}

.mu-colour-button {
    background: #fff0c9;
    color: #805b12 !important;
    border: 1px solid #f0dca3;
}

.mu-outline-button {
    background: #dfeeff;
    color: #285c91 !important;
    border: 1px solid #c8ddf5;
}


/* Description Cards */

.mu-artwork-descriptions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 35px;
}

.mu-description-card {
    padding: 24px;
    border-radius: 15px;
    line-height: 1.9;
    border: 1px solid #e8e0ed;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.035);
}

.mu-description-card h2 {
    font-size: 21px;
    font-weight: 700;
    margin: 0 0 12px;
}

.mu-description-card p:last-child {
    margin-bottom: 0;
}

.mu-tamil-description {
    background: #fff8e8;
    border-color: #f0e2bd;
}

.mu-tamil-description h2 {
    color: #8a6329;
}

.mu-english-description {
    background: #edf6ff;
    border-color: #d5e6f5;
}

.mu-english-description h2 {
    color: #32648e;
}

.mu-hindi-description {
    background: #f5effb;
    border-color: #e5d9f1;
}

.mu-hindi-description h2 {
    color: #76528d;
}


/* Artwork Classification */

.mu-artwork-meta {
    background: #f5f5f5;
    border: 1px solid #e6e6e6;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 20px;
}

.mu-artwork-meta h2 {
    font-size: 22px;
    color: #514b40;
    margin: 0 0 20px;
}

.mu-meta-list {
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.mu-meta-item {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.mu-meta-item strong {
    min-width: 105px;
    color: #514b40;
}

.mu-meta-values {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mu-meta-tag {
    display: inline-block;
    padding: 6px 13px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.mu-category-tag {
    background: #e4f2df;
    color: #376c35;
}

.mu-age-tag {
    background: #fff0d5;
    color: #87601c;
}

.mu-difficulty-tag {
    background: #e6edfb;
    color: #3e5f91;
}


/* Tablet */

@media (max-width: 768px) {

    .mu-artwork-page {
        padding: 22px 0 35px;
    }

    .mu-artwork-header {
        padding: 24px 15px;
    }

    .mu-artwork-title {
        font-size: 28px;
    }

    .mu-artwork-english-title {
        font-size: 17px;
    }

    .mu-artwork-gallery {
        gap: 15px;
    }

    .mu-artwork-card {
        padding: 12px;
    }

    .mu-download-grid {
        grid-template-columns: 1fr;
    }

}


/* Mobile */

@media (max-width: 600px) {

    .mu-artwork-gallery {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .mu-artwork-title {
        font-size: 25px;
    }

    .mu-artwork-english-title {
        font-size: 16px;
    }

    .mu-artwork-hindi-title {
        font-size: 16px;
    }

    .mu-artwork-card h2 {
        font-size: 19px;
    }

    .mu-artwork-downloads {
        padding: 22px 15px;
    }

    .mu-artwork-downloads h2 {
        font-size: 21px;
    }

    .mu-description-card {
        padding: 19px;
    }

    .mu-artwork-meta {
        padding: 20px 16px;
    }

    .mu-meta-item {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

}
