/* Bootstrap v4.6.2 overrides */

body {
    background-color: #292929;
    padding-top: 95px;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

a {
    color: #141414;
}

p>a {
    text-decoration: underline;
}

li>a {
    text-decoration: underline;
}

a:hover {
    color: #F7941D;
}

h1, .h1 {
    margin-top: 1rem;
}

h1>a, h2>a, h3>a, h4>a, h5>a, h6>a {
    text-decoration: none;
}

h1>a:hover, h2>a:hover, h3>a:hover, h4>a:hover, h5>a:hover, h6>a:hover {
    text-decoration: none;
    color: #F7941D;
}

code {
    color: red;
    background-color: #EBEBEB;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', Consolas, Monaco, monospace;
    font-size: 1.0em;
}

.container {
    max-width: 1280px;
}

.middle_container {
    max-width: 1280px;
}

/* Submit button styling to match your theme */
.btn-primary {
    background-color: #F8B31D;
    border-color: #F8B31D;
    color: #141414;
}

.btn-primary:hover {
    background-color: #F7941D;
    border-color: #F7941D;
    color: #141414;
}

.btn-primary:focus {
    box-shadow: 0 0 0 0.2rem rgba(248, 179, 29, 0.25);
}

input::placeholder,
textarea::placeholder {
    color: #ABABAB !important;
    opacity: 1 !important;
}

input:focus,
textarea:focus,
select:focus {
    outline: none !important;
    border-color: #F7941D !important;
    box-shadow: none !important;
}

/* Input group - style only the outer container */
.input-group {
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    overflow: hidden;
}

/* Remove borders from inner elements to prevent double borders */
.input-group .input-group-text {
    background-color: #fff;
    border: none;              /* Remove border completely */
    color: #141414;
}

.input-group .form-control {
    border: none;              /* Remove border completely */
}

/* Remove the border-left-0 class effect since we're removing all borders */
.input-group .form-control.border-left-0 {
    border: none;
}

/* Style the whole input group on focus */
.input-group:focus-within {
    border-color: #F7941D;
}

/* Remove default focus styling from individual inputs */
.input-group .form-control:focus {
    outline: none;
    box-shadow: none;
}

/* Icon styling */
.input-group-text .fa {
    color: #141414;
    width: 1rem;
    text-align: center;
}

/* Placeholder text */
.form-control::placeholder {
    color: #ABABAB;
    opacity: 1;
}

.homepage_thumbnail {
    width: 375px;
    height: 375px;
}

.homepage_episode_description {
    padding-left: 20px;
}

.homepage_episode_row {
    padding-top: 20px;
}

.homepage_episode_row_description {
    padding-left: 0px;
}

.homepage_episode_row_image {
    padding-right: 0px;
}

.jumbotron {
    background-color: #EBEBEB;
    color: #141414;
    padding-top: 30px;
    padding-bottom: 30px;
    text-align: left;
}

.jumbotron-host {
    margin: auto;
    display: block;
}

.jumbotron img[src*="shields.io"] {
    height: 32px;
    transition: filter 0.2s ease, transform 0.2s ease;
}

.jumbotron img[src*="shields.io"]:hover {
    filter: brightness(0.95);
    transform: scale(1.1);
}

.sidebar_general img[src*="shields.io"] {
    height: 42px;
    margin-top: 5px;
    margin-bottom: 5px;
    transition: filter 0.2s ease, transform 0.2s ease;
}

.sidebar_general img[src*="shields.io"]:hover {
    filter: brightness(0.975);
    transform: scale(1.075);
}

.social-links {
    margin-top: 10px !important;
    margin-bottom: 0;
    margin-right: 0 !important;
    padding: 0 2px !important;
}

.middle_container {
    background-color: #FFFFFF;
}

.bottom_container {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.hero_container {
    padding-left: 0;
    padding-right: 0;
    padding-top: 20px;
}

.grid_container {
    padding-top: 20px;
}

.grid_episode_col {
    margin-bottom: 20px;
}

.episode-image-homepage,
.episode-image-banner,
.episode-image-square {
    position: relative;
}

.episode-number-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: alpha;
    color: #F8B31D;
    font-size: 1.8rem;
    font-weight: bold;
    padding: 8px 16px;
    border-radius: 4px;
    pointer-events: none;
}

.grid_episode_detail {
    background-color: #141414;
    padding: 10px;
    color: #EBEBEB;
}

.grid_episode_title {
    color: #EBEBEB;
}

.grid_episode_detail h3 {
    height: 2.6em; /* Fixed height for 2 lines */
    line-height: 1.3em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Light grey text for episode metadata on dark grid cards */
.grid-episode-meta,
.grid-episode-meta:hover {
    color: #ABABAB !important;
}

.grid_episode_title:hover {
    text-decoration: none;
    color: #F8B31D;
}

.person_row {
    padding-bottom: 20px;
}

.youtube_row {
    padding-top: 20px;
    padding-bottom: 20px;
}

.row_episode_title {
    color: #141414;
}

.row_latest_episode_title:hover {
    text-decoration: none;
    color: #EBEBEB;
}

.sidebar_col {
    padding-left: 40px;
    padding-right: 40px !important;
}

.sidebar_content {
    background-color: #fff;
    padding: 20px;
}

.sidebar_general {
    background-color: #EBEBEB;
    padding-top: 15px;
    padding-bottom: 15px;
    margin-bottom: 40px;
}

.sidebar_headline {
    color: #141414;
    margin-top: 0;
}

.main_container {
    color: #141414;
    background-color: #ffffff;
    margin-top: 20px;
    padding-left: 0;
    padding-right: 0;
}

.navbar-brand {
    color: #141414 !important;
    font-weight: 400;
    font-size: 1.5rem;
}

.navbar-brand:hover {
    color: #F7941D !important;
    text-decoration: none;
}

.navbar {
    background-color: #EBEBEB !important;
    border-radius: 0px !important;
}

.navbar-nav>li>a {
    text-decoration: none !important;
    color: #141414 !important;
    font-size: 1.0rem;
}

.navbar-nav>li>a:hover {
    color: #F7941D !important;
}

.navbar_footer {
    border-radius: 0px !important;
}

.footer_copyright {
    padding-right: 40px;
    padding-top: 10px;
    color: #EBEBEB;
}

.footer_copyright>a {
    color: #EBEBEB;
}

.footer_copyright>a:hover {
    color: #F8B31D;
}

.pagination>ul {
    margin-top: 20px;
}

.pagination>li>a,
.pagination>li>span {
    color: #141414;
    background-color: #EBEBEB;
    border: 1px solid #ABABAB;
    text-decoration: none;
}

.pagination>li>a:hover,
.pagination>li>a:focus,
.pagination>li>span:hover,
.pagination>li>span:focus {
    color: #F8B31D;
    background-color: #292929;
    border-color: #141414;
}

.pagination>.active>a,
.pagination>.active>a:hover,
.pagination>.active>a:focus,
.pagination>.active>span,
.pagination>.active>span:hover,
.pagination>.active>span:focus {
    color: #EBEBEB;
    background-color: #292929 !important;
    border-color: #141414 !important;
}

.pagination>.disabled>a,
.pagination>.disabled>a:hover,
.pagination>.disabled>a:focus,
.pagination>.disabled>span,
.pagination>.disabled>span:hover,
.pagination>.disabled>span:focus {
    color: #ABABAB !important;
    background-color: #f5f5f5 !important;
    border-color: #ABABAB !important;
}

.guest_episode_list {
    padding-bottom: 20px;
}

.guest_social_icons {
    padding-top: 10px;
    padding-bottom: 10px;
}

.episode_image {
    padding-bottom: 20px;
}

/* Ensure control bar has dark background so white controls are visible */
.mejs__controls {
    background: rgba(0, 0, 0, 1) !important;
}
