:root{--page-title-display:none;}/* Start custom CSS for shortcode, class: .elementor-element-4509d71 *//*
|--------------------------------------------------------------------------
| MY MEMORIALS TABLE ACTIONS
|--------------------------------------------------------------------------
*/

/* Center all table headings and cells */
.cc-my-memorials .cc-memorial-table th,
.cc-my-memorials .cc-memorial-table td {
    text-align: center;
    vertical-align: middle;
}

/* Keep memorial names aligned left */
.cc-my-memorials .cc-memorial-name {
    text-align: left;
}

/* Remove button backgrounds and borders */
.cc-my-memorials .cc-action-button,
.cc-my-memorials .cc-action-button:visited {
    display: inline-block;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    color: #E9A23B !important;
    font-size: 16px;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;

    padding: 8px 4px;
    margin: 0;
    cursor: pointer;
    line-height: 1.4;
    text-align: center;
}

/* Highlight actions when hovered or focused */
.cc-my-memorials .cc-action-button:hover,
.cc-my-memorials .cc-action-button:focus-visible {
    color: #FFD080 !important;
    background: transparent !important;
    text-decoration: underline;
}

/* Make Delete distinguishable */
.cc-my-memorials .cc-delete-button {
    color: #E57373 !important;
}

.cc-my-memorials .cc-delete-button:hover,
.cc-my-memorials .cc-delete-button:focus-visible {
    color: #FFAAAA !important;
}

/* Center the delete form */
.cc-my-memorials .cc-memorial-table form {
    margin: 0;
    padding: 0;
    text-align: center;
}

/* Center unavailable actions */
.cc-my-memorials .cc-action-unavailable {
    display: block;
    text-align: center;
    opacity: 0.5;
}




/*
|--------------------------------------------------------------------------
| MY MEMORIALS - REMOVE TABLE GRID LINES
|--------------------------------------------------------------------------
*/

/* Remove all table borders */
.cc-my-memorials .cc-memorial-table,
.cc-my-memorials .cc-memorial-table th,
.cc-my-memorials .cc-memorial-table td,
.cc-my-memorials .cc-memorial-table tr {
    border: none !important;
    box-shadow: none !important;
}

/* Remove spacing between table cells */
.cc-my-memorials .cc-memorial-table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Add comfortable spacing between rows */
.cc-my-memorials .cc-memorial-table th,
.cc-my-memorials .cc-memorial-table td {
    padding: 16px 12px;
}




/*
|--------------------------------------------------------------------------
| MY MEMORIALS - MOBILE CARD LAYOUT
|--------------------------------------------------------------------------
*/

@media screen and (max-width: 767px) {

    /* Keep the memorial section within the screen */
    .cc-my-memorials,
    .cc-memorial-table-wrap {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    /* Convert table into stacked cards */
    .cc-my-memorials .cc-memorial-table,
    .cc-my-memorials .cc-memorial-table tbody {
        display: block;
        width: 100%;
        min-width: 0;
    }

    /* Hide desktop column headings */
    .cc-my-memorials .cc-memorial-table thead {
        display: none;
    }

    /* Each memorial becomes a card */
    .cc-my-memorials .cc-memorial-table tr {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
        width: 100%;
        box-sizing: border-box;
        padding: 16px;
        margin-bottom: 16px;
        border: 1px solid #444 !important;
        border-radius: 10px;
    }

    /* Reset table cells */
    .cc-my-memorials .cc-memorial-table td {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-width: 0;
        padding: 6px 2px;
        text-align: center !important;
        overflow-wrap: anywhere;
    }

    /* Memorial name */
    .cc-my-memorials .cc-memorial-table td:nth-child(1) {
        grid-column: 1 / 3;
        align-items: flex-start;
        text-align: left !important;
        font-weight: bold;
        font-size: 18px;
    }

    /* Visibility status */
    .cc-my-memorials .cc-memorial-table td:nth-child(2) {
        grid-column: 3;
        align-items: flex-end;
        font-size: 14px;
    }

    /* Action cells */
    .cc-my-memorials .cc-memorial-table td:nth-child(n+3) {
        background: rgba(255,255,255,0.05);
        border-radius: 6px;
        min-height: 56px;
    }

    /* Make actions easy to tap */
    .cc-my-memorials .cc-action-button {
        width: 100%;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        padding: 8px 2px;
        overflow-wrap: anywhere;
    }

    /* Keep delete form inside its cell */
    .cc-my-memorials .cc-memorial-table form {
        width: 100%;
        margin: 0;
    }

    /* Unavailable actions */
    .cc-my-memorials .cc-action-unavailable {
        padding: 12px 0;
    }
}




/*
|--------------------------------------------------------------------------
| MY MEMORIALS - MOBILE LABELS
|--------------------------------------------------------------------------
*/

@media screen and (max-width: 767px) {

    /* Add headings above each cell */
    .cc-my-memorials .cc-memorial-table td::before {
        content: attr(data-label);
        display: block;
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        color: #AFAFAF;
        margin-bottom: 8px;
        text-align: center;
    }

    /* Keep memorial name and status headings aligned */
    .cc-my-memorials .cc-memorial-table td:nth-child(1)::before {
        text-align: left;
    }

    .cc-my-memorials .cc-memorial-table td:nth-child(2)::before {
        text-align: right;
    }

    /* Keep action links centered */
    .cc-my-memorials .cc-memorial-table td:nth-child(n+3) {
        justify-content: flex-start;
        gap: 4px;
    }

    /* Keep headings and actions compact */
    .cc-my-memorials .cc-memorial-table td:nth-child(n+3)::before {
        min-height: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}/* End custom CSS */