/* --- GH-OBIT Pro Frontend Styles --- */
/* Version: 1.2.9 - Final Layout Restoration */

:root {
   /* Font Awesome Variables */
   --fa-font-thin: normal 100 1em / 1 "Font Awesome 6 Pro";
   --fa-font-solid: normal 900 1em / 1 "Font Awesome 6 Pro";
   --fa-font-regular: normal 400 1em / 1 "Font Awesome 6 Pro";
   --fa-font-light: normal 300 1em / 1 "Font Awesome 6 Pro";
   --fa-font-duotone: normal 900 1em / 1 "Font Awesome 6 Duotone";
   --fa-font-brands: normal 400 1em / 1 "Font Awesome 6 Brands";

   /* General Theme Color and Breakpoint Variables */
   --blue: #007bff;
   --indigo: #6610f2;
   --purple: #6f42c1;
   --pink: #e83e8c;
   --red: #dc3545;
   --orange: #fd7e14;
   --yellow: #ffc107;
   --green: #28a745;
   --teal: #20c997;
   --cyan: #17a2b8;
   --white: #fff;
   --gray: #6c757d;
   --gray-dark: #343a40;
   --primary: #007bff;
   --secondary: #6c757d;
   --success: #28a745;
   --info: #17a2b8;
   --warning: #ffc107;
   --danger: #dc3545;
   --light: #f8f9fa;
   --dark: #343a40;
   --breakpoint-xs: 0;
   --breakpoint-sm: 576px;
   --breakpoint-md: 768px;
   --breakpoint-lg: 992px;
   --breakpoint-xl: 1200px;
   --font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
   --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
   --font-family-source-sans-pro: "Source Sans Pro", Arial, sans-serif;

   /* GH-OBIT Plugin Specific CSS Variables */
   --gh-obit-primary-color: #0073aa;
   --gh-obit-primary-hover-color: #005177;
   --gh-obit-secondary-color: #5f676d;
   --gh-obit-secondary-hover-color: #494f54;
   --gh-obit-success-color: #28a745;
   --gh-obit-danger-color: #dc3545;
   --gh-obit-warning-color: #ffc107;
   --gh-obit-light-gray: #e9ecef;
   --gh-obit-medium-gray: #ced4da;
   --gh-obit-dark-gray: #3d4349;
   --gh-obit-text-color: #212529;
   --gh-obit-border-radius: 4px;
   --gh-obit-gold-accent: #d4af37;
   --font-serif: "Georgia", "Times New Roman", serif;


   /* Default Grid Columns */
   --grid-columns-mobile: 2;
   --grid-columns-tablet: 2;
   --grid-columns-desktop: 4;
}

/* =================================================================== */
/* ORIGINAL PLUGIN STYLES (GRID, FORMS, ETC.)
/* =================================================================== */

/* --- Base & General Styles --- */
html {
   font-family: sans-serif;
   line-height: 1.15;
   -webkit-text-size-adjust: 100%;
   -webkit-tap-highlight-color: transparent;
}

body {
   margin: 0;
   font-family: var(--font-family-source-sans-pro);
   font-size: 16px;
   font-weight: 400;
   line-height: 20px;
   color: #111;
   text-align: left;
   background-color: #f8f8f8;
}

*, *::before, *::after { box-sizing: border-box; }
a { color: var(--gh-obit-primary-color); }

/* --- General Notice Styles --- */
.gh-obit-notice { padding: 15px 20px; margin-bottom: 20px; border: 1px solid transparent; border-radius: var(--gh-obit-border-radius); font-size: 1em; line-height: 1.4; }
.gh-obit-notice.error, .gh-obit-notice-error { color: #721c24; background-color: #f8d7da; border-color: #f5c2c7; }
.gh-obit-notice.success { color: #155724; background-color: #d4edda; border-color: #c3e6cb; }
.gh-obit-notice.warning { color: #856404; background-color: #fff3cd; border-color: #ffeeba; }
.gh-obit-default-image-placeholder { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: #eee; color: #767676; font-size: 0.9em; text-align: center; border-radius: inherit; }

/* --- Grid Layout --- */
.gh-obit-grid-section-wrapper { margin: 1.5rem 0; }
.gh-obit-grid-container { max-width: 1200px; margin: 0 auto; padding: 15px; }
.gh-obit-grid { display: grid; gap: 25px; grid-template-columns: repeat(var(--grid-columns-mobile, 2), 1fr); }
@media (min-width: 600px) { .gh-obit-grid { grid-template-columns: repeat(var(--grid-columns-tablet, 2), 1fr); } }
@media (min-width: 900px) { .gh-obit-grid { grid-template-columns: repeat(var(--grid-columns-desktop, 4), 1fr); } }

/* --- Grid Item Styling --- */
.gh-obit-grid-item { border: 1px solid #e8e8e8; border-radius: 8px; overflow: hidden; transition: transform 0.25s ease, box-shadow 0.25s ease; background: var(--white); display: flex; flex-direction: column; text-align: center; position: relative; box-shadow: 0 1px 4px rgba(0,0,0,0.07); }
.gh-obit-grid-item:hover { transform: translateY(-4px); box-shadow: 0 6px 12px rgba(0,0,0,0.1); }
.gh-obit-grid-item-image { 
    position: relative; 
    width: 100%; 
    aspect-ratio: 16 / 9; 
    background-color: #f0f0f0; 
    overflow: hidden; 
}
.gh-obit-grid-item-image a { display: block; width: 100%; height: 100%; text-decoration: none; }
.gh-obit-grid-item-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center center; transition: transform 0.3s ease, opacity 0.3s ease; }
.gh-obit-grid-item-info { padding: 15px; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; }
.gh-obit-grid-item-name { margin: 0 0 8px 0; font-size: 1.05em; line-height: 1.3; font-weight: 600; color: var(--gh-obit-text-color); }
.gh-obit-grid-item-dates { margin: 0 0 12px 0; color: var(--gh-obit-secondary-color); font-size: 0.9em; font-style: italic; }
.gh-obit-grid-item-button { display: inline-block; padding: 8px 18px; background: #f5f5f5; color: #212529; text-decoration: none; border-radius: var(--gh-obit-border-radius); font-size: 0.85em; font-weight: 500; transition: all 0.2s ease; border: 1px solid #ddd; margin-top: auto; align-self: center; }
.gh-obit-grid-item-button:hover { background: #e0e0e0; border-color: #ccc; }

/* --- Pagination --- */
.gh-obit-pagination { text-align: center; margin: 30px 0 15px; clear: both; }
.gh-obit-pagination ul { list-style: none; padding: 0; margin: 0; display: inline-block; }
.gh-obit-pagination li { display: inline; margin: 0 2px; }
.gh-obit-pagination a, .gh-obit-pagination span.page-numbers { display: inline-block; padding: 8px 12px; border: 1px solid #ddd; color: var(--gh-obit-primary-color); background-color: var(--white); border-radius: var(--gh-obit-border-radius); transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease; font-size: 0.95em; min-width: 38px; box-sizing: border-box; text-align: center; }
.gh-obit-pagination a:hover, .gh-obit-pagination span.page-numbers.current { background-color: var(--gh-obit-primary-color); color: var(--white); border-color: var(--gh-obit-primary-color); font-weight: bold; cursor: default; text-decoration: none; }
.gh-obit-pagination span.page-numbers.dots { border: none; background: none; padding: 8px 5px; color: #aaa; }

/* --- Back to Announcements Link --- */
.gh-obit-back-to-grid-link { padding: 1rem 1.5rem 0; max-width: 1080px; margin: 0 auto; box-sizing: border-box; }
.gh-obit-back-to-grid-link a { text-decoration: none; color: var(--gh-obit-primary-color); font-weight: 500; transition: color 0.2s ease; font-size: 0.9rem; }
.gh-obit-back-to-grid-link a:hover { color: var(--gh-obit-primary-hover-color); text-decoration: underline; }

/* =================================================================== */
/* V3 SINGLE OBITUARY - GAZETTE LAYOUT STYLES
/* =================================================================== */

body.single-gh_obit {
    background-color: #f0f0f0;
    background-image: url(https://ghobits.com/go/guestbook/);
}
body.single-gh_obit .gh-obit-page-wrapper {
    background-color: var(--white);
    max-width: 1080px;
    margin: 2rem auto;
    padding: 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
body.single-gh_obit .gh-obit-single-container-v2 {
    padding: 0 1.5rem 2rem 1.5rem;
}
body.single-gh_obit .gh-obit-main-header { display: flex; align-items: center; gap: 1.5rem; padding: 2rem 0; }
body.single-gh_obit .gh-obit-header-photo { flex-shrink: 0; width: 260px; height: 310px; }
body.single-gh_obit .gh-obit-header-photo img { width: 100%; height: 100%; object-fit: contain; border-radius: var(--gh-obit-border-radius); border: 4px solid var(--white); box-shadow: 0 3px 8px rgba(0,0,0,0.2); }
body.single-gh_obit .gh-obit-header-info .gh-obit-title { font-family: var(--font-serif); font-size: 2.0rem !important; font-weight: 400; margin: 0 0 0.5rem 0; }
body.single-gh_obit .gh-obit-header-info .gh-obit-dates { font-size: 1.1rem; color: var(--gh-obit-secondary-color); margin: 0; }
body.single-gh_obit .gh-obit-controls { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--gh-obit-medium-gray); border-bottom: 1px solid var(--gh-obit-medium-gray); padding: 0.5rem 0; }
body.single-gh_obit .gh-obit-tabs { display: flex; gap: 2rem; }
body.single-gh_obit .gh-tab-link { background: none; border: none; border-bottom: 3px solid transparent; padding: 0.75rem 0; font-size: 1rem; font-weight: 600; color: var(--gh-obit-secondary-color); cursor: pointer; transition: all 0.2s ease; }
body.single-gh_obit .gh-tab-link:hover { color: var(--gh-obit-text-color); }
body.single-gh_obit .gh-tab-link.active { color: var(--gh-obit-text-color); border-bottom-color: var(--gh-obit-text-color); }
body.single-gh_obit .gh-tab-link:disabled { color: #ccc; cursor: not-allowed; }
body.single-gh_obit .gh-obit-main-layout { display: grid; grid-template-columns: 1fr; gap: 2rem; padding-top: 2rem; }
@media (min-width: 992px) { body.single-gh_obit .gh-obit-main-layout { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); } }
body.single-gh_obit .gh-tab-pane { display: none; }
body.single-gh_obit .gh-tab-pane.active { display: block; }
body.single-gh_obit .gh-section-title { font-family: var(--font-serif); font-size: 1.75rem; font-weight: 400; margin: 0 0 1.5rem 0; }
body.single-gh_obit .gh-section-intro { margin: -1rem 0 1.5rem 0; color: var(--gh-obit-secondary-color); }
body.single-gh_obit .gh-obit-content { line-height: 1.7; font-size: 1.0rem; }
body.single-gh_obit .gh-obit-sidebar .gh-sidebar-widget { background-color: #f7f7f7; padding: 1.5rem; border-radius: var(--gh-obit-border-radius); border: 1px solid var(--gh-obit-medium-gray); text-align: center; margin-bottom: 1.5rem; }
body.single-gh_obit .gh-sidebar-widget:last-child { margin-bottom: 0; }
body.single-gh_obit .gh-sidebar-widget h3 { font-size: 0.9rem; font-weight: 400; color: var(--gh-obit-secondary-color); margin: 0 0 0.25rem 0; text-transform: uppercase; letter-spacing: 0.5px; }
body.single-gh_obit .gh-sidebar-widget .funeral-home-name { font-size: 1.1rem; font-weight: 600; color: var(--gh-obit-text-color); margin: 0 0 1.5rem 0; }
body.single-gh_obit .gh-sidebar-button { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; width: 100%; padding: 0.85rem 1rem; margin-bottom: 0.75rem; border: 1px solid #275e7a; border-radius: 8px; background-color: #2a7aa0; background-image: linear-gradient(to bottom, hsla(0, 0%, 100%, 0.2), hsla(0, 0%, 100%, 0) 50%, hsla(0, 0%, 0%, 0.1) 51%, hsla(0, 0%, 0%, 0.2)); text-decoration: none; font-weight: 600; color: var(--white); text-shadow: 0 1px 2px rgba(0,0,0,0.4); box-shadow: inset 0 1px 0 hsla(0, 0%, 100%, 0.25), 0 2px 4px rgba(0,0,0,0.2); transition: all 0.2s ease-out; }
body.single-gh_obit .gh-sidebar-button svg { width: 1.25rem; height: 1.25rem; filter: drop-shadow(0 1px 1px rgba(0,0,0,0.3)); }
body.single-gh_obit .gh-sidebar-button:hover { background-color: #3e8ab5; color: var(--white); transform: translateY(-1px); box-shadow: inset 0 1px 0 hsla(0, 0%, 100%, 0.3), 0 4px 8px rgba(0,0,0,0.25); }
body.single-gh_obit .gh-sidebar-button:active { transform: translateY(1px); background-image: linear-gradient(to top, hsla(0, 0%, 100%, 0.2), hsla(0, 0%, 100%, 0) 50%, hsla(0, 0%, 0%, 0.1) 51%, hsla(0, 0%, 0%, 0.2)); box-shadow: inset 0 2px 4px rgba(0,0,0,0.3); }
body.single-gh_obit .gh-share-widget { background-color: transparent; box-shadow: none; border: none; padding: 0; }
body.single-gh_obit .gh-share-widget h3 { text-align: center; }
body.single-gh_obit .gh-share-widget .share-buttons { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: center; margin-top: 1rem; }
body.single-gh_obit .gh-share-widget .share-buttons a { display: inline-block; line-height: 0; transition: opacity 0.2s ease, transform 0.2s ease; }
body.single-gh_obit .gh-share-widget .share-buttons a:hover { opacity: 0.7; transform: scale(1.1); }
body.single-gh_obit .gh-share-widget .share-buttons svg { width: 32px; height: 32px; vertical-align: middle; fill: #555; }
body.single-gh_obit .gh-obit-comments-v2 { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 992px) { body.single-gh_obit .gh-obit-comments-v2 { grid-template-columns: 4fr 5fr; } }
body.single-gh_obit .gh-condolence-form-area { background: #fff; padding: 1.5rem; box-shadow: 0 1px 3px rgba(0,0,0,0.1); border-radius: var(--gh-obit-border-radius); align-self: flex-start; }
body.single-gh_obit .gh-form-title { font-family: var(--font-sans-serif); font-size: 1.25rem; font-weight: 600; margin: 0 0 1rem 0; }
body.single-gh_obit .gh-condolence-form-area .comment-respond { padding: 0; background: none; border: none; margin: 0; }
body.single-gh_obit .gh-condolence-form-area .comment-form textarea { width: 100%; min-height: 100px; resize: none; padding: 0.75rem; border: 1px solid var(--gh-obit-medium-gray); border-radius: var(--gh-obit-border-radius); }
body.single-gh_obit .gh-condolence-form-area .form-submit { margin-top: 1.5rem; }
body.single-gh_obit .gh-condolence-form-area .form-submit input[type="submit"] { width: 100%; padding: 0.8rem 1rem; font-size: 1rem; font-weight: 600; color: #fff; background-color: #2a7aa0; background-image: linear-gradient(to bottom, hsla(0, 0%, 100%, 0.2), hsla(0, 0%, 100%, 0) 50%, hsla(0, 0%, 0%, 0.1) 51%, hsla(0, 0%, 0%, 0.2)); border: 1px solid #275e7a; border-radius: 8px; cursor: pointer; transition: all 0.2s ease-out; text-shadow: 0 1px 2px rgba(0,0,0,0.4); box-shadow: inset 0 1px 0 hsla(0, 0%, 100%, 0.25), 0 2px 4px rgba(0,0,0,0.2); }
body.single-gh_obit .gh-condolence-form-area .form-submit input[type="submit"]:hover { background-color: #3e8ab5; transform: translateY(-1px); box-shadow: inset 0 1px 0 hsla(0, 0%, 100%, 0.3), 0 4px 8px rgba(0,0,0,0.25); }
body.single-gh_obit .gh-condolence-form-area .form-submit input[type="submit"]:active { transform: translateY(1px); box-shadow: inset 0 2px 4px rgba(0,0,0,0.3); }

/* Candle Grid Styling (Corrected for Mobile) */
body.single-gh_obit .gh-candle-section-wrapper { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid #e5e5e5; }
body.single-gh_obit .gh-candle-title { font-size: 1.1rem; font-weight: 600; margin: 0 0 1rem 0; }
body.single-gh_obit .gh-candle-grid-container { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
body.single-gh_obit .gh-candle-item { position: relative; width: calc(20% - 6.4px); padding: 0; cursor: pointer; }
body.single-gh_obit .gh-candle-item img { display: block; width: 100%; height: auto; border-radius: 50%; border: 3px solid transparent; transition: border-color 0.2s ease; aspect-ratio: 1 / 1; object-fit: cover; }
body.single-gh_obit .gh-candle-item.selected img { border-color: var(--gh-obit-primary-color); }
body.single-gh_obit .gh-candle-tick { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 28px; height: 28px; background-color: var(--gh-obit-primary-color); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.2s ease; pointer-events: none; }
body.single-gh_obit .gh-candle-item.selected .gh-candle-tick { opacity: 1; }

/* Existing Condolence Styles */
body.single-gh_obit .gh-condolence-list-area .comment { background: #fff; padding: 1.5rem; border: 1px solid #f1f1f1; border-radius: var(--gh-obit-border-radius); margin-bottom: 1rem; }
body.single-gh_obit .condolence-candle-wrapper { margin-bottom: 1rem; flex-shrink: 0; width: 100px; margin-right: 1.5rem; }
body.single-gh_obit .condolence-candle-img { max-width: 100%; height: auto; border-radius: 50%; }

/* =================================================================== */
/* 3-TIER PRICING TABLE STYLES
/* =================================================================== */

.gh-obit-submission-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2.5rem auto;
}

.gh-obit-submission-intro h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.gh-obit-submission-intro p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
}

.gh-obit-pricing-tiers {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto 2.5rem auto;
}

@media (min-width: 992px) {
    .gh-obit-pricing-tiers {
        grid-template-columns: repeat(3, 1fr);
    }
}

.tier-option {
    border: 1px solid #ddd;
    border-radius: 12px;
    transition: all 0.2s ease-in-out;
    background: #fff;
    position: relative;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.tier-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.tier-option:has(input:checked) {
    border: 2px solid #005a9c;
    box-shadow: 0 8px 25px rgba(0, 90, 156, 0.2);
    transform: translateY(-5px) scale(1.03);
}

.tier-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #d9534f;
    color: #fff;
    padding: 5px 15px;
    border-radius: 99px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.tier-option.premium-tier .tier-badge {
    background-color: #5cb85c;
}

.tier-option.legacy-tier .tier-badge {
    background-color: #005a9c;
}

.tier-option label {
    display: block;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    cursor: pointer;
    height: 100%;
}

.tier-content {
    margin-left: 0;
}

.tier-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.tier-header h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.4rem;
    font-weight: 700;
}

.tier-price {
    font-size: 1.6rem;
    font-weight: 700;
    color: #005a9c;
}

.tier-purpose {
    font-size: 0.95rem;
    color: #555;
    margin: 0 0 1.5rem 0;
    min-height: 40px;
    text-align: center;
}

.tier-option ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tier-option ul li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

input[type="radio"] {
    accent-color: #005a9c;
    width: 1.2em;
    height: 1.2em;
    margin-bottom: 1rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.gh-obit-fee-explanation {
    background: #f9f9f9;
    border-left: 4px solid #005a9c;
    padding: 1.5rem;
    margin: 2.5rem auto 0 auto;
    border-radius: 4px;
    max-width: 1100px;
}

.gh-obit-fee-explanation h4 {
    margin-top: 0;
    font-size: 1.2rem;
}

/* =================================================================== */
/* MOBILE RESPONSIVENESS FIXES
/* =================================================================== */

/* Prevents horizontal scrolling on the entire page, a common cause of cut-off content. */
body {
    overflow-x: hidden;
}

/* Adjustments for the main obituary grid on mobile devices */
@media (max-width: 599px) {
    /* Reduce container padding on smaller screens to give content more space. */
    .gh-obit-grid-container {
        padding-left: 10px;
        padding-right: 10px;
    }

    /* Reduce the gap between grid items on smaller screens. */
    .gh-obit-grid {
        gap: 15px;
    }

    /* Reduce font size of the name to help it fit on one line. */
    .gh-obit-grid-item-name {
        font-size: 0.95em;
    }
}

/* Adjustments for the single obituary page layout on mobile devices */
@media (max-width: 767px) {
    .gh-obit-back-to-grid-link {
        padding: 1rem 1rem 0;
    }

    /* Reduce horizontal padding for the main content area on single pages. */
    body.single-gh_obit .gh-obit-page-wrapper {
        margin: 1rem auto; 
    }

    body.single-gh_obit .gh-obit-single-container-v2 {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Stack the header elements (photo and info) vertically on mobile for a better fit. */
    body.single-gh_obit .gh-obit-main-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem; /* Adjust gap for vertical stacking */
        padding-top: 1rem;
    }

    /* Adjust photo dimensions for the new stacked layout */
    body.single-gh_obit .gh-obit-header-photo {
        width: 180px;  
        height: auto;
    }

    /* Adjust title font size for mobile */
    body.single-gh_obit .gh-obit-header-info .gh-obit-title {
        font-size: 1.6rem !important;
    }

    /* Adjust dates font size for mobile */
    body.single-gh_obit .gh-obit-header-info .gh-obit-dates {
        font-size: 1.0rem;
    }

    body.single-gh_obit .gh-obit-content {
        font-size: 0.95rem;
    }
    
    /* Make tabs wrap and center on mobile */
    body.single-gh_obit .gh-obit-controls {
        flex-direction: column;
        gap: 1rem;
    }

    /* Make tab links smaller on mobile */
    body.single-gh_obit .gh-tab-link {
        font-size: 0.9rem;
        padding: 0.5rem 0;
    }

    body.single-gh_obit .gh-obit-tabs {
        gap: 1rem;
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* =================================================================== */
/* GUESTBOOK CENTERING FIX 
/* =================================================================== */
@media (max-width: 991px) { /* Affects tablets and mobile */
    body.single-gh_obit .gh-condolence-form-area,
    body.single-gh_obit .gh-condolence-list-area {
        margin-left: auto;
        margin-right: auto;
        max-width: 600px; 
        width: 100%; 
    }
}