/*
 Theme Name:   Crucifix Child
 Theme URI:    https://crucifix.wpengine.com/
 Description:  Crucifix Child Theme
 Author:       the WeDesignTech team
 Author URI:   https://wedesignthemes.com/
 Template:     crucifix
 Version:      1.0.0
 Text Domain:  crucifix-child
 Tested up to: 6.8 
 Requires PHP: 7.4
 Tags: Blog,Portfolio
 License: GNU General Public License v2 or later License URI: https: //www.gnu.org/licenses/gpl-2.0.html
 Copyright (C) 2025 buddhathemes. All rights reserved.
*/


/* =========================================
   Sermons Single Page – Professional & Religious UI
   ========================================= */

.wdt_sermons_single-wrapper {
    background: #ffffff;
    border-radius: 12px;
    padding: 36px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
    margin-bottom: 40px;
    border: 1px solid #eee;
}

/* Featured Image */
.featured_image_wrap {
    margin-bottom: 34px;
}

.sermons-featured-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}

/* Meta Wrapper */
.wdt-sermons-meta-wrap {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 34px;
}

/* SVG Icon (Religious Emphasis) */
.sermons-icon-wrap {
    max-width: 70px;
}

.sermons-icon-wrap svg {
    width: 100%;
    height: auto;
    fill: #6b4e2e; /* Warm church gold */
}

/* Pricing (Subtle & Respectful) */
.wdt-sermons-type-price-group {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.wdt-sermons-type-price del {
    color: #8b8b8b;
    font-size: 17px;
}

.wdt-sermons-type-price,
.wdt-sermons-type-offerprice {
    font-size: 24px;
    font-weight: 600;
    color: #2b2b2b;
}

.wdt-sermons-type-offerprice {
    color: #4f7c4a; /* Olive green */
}

/* Features Section */
.sermons-features-wrap {
    background: #faf8f4;
    border-radius: 12px;
    padding: 28px;
    border: 1px solid #eee4d8;
}

.sermons-features-wrap h3 {
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 22px;
    color: #3b2f1c;
    letter-spacing: 0.3px;
}

.sermons-features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
}

.sermons-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #ffffff;
    padding: 18px;
    border-radius: 10px;
    border: 1px solid #eee;
}

.sermons-feature-item img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.feature-description {
    font-size: 15px;
    line-height: 1.7;
    color: #4a4a4a;
}

/* Social Icons (Minimal & Calm) */
.wdt-sermons-social-icons {
    border-top: 1px solid #eee;
    padding-top: 26px;
}

.wdt-sermons-social-icons h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #3b2f1c;
}

.wdt-social-list {
    display: flex;
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.wdt-social-list li a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4f2ee;
    border-radius: 50%;
    color: #6b4e2e;
    font-size: 17px;
    transition: all 0.25s ease;
}

.wdt-social-list li a:hover {
    background: #6b4e2e;
    color: #ffffff;
}

/* Content Styling (Reading Friendly) */
.wdt_sermons_single-wrapper .entry-content,
.wdt_sermons_single-wrapper p {
    font-size: 16px;
    line-height: 1.85;
    color: #3f3f3f;
}

/* Sidebar Styling */
#secondary .wdt-sidebar-wrapper {
    background: #ffffff;
    border-radius: 12px;
    padding: 26px;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

/* Responsive */
@media (max-width: 768px) {
    .wdt_sermons_single-wrapper {
        padding: 24px;
    }

    .wdt-sermons-type-price,
    .wdt-sermons-type-offerprice {
        font-size: 21px;
    }

    .sermons-features-list {
        grid-template-columns: 1fr;
    }


/* =========================================
   FORCE VISIBILITY: Sermon Title
   ========================================= */

/* Show title if theme hides it */
.single .entry-header,
.single .entry-title {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Title styling */
.single .entry-title,
.single h1.entry-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.3;
    color: #3b2f1c;
    margin: 0 0 24px;
    text-align: left;
    position: relative;
    z-index: 10;
}

/* Prevent overlap with featured image */
.featured_image_wrap {
    position: relative;
    z-index: 1;
}

.wdt_sermons_single-wrapper {
    position: relative;
    z-index: 2;
}

/* If title is wrapped in header */
.single .entry-header {
    margin-bottom: 28px;
}

/* Links inside title */
.single .entry-title a {
    color: inherit;
    text-decoration: none;
}

/* Mobile title */
@media (max-width: 768px) {
    .single .entry-title {
        font-size: 24px;
    }
    
    
/* =========================================
   Prayer
   ========================================= */


.sacred-prayer-form {
    max-width: 680px;
    margin: 60px auto;
    padding: 40px;
    background: linear-gradient(180deg, #fdfaf5, #f7f2e9);
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    font-family: "Georgia", "Times New Roman", serif;
}

.sacred-intro {
    text-align: center;
    font-size: 18px;
    color: #6b4f2d;
    margin-bottom: 30px;
    font-style: italic;
}

.sacred-label {
    font-size: 16px;
    color: #4a3a1f;
}

.sacred-prayer-form textarea {
    width: 100%;
    min-height: 220px;
    padding: 16px;
    margin-top: 10px;
    border-radius: 10px;
    border: 1px solid #d6c7aa;
    background: #fffefb;
    font-size: 16px;
    line-height: 1.7;
    resize: vertical;
}

.sacred-note {
    text-align: center;
    margin-top: 20px;
    color: #7a6848;
    font-size: 14px;
    font-style: italic;
}

.sacred-prayer-form input[type="submit"] {
    display: block;
    margin: 30px auto 0;
    padding: 14px 34px;
    background: #7b5a2e;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sacred-prayer-form input[type="submit"]:hover {
    background: #5f4523;
    transform: translateY(-1px);
}

}






