@charset "utf-8";

@-ms-viewport {
    width: device-width;
}

/* --- Scheme 1: Ethereal & Immersive --- */
/* (Previous :root block removed as it was overridden) */
/* --- Scheme 1: Ethereal & Immersive --- */
:root {
    /* Brand Colors */
    --primary-green: #2E5A4C;
    /* Deep Forest Green - Used for main branding elements */
    --primary-green-dark: #1e3c32;
    /* Darker shade for hover states */
    --secondary-blue: #88BDBD;
    /* Misty Teal - Used as the secondary brand color */
    --accent-teal: #F2E6B8;
    /* Soft Gold - remapped accent for warmth and highlights */

    /* Backgrounds */
    --bg-main: #F8F9FA;
    /* Atmospheric White - Main page background */
    --bg-header: #e8f4f4;
    /* Very light teal tint for header area */
    --bg-white: #ffffff;
    /* Pure white for crisp cards against atmospheric bg */

    /* Text Colors */
    --text-dark: #2E5A4C;
    /* Using the Deep Forest Green as primary "black" text */
    --text-medium: #546b66;
    /* Desaturated medium green/gray */
    --text-light: #7a918c;
    /* Lighter desaturated green/gray */
    --text-lighter: #a0b3af;
    /* Subtle text */
    --text-placeholder: #c0d1ce;

    /* Borders & Separators */
    --border-light: #e0efee;
    /* Very subtle teal border */
    --border-medium: #b4d4d4;
    /* Misty teal border */
    --border-input: #b4d4d4;

    /* Functional */
    --error-red: #c73e3e;
    /* Slightly softened red to match the aesthetic */

    /* Components */
    --audio-bg: #2E5A4C;
    /* Deep Forest Green for the player background */
    --audio-text: #F2E6B8;
    /* Soft Gold text/icons on the player */
    --link-info: #2E5A4C;
    /* Primary green for links */
    --link-info-hover: #88BDBD;
    /* Misty Teal for link hover */
}




/* TEMPLATE SPECIFIC BELOW */
body {
    margin: 0;
    padding: 0;
    width: 100%;
    background-color: var(--bg-main);
    overflow-x: hidden;
    /* Prevent horizontal scroll */
}

img {
    max-width: 100%;
    height: auto;
}

html {
    padding: 0;
    margin: 0;
}

.main {
    margin: 0 auto;
    padding: 0;
}

.resize {
    width: 94%;
    padding: 10px 0;
    margin: 0 auto;
    border: 1px solid var(--border-light);
    background: var(--bg-main);
}

.resize2 {
    width: 94%;
    padding: 10px 0;
    margin: 0 auto;
}

@media (min-width: 1000px) {
    .resize {
        width: 960px;
        padding: 10px 0;
        margin: 0 auto;
        border: 1px solid var(--border-light);
        background: var(--bg-main);
    }

    .resize2 {
        width: 960px;
        padding: 10px 0;
        margin: 0 auto;
    }
}


.resize h2 {
    width: 600px;
    float: left;
    font: normal 11px Arial, Helvetica, sans-serif;
    color: var(--text-lighter);
    padding: 10px 0 0 20px;
    margin: 0;
}

/********** header **********/
.header_resize {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid var(--border-light);
    background-color: var(--bg-header);
    background: url(images/bg_slider3.gif);
}

.header {
    padding: 15px 0;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 1000px) {
    .header {
        max-width: 800px;
        width: 100%;
        padding: 0;
        margin: 0 auto;
        display: flex;
        flex-direction: row;
        align-items: center;
        /* Aligns logo and menu vertically */
    }
}

/* 2 */
.header_blog2 {
    background: url(images/header_blog_bg.gif) top center repeat-x;
    padding: 20px 0 0 0;
    margin: 0;
    height: 95px;
}

.header_blog2 h2 {
    font: bold 36px Arial, Helvetica, sans-serif;
    color: var(--bg-white);
    padding: 10px 0 0 0;
    margin: 0;
}

/* logo */
.logo {
    padding: 0;
    margin: 0 0 15px 0;
    width: auto;
    float: none;
    text-align: center;
}

.logo img {
    max-height: 80px;
    height: auto;
    width: auto;
    max-width: 100%;
}

@media (min-width: 1000px) {
    .logo {
        margin: 0 20px 0 0;
    }
}

/*menu*/
.menu {
    padding: 0;
    margin: 0;
    width: 100%;
    float: none;
    flex-grow: 1;
}

@media (min-width: 1000px) {
    .menu {
        padding: 18px 0 10px 0;
        margin: 0;
        width: auto;
        float: none;
        text-align: center;
    }
}

.menu ul {
    text-align: center;
    padding: 0;
    margin: 0 auto;
    list-style: none;
    border: 0;
    float: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 15px;
    /* Row Gap, Column Gap */
}

@media (min-width: 1000px) {
    .menu ul {
        display: inline-block;
        gap: 0;
    }
}

.menu ul li {
    float: none;
    margin: 0;
    padding: 0;
    border: none;
    /* No border on mobile for cleaner wrap */
}

@media (min-width: 1000px) {
    .menu ul li {
        float: left;
        padding: 0 10px;
        border-right: 1px solid var(--text-lighter);
    }

    .menu ul li:last-child {
        border-right: none;
    }
}

.menu ul li a {
    float: left;
    margin: 0;
    padding: 0;
    color: var(--text-lighter);
    font: normal 12px Arial, Helvetica, sans-serif;
    text-decoration: none;
}

.menu ul li a:hover {
    color: var(--text-medium);
}

.menu ul li a.active {
    color: var(--text-medium);
}

/* search */
.search {
    padding: 10px 0;
    margin: 0 auto;
    width: 220px;
    float: none;
    /* Center on mobile */
    display: flex;
    justify-content: center;
}

@media (min-width: 1000px) {
    .search {
        padding: 31px 0 0 0;
        float: right;
        display: block;
    }
}

.search form {
    padding: 0;
    margin: 0 auto;
}

.search span {
    display: block;
    float: left;
    background: url(images/search_bg.gif) left top no-repeat;
    width: 166px;
    padding: 1px 5px;
    height: 31px;
}

.search form .keywords {
    width: 149px;
    line-height: 14px;
    height: 14px;
    float: left;
    background: none;
    border: 0;
    padding: 6px 2px;
    margin: 0;
    font: normal 11px Arial, Helvetica, sans-serif;
    color: var(--text-placeholder);
}

.search form .button {
    float: left;
    margin: 0;
    padding: 0;
}


/* body */
.body_resize {
    padding: 0;
    margin: 0 auto;
}

@media (min-width: 1000px) {
    .body_resize {
        padding: 0;
        width: 960px;
        margin: 0 auto;
    }
}


/* forms */

.form-all {
    font-family: "Lucida Console", Courier, monospace;
}

input,
textarea {
    font-family: "Lucida Console", Courier, monospace;
}

.form-label {
    font-family: "Lucida Console", Courier, monospace !important;
}

/* */



.body {
    padding: 0;
    margin: 0 auto;
    border-top: 1px solid var(--border-light);
    background: var(--bg-main);
    font-size: 16px;
}

.body h1 {
    font: bold 28px Arial, Helvetica, sans-serif;
    color: var(--primary-green);
    padding: 10px 5px;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.body h2 {
    font: bold 20px Arial, Helvetica, sans-serif;
    color: var(--text-medium);
    padding: 10px 5px;
    margin: 0 0 10px 0;
}


.body h2 span {
    font: bold 100% Arial, Helvetica, sans-serif;
    color: var(--text-lighter);
}

.body h3 {
    font: normal 115% Arial, Helvetica, sans-serif;
    color: var(--text-medium);
    padding: 10px 5px;
    margin: 0 0 10px 0;
}

.body h3 span {
    font: normal 72% Arial, Helvetica, sans-serif;
    color: var(--text-lighter);
}

.body p {
    font: normal 100% Arial, Helvetica, sans-serif;
    color: var(--text-dark);
    line-height: 1.8em;
    padding: 3px 5px;
    margin: 0;
}

.body p.photocap {
    font: normal 85.7% Arial, Helvetica, sans-serif;
    color: var(--accent-teal);
    line-height: 1.8em;
    padding: 3px 5px;
    margin: 0;
}

.body p span {
    color: var(--text-light);
    font: normal 78.5% Arial, Helvetica, sans-serif;
}

@media (min-width: 1000px) {
    .body h2 span {
        font: bold 14px Arial, Helvetica, sans-serif;
        color: var(--text-lighter);
    }

    .body h2.errormessage {
        font-weight: bold;
        font-style: italic;
        font: 20px Arial,
            Helvetica,
            sans-serif;
        color: var(--text-medium);
        padding: 10px 5px;
        margin: 0 0 10px 0;
    }

    .body h3 {
        font: normal 16px Arial, Helvetica, sans-serif;
        color: var(--text-medium);
        padding: 10px 5px;
        margin: 0 0 10px 0;
    }

    .body h3 span {
        font: normal 14px Arial, Helvetica, sans-serif;
        color: var(--text-lighter);
    }

    /*
	prettier, people had trouble reading it though
	.body p { font:normal 14px Arial, Helvetica, sans-serif; color:var(--text-light); line-height:1.8em; padding:3px 5px; margin:0;}*/
    .body p {
        font: normal 14px Arial, Helvetica, sans-serif;
        color: var(--text-dark);
        line-height: 1.8em;
        padding: 3px 5px;
        margin: 0;
    }

    .body p.photocap {
        font: normal 12px Arial, Helvetica, sans-serif;
        color: var(--accent-teal);
        line-height: 1.8em;
        padding: 3px 5px;
        margin: 0;
    }

    .body p span {
        color: var(--text-light);
        font: normal 11px Arial, Helvetica, sans-serif;
    }
}

.body a:visited {
    color: var(--secondary-blue);
    text-decoration: none;
}

.body a {
    color: var(--primary-green);
    text-decoration: none;
}

.body a.silver {
    color: var(--text-lighter);
}

.body a.silver:hover {
    color: var(--text-medium);
}

.body a.silver:active {
    color: var(--text-medium);
}

.body ul li {
    font: normal 100% Arial, Helvetica, sans-serif;
    color: var(--text-light);
    line-height: 1.8em;
    padding: 3px 5px;
    margin: 0;
}

@media (min-width: 1000px) {
    .body ul li {
        font: normal 14px Arial, Helvetica, sans-serif;
        color: var(--text-light);
        line-height: 1.8em;
        padding: 3px 5px;
        margin: 0;
    }
}

.body img {
    margin: 10px auto;
    padding: 0;
    display: block;
    /* Ensure block */
}

/* Mobile: Stack images */
.body img.floated,
.body img.floated2,
.body img.floatleft,
.body img.floatright {
    float: none;
    display: block;
    margin: 10px auto;
}

@media (min-width: 1000px) {
    .body img.floated {
        float: right;
        margin: 5px 0 5px 20px;
    }

    .body img.floated2 {
        float: left;
        margin: 5px 15px 5px 0;
    }

    .body img.floatleft {
        float: left;
        /* Name suggests left, orig was right? checking logic */
        /* Original floatleft had float: right; confusing naming? 
           Original: .body img.floatleft { float: right; ... }
           Original: .body img.floatright { float: left; ... }
           This seems inverted or legacy naming. I will preserve original behavior.
        */
        float: right;
        margin: 5px 0 5px 20px;
    }

    .body img.floatright {
        float: left;
        /* Preserving original inverted behavior */
        margin: 5px 15px 5px 0;
    }
}


.right {
    margin: 0;
    padding: 15px;
}

.left {
    margin: 0;
    padding: 15px;
}

.blog {
    width: 100%;
    margin: 0;
}

@media (min-width: 1000px) {
    .right {
        width: 290px;
        margin: 0;
        padding: 15px;
        float: right;
    }

    .left {
        width: 610px;
        margin: 0;
        padding: 15px;
        float: left;
    }

    .blog {
        max-width: 800px;
        width: 100%;
        margin: 0 auto;
        padding: 10px 15px;
        float: none;
    }
}

.single-column {
    max-width: 800px;
    margin: 0 auto;
    padding: 15px;
    width: auto;
}

.indextopthree {
    padding: 10px 15px;
    float: none;
}

@media (min-width: 1000px) {
    .indextopthree {
        float: left;
    }
}


/*.imageright { float:right; margin:5px 20px; padding:0;}
.imageleft { float:left; margin:5px 15px 5px 0; padding:0;}
.imageleft p.photocap { font:normal 10px Arial, Helvetica, sans-serif; color:var(--text-light); line-height:1.8em; padding:3px 5px; margin:0;}*/
/** inline text images **/

.imageleft {
    float: none;
    width: 100%;
    max-width: 275px;
    margin: 10px auto;
    text-align: center;
    height: auto;
}

.imageright {
    width: 100%;
    max-width: 275px;
    height: auto;
    float: none;
    margin: 10px auto;
}

.imagecenter {
    width: 100%;
    height: auto;
    text-align: center
}

.smallpicture {
    width: 100%;
    max-width: 275px;
    margin: 0 auto;
}

.largepicture {
    width: 100%;
}

.archivessmallpicture {
    width: 100%;
    max-width: 260px;
    margin: 0 auto;
}

@media (min-width: 1000px) {
    .imageleft {
        /*width:275px;*/
        width: 45%;
        float: left;
        /*"shrink wraps the box width to that of the widest content*/
        margin-right: 1em;
    }

    .imageright {
        /*width:275px;*/
        width: 45%;
        float: right;
        /*"shrink wraps the box width to that of the widest content*/
        margin-left: 1em;
    }

    .imagecenter {
        /*width:275px;*/
        text-align: center
    }

    .smallpicture {
        width: 275px;
    }

    .largepicture {
        width: 610px;
    }

    .archivessmallpicture {
        width: 260px;
    }
}

.body p.caption {
    font: normal 85.7% Arial, Helvetica, sans-serif;
    color: var(--accent-teal);
    line-height: 1.8em;
    padding: 3px 5px;
    margin: 0;
}

.body table.image caption {
    font: normal 85.7% Arial, Helvetica, sans-serif;
    color: var(--accent-teal);
    line-height: 1.8em;
    padding: 3px 5px;
    margin: 0;
}

@media (min-width: 1000px) {
    .body p.caption {
        font: normal 12px Arial, Helvetica, sans-serif;
        color: var(--accent-teal);
        line-height: 1.8em;
        padding: 3px 5px;
        margin: 0;
    }

    .body table.image caption {
        font: normal 12px Arial, Helvetica, sans-serif;
        color: var(--accent-teal);
        line-height: 1.8em;
        padding: 3px 5px;
        margin: 0;
    }
}

/********** contact form **********/
#contactform {
    margin: 0;
    padding: 5px 10px;
}

#contactform * {
    color: var(--error-red);
}

#contactform ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

#contactform li {
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    display: block;
    clear: both;
}

#contactform li.buttons {
    margin: 5px 0 5px 0;
    clear: both;
}

#contactform label {
    margin: 0;
    width: 100%;
    display: block;
    padding: 10px 0;
    color: var(--text-lighter);
    font: normal 12px Arial, Helvetica, sans-serif;
    text-transform: capitalize;
    float: none;
}

@media (min-width: 1000px) {
    #contactform label {
        width: 300px;
        float: left;
    }
}

#contactform label span {
    color: var(--error-red);
}

#contactform input.text {
    width: 100%;
    max-width: 320px;
    border: 1px solid var(--border-input);
    margin: 2px 0;
    padding: 5px 2px;
    height: 16px;
    background: var(--bg-white);
    float: none;
    box-sizing: content-box;
    /* Maintain legacy box model if needed, but standard is border-box usually. This matches orig height behavior */
}

@media (min-width: 1000px) {
    #contactform input.text {
        width: 320px;
        float: left;
    }
}

#contactform textarea {
    width: 100%;
    max-width: 520px;
    border: 1px solid var(--border-input);
    margin: 2px 0;
    padding: 2px;
    background: var(--bg-white);
    float: none;
    box-sizing: border-box;
    /* Good for responsive */
}

@media (min-width: 1000px) {
    #contactform textarea {
        width: 520px;
        float: left;
    }
}

#contactform li.buttons input {
    padding: 3px 0 3px 0px;
    margin: 10px 0 0 0;
    border: 0;
    color: var(--bg-white);
    float: left;
}

/*************footer**********/
.footer {
    padding: 0;
    margin: 0;
    border-top: 1px solid var(--border-light);
    background-color: var(--bg-header);
    background: url(images/bg_slider3.gif);
}

.footer_resize {
    width: 92%;
    margin: 0 auto;
    padding: 5px 10px;
    position: relative;
}

@media (min-width: 1000px) {
    .footer_resize {
        width: 940px;
        margin: 0 auto;
        padding: 5px 10px;
    }
}

.footer p {
    font: normal 11px Arial, Helvetica, sans-serif;
    color: var(--text-lighter);
}

.footer a {
    font: normal 11px Arial, Helvetica, sans-serif;
    color: var(--text-medium);
    text-decoration: none;
    padding: 5px;
    margin: 0;
}

.footer p.right {
    text-align: right;
    margin: 0;
    padding: 15px 0 0 0;
    float: right;
}

.footer-logo-prx {
    display: block;
    margin: 20px auto;
    text-align: center;
    position: static;
    transform: none;
}

@media (min-width: 1000px) {
    .footer-logo-prx {
        position: absolute;
        right: 15%;
        top: 50%;
        transform: translateY(-50%);
        margin: 0;
    }
}


.footer p.left {
    text-align: left;
    margin: 0;
    padding: 15px 0 0 0;
    float: left;
}

p.clr,
.clr {
    clear: both;
    padding: 0;
    margin: 0;
    background: none;
}

.bg {
    border-bottom: 1px solid var(--border-medium);
    clear: both;
    padding: 0;
    margin: 10px 0;
    background: none;
}

/* Header block */
.header_blog {
    padding: 20px 0 0 0;
    margin: 0;
    background: url(images/bg_slider3.gif);
    background-color: var(--bg-header);
}

/* big banner header */
.header_blog h3 {
    font: normal 40px Georgia, "Times New Roman", Times, serif;
    color: #484848;
    padding: 10px 0 10px 20px;
    margin: 0;
}

.header_blog h3 a {
    color: var(--primary-green);
    text-decoration: none;
}

.header_blog h3 a:visited {
    color: var(--secondary-blue);
    text-decoration: none;
}

.header_blog h3 a:hover {
    color: var(--text-medium);
    text-decoration: none;
}

.header_blog h3 ac:active {
    color: var(--text-medium);
    text-decoration: none;
}

.header_blog div.text {
    width: 62.5%;
    float: left;
    font: normal 13px Arial, Helvetica, sans-serif;
    color: var(--text-medium);
    padding: 0 0 0 20px;
    margin: 0;
    line-height: 23px;
    background-color: var(--bg-main)
}

@media (min-width: 1000px) {
    .header_blog div.text {
        width: 600px;
        float: left;
        font: normal 13px Arial, Helvetica, sans-serif;
        color: var(--text-medium);
        padding: 0 0 0 20px;
        margin: 0;
        line-height: 23px;
        background-color: var(--bg-main)
    }
}

/*galeria (width was 64px but now 128 to allow for 4 icons) (add _1 from the ends of files to make it grayscale and hover-over)*/
.galeria {
    width: 128px;
    padding: 0;
    margin: 0;
    float: right;
    height: 23px;
}

.galeria ul,
.galeria ul li {
    margin: 0;
    padding: 0;
    list-style: none;
    float: left;
    line-height: 23px;
}

.galeria a {
    display: block;
    padding: 0 2px;
    margin: 0;
    width: 24px;
    height: 23px;
}

/* .galeria a:hover {} Removed empty ruleset */

.galeria a.first {
    background: url(images/rss_1.gif) top no-repeat;
}

.galeria a:hover.first {
    background: url(images/rss_1.gif) top no-repeat;
}

.galeria a.sek {
    background: url(images/IG_Glyph_small.gif) top no-repeat;
}

.galeria a:hover.sek {
    background: url(images/IG_Glyph_small.gif) top no-repeat;
}

.galeria a.thre {
    background: url(images/rss_3.gif) top no-repeat;
}

.galeria a:hover.thre {
    background: url(images/rss_3.gif) top no-repeat;
}

.galeria a.four {
    background: url(images/rss_4.gif) top no-repeat;
}

.galeria a:hover.four {
    background: url(images/rss_4.gif) top no-repeat;
}

/* Slider */

#slider {
    max-width: 100%;
    height: auto;
    padding: 20px 0;
    margin: 0 auto;
}

@media (min-width: 1000px) {
    #slider {
        width: 960px;
        padding: 20px;
        margin: 0 auto;
    }
}

div#slideshow {
    float: left;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

@media (min-width: 1000px) {
    div#slideshow {
        float: left;
        height: 327px;
        overflow: hidden;
    }

}

.slider-item {
    width: 100% !important;
}




.slider-item .caption {
    left: 100%;
    width: 21%;
    position: absolute;
    height: 100%;
    top: 0;
    padding: 20px;
    margin: 0;
    background: url(images/overlay.png);
}

@media (min-width: 1000px) {
    .slider-item .caption {
        left: 960px;
        width: 200px;
        position: absolute;
        height: 287px;
        top: 0;
        padding: 20px;
        margin: 0;
        background: url(images/overlay.png);
    }
}

.slider-item .caption h2 {
    font: normal 24px/1.2em Arial, Helvetica, sans-serif;
    color: var(--bg-white);
    padding: 0;
    margin: 0;
}

.slider-item .caption p {
    font: normal 12px/1.6em Arial, Helvetica, sans-serif;
    color: var(--bg-white);
    margin: 0;
    padding: 0;
}

.slider-item .caption a {
    color: var(--bg-white);
    text-decoration: none;
}

.slider-item img {
    float: right;
    margin: 0;
    padding: 0;
}

.slider_content_inner img {
    border: none;
}


.controls-center {
    margin: 0 auto;
    padding: 5px 0;
}

#slider_controls {
    margin: 0 auto;
    z-index: 1000;
}

@media (min-width: 1000px) {
    .controls-center {
        width: 960px;
        margin: 0 auto;
        padding: 5px 0;
    }

    #slider_controls {
        margin: 0 auto;
        z-index: 1000;
    }
}

/* Highlight */

.imagehighlight {
    max-width: 100%;
    width: auto;
    max-height: 100%;
    height: auto;
    border: 0px;
}

@media (min-width: 1000px) {
    .imagehighlight {
        width: 960px;
        height: 327px;
        border: 0px;
    }
}

#slider_controls ul {
    margin: 0;
    padding: 0 20px 0 0;
    width: 254px;
    float: right;
}

#slider_controls ul li {
    margin: 0;
    padding: 0;
    list-style: none;
}

#slider_controls ul li {
    float: right;
    display: block;
}

#slider_controls ul li a {
    text-decoration: none;
    font: normal 11px Arial, Helvetica, sans-serif;
    color: #797979;
    background: var(--bg-main);
    border: 1px solid #e0e0e0;
    display: block;
    float: left;
    padding: 1px 5px;
    margin: 2px !important;
    margin: 1px 1px;
    outline: none;
}

#slider_controls ul li a:focus {
    outline: none;
}

#slider_controls ul li a:hover,
#slider_controls ul li a.activeSlide {
    color: #797979;
    background: #c0e0da;
    border: 1px solid #ececec;
}

/*************social networking**********/
#social_bookmarking_module {
    clear: both;
}

#social_bookmarking_module a,
#social_bookmarking_module {
    font-size: 11px;
    font-weight: bold;
}

.social {
    float: left;
    width: 118px;
    position: relative;
    margin-right: 15px;
}

#social_tools {
    padding-top: 18px;
}

#social_bookmarking_module {
    border: none;
    padding: 18px 0 0 0;
    margin-top: 18px;
}

.social {
    background: var(--bg-main);
    padding: 5px;
    margin: 0;
    border: solid 1px var(--bg-main);
    height: 18px;
}

#sb_art_diggit * {
    background: var(--bg-white);
    width: 110px;
    padding: 0;
    margin: 0;
}

#tweetmeme * {
    background: var(--bg-main);
    width: 90px;
    padding: 0;
    margin: 0;
}

#tweetmeme {
    margin-right: 0px;
}

#sb_facebook_like {
    float: left;
    width: 100px;
    padding-top: 5px
}

#sb_google_plusone {
    float: left;
    width: 100px;
    padding-top: 5px
}

#social_bookmarking_module li a {
    margin-right: 10px;
    height: 18px;
    width: 20px;
    background: url(images/socialbuttons2.gif) no-repeat 0 0;
    display: block;
    overflow: hidden;
    text-indent: -9999em;
    float: left;
}

#social_bookmarking_module li {
    list-style-type: none;
}

li#sb_reddit a {
    background-position: -40px -8px;
}

li#sb_reddit a:hover {
    background-position: -10px -8px;
}

li#sb_slashdot a {
    background: url(images/slashdotbuttongrey.gif);
    width: 15px;
}

li#sb_slashdot a:hover {
    background: url(images/slashdot.ico);
    width: 15px;
}

li#sb_facebook a {
    background-position: -38px -68px;
}

li#sb_facebook a:hover {
    background-position: -8px -68px;
}

li#sb_delicious a {
    background-position: -38px -88px;
}

li#sb_delicious a:hover {
    background-position: -8px -88px;
}

li#sb_yahoo a {
    background-position: -38px -48px;
}

li#sb_yahoo a:hover {
    background-position: -8px -48px;
}

li#sb_stumble a {
    background-position: -38px -108px;
}

li#sb_stumble a:hover {
    background-position: -8px -108px;
}

li#sb_digg a {
    background-position: -38px -28px;
}

li#sb_digg a:hover {
    background-position: -8px -28px;
}

.audio {
    display: table;
    display: table-cell;
    width: 100%;
    color: var(--audio-text);
    background-color: var(--audio-bg);
}

.audiosmall {
    display: table;
    display: table-cell;
    width: 100%;
    color: var(--audio-text);
    background-color: var(--audio-bg);
}

.audiolarge {
    display: table;
    display: table-cell;
    width: 100%;
    color: var(--audio-text);
    background-color: var(--audio-bg);
}


audio:hover,
audio:focus,
audio:active {
    -webkit-box-shadow: 15px 15px 20px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 15px 15px 20px rgba(0, 0, 0, 0.4);
    box-shadow: 15px 15px 20px rgba(0, 0, 0, 0.4);
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    transform: scale(1.05);
}

audio {
    -webkit-transition: all 0.5s linear;
    -moz-transition: all 0.5s linear;
    -o-transition: all 0.5s linear;
    transition: all 0.5s linear;
    -moz-box-shadow: 2px 2px 4px 0px #006773;
    -webkit-box-shadow: 2px 2px 4px 0px #006773;
    box-shadow: 2px 2px 4px 0px #006773;
    -moz-border-radius: 7px 7px 7px 7px;
    -webkit-border-radius: 7px 7px 7px 7px;
    border-radius: 7px 7px 7px 7px;
}



@media (min-width: 1000px) {
    .audio {
        width: 400px;
        color: var(--audio-text);
        background-color: var(--audio-bg);
    }

    .audiosmall {
        width: 300px;
        color: var(--audio-text);
        background-color: var(--audio-bg);
    }

    .audiolarge {
        width: 600px;
        color: var(--audio-text);
        background-color: var(--audio-bg);
    }
}

/*END TEMPLATE*/

/** intensedebate **
.idc-postnav-label { display: none !important; }
.idc-postnav-list { display: none !important; } */

.body .h2 .transcript {
    font: normal 100% Arial, Helvetica, sans-serif;
    color: var(--bg-white);
    line-height: 1.8em;
    padding: 3px 5px;
    margin: 0;
}

/* EXTRA VIBECODE ADJUSTMENTS */
.content_resize {
    margin: 0 auto;
    width: 94%;
}

@media (min-width: 1000px) {
    .content_resize {
        width: 960px;
    }
}

.mainbar {
    float: none;
    width: 100%;
    margin: 0 auto;
}

@media (min-width: 1000px) {
    .mainbar {
        width: 100%;
        /* If sidebar is present, mainbar usually wraps or floats left? 
           Based on archives.html structure: <div class="left">...</div> <div class="sidebar">...</div>
           Wait, archives.html DOES NOT use .mainbar. It uses .left and .sidebar directly inside .body_resize.
           Index uses .mainbar. 
           Let's fix .sidebar generally first.
        */
    }
}

.sidebar {
    float: none;
    width: 100%;
    margin-top: 20px;
}

@media (min-width: 1000px) {
    .sidebar {
        float: right;
        width: 290px;
        margin-top: 0;
    }
}

/* Also fix .left and .right generic classes if they aren't already */
.left {
    margin: 0;
    padding: 15px;
    width: auto;
    float: none;
}

@media (min-width: 1000px) {
    .left {
        width: 610px;
        margin: 0;
        padding: 15px;
        float: left;
    }
}

.right {
    margin: 0;
    padding: 15px;
    width: auto;
    float: none;
}

@media (min-width: 1000px) {
    .right {
        width: 290px;
        margin: 0;
        padding: 15px;
        float: right;
    }
}

.gadget {
    margin: 0;
    padding: 0;
}

.sb_menu {
    padding: 0;
    margin: 0;
    list-style: none;
    color: #929292;
}

.sb_menu li {
    background: url(images/ul.gif) left center no-repeat;
    padding: 5px 0 5px 15px;
    margin: 0;
    border-bottom: 1px solid var(--border-light);
}


/* Speaker Highlight */
.speaker {
    font-weight: bold;
    color: var(--text-medium);
}

/* Subtitle Styling for Homepage */

/* Featured Date */
.featured-show h2 {
    font-size: 2.5em;
    /* Made even larger (was 2.2em) */
    color: var(--primary-green-dark);
    margin-bottom: 5px;
}

.featured-show h2 a,
.featured-show h2 a:visited {
    color: var(--primary-green-dark);
    text-decoration: none;
}

/* Featured Title (Subtitle) */
.featured-show h3 {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 1.1em;
    /* Made even smaller (was 1.3em) */
    font-weight: normal;
    font-style: italic;
    color: var(--primary-green-dark);
    margin-top: 5px;
    margin-bottom: 15px;
    line-height: 1.3;
}

.featured-show h3 a,
.featured-show h3 a:visited {
    color: var(--primary-green-dark);
    text-decoration: none;
}

.featured-show h3 a:hover {
    color: var(--primary-green);
}

/* Recent Shows Date */
.blog h3 {
    font-size: 1.8em;
    /* Made even larger (was 1.6em) */
    color: var(--primary-green-dark);
    margin-bottom: 5px;
}

.blog h3 a,
.blog h3 a:visited {
    color: var(--primary-green-dark);
    text-decoration: none;
}

/* Recent Shows Title (Subtitle) */
.blog h4 {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 1.0em;
    /* Made even smaller (was 1.1em) */
    font-weight: normal;
    font-style: italic;
    color: var(--primary-green-dark);
    margin-top: 0px;
    margin-bottom: 10px;
    line-height: 1.3;
}

.blog h4 a,
.blog h4 a:visited {
    color: var(--primary-green-dark);
    text-decoration: none;
}

.blog h4 a:hover {
    color: var(--primary-green);
}

.transcript-block {
    padding: 10px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
    margin-bottom: 5px;
}

.transcript-block:hover {
    background-color: rgba(0, 0, 0, 0.04);
}

/* Music cues - similar to transcript blocks but italicized */
.music-cue {
    padding: 10px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
    margin-bottom: 5px;
    font-style: italic;
    background-color: rgba(220, 237, 234, 0.3);
    /* Light teal background */
}

.music-cue p {
    font-style: italic !important;
}

.music-cue .speaker {
    font-style: italic !important;
}

.music-cue:hover {
    background-color: rgba(220, 237, 234, 0.5);
    /* Slightly darker on hover */
}

.header-image {
    width: 100%;
    aspect-ratio: 2.35;
    object-fit: cover;
}

/* Captions */
figure {
    margin: 20px 0;
    text-align: center;
}

figcaption {
    font-size: 0.8em;
    color: #666;
    font-style: italic;
    margin: 2px auto 0 auto;
    line-height: 1.3;
    width: 92%;
    text-align: center;
}

/* Show Page Specifics */
.show-content h3 {
    font-size: 1.5em;
    margin-top: 25px;
    margin-bottom: 5px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.show-content h3 a {
    color: var(--link-info);
    /* distinct link color */
    text-decoration: none;
    font-weight: bold;
    display: block;
    /* make the whole line clickable/blocky */
}

.show-content h3 a:hover {
    color: var(--link-info-hover);
    text-decoration: none;
}

/* Dynamic Show Segments */
.show-segment {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #ddd;
    overflow: hidden;
    /* Clear floats */
}

.show-segment h3 {
    margin-top: 0;
    font-size: 1.5em;
    border-bottom: none;
    margin-bottom: 10px;
    width: 100%;
    clear: both;
}

.segment-image {
    float: none;
    width: 100%;
    margin-right: 0;
    margin-bottom: 15px;
    height: auto;
    max-height: 300px;
}

@media (min-width: 1000px) {
    .segment-image {
        float: left;
        width: 25%;
        margin-right: 20px;
        height: 200px;
    }
}

.segment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

.segment-content {
    float: none;
    width: 100%;
}

@media (min-width: 1000px) {
    .segment-content {
        float: left;
        width: 70%;
    }
}

.segment-player {
    margin-bottom: 10px;
}

.segment-length {
    color: #888;
    font-style: italic;
}

/* Archive page styles */
.archive-date a {
    font-weight: bold;
}

/* Sticky sidebar for archives page */
.archive-year-group {
    margin-bottom: 2em;
}

.body .sidebar {
    position: sticky;
    top: 20px;
    align-self: flex-start;
}

/* Featured Show Callout */
.featured-show {
    background: linear-gradient(135deg, rgba(220, 237, 234, 0.4) 0%, rgba(192, 224, 218, 0.4) 100%);
    border-left: 4px solid var(--primary-green);
    margin-top: 40px;
    padding: 25px;
    margin-bottom: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.featured-show h1 {
    font-size: 2em;
    color: var(--primary-green);
    margin-top: 0;
    margin-bottom: 10px;
}

.featured-show h2 {
    font-size: 1.5em;
    margin-top: 0;
    margin-bottom: 15px;
}

.featured-show h2 a {
    color: var(--text-dark);
    text-decoration: none;
}

.featured-show h2 a:hover {
    color: var(--primary-green);
}

.featured-host {
    font-size: 1.1em;
    color: var(--primary-green) !important;
    margin: 0 0 10px 0;
    font-weight: bold !important;
    font-style: italic !important;
    overflow: hidden;
}

.featured-content {
    overflow: auto;
    /* Clear floats */
}

.featured-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
    margin: 0 auto 15px auto !important;
    float: none;
    display: block;
}

@media (min-width: 1000px) {
    .featured-image {
        width: 250px;
        height: 250px;
        float: left;
        margin: 0 30px 15px 0 !important;
    }
}

.featured-summary {
    font-size: 1.1em;
    line-height: 1.6;
    color: var(--text-dark);
    margin: 15px 0;
    overflow: hidden;
    /* Creates new block formatting context to respect float */
}

.featured-segments {
    font-size: 0.95em;
    line-height: 1.8;
    margin: 10px 0;
    overflow: hidden;
}

.featured-segments a {
    color: var(--link-info);
    text-decoration: none;
}

.featured-segments a:hover {
    color: var(--link-info-hover);
    text-decoration: underline;
}

.featured-player {
    margin: 20px 0;
    min-height: 200px;
    width: 100%;
    max-width: 600px;
}

.read-more-btn {
    display: inline-block;
    background-color: var(--primary-green);
    color: white !important;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.2s ease;
}

.read-more-btn:hover {
    background-color: var(--primary-green-dark);
}

/* Recent Shows Section */
.body .recent-shows-header {
    font-size: 1.8em;
    color: var(--primary-green);
    border-bottom: 2px solid var(--primary-green);
    padding-bottom: 10px;
    margin: 20px auto;
    max-width: 800px;
    width: 100%;
}

.blog h3 {
    font-size: 1.3em;
    margin-top: 0;
}

.blog h3 a {
    color: var(--link-info);
    text-decoration: none;
}

.blog h3 a:hover {
    color: var(--link-info-hover);
}

.show-length {
    color: #666;
    font-size: 0.9em;
    font-style: italic;
}

/* Newsletter Styles - Added to improve form appearance */
.newsletter-signup {
    max-width: 700px;
    margin: 20px auto;
}

.newsletter-content {
    background: var(--bg-white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-light);
}

.newsletter-content h2 {
    font-size: 22px;
    color: var(--primary-green);
    margin-top: 0;
    margin-bottom: 8px;
    text-align: center;
}

.newsletter-content p {
    text-align: center;
    color: var(--text-medium);
    margin-bottom: 15px;
    font-size: 15px;
}

#mc-embedded-subscribe-form .mc-field-group {
    margin-bottom: 12px;
}

.name-fields {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Footer PRX Logo */
.prx-logo-img {
    height: 50px;
    width: auto;
    max-width: 100%;
}

.name-fields .mc-field-group {
    flex: 1;
    margin-bottom: 12px;
}

#mc-embedded-subscribe-form label {
    display: block;
    margin-bottom: 5px;
    color: var(--text-dark);
    font-weight: bold;
    font-size: 13px;
}

#mc-embedded-subscribe-form input[type="email"],
#mc-embedded-subscribe-form input[type="text"] {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-input);
    border-radius: 4px;
    font-size: 15px;
    box-sizing: border-box;
    transition: border-color 0.2s;
    font-family: Arial, Helvetica, sans-serif;
}

#mc-embedded-subscribe-form input[type="email"]:focus,
#mc-embedded-subscribe-form input[type="text"]:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(46, 90, 76, 0.1);
}

#mc-embedded-subscribe-form .button {
    width: 100%;
    background-color: var(--primary-green);
    color: white;
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 5px;
}

#mc-embedded-subscribe-form .button:hover {
    background-color: var(--primary-green-dark);
}

.indicates-required {
    text-align: right;
    font-size: 11px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.asterisk {
    color: var(--error-red);
}

.newsletter-featured {
    max-width: 600px;
    margin: 40px auto;
    background: linear-gradient(135deg, rgba(220, 237, 234, 0.3) 0%, rgba(192, 224, 218, 0.3) 100%);
    border-left: 4px solid var(--primary-green);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.newsletter-featured h2 {
    color: var(--primary-green);
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.5em;
}

.newsletter-featured h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.3em;
}

.newsletter-featured h3 a {
    color: var(--text-dark);
    text-decoration: none;
}

.newsletter-featured h3 a:hover {
    color: var(--primary-green);
}

.newsletter-date {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 15px;
}

.newsletter-excerpt {
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 20px;
}

.newsletter-archive {
    max-width: 600px;
    margin: 40px auto;
}

.newsletter-archive h2 {
    color: var(--text-dark);
    border-bottom: 2px solid var(--border-light);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.archive-list {
    list-style: none;
    padding: 0;
}

.archive-list li {
    padding: 10px 0;
    border-bottom: 1px dashed var(--border-light);
}

.archive-list .date {
    color: var(--text-light);
    font-family: monospace;
    margin-right: 10px;
}

.archive-list a {
    color: var(--primary-green);
    font-weight: bold;
    text-decoration: none;
}

.archive-list a:hover {
    text-decoration: underline;
}

/* --- Custom adjustments for Index Titles --- */

/* Featured Show: pull title (h3) closer to date (h2) */
.featured-show h2 {
    margin-bottom: 0 !important;
    padding-bottom: 5px !important;
}

.featured-show h3 {
    margin-top: 0 !important;
    padding-top: 0 !important;
    font-size: 1.5em !important;
}

/* Recent Shows: pull title (h4) closer to date (h3) */
.blog h3 {
    margin-bottom: 0 !important;
    padding-bottom: 2px !important;
}

/* Define h4 for recent shows since it wasn't defined */
.blog h4 {
    font: bold 18px Arial, Helvetica, sans-serif;
    color: var(--primary-green);
    padding: 2px 5px 10px 5px;
    margin: 0;
    line-height: 1.2;
}

.blog h4 a {
    color: var(--primary-green);
    text-decoration: none;
}

.blog h4 a:hover {
    color: var(--link-info-hover);
}

/* Sponsor Cloud */
.sponsor-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
    margin: 40px 0;
}

.sponsor-logo {
    max-width: 200px;
    max-height: 100px;
    object-fit: contain;
    /* Optional: grayscale to make it look uniform, color on hover */
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.sponsor-logo:hover {
    filter: grayscale(0%);
}

/* Mobile first adjustments for body_resize */
.body_resize {
    width: 94%;
    margin: 0 auto;
    padding: 0;
}

@media (min-width: 1000px) {
    .body_resize {
        width: 960px;
        padding: 0;
        margin: 0 auto;
    }
}

/* Additional Responsive Classes */

.header-image-container {
    margin: 0 auto 20px;
    max-width: 100%;
    text-align: center;
}

.header-image-container img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.series-content {
    line-height: 1.6;
    overflow-wrap: break-word;
}

.series-content img {
    max-width: 100%;
    height: auto;
}


/* Ensure iframes (e.g., Megaphone, Maps) are responsive */
iframe {
    max-width: 100%;
    /* Let height be determined by attribute or specific classes if needed */
}
/* Final Mobile Cleanup */

@media (max-width: 900px) {
    /* Ensure content resize fills screen on mobile */
    .content_resize {
        width: 100% !important;
        padding-left: 10px;
        padding-right: 10px;
        box-sizing: border-box;
    }

    .mainbar {
        width: 100% !important;
        float: none !important;
        margin: 0 !important;
    }

    .sidebar {
        width: 100% !important;
        float: none !important;
        margin-top: 20px;
    }

    .left, .right {
        width: 100% !important;
        float: none !important;
        padding: 10px 0;
    }

    
    /* Improve blockquotes on mobile */
    blockquote {
        margin: 10px 15px;
        font-size: 0.95em;
    }

    /* Stack footer content */
    .footer_resize {
        text-align: center;
    }
    
    .footer p.right, .footer p.left {
        float: none;
        text-align: center;
        padding: 5px 0;
    }

    /* Fix menu wrapping */
    .menu ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .menu ul li {
        border-right: none;
        padding: 5px 10px;
    }
}

