/**
 * Base styles
 */
body,
html {
    margin: 0;
    padding: 0;
    color: #222222;
    background: #000000;
}

body {
    min-width: 828px;
    padding-bottom: 50px;
    font-family: 'EB Garamond', Georgia, serif;
}

#wrap {
    width: 828px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    background: transparent;
}


/**
 * Typography
 */
#main_content h1 {
    display: inline-block;
    color: #111111;
    font-family: 'EB Garamond', Georgia, "Times New Roman", Times, serif;
    font-size: 18px;
    font-weight: 600;
    margin: 24px 0 18px;
    padding: 15px 25px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background-color: #ffffff;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

h4.month {
	color: #111111;
	font-family: 'EB Garamond', Georgia, "Times New Roman", Times, serif;
	font-size: 16px;
	font-weight: 600;
	margin-top: 22px;
	margin-bottom: 12px;
	text-transform: uppercase;
	letter-spacing: 1.2px;
}

#sidebar img {
	float: left;
	margin-right: 15px;
	border: 2px solid white;
}

/**
 * Header & Parallax Effect
 */
#header-container {
    position: relative;
    height: 382px;
    width: 100%;
    overflow: visible;
    margin: 0 auto;
}

#header-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 828px;
    height: 382px;
    margin: 0 auto;
    background: url(img/bg.jpg) center center no-repeat;
    background-size: auto 100%;
    z-index: 0;
    will-change: transform, opacity;
    transition: transform 0.05s ease-out, opacity 0.1s ease-out;
}

#footer {
    text-align: center;
    margin: 20px 0;
    font-size: 1.6em;
    color: #666;
    clear: both;
    padding: 20px 0;
}

#header {
    position: relative;
    height: 382px;
    width: 828px;
    z-index: 2;
    background: transparent;
}

#button_to_front {
    position: absolute;
    height: 200px;
    width: 828px;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    cursor: pointer;
}

#subscribe {
    margin-top: 30px;
    margin-right: 80px;
    float: right;
    height:  50px;
    width: 146px;
    /*padding: 16px;*/
    background: #eff1ea;
}

#subscribe img {
    float: left;
    margin-right: 10px;
}

p.comments_invite {
	margin-top: 10px;
	font-size: 15px;
}

#main_content ul {
    margin-top: 8px;
    margin-bottom: 14px;
}

#main_content li {
    font-size: 22px;
    line-height: 30px;
}

/* Button styles moved up to header section */


/* --- 1.0 GLOBAL --- */

/* --- 1.1 Reset & Basic Setup --- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
/*	color: white; */
	}

/* remember to define focus styles! */
:focus {
	outline: 0;
	}

body {
	font-family: 'EB Garamond', Georgia, serif; 
	font-size: 62.5%; /* Base font size set to 10px (62.5% of 16px) */
	line-height: 1;
	color: #222222; 
	}

ol, ul {
	list-style: none;
	}

/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: separate;
	border-spacing: 0;
	}

caption, th, td {
	text-align: left;
	font-weight: normal;
	}

blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
	}

blockquote, q {
	quotes: "" "";
	}

em {
	font-style: italic;
}

strong {
	font-weight: 600;
}

/* --- 1.2 Typography --- */

h2 {
    font-family: 'EB Garamond', Georgia, "Times New Roman", Times, serif;
    font-size: 32px;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin: 0 0 16px;
    color: #5c1e1e;
}

p, li {
    font-family: 'EB Garamond', Georgia, "Times New Roman", Times, serif;
    font-size: 23px;
    line-height: 1.5;
    color: #222222;
}

ul {
	margin-bottom: 30px;
	margin-top: 20px;
	}
	
/**
 * Track List Styling
 */
.episode-card ul.tracklist li {
    font-style: italic;
    margin-bottom: 10px;
    line-height: 1.4;
}

.episode-card ul.tracklist li a {
    color: #5c1e1e;
    border-bottom: none;
    font-style: italic;
}

hr {
/*	background: url(files/hr_bg.png) #e7eae1; */ /* Original background image commented out */
	color: #5c1e1e;
	height: 1px; /* Changed height for a thinner line */
	border: 0;
	border-top: 1px solid rgba(92, 30, 30, 0.2);
    margin-top: 30px; /* Added margin for spacing */
    margin-bottom: 30px; /* Added margin for spacing */
}


/**
 * Link Styling
 */
a:link {
    color: #333333;
    text-decoration: none;
    border-bottom: 1px dotted #999;
    transition: color 0.3s ease, border-bottom 0.3s ease;
    position: relative;
}

a:hover {
    color: #5c1e1e;
    border-bottom: 1px solid #5c1e1e;
}

a:visited {
    color: #5c1e1e;
}

/* Elegant hover effect for links */
a:after {
    content: "";
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 1px;
    bottom: -1px;
    left: 0;
    background-color: #5c1e1e;
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

a:hover:after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* --- 1.3 Global Classes --- */

.green {
	color: #196641;
	}

/**
 * Card Components
 */
.card {
    background: #ffffff; 
    margin-bottom: 25px;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.intro-card {
    margin-bottom: 30px;
}

.episode-card {
    padding: 20px 30px 50px;
}


/* --- 2.0 BASIC PAGE LAYOUT --- */

div#bottom_image {
	/* background: url(files/bottom.jpg); */ /* Removed as likely unnecessary */
	/* height: 412px; */
	/* width: 900px; */
	/* margin-top:0; */
	/* z-index: 3; */
	display: none; /* Hide this element if not needed */
	}


/* --- 3.0 TOP BLURB --- */

p#intro {
	position: relative;
	color: #5c1e1e;
	margin: 0;
	padding: 16px 20px 26px;
	font-family: 'EB Garamond', Georgia, "Times New Roman", Times, serif;
	font-size: 30px;
	font-style: italic;
	font-weight: 500;
	line-height: 1.5;
	text-align: center;
	letter-spacing: 0.02em;
}

#subscribe p, #subscribe a {
	color: #196641;
	font-size: 13px;
	font-style: italic;
	line-height: 18px;
	}

/* Removed rule for p#intro img as it was causing layout issues */
/*
p#intro img {
	float: left;
	margin-right: 10px;
	border-top: 1px dotted gray;
	}
*/

p.download_info {
	text-align: center;
	background-color: white;
/*	background-color: #f7f7f5; */
	color: #196641;
	margin-top: 12px;
	margin-bottom: 16px;
	font-size: 14px;
	line-height: 19px;
	letter-spacing: 1px;
	text-transform: uppercase;
	padding: 8px;
	border: 1px dotted #5ce1e1; /* Original color seemed like a typo, maybe #5c1e1e? */
	}
	
audio[controls] {
    width: 100%;
    border: 2px solid #cdcdc3;
    background-color: transparent;
    border-radius: 50px;
    margin-bottom: 14px;
}

p.download_info img { /* Style images inside download_info */
    vertical-align: middle; /* Align images nicely with text */
    margin-right: 5px;
}

p.download_info a:link {
	text-decoration: none;
	font-weight: bold;
	color: #196641;
	}

p.download_info a:hover {
	color: #5c1e1e;
	}

p.download_info a:visited {
	color: #5c1e1e;
	}


/* --- 4.0 MAIN CONTENT ---*/

/**
 * Main Content Area
 */
#main_content {
    position: relative;
    width: 828px;
    margin: 25px auto 22px;
    padding: 0;
    background: transparent;
    z-index: 3;
    border-radius: 24px;
    overflow: visible;
}

.content_container {
    margin: 0;
    padding: 20px;
    overflow: visible;
    background-color: transparent;
}

.content_inner {
    position: relative;
    float: left;
    width: 100%;
    margin-top: -8px;
    margin-bottom: -8px;
}

h2.episode_headline {
	margin-top: 22px;
    margin-bottom: 18px;
	font-weight: 500;
	}


/* --- 5.0 FOOTER --- */

/**
 * Footer
 */
#footer {
    clear: both;
    max-width: 700px;
    margin: 60px auto 40px;
    color: #999999;
    font-family: 'EB Garamond', Georgia, "Times New Roman", Times, serif;
    font-size: 30px;
    font-style: italic;
    line-height: 1.4;
    text-align: center;
}

#footer a {
    color: #777777;
    text-decoration: none;
    border-bottom: none;
}

#footer a:hover {
    color: #5c1e1e;
    border-bottom: 1px dotted #5c1e1e;
}

.no-results {
    text-align: center;
    padding: 30px;
    font-style: italic;
    color: #fff;
}

.no-results p, 
.no-results li {
    color: #fff;
}


/* --- 6.0 SIDEBAR --- */

#sidebar {
	float: right;
	margin-top: 25px;
	background: #dde1d6;
	padding: 20px;
/*	top: 392px; */ /* Original positioning commented out */
/*	left: 590px; */ /* Original positioning commented out */
	width: 300px; /* Original width */
}

#sidebar h2 {
    font-size: 16px; /* Adjusted size */
	margin-bottom: 13px;
	font-family:Georgia,"Hoefler Text","Times New Roman",Times,serif;
	text-transform: uppercase;
	letter-spacing: 1px;
    color: black;
}

#sidebar ul {
    margin-bottom: 15px; /* Adjusted margin */
}

#sidebar li {
    font-size: 13px; /* Adjusted size */
    line-height: 19px; /* Adjusted line height */
}
