.elementor-5009 .elementor-element.elementor-element-583250c{text-align:center;}.elementor-5009 .elementor-element.elementor-element-583250c .elementor-heading-title{font-family:"Arial", Sans-serif;font-size:27px;text-transform:uppercase;}.elementor-5009 .elementor-element.elementor-element-583250c.elementor-widget-heading .elementor-heading-title, .elementor-5009 .elementor-element.elementor-element-583250c.elementor-widget-heading .elementor-heading-title.elementor-heading-title a{color:#000000;}.elementor-5009 .elementor-element.elementor-element-fae7fc3{--grid-template-columns:repeat(0, auto);--icon-size:58px;--grid-column-gap:5px;--grid-row-gap:0px;}.elementor-5009 .elementor-element.elementor-element-fae7fc3 .elementor-widget-container{text-align:center;}.elementor-5009 .elementor-element.elementor-element-fae7fc3 > .elementor-widget-container{margin:-27px 0px 0px 0px;}.elementor-5009 .elementor-element.elementor-element-fae7fc3 .elementor-social-icon{background-color:#FFFFFF;}.elementor-5009 .elementor-element.elementor-element-fae7fc3 .elementor-social-icon i{color:#000000;}.elementor-5009 .elementor-element.elementor-element-fae7fc3 .elementor-social-icon svg{fill:#000000;}.elementor-5009 .elementor-element.elementor-element-fae7fc3 .elementor-social-icon:hover{background-color:#FFFFFF;}.elementor-5009 .elementor-element.elementor-element-fae7fc3 .elementor-social-icon:hover i{color:#888888;}.elementor-5009 .elementor-element.elementor-element-fae7fc3 .elementor-social-icon:hover svg{fill:#888888;}.elementor-5009 .elementor-element.elementor-element-e902b06{margin-top:-210px;margin-bottom:0px;}.elementor-5009 .elementor-element.elementor-element-6f45b4d > .elementor-element-populated{margin:0px 0px 0px 0px;--e-column-margin-right:0px;--e-column-margin-left:0px;}body.elementor-page-5009:not(.elementor-motion-effects-element-type-background), body.elementor-page-5009 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#FFFFFF;}body.elementor-page-5009{margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;}/* Start custom CSS for html, class: .elementor-element-c85f6a4 *//* Define your base colors for consistency */
:root {
    --color-primary: #00AEB9; /* Teal */
    --color-secondary: #7A287A; /* Purple */
    --color-accent-blue: #2575fc; /* From carousel CSS for gradients */
    --color-dark-text: #2c3e50;
    --color-medium-text: #555;
    --color-light-text: #ffffff;
    --color-background-light: #f4f7f6;
    --color-white: #ffffff;
    --color-border-light: #e0e0e0;

    /* Online Track Specific Colors (kept for consistency, though not fully used) */
    --online-card-gradient-start: #2575fc; /* Blue */
    --online-card-gradient-end: #00AEB9; /* Teal */
    --online-line-gradient-start: #00AEB9;
    --online-line-gradient-end: #2575fc;
    --online-neutral-card-bg: #f0f0f0;
    --online-neutral-card-text: #555;
}

/* Base Body Styles from new CSS */
body {
    font-family: 'Inter', sans-serif; /* Primary font */
    margin: 0;
    padding: 0; /* Ensures no default padding */
    background-color: var(--color-background-light);
    color: var(--color-dark-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

* {
    box-sizing: border-box;
}

/* NEW: Utility class to hide elements */
.hidden {
    display: none !important;
}

/* Header styles (Note: Header is missing from your HTML snippet. This CSS will have no effect unless you add a <header> tag back.) */
/* I've kept it here from previous versions in case it was accidentally removed,
   but for your current HTML, it's not applicable. */
header {
    background-color: var(--color-dark-text); /* Using a dark color from the new palette */
    color: var(--color-light-text);
    padding: 40px 0; /* More padding, similar to site-header */
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* Soft shadow */
    margin-bottom: 30px; /* Space before content */
}

header h1 {
    font-family: 'Roboto', sans-serif; /* Specific font for headings */
    font-size: 42px; /* Large title */
    font-weight: 900;
    margin: 0;
    line-height: 1.1;
    text-transform: uppercase;
    color: var(--color-light-text); /* Ensures it's white against dark background */
}

/* Main Content Area */
main {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

/* Search Bar Container - Now with relative positioning for suggestions */
.search-bar-container {
    text-align: center;
    margin-bottom: 30px;
    padding: 0 20px;
    position: relative; /* Crucial for positioning suggestions */
    z-index: 100; /* Ensure suggestions appear on top */
}

.search-bar-container input[type="search"] {
    width: 100%;
    max-width: 600px;
    padding: 15px 20px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    border: 2px solid var(--color-primary);
    border-radius: 30px;
    background-color: var(--color-white);
    color: var(--color-dark-text);
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
}

.search-bar-container input[type="search"]::placeholder {
    color: var(--color-medium-text);
    opacity: 0.8;
}

.search-bar-container input[type="search"]:focus {
    border-color: var(--color-accent-blue);
    box-shadow: 0 4px 15px rgba(37, 117, 252, 0.2);
}

/* Search Suggestions Styling */
.search-suggestions {
    position: absolute;
    width: calc(100% - 40px); /* Adjust for padding on search-bar-container */
    max-width: 600px;
    left: 50%;
    transform: translateX(-50%);
    top: calc(100% + 5px); /* Position below the search input */
    background-color: var(--color-white);
    border: 1px solid var(--color-border-light);
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    list-style: none;
    padding: 10px 0;
    margin: 0;
    display: none; /* Hidden by default */
    overflow: hidden; /* Ensures border-radius applies to content */
}

.search-suggestions .suggestion-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 1px solid var(--color-border-light);
    transition: background-color 0.2s ease;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--color-dark-text);
    text-align: left; /* Ensure text alignment */
}

.search-suggestions .suggestion-item:last-child {
    border-bottom: none;
}

.search-suggestions .suggestion-item:hover {
    background-color: var(--color-background-light); /* Light background on hover */
}

.search-suggestions .suggestion-item img {
    width: 48px; /* Standard thumbnail size */
    height: 36px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 10px;
    flex-shrink: 0; /* Prevent image from shrinking */
}

.search-suggestions .suggestion-item span {
    white-space: nowrap; /* Prevent title from wrapping */
    overflow: hidden;
    text-overflow: ellipsis; /* Add ellipsis if title is too long */
    flex-grow: 1; /* Allow title to take remaining space */
}


/* Language/Category Selector Buttons */
.track-switcher {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    border: 2px solid var(--color-primary);
    border-radius: 30px;
    overflow: hidden;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.track-switch-button {
    flex: 1;
    padding: 12px 20px;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--color-primary);
    background-color: var(--color-white);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.track-switch-button:first-child {
     border-right: 1px solid var(--color-primary);
}
.track-switch-button.active {
    background-color: var(--color-primary);
    color: var(--color-light-text);
    border-right-color: var(--color-primary);
}
 .track-switch-button.active + .track-switch-button {
     border-left: none;
}

.track-switch-button:hover:not(.active) {
    background-color: #e6f7f8;
}


/* Main Episode Player Display */
.sermon-main-player { /* Kept class name for styling consistency */
    background-color: var(--color-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    margin-bottom: 50px;
}

.sermon-main-player h2 {
    font-family: 'Roboto', sans-serif;
    text-align: center;
    color: var(--color-dark-text);
    margin-bottom: 25px;
    font-size: 2.2rem;
    font-weight: 900;
    text-transform: uppercase;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.sermon-main-player h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 2rem;
    color: var(--color-dark-text);
    margin-bottom: 10px;
    font-weight: 700;
}

.sermon-main-player p {
    font-family: 'Inter', sans-serif;
    color: var(--color-medium-text);
    font-size: 1.1rem;
    /* Added this for spacing when the "Read More" button appears */
    margin-bottom: 20px; 
}

/* --- NEW: Read More/Less Button and Description Styles --- */
.read-more-btn {
    background: none;
    border: none;
    color: var(--color-primary); /* Use your primary theme color for links */
    cursor: pointer;
    padding: 0;
    margin-left: 5px;
    font-size: inherit; /* Keep the same font size as description */
    text-decoration: underline;
    font-weight: bold; /* Make it stand out a bit */
    transition: color 0.2s ease;
}

.read-more-btn:hover {
    color: var(--color-accent-blue); /* A slightly different color on hover, like your accent blue */
    text-decoration: none; /* Remove underline on hover for a subtle effect */
}

/* You might want to define styles for these spans, even if display is controlled by JS */
/* .truncated-text, .full-text {
    display: inline;
} */
/* If you need them on new lines or different styling, you can add here */
/* --- END NEW STYLES --- */


/* Horizontal Episode Lists */
.playlist-section {
    margin-bottom: 50px;
}

.playlist-section h2 {
    font-family: 'Roboto', sans-serif;
    color: var(--color-dark-text);
    margin-bottom: 25px;
    font-size: 2rem;
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
}

.sermon-list { /* Kept class name for styling consistency */
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 15px;
    scroll-snap-type: x mandatory;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.sermon-list::-webkit-scrollbar {
    height: 8px;
}

.sermon-list::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 10px;
}

.sermon-list::-webkit-scrollbar-track {
    background: #e0e0e0;
    border-radius: 10px;
}

/* Hide scrollbar for Firefox */
.sermon-list {
    scrollbar-width: thin;
    scrollbar-color: var(--color-primary) #e0e0e0;
}

.sermon-item { /* Kept class name for styling consistency */
    flex: 0 0 auto;
    width: 280px;
    margin-right: 25px;
    background-color: var(--color-white);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    scroll-snap-align: start;
}

.sermon-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.sermon-item img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.sermon-item-details {
    padding: 15px;
}

.sermon-item h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-dark-text);
    margin-top: 0;
    margin-bottom: 10px;
    height: 3.3em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.sermon-item p {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--color-medium-text);
    height: 3em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Footer (Note: Footer is missing from your HTML snippet. This CSS will have no effect unless you add a <footer> tag back.) */
/* I've kept it here from previous versions in case it was accidentally removed,
   but for your current HTML, it's not applicable. */
footer {
    text-align: center;
    padding: 30px 0;
    margin-top: 60px;
    background-color: var(--color-dark-text);
    color: var(--color-light-text);
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        padding: 30px 0;
    }
    header h1 {
        font-size: 32px;
    }

    .search-bar-container {
        margin-bottom: 20px;
    }

    .search-suggestions {
        width: calc(100% - 30px); /* Adjust for 15px padding on main */
    }

    .track-switcher {
        flex-direction: column;
        border-radius: 8px;
        border-width: 1px;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    .track-switch-button {
        font-size: 15px;
        border-right: none !important;
    }
    .track-switch-button:not(:last-child) {
        border-bottom: 1px solid var(--color-primary);
    }
    .track-switch-button.active:not(:last-child) {
         border-bottom-color: var(--color-primary);
    }

    .sermon-main-player {
        padding: 20px;
    }

    .sermon-main-player h2 {
        font-size: 1.8rem;
    }

    .sermon-main-player h3 {
        font-size: 1.6rem;
    }

    .playlist-section h2 {
        font-size: 1.8rem;
    }

    .sermon-item {
        width: 250px;
        margin-right: 20px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 28px;
    }

    main {
        padding: 0 15px;
    }

    .search-bar-container input[type="search"] {
        padding: 12px 18px;
        font-size: 0.9rem;
    }
    .search-suggestions {
        width: calc(100% - 30px); /* Adjust for 15px padding on main */
    }
    .search-suggestions .suggestion-item {
        padding: 8px 10px;
        font-size: 0.85rem;
    }
    .search-suggestions .suggestion-item img {
        width: 40px;
        height: 30px;
    }


    .sermon-main-player {
        padding: 15px;
    }

    .sermon-main-player h3 {
        font-size: 1.4rem;
    }

    .sermon-list {
        padding-bottom: 10px;
    }

    .sermon-item {
        width: 220px;
        margin-right: 15px;
    }

    .sermon-item img {
        height: 120px;
    }

    .sermon-item h3 {
        font-size: 1.1rem;
    }

    .sermon-item p {
        font-size: 0.9rem;
    }
}/* End custom CSS */