/* Internal pages css */

/* =================================================_
   Artists Page Styles (Internal Pages)
   ================================================= */

.internal-page-main {
    background-color: #0b0b0b;
    color: #ffffff;
    padding: 60px 20px;
    font-family: sans-serif;
}

.artists-container {
    max-width: 1200px;
    margin: 0 auto;
}

.artists-header {
    margin-bottom: 50px;
}

.artists-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    letter-spacing: 2px;
    color: #f2f2f2;
    text-transform: uppercase;
    line-height: 1.1;
}

.artists-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Individual Artist Card */
.artist-card {
    background-color: #141414;
    border: 1px solid #222;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.artist-card:hover {
    transform: translateY(-5px);
    border-color: #444;
}

.artist-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.artist-image-wrapper {
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.artist-image-wrapper img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: top !important; 
}

.artist-card:hover .artist-image-wrapper img {
    filter: brightness(1);
}

.artist-image-wrapper {
    width: 100%;
    height: 350px; 
    overflow: hidden;
}

.artist-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: center;
}

.artist-tags {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    gap: 8px;
    z-index: 2;
}

.artist-tags span {
    background-color: #c59b27; 
    color: #111;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 4px 8px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.artist-info {
    background-color: #121212;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.artist-handle {
    font-size: 0.75rem;
    color: #888;
    letter-spacing: 0.5px;
}

.artist-name {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin: 8px 0 0 0;
    color: #ffffff;
    text-transform: uppercase;
}

.view-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #aaa;
    transition: color 0.2s ease;
}

.artist-card:hover .view-btn {
    color: #c59b27;
}

/* =========================================
   TATTOO AFTERCARE PAGE
========================================= */

.tattoo-aftercare-page {
    background: var(--color-background);
    color: var(--color-text);
}

/* =========================================
   HERO
========================================= */

.tattoo-aftercare-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    padding: 80px 24px;
    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.82) 0%,
            rgba(0, 0, 0, 0.55) 48%,
            rgba(0, 0, 0, 0.20) 100%
        ),
       url("../tattoo-aftercare-original.jpg");
background-size: auto, 125%;
background-position: center, 42% 55%;
background-repeat: no-repeat;
}

.tattoo-aftercare-hero-inner {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

.tattoo-aftercare-label {
    margin: 0 0 22px;
    color: var(--color-gold);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.tattoo-aftercare-hero h1 {
    max-width: 760px;
    margin: 0;
    color: var(--color-text);
    font-family: var(--font-heading);
    font-size: clamp(76px, 8vw, 126px);
    font-weight: 700;
    line-height: 0.84;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Small ornament under title */
.tattoo-aftercare-ornament {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 120px;
    margin-top: 34px;
    color: var(--color-gold);
}

.tattoo-aftercare-ornament span {
    width: 38px;
    height: 1px;
    background: var(--color-gold);
}

.tattoo-aftercare-ornament b {
    font-size: 13px;
    font-weight: 400;
    line-height: 1;
}

/* =========================================
   AFTERCARE INTRO
========================================= */

.tattoo-aftercare-content {
    width: 100%;
}

.tattoo-aftercare-container {
    width: 100%;
}

.tattoo-aftercare-editor-content > p:first-child {
    max-width: 640px;
    margin: 0;
    padding: 54px 0 28px;
    color: var(--color-text);
    font-size: 16px;
    line-height: 1.8;
}

.tattoo-aftercare-editor-content {
    padding: 0 3%;
}

.tattoo-aftercare-editor-content::before {
    content: "";
}

/* =========================================
   AFTERCARE MAIN LAYOUT — DESKTOP
========================================= */

.aftercare-main-layout {
    display: grid;
    grid-template-columns: 35% 65%;
    margin-top: 44px;
    padding-top: 44px;
    border-top: 1px solid var(--color-border);
}

/* LEFT — IMPORTANT NOTE */
.aftercare-note {
    padding-right: 58px;
}

.aftercare-note-inner {
    position: sticky;
    top: 28px;
    padding: 36px 34px;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(190, 132, 35, 0.55);
    border-left: 3px solid var(--color-gold);
}

.aftercare-note-heading {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.aftercare-warning {
    flex: 0 0 auto;
    margin-top: 3px;
    color: var(--color-gold);
    font-size: 22px;
}

.aftercare-note-heading h2 {
    margin: 0;
    color: var(--color-text);
    font-family: var(--font-heading);
    font-size: 24px;
    line-height: 1.1;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.aftercare-note-text {
    margin: 22px 0 0 40px;
}

.aftercare-note-text p {
    margin: 0;
    color: var(--color-text);
    font-size: 16px;
    line-height: 1.9;
}

/* Note buttons */
.aftercare-note-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 24px 0 0 40px;
}

.aftercare-note-actions a,
.aftercare-note-actions button {
    min-height: 46px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text);
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1;
    text-transform: uppercase;
    cursor: pointer;
}

.aftercare-note-actions a:first-child {
    border-color: var(--color-gold);
    color: var(--color-gold);
}

/* RIGHT — HEALING STEPS */
.aftercare-steps {
    padding-left: 54px;
    border-left: 1px solid var(--color-border);
}

.aftercare-steps-label {
    margin: 0 0 18px;
    color: var(--color-gold);
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.aftercare-step {
    display: grid;
    grid-template-columns: 52px 190px minmax(0, 1fr);
    column-gap: 20px;
    align-items: start;
    padding: 22px 0;
    border-bottom: 1px solid var(--color-border);
}

.aftercare-step:first-of-type {
    padding-top: 10px;
}

.aftercare-step-number {
    color: rgba(255, 255, 255, 0.07);
    font-family: var(--font-heading);
    font-size: 44px;
    font-weight: 700;
    line-height: 1;
}

.aftercare-step-title {
    margin: 2px 0 0;
    color: var(--color-text);
    font-family: var(--font-heading);
    font-size: 21px;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.aftercare-step-text p {
    margin: 0;
    color: var(--color-text);
    font-size: 15px;
    line-height: 1.75;
}

/* =========================================
   TATTOO AFTERCARE — MOBILE
========================================= */

@media (max-width: 768px) {
    .tattoo-aftercare-hero {
    background-size: auto, cover;
    background-position: center, 50% center;
}

    .tattoo-aftercare-editor-content {
        padding: 0 24px;
    }

    .aftercare-intro {
        padding: 46px 0 38px;
    }

    .aftercare-intro p {
        margin: 0;
        font-size: 16px;
        line-height: 1.9;
        text-align: left;
    }

    .aftercare-main-layout {
        display: flex;
        flex-direction: column;
        margin-top: 0;
        padding-top: 0;
        border-top: 1px solid var(--color-border);
    }

    /* Figma mobile order:
       instructions first, important note last */
    .aftercare-steps {
        order: 1;
        padding: 36px 0 0;
        border-left: 0;
    }

    .aftercare-note {
        order: 2;
        padding: 48px 0 64px;
    }

    .aftercare-steps-label {
        margin-bottom: 16px;
        font-size: 11px;
        letter-spacing: 2.5px;
    }

    /* Each mobile instruction becomes vertical */
    .aftercare-step {
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr);
        column-gap: 12px;
        row-gap: 14px;
        padding: 26px 0;
    }

    .aftercare-step-number {
        grid-column: 1;
        grid-row: 1;
        font-size: 34px;
    }

    .aftercare-step-title {
        grid-column: 2;
        grid-row: 1;
        margin: 0;
        font-size: 21px;
        line-height: 1.1;
    }

    .aftercare-step-text {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .aftercare-step-text p {
        font-size: 16px;
        line-height: 1.75;
    }

    /* Important Note comes after Step 08 */
    .aftercare-note-inner {
        position: static;
        padding: 28px 24px;
    }

    .aftercare-note-heading {
        gap: 14px;
    }

    .aftercare-note-heading h2 {
        font-size: 22px;
    }

    .aftercare-note-text {
        margin: 20px 0 0;
    }

    .aftercare-note-text p {
        font-size: 16px;
        line-height: 1.8;
    }

    .aftercare-note-actions {
        margin: 24px 0 0;
    }
}


/* Piercing Aftercare hero */
.piercing-aftercare-hero {
    background-image:
        linear-gradient(
            rgba(0, 0, 0, 0.45),
            rgba(0, 0, 0, 0.65)
        ),
        url("../piercing-aftercare-hero.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


/* Shared Aftercare introduction spacing — desktop */
@media (min-width: 769px) {

    .tattoo-aftercare-page .aftercare-intro {
        padding-top: 32px;
    }

    .tattoo-aftercare-page .aftercare-intro p {
        max-width: 780px;
        margin: 0;
        font-size: 16px;
        line-height: 1.7;
    }

    .tattoo-aftercare-page .aftercare-main-layout {
        margin-top: 24px;
        padding-top: 30px;
    }

}

/* Piercing Aftercare — Figma desktop instruction layout */
@media (min-width: 769px) {

    .piercing-aftercare-page .piercing-step {
        grid-template-columns: 52px minmax(0, 1fr);
        column-gap: 12px;
        row-gap: 0;
    }

    .piercing-aftercare-page .piercing-step .aftercare-step-number {
        grid-column: 1;
        grid-row: 1;
    }

    .piercing-aftercare-page .piercing-step .aftercare-step-title {
        grid-column: 2;
        grid-row: 1;
        margin: 2px 0 16px;
    }

    .piercing-aftercare-page .piercing-step .aftercare-step-text {
        grid-column: 2;
        grid-row: 2;
        min-width: 0;
    }

    .piercing-aftercare-page .piercing-instruction {
        display: grid;
        grid-template-columns: 35% minmax(0, 1fr);
        gap: 20px;
        padding: 18px 0;
        border-top: 1px solid var(--color-border);
    }

    .piercing-aftercare-page .piercing-instruction h3 {
        margin: 0;
        color: var(--color-gold);
        font-size: 15px;
        font-weight: 700;
        letter-spacing: 1px;
        line-height: 1.5;
    }

    .piercing-aftercare-page .piercing-instruction p {
        margin: 0;
        font-size: 15px;
        line-height: 1.7;
    }

}

/* Piercing Aftercare — Questions card alignment */
.piercing-aftercare-page .piercing-questions .aftercare-note-text {
    margin: 22px 0 0;
}

.piercing-aftercare-page .piercing-questions .aftercare-note-actions {
    margin: 24px 0 0;
}

/* Piercing Aftercare — keep Questions card compact */
@media (min-width: 769px) {
    .piercing-aftercare-page .piercing-questions {
        align-self: start;
    }
}

/* Tattoo Aftercare — compact Important Note card */
@media (min-width: 769px) {

    .tattoo-aftercare-page:not(.piercing-aftercare-page) .aftercare-note {
        align-self: start;
        padding-right: 32px;
    }

    .tattoo-aftercare-page:not(.piercing-aftercare-page) .aftercare-note-inner {
        padding: 28px 26px;
    }

    .tattoo-aftercare-page:not(.piercing-aftercare-page) .aftercare-note-text {
        margin: 18px 0 0;
    }

    .tattoo-aftercare-page:not(.piercing-aftercare-page) .aftercare-note-text p {
        line-height: 1.6;
    }

    .tattoo-aftercare-page:not(.piercing-aftercare-page) .aftercare-note-actions {
        margin: 22px 0 0;
    }
}


/* Sticky Aftercare sidebar — desktop */
@media (min-width: 769px) {
    .tattoo-aftercare-page .aftercare-note {
        position: sticky;
        top: 112px;
        align-self: start;
    }

    .tattoo-aftercare-page .aftercare-note-inner {
        position: static;
    }
}

/* ==========================================================================
   ARTISTS ARCHIVE GRID STYLES (archive-artist.php)
   ========================================================================== */

.artists-archive-page {
    background-color: #0b0b0b;
    color: #f5f5f5;
    padding-bottom: 5rem;
}

.artists-hero {
    padding: 7rem 1.5rem 4.5rem;
    border-bottom: 1px solid rgba(198, 151, 73, 0.2);
}

.artists-hero .hero-subtitle {
    display: block;
    color: #c69749;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.artists-hero .hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0 0 1rem;
}

.artists-hero .hero-divider {
    color: #c69749;
    margin: 1rem 0 1.25rem;
}

.artists-hero .hero-description {
    max-width: 580px;
    color: #cccccc;
    font-size: 1.05rem;
    line-height: 1.6;
}

.artists-grid-section {
    max-width: 1240px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.artists-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.artist-card {
    background-color: #141414;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.artist-card:hover {
    border-color: #c69749;
    transform: translateY(-4px);
}

.artist-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.artist-thumb-wrapper {
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background-color: #1a1a1a;
}

.artist-thumb-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.artist-card:hover .artist-thumb-wrapper img {
    transform: scale(1.04);
}

.artist-placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
}

.artist-card-content {
    padding: 1.75rem;
}

.artist-name {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 0.5rem;
    color: #ffffff;
    letter-spacing: 0.04em;
}

.artist-role {
    display: block;
    color: #c69749;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.artist-cta {
    display: inline-block;
    color: #f5f5f5;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    border-bottom: 1px solid #c69749;
    padding-bottom: 0.2rem;
    transition: color 0.2s ease;
}

.artist-card:hover .artist-cta {
    color: #c69749;
}

@media (max-width: 900px) {
    .artists-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .artists-grid {
        grid-template-columns: 1fr;
    }
}


.gallery-page {
    background-color: #0b0b0b;
    color: #f5f5f5;
    padding-bottom: 5rem;
}

.gallery-hero {
    background-size: cover;
    background-position: center;
    padding: 7rem 1.5rem 4.5rem;
    border-bottom: 1px solid rgba(198, 151, 73, 0.2);
}

.gallery-section {
    max-width: 1240px;
    margin: 0 auto;
    padding: 3.5rem 1.5rem;
}

/* Artist Header Bar */
.artist-gallery-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
    padding-bottom: 2.5rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.artist-role-tag {
    display: block;
    color: #c69749;
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.artist-gallery-name {
    font-size: clamp(1.8rem, 4vw, 2.75rem);
    margin: 0 0 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #ffffff;
}

.artist-gallery-intro {
    max-width: 620px;
    color: #cccccc;
    line-height: 1.6;
    margin: 0;
}

/* 3-Column Instagram Feed Grid (9-12 initial items) */
.ig-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.ig-gallery-item {
    display: block;
    position: relative;
    aspect-ratio: 1 / 1;
    background-color: #141414;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    text-decoration: none;
}

.ig-img-wrap {
    width: 100%;
    height: 100%;
    position: relative;
}

.ig-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.ig-gallery-item:hover .ig-img-wrap img {
    transform: scale(1.05);
}

/* Req 14.2 & 14.3: Video and Carousel Badges */
.ig-media-badge {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    background: rgba(10, 10, 10, 0.82);
    border: 1px solid rgba(198, 151, 73, 0.5);
    color: #f5f5f5;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    padding: 0.3rem 0.6rem;
    z-index: 2;
}

.ig-hover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.72);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.ig-gallery-item:hover .ig-hover-overlay,
.ig-gallery-item:focus .ig-hover-overlay {
    opacity: 1;
}

.ig-view-text {
    color: #c69749;
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    font-weight: 600;
    border-bottom: 1px solid #c69749;
    padding-bottom: 0.25rem;
}

/* Req 13: Load More Button */
.ig-load-more-wrap {
    text-align: center;
    margin-top: 3rem;
}

.btn-outline-gold {
    display: inline-block;
    background: transparent;
    border: 1px solid #c69749;
    color: #c69749;
    padding: 0.85rem 2.2rem;
    font-size: 0.82rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-outline-gold:hover:not(:disabled) {
    background-color: #c69749;
    color: #0b0b0b;
}

.btn-outline-gold:disabled {
    opacity: 0.5;
    cursor: wait;
}

/* Req 17: Neutral Fallback Status Box */
.ig-neutral-status {
    padding: 3.5rem 2rem;
    background-color: #121212;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.ig-neutral-status .status-title {
    color: #e0e0e0;
    font-size: 1.05rem;
    margin: 0 0 0.5rem;
}

.ig-neutral-status .status-sub {
    color: #999999;
    font-size: 0.9rem;
    margin: 0;
}

.ig-neutral-status a {
    color: #c69749;
    text-decoration: underline;
}

/* Responsive Grid */
@media (max-width: 900px) {
    .ig-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .ig-gallery-grid {
        grid-template-columns: 1fr;
    }
    .artist-gallery-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Tattoo before and aftercare content */

.tattoo-aftercare-editor-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 50px 24px 70px;
}

.tattoo-aftercare-editor-content p {
    line-height: 1.8;
    margin-bottom: 22px;
}

.tattoo-aftercare-editor-content h2 {
    margin-top: 48px;
    margin-bottom: 24px;
}

.tattoo-aftercare-editor-content h3 {
    margin-top: 30px;
    margin-bottom: 14px;
}

/* =========================================
   TATTOO BEFORE & AFTERCARE — NEW LAYOUT
========================================= */

.tattoo-care-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    align-items: start;
    margin-top: 40px;
}

.tattoo-care-panel {
    min-width: 0;
    height: 520px;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 30px;
    background: #171717;
    border: 1px solid rgba(190, 132, 35, 0.5);
    scrollbar-width: thin;
    scrollbar-color: #b88635 #171717;
}

.tattoo-care-panel h2 {
    margin: 0 0 28px;
    color: #d4a14b;
}

.tattoo-care-panel h3 {
    margin: 28px 0 12px;
}

.tattoo-care-panel p {
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Centered contact box */

.tattoo-care-contact {
    max-width: 650px;
    margin: 60px auto 80px;
    padding: 40px 30px;
    text-align: center;
    background: #171717;
    border: 1px solid rgba(190, 132, 35, 0.55);
}

.tattoo-care-contact h2 {
    margin: 0 0 16px;
    color: #d4a14b;
}

.tattoo-care-contact p {
    margin-bottom: 26px;
    line-height: 1.7;
}

.tattoo-care-contact a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    margin: 6px;
    padding: 12px 22px;
    border: 1px solid #b88635;
    color: #d4a14b;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    transition: 0.3s ease;
}

.tattoo-care-contact a:hover {
    background: #b88635;
    color: #111;
}
/* Mobile layout */
@media (max-width: 768px) {
    .tattoo-care-columns {
        grid-template-columns: 1fr;
    }

    .tattoo-care-panel {
        height: auto;
        overflow: visible;
        padding: 24px;
    }
}/* Mobile: independently scrollable care panels */
@media (max-width: 768px) {
    .tattoo-care-columns {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .tattoo-care-panel {
        height: 420px;
        overflow-y: auto;
        overscroll-behavior-y: contain;
        -webkit-overflow-scrolling: touch;
        padding: 24px;
    }
}


/* =========================================
   PIERCING AFTERCARE — SIX CARD LAYOUT
   ========================================= */

.piercing-care-layout {
    max-width: 1150px;
    margin: 0 auto;
    padding: 55px 20px 75px;
}

/* Introduction */
.piercing-care-intro {
    max-width: 850px;
    margin: 0 auto 35px;
    text-align: center;
    color: #d6d0c7;
    font-size: 16px;
    line-height: 1.8;
}

/* Main heading */
.piercing-care-heading {
    margin: 0 0 35px;
    color: #c9a46b;
    text-align: center;
    font-size: 30px;
    letter-spacing: 1px;
}

/* Six cards */
.piercing-care-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.piercing-care-card {
    min-width: 0;
    padding: 30px;
    background: #151515;
    border: 1px solid #a7844c;
    border-radius: 8px;
    box-sizing: border-box;
}

.piercing-care-card-title {
    margin: 0 0 20px;
    color: #d3ad70;
    font-size: 21px;
    line-height: 1.4;
}

.piercing-care-card-text {
    color: #dedad4;
    font-size: 15px;
    line-height: 1.85;
}

.piercing-care-card-text p {
    margin: 0 0 15px;
}

.piercing-care-card-text p:last-child {
    margin-bottom: 0;
}

/* Centered contact box */
.piercing-care-contact {
    max-width: 650px;
    margin: 55px auto 0;
    padding: 35px 30px;
    border: 1px solid #a7844c;
    border-radius: 8px;
    background: #151515;
    text-align: center;
    box-sizing: border-box;
}

.piercing-care-contact h2 {
    margin: 0 0 20px;
    color: #d3ad70;
    font-size: 25px;
}

.piercing-care-contact p {
    color: #dedad4;
    line-height: 1.7;
}

.piercing-care-email {
    overflow-wrap: anywhere;
}

.piercing-care-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 25px;
}

.piercing-care-actions a {
    color: #d3ad70;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.piercing-care-actions a:hover {
    color: #ffffff;
}

/* Tablet and mobile */
@media (max-width: 768px) {
    .piercing-care-layout {
        padding: 35px 15px 55px;
    }

    .piercing-care-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .piercing-care-card {
        padding: 22px 20px;
    }

    .piercing-care-card-title {
        font-size: 19px;
    }

    .piercing-care-heading {
        font-size: 25px;
    }

    .piercing-care-contact {
        margin-top: 35px;
        padding: 28px 20px;
    }
}


/* =========================================
   PIERCING AFTERCARE — FINAL TWO-COLUMN LAYOUT
   ========================================= */

.piercing-care-columns {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
    align-items: start;
    margin-top: 35px;
}

/* LEFT — Questions box */
.piercing-care-columns .piercing-care-contact {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 30px 25px;
    box-sizing: border-box;
}

.piercing-care-columns .piercing-care-email a {
    color: #d3ad70;
    text-decoration: none;
    overflow-wrap: anywhere;
}

/* RIGHT — Scrollable instructions */
.piercing-care-instructions {
    height: 480px;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;

    padding: 28px;
    background: #151515;
    border: 1px solid #a7844c;
    border-radius: 8px;
    box-sizing: border-box;
}

.piercing-care-instruction {
    padding-bottom: 22px;
    margin-bottom: 22px;
    border-bottom: 1px solid #4a3b29;
}

.piercing-care-instruction:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.piercing-care-instruction h3 {
    margin: 0 0 16px;
    color: #d3ad70;
    font-size: 20px;
    line-height: 1.4;
}

.piercing-care-instruction .piercing-care-card-text {
    color: #dedad4;
    font-size: 15px;
    line-height: 1.8;
}

/* Mobile layout */
@media (max-width: 768px) {
    .piercing-care-columns {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .piercing-care-instructions {
        height: 420px;
        padding: 22px 18px;
    }

    .piercing-care-instruction h3 {
        font-size: 18px;
    }
}

/* Shared contact box finishing styles */

.tattoo-care-contact .care-thank-you,
.piercing-care-contact .care-thank-you {
    margin: 24px 0 0;
    color: #dedad4;
    font-size: 15px;
    font-weight: 400;
}

/* Match the contact box width and layout */
.piercing-care-columns .piercing-care-contact {
    text-align: center;
}

/* Make the email address clickable and readable */
.tattoo-care-contact a[href^="mailto:"],
.piercing-care-contact a[href^="mailto:"] {
    overflow-wrap: anywhere;
}

/* Piercing Aftercare — mobile reading order */

@media (max-width: 768px) {

    .piercing-care-columns {
        display: flex;
        flex-direction: column;
        gap: 22px;
    }

    /* Instructions appear first */
    .piercing-care-instructions {
        order: 1;
        width: 100%;
    }

    /* Questions appear after instructions */
    .piercing-care-columns .piercing-care-contact {
        order: 2;
        width: 100%;
    }

}
