
/* =========================================================
   PALETTE MINT — INDIVIDUAL PALETTE
========================================================= */

.palette-page {
    width: 100%;
    color: #26352b;
    background: #f8faf8;
}

.palette-container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================================
   BREADCRUMB
========================================================= */

.palette-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 24px 0 15px;
    color: #89958c;
    font-size: 13px;
}

.palette-breadcrumb a {
    color: #53765b;
    text-decoration: none;
}

.palette-breadcrumb a:hover {
    color: #284a31;
}

.palette-breadcrumb span {
    color: #aab4ac;
}


/* =========================================================
   HERO
========================================================= */

.palette-hero {
    padding: 55px 0 60px;
    text-align: center;
}

.palette-eyebrow,
.palette-section-label {
    display: inline-block;
    color: #63866a;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.palette-hero h1 {
    margin: 15px 0 17px;
    color: #263f2d;
    font-size: clamp(34px, 5vw, 48px);
    line-height: 1.2;
    font-weight: 700;
}

.palette-hero p {
    max-width: 730px;
    margin: 0 auto;
    color: #6f7d72;
    font-size: 16px;
    line-height: 1.85;
}


/* =========================================================
   PALETTE SECTION
========================================================= */

.palette-palette-section {
    padding: 55px 0 75px;
    background: #f0f5f0;
}

.palette-section-heading {
    max-width: 700px;
    margin: 0 auto 38px;
    text-align: center;
}

.palette-section-heading h2 {
    margin: 12px 0 12px;
    color: #263f2d;
    font-size: 30px;
    line-height: 1.3;
}

.palette-section-heading p {
    margin: 0;
    color: #718075;
    font-size: 15px;
    line-height: 1.8;
}


/* =========================================================
   COLOR GRID — THREE CARDS
========================================================= */

.palette-palette {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.palette-color-card {
    min-width: 0;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e7ece7;
    border-radius: 15px;
    box-shadow: 0 5px 18px rgba(34, 64, 41, 0.045);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.palette-color-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(34, 64, 41, 0.10);
}


/* COLOR PREVIEW */

.palette-color-preview {
    width: 100%;
    height: 180px;
}


/* COLOR INFORMATION */

.palette-color-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
    min-height: 245px;
}

.palette-color-number {
    margin-bottom: 9px;
    color: #8a9b8d;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.palette-color-name {
    margin: 0 0 10px;
    color: #2c4432;
    font-size: 19px;
    line-height: 1.3;
}

.palette-color-hex {
    display: inline-block;
    margin-bottom: 13px;
    padding: 7px 11px;
    background: #f0f5f0;
    border-radius: 6px;
    color: #426449;
    font-family: monospace;
    font-size: 13px;
    font-weight: 700;
}

.palette-color-description {
    flex: 1;
    margin: 0;
    color: #78847a;
    font-size: 13px;
    line-height: 1.75;
}


/* INDIVIDUAL COLOR BUTTONS */

.palette-color-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    width: 100%;
    margin-top: 20px;
}

.palette-small-button {
    flex: 1;
    min-height: 37px;
    padding: 8px 10px;
    background: #ffffff;
    border: 1px solid #dce6dd;
    border-radius: 7px;
    color: #46664c;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.palette-small-button:hover {
    background: #edf4ee;
    border-color: #b9cdbb;
}


/* =========================================================
   MAIN PALETTE ACTIONS
========================================================= */

.palette-actions-panel {
    max-width: 850px;
    margin: 55px auto 0;
    padding: 38px 35px;
    background: #ffffff;
    border: 1px solid #e4ebe5;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(34, 64, 41, 0.05);
    text-align: center;
}

.palette-actions-heading h2 {
    margin: 12px 0 10px;
    color: #2b4431;
    font-size: 26px;
}

.palette-actions-heading p {
    max-width: 580px;
    margin: 0 auto;
    color: #78847a;
    font-size: 14px;
    line-height: 1.8;
}

.palette-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 27px;
}

.palette-actions button {
    min-height: 48px;
    padding: 13px 21px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.palette-actions button:hover {
    transform: translateY(-2px);
}

.palette-use-button {
    background: #315b3b;
    color: #ffffff;
}

.palette-use-button:hover {
    background: #24482e;
}

.palette-copy-button {
    background: #edf4ee;
    border-color: #dce8dd !important;
    color: #365b3e;
}

.palette-copy-button:hover {
    background: #e1ede2;
}

.palette-download-button {
    background: #ffffff;
    border-color: #d6e1d7 !important;
    color: #365b3e;
}

.palette-download-button:hover {
    background: #f4f8f4;
}

.palette-feedback {
    min-height: 20px;
    margin: 17px 0 0;
    color: #4e7956;
    font-size: 13px;
    font-weight: 600;
}


/* =========================================================
   ABOUT CONTENT — INTRODUCTION
========================================================= */

.palette-about {
    padding: 75px 20px;
    background: #edf2ef;
}

.palette-content-container {
    width: min(950px, 100%);
    margin: 0 auto;
}

/* INTRODUCTION CARD */

.palette-about-intro {
    padding: 38px;
    background: #f8faf8;
    border: 1px solid #d5e1d9;
    border-radius: 18px;
}

.palette-about-intro h2 {
    margin: 13px 0 17px;
    color: #203c30;
    font-size: 30px;
    line-height: 1.3;
}

.palette-about-intro > p:last-child {
    margin: 0;
    color: #68776d;
    font-size: 15px;
    line-height: 1.9;
}


/* =========================================================
   EDITORIAL CONTENT
========================================================= */

.palette-about-content {
    margin-top: 25px;
    padding: 38px;
    background: #ffffff;
    border: 1px solid #dce5df;
    border-radius: 18px;
}

.palette-main-content-title {
    margin: 0 0 25px;
    color: #203c30;
    font-size: 28px;
    line-height: 1.3;
}

.palette-article-section {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 17px;
    margin: 0;
    padding: 23px 0;
    border-top: 1px solid #e5ebe7;
}

.palette-article-section:last-child {
    padding-bottom: 0;
}

.palette-article-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid #d5e1d9;
    border-radius: 10px;
    background: #edf3ef;
    color: #477b68;
    font-size: 13px;
    font-weight: 800;
}

.palette-article-section h3 {
    margin: 0 0 10px;
    color: #294638;
    font-size: 18px;
    line-height: 1.45;
}

.palette-article-section p {
    margin: 0 0 14px;
    color: #68776d;
    font-size: 15px;
    line-height: 1.9;
}

.palette-article-section p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   FAQ — REFINED CARDS
========================================================= */

.palette-faq {
    padding: 75px 20px 85px;
    background: #edf2ef;
    border-top: 1px solid #dce5df;
}

.palette-faq-container {
    width: min(850px, 100%);
    margin: 0 auto;
}

.palette-faq-heading {
    margin-bottom: 32px;
    text-align: center;
}

.palette-faq-heading h2 {
    margin: 13px 0 12px;
    color: #203c30;
    font-size: 32px;
    line-height: 1.3;
}

.palette-faq-heading p {
    max-width: 620px;
    margin: 0 auto;
    color: #68776d;
    font-size: 15px;
    line-height: 1.75;
}

.palette-faq-list {
    display: grid;
    gap: 14px;
}

.palette-faq-item {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 15px;
    margin: 0;
    padding: 23px 25px;
    background: #f8faf8;
    border: 1px solid #d5e1d9;
    border-radius: 13px;
}

.palette-faq-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid #d5e1d9;
    background: #edf3ef;
    border-radius: 8px;
    color: #477b68;
    font-size: 11px;
    font-weight: 800;
}

.palette-faq-item h3 {
    margin: 3px 0 9px;
    color: #294638;
    font-size: 16px;
    line-height: 1.5;
}

.palette-faq-item p {
    margin: 0;
    color: #68776d;
    font-size: 14px;
    line-height: 1.8;
}


/* =========================================================
   BACK TO COLLECTION
========================================================= */

.palette-back-section {
    padding: 45px 20px 65px;
    background: #ffffff;
    text-align: center;
}

.palette-back-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 12px 22px;
    background: #edf4ee;
    border: 1px solid #dce8dd;
    border-radius: 8px;
    color: #365b3e;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.palette-back-button:hover {
    background: #e1ede2;
    transform: translateY(-2px);
}


/* =========================================================
   RESPONSIVE — TABLETS
========================================================= */

@media (max-width: 900px) {

    .palette-palette {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .palette-color-preview {
        height: 160px;
    }

}


/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 600px) {

    .palette-container {
        width: calc(100% - 30px);
    }

    .palette-hero {
        padding: 38px 0 45px;
    }

    .palette-hero h1 {
        font-size: 32px;
    }

    .palette-hero p {
        font-size: 14px;
    }

    .palette-palette-section {
        padding: 45px 0 55px;
    }

    .palette-section-heading h2 {
        font-size: 25px;
    }

    .palette-palette {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .palette-color-preview {
        height: 190px;
    }

    .palette-color-info {
        min-height: auto;
        padding: 20px;
    }

    .palette-actions-panel {
        margin-top: 38px;
        padding: 28px 20px;
    }

    .palette-actions-heading h2 {
        font-size: 23px;
    }

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

    .palette-actions button {
        width: 100%;
    }

    .palette-about {
        padding: 50px 18px;
    }

    .palette-about-intro,
    .palette-about-content {
        padding: 25px 21px;
        border-radius: 15px;
    }

    .palette-about-intro h2 {
        font-size: 25px;
    }

    .palette-about-intro > p:last-child {
        font-size: 14px;
    }

    .palette-about-content {
        margin-top: 18px;
    }

    .palette-main-content-title {
        font-size: 24px;
    }

    .palette-article-section {
        grid-template-columns: 34px minmax(0, 1fr);
        gap: 12px;
        padding: 20px 0;
    }

    .palette-article-number {
        width: 32px;
        height: 32px;
        font-size: 11px;
    }

    .palette-article-section h3 {
        font-size: 16px;
    }

    .palette-article-section p {
        font-size: 14px;
        line-height: 1.85;
    }

    .palette-faq {
        padding: 50px 18px 60px;
    }

    .palette-faq-heading h2 {
        font-size: 27px;
    }

    .palette-faq-item {
        grid-template-columns: 30px minmax(0, 1fr);
        gap: 11px;
        padding: 18px 15px;
    }

    .palette-faq-number {
        width: 29px;
        height: 29px;
    }

    .palette-faq-item h3 {
        font-size: 15px;
    }

}
