/* CSS Variables for Announcement Styling */
:root {
    --page-settings-bg-color: transparent;
    --page-settings-text-color: #262626;
    --page-settings-button-bg-color: #0095f6;
    --page-settings-button-text-color: #fff;
    --page-settings-border-radius: 12px;
    --page-settings-link-color: #0095f6;
    --page-settings-card-bg-color: #fff;
    --page-settings-card-text-color: #262626;
}

.abu-single {
    background-color: var(--page-settings-bg-color, transparent);
    background-image: var(--page-settings-bg-image, none);
    padding-bottom: 20px;
}

h1, h2, h3, h4, h5, h6, hr, label, span {
    margin: 0;
    color: var(--page-settings-text-color, var(--page-settings-text-color, var(--tribute-text-color, #262626)));
}

.w-100 {
    width: 100%;
}

.abu-featured-image {
    width: 100%;
}

.abu-featured-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.abu-header {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
}

.abu-meta {
    font-size: 14px;
    color: var(--page-settings-text-color, #666);
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.abu-title {
    color: var(--page-settings-text-color, #262626);
    font-size: 50px;
    font-weight: bold;
    padding-top: 50px;
    padding-bottom: 50px;
}

.abu-content {
    color: var(--page-settings-text-color, #262626);
}

.abu-content a {
    color: var(--page-settings-link-color, #0095f6);
}

/* Comments Section */
.abu-comments-section {
    margin-top: 40px;
    width: 95%;
    margin-left: 2.5%;
}

.abu-comments-section h2 {
    width: 100%;
    margin-bottom: 25px;
    font-weight: 600;
    color: var(--page-settings-text-color, #262626);
}

/* Comments Grid - Responsive 3-column layout */
.abu-comments-row {
    display: flex;
    justify-content: space-between;
    gap: 1px;
    margin-bottom: 40px;
}

@media (max-width: 767.98px) {
    .abu-comments-row {
        flex-direction: column !important;
    }
    .abu-comments-col {
        width: 100% !important;
    }
}

@media (min-width: 768px) {
    .abu-comments-row {
        flex-direction: row !important;
    }
    .abu-comments-col {
        width: 32% !important;
    }
}

.abu-comments-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.abu-comment-image, .abu-comment-pdf {
    width: 100%;
}

.abu-comment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-top-left-radius: var(--page-settings-border-radius, 12px);
    border-top-right-radius: var(--page-settings-border-radius, 12px);
}
/* Comment Item Styling - Card Design */
.abu-comment-item {
    background: var(--page-settings-card-bg-color, #fff);
    border: 1px solid var(--page-settings-card-bg-color, #fff);
    border-radius: var(--page-settings-border-radius, 12px);
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    height: max-content;
}

.abu-comment-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
    border-color: var(--page-settings-card-bg-color, #fff);
    cursor: pointer;
}

.abu-comment-author,
.abu-comment-relationship,
.abu-comment-date {
    font-size: 15px;
    font-weight: normal;
    margin: 0;
    border-color: var(--page-settings-card-text-color, #fff);
}

.abu-comment-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid #f0f0f0;
    padding: 10px;
}

.abu-comment-author {
    font-size: 15px;
    font-weight: 600;
    color: var(--page-settings-card-text-color, #262626);
    margin: 0;
    line-height: 1.4;
}

.abu-comment-date {
    text-align: center;
    width: 100%;
}

.abu-comment-content {
    padding: 10px;
    line-height: 1.6;
    margin-bottom: 16px;
    flex-grow: 1;
    color: var(--page-settings-card-text-color, #262626);
}

.abu-comment-content p {
    margin: 0 0 10px 0;
}

.abu-comment-content p:last-child {
    margin-bottom: 0;
}

.abu-comment-file {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #f5f5f5;
}

.abu-comment-file-link {
    display: block;
    overflow: hidden;
    border-radius: 8px;
}

.abu-comment-file-link img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.comment-file-link:hover img {
    transform: scale(1.02);
}

.no-comments {
    text-align: center;
    color: #8e8e8e;
    font-size: 14px;
    padding: 40px 20px;
    grid-column: 1 / -1;
}

/* Instagram-style Comment Form */
.comment-form-section {
    background: var(--page-settings-card-bg-color, #fff);
    color: var(--page-settings-card-text-color, #262626);
    margin-top: 60px;
    border-radius: var(--page-settings-border-radius, 12px);
}
@media screen and (max-width: 768px) {
    .comment-form-section {
        width: 90%;
        margin-left: 5%;
        padding: 10px;
    }
}
@media screen and (min-width: 768px) {
    .comment-form-section {
        width: 60%;
        margin-left: 20%;
        padding: 24px;
    }
}
.comment-form-section form {
    width: 100%;
}
.comment-form-section h3 {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
    color: var(--page-settings-card-text-color, #262626);
}

#comment-form,
#tribute-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.abu-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.abu-form-group label {
    font-size: 14px;
    font-weight: 500;
    color: #262626;
}

.abu-form-group input[type="text"],
.abu-form-group input[type="email"],
.abu-form-group input[type="phone"],
.abu-form-group select,
.abu-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    color: var(--page-settings-text-color, #262626);
    background: #fafafa;
    border: 1px solid #dbdbdb;
    border-radius: calc(var(--page-settings-border-radius, 12px) * 0.5);
    transition: all 0.2s ease;
    font-family: inherit;
    box-sizing: border-box;
}

.abu-form-group input[type="text"]:focus,
.abu-form-group input[type="email"]:focus,
.abu-form-group input[type="phone"]:focus,
.abu-form-group select:focus,
.abu-form-group textarea:focus {
    outline: none;
    border-color: #a8a8a8;
    background: #fff;
}

.abu-form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.abu-form-group input[type="file"] {
    padding: 8px;
    font-size: 14px;
    color: var(--page-settings-text-color, #262626);
    background: #fafafa;
    border: 1px solid #dbdbdb;
    border-radius: calc(var(--page-settings-border-radius, 12px) * 0.5);
    cursor: pointer;
    transition: all 0.2s ease;
}

.abu-form-group input[type="file"]:hover {
    background: #fff;
    border-color: #a8a8a8;
}

.abu-form-group input[type="file"]:focus {
    outline: none;
    border-color: #a8a8a8;
    background: #fff;
}

.abu-form-heading {
    color: var(--page-settings-card-text-color);
}

.submit-form-btn {
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--page-settings-button-text-color, #fff);
    background: var(--page-settings-button-bg-color, #0095f6);
    border: none;
    border-radius: calc(var(--page-settings-border-radius, 12px) * 0.5);
    cursor: pointer;
    transition: background-color 0.2s ease;
    align-self: flex-start;
    min-width: 120px;
}

.submit-form-btn:hover {
    background: #1877f2;
}

.submit-form-btn:active {
    background: #0064d1;
}

.submit-form-btn:disabled {
    background: #b2dffc;
    cursor: not-allowed;
}

#comment-message {
    margin-top: 16px;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    display: none;
}

#comment-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

#comment-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

#tribute-message {
    margin-top: 16px;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    display: none;
}

#tribute-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

#tribute-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.comment-login-required {
    text-align: center;
    color: #8e8e8e;
    font-size: 14px;
    padding: 20px;
    margin-top: 20px;
}

.comment-login-required a {
    color: var(--page-settings-link-color, #0095f6);
    text-decoration: none;
    font-weight: 500;
}

.comment-login-required a:hover {
    text-decoration: underline;
}

.abu-single {
    background-color: var(--page-settings-bg-color, transparent);
    background-image: var(--page-settings-bg-image, none);
    /* background-size: 45%; */
    /* background-repeat: no-repeat; */
    background-size: 100%;
    /* background-attachment: fixed; */
}
.abu-featured-image {
    display: flex;
    flex-direction: row;
}
.abu-featured-image .col:nth-child(2) {
    width: 70%;
}
.abu-featured-image .col:nth-child(1), 
.abu-featured-image .col:nth-child(3) {
    width: 30%;

    svg {
        width: 100%;
        height: 100px;
        margin: 0 auto;
        animation-name: arrow-movement;
        animation-duration: 4s;
        animation-iteration-count: infinite;
        fill: purple;
    }
}

@keyframes arrow-movement {
    0% {
        transform: translateY(0);
    }    
    100% {
        transform: translateY(150px);
    }       
}
/* 
.abu-featured-image {
    width: 100%;
} */

/* .abu-featured-image img {
    width: 80%;
    margin-left: 10%;
    height: 400px;
    object-fit: contain;
    background-color: var(--page-settings-bg-color, transparent);
}

@media (max-width: 768px) {
    .abu-featured-image img {
        width: 100%;
        margin-left: 0;
        height: 200px;
    }
} */

.abu-header {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
}

.abu-meta {
    font-size: 14px;
    color: var(--page-settings-text-color, #666);
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.abu-title {
    color: var(--page-settings-text-color, #262626);
}

.abu-content {
    color: var(--page-settings-text-color, #262626);
}

.abu-content a {
    color: var(--page-settings-link-color, #0095f6);
}

/* Obituary Comments Section */
.abu-single .abu-comments-section h3 {
    color: var(--page-settings-text-color, #262626);
}

.abu-single .comment-image img {
    border-top-left-radius: var(--page-settings-border-radius, 12px);
    border-top-right-radius: var(--page-settings-border-radius, 12px);
}

.abu-single .comment-item {
    background: var(--page-settings-card-bg-color, #fff);
    border: 1px solid var(--page-settings-card-bg-color, #fff);
    border-radius: var(--page-settings-border-radius, 12px);
    border-color: var(--page-settings-card-bg-color, #fff);
}

.abu-single .comment-author {
    color: var(--page-settings-card-text-color, #262626);
}

.abu-single .comment-content {
    color: var(--page-settings-card-text-color, #262626);
}

.abu-single .comment-form-section {
    background: var(--page-settings-card-bg-color, #fff);
    color: var(--page-settings-card-text-color, #262626);
    border-radius: var(--page-settings-border-radius, 12px);
}

.abu-single .comment-form-section h3 {
    color: var(--page-settings-card-text-color, #262626);
}

.abu-single .abu-form-group input[type="text"],
.abu-single .abu-form-group input[type="email"],
.abu-single .abu-form-group textarea {
    color: var(--page-settings-text-color, #262626);
    border-radius: calc(var(--page-settings-border-radius, 12px) * 0.5);
}

.abu-single .abu-form-group input[type="file"] {
    color: var(--page-settings-text-color, #262626);
    border-radius: calc(var(--page-settings-border-radius, 12px) * 0.5);
}

.abu-single .submit-form-btn {
    color: var(--page-settings-button-text-color, #fff);
    background: var(--page-settings-button-bg-color, #0095f6);
    border-radius: calc(var(--page-settings-border-radius, 12px) * 0.5);
}

.abu-single .comment-login-required a {
    color: var(--page-settings-link-color, #0095f6);
}



:root {
    --e-notice-bg: #fff;
    --e-notice-border-color: #ccd0d4;
    --e-notice-context-color: #93003f;
    --e-notice-context-tint: var(--e-context-cta-tint-1);
    --e-notice-box-shadow: 0 1px 4px rgba(0,0,0,.15);
    --e-notice-dismiss-color: #3f444b
}

.abu-notice {
    background: var(--e-notice-bg);
    border: 1px solid var(--e-notice-border-color);
    border-inline-start-width:4px;box-shadow: var(--e-notice-box-shadow);
    display: flex;
    font-family: Roboto,Arial,Helvetica,sans-serif;
    margin: 5px 20px 5px 2px;
    position: relative
}

.abu-notice.notice {
    padding: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.abu-notice:before {
    background-color: var(--e-notice-context-color);
    content: "";
    display: block;
    inset-block-end: -1px;
    inset-block-start: -1px;
    inset-inline-start: -4px;
    position: absolute;
    width: 4px
}

.abu-notice--primary {
    --e-notice-context-color: var(--page-settings-button-bg-color);
    --e-notice-context-color-dark: var(--page-settings-button-bg-color);
    --e-notice-context-tint: var(--e-context-primary-tint-1)
}

.abu-notice--success {
    --e-notice-context-color: var(--e-context-success-color);
    --e-notice-context-color-dark: var(--e-context-success-color-dark);
    --e-notice-context-tint: var(--e-context-success-tint-1)
}

.abu-notice--info {
    --e-notice-context-color: var(--e-context-info-color);
    --e-notice-context-color-dark: var(--e-context-info-color-dark);
    --e-notice-context-tint: var(--e-context-info-tint-1)
}

.abu-notice--warning {
    --e-notice-context-color: var(--e-context-warning-color);
    --e-notice-context-color-dark: var(--e-context-warning-color-dark);
    --e-notice-context-tint: var(--e-context-warning-tint-1)
}

.abu-notice--error {
    --e-notice-context-color: var(--e-context-error-color);
    --e-notice-context-color-dark: var(--e-context-error-color-dark);
    --e-notice-context-tint: var(--e-context-error-tint-1)
}

.abu-notice--cta {
    --e-notice-context-color: var(--e-context-cta-color);
    --e-notice-context-color-dark: var(--e-context-cta-color-dark);
    --e-notice-context-tint: var(--e-context-cta-tint-1)
}

.abu-notice--extended {
    --e-notice-is-extended: 1
}

.abu-notice--dismissible {
    padding-inline-end:38px}

.abu-notice__aside {
    background-color: var(--e-notice-context-tint);
    flex-grow: 0;
    flex-shrink: 0;
    overflow: hidden;
    padding-block-start:15px;text-align: center;
    width: calc(var(--e-notice-is-extended, 0) * 50px)
}

.abu-notice__icon-wrapper {
    background: var(--e-notice-context-color);
    border-radius: 100px;
    color: #fff;
    display: inline-block;
    font-size: .625rem;
    line-height: 1.5rem;
    max-height: 1.5rem;
    text-shadow: 0 0 3px var(--e-notice-context-color-dark),0 0 1px var(--e-notice-context-color-dark),0 0 1px var(--e-notice-context-color-dark);
    width: 1.5rem
}

.abu-notice__content {
    padding: 20px
}

.abu-notice__actions {
    display: flex
}

.abu-notice__actions>*+* {
    margin-inline-start:8px}

.abu-notice__dismiss {
    background: none;
    border: none;
    cursor: pointer;
    display: block;
    font-size: .8125rem;
    font-style: normal;
    height: 20px;
    inset-block-start: 0;
    inset-inline-end: 1px;
    line-height: 20px;
    margin: 0;
    padding: 9px;
    position: absolute;
    text-align: center;
    width: 20px
}

.abu-notice__dismiss:before {
    border-radius: 20px;
    color: var(--e-notice-dismiss-color);
    content: "\e87f";
    display: inline-block;
    font-family: eicons;
    width: 20px;
    speak: none;
    text-align: center
}

.abu-notice__dismiss:active:before,.abu-notice__dismiss:focus:before,.abu-notice__dismiss:hover:before {
    font-weight: 700
}

.abu-notice__dismiss:focus:before {
    background: var(--e-notice-dismiss-color);
    color: #fff;
    outline: none
}

.abu-notice__dismiss:focus {
    outline: none
}

.abu-notice p {
    line-height: 1.2;
    margin: 0;
    padding: 0
}

.abu-notice p+.abu-notice__actions {
    margin-block-start:1rem}

.abu-notice h3 {
    font-size: 1.0625rem;
    line-height: 1.2;
    margin: 0
}

#form-message {
    display: none;
}




/* Tribute Styling - Mirrors Announcement Styles */
.tribute-single {
    background-color: var(--tribute-bg-color, transparent);
    background-image: var(--tribute-bg-image, none);
}

.tribute-featured-image {
    width: 100%;
}

.tribute-featured-image img {
    width: 80%;
    margin-left: 10%;
    height: 400px;
    object-fit: contain;
    background-color: var(--tribute-bg-color, transparent);
}

@media (max-width: 768px) {
    .tribute-featured-image img {
        width: 100%;
        margin-left: 0;
        height: 200px;
    }
}


.tribute-header {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
}

.tribute-meta {
    font-size: 14px;
    color: var(--tribute-text-color, #666);
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.tribute-title {
    color: var(--tribute-text-color, #262626);
}

.tribute-content {
    color: var(--tribute-text-color, #262626);
}

.tribute-content a {
    color: var(--tribute-link-color, #0095f6);
}

/* Tribute Comments Section */
.tribute-single .abu-comments-section h3 {
    color: var(--tribute-text-color, #262626);
}

.tribute-single .comment-image img {
    border-top-left-radius: var(--tribute-border-radius, 12px);
    border-top-right-radius: var(--tribute-border-radius, 12px);
}

.tribute-single .comment-item {
    background: var(--tribute-card-bg-color, #fff);
    border: 1px solid var(--tribute-card-bg-color, #fff);
    border-radius: var(--tribute-border-radius, 12px);
    border-color: var(--tribute-card-bg-color, #fff);
}

.tribute-single .comment-author {
    color: var(--tribute-card-text-color, #262626);
}

.tribute-single .comment-content {
    color: var(--tribute-card-text-color, #262626);
}

.tribute-single .comment-form-section {
    background: var(--tribute-card-bg-color, #fff);
    color: var(--tribute-card-text-color, #262626);
    border-radius: var(--tribute-border-radius, 12px);
}

.tribute-single .comment-form-section h3 {
    color: var(--tribute-card-text-color, #262626);
}

.tribute-single .abu-form-group input[type="text"],
.tribute-single .abu-form-group input[type="email"],
.tribute-single .abu-form-group textarea {
    color: var(--tribute-text-color, #262626);
    border-radius: calc(var(--tribute-border-radius, 12px) * 0.5);
}

.tribute-single .abu-form-group input[type="file"] {
    color: var(--tribute-text-color, #262626);
    border-radius: calc(var(--tribute-border-radius, 12px) * 0.5);
}

.tribute-single .submit-tribute-btn {
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--tribute-button-text-color, #fff);
    background: var(--tribute-button-bg-color, #0095f6);
    border: none;
    border-radius: calc(var(--tribute-border-radius, 12px) * 0.5);
    cursor: pointer;
    transition: background-color 0.2s ease;
    align-self: flex-start;
    min-width: 120px;
}

.tribute-single .submit-tribute-btn:hover {
    background: #1877f2;
}

.tribute-single .submit-tribute-btn:active {
    background: #0064d1;
}

.tribute-single .submit-tribute-btn:disabled {
    background: #b2dffc;
    cursor: not-allowed;
}

.tribute-single .comment-login-required a {
    color: var(--tribute-link-color, #0095f6);
}