* {
    box-sizing: border-box;
}

/* New addition by Ilya */

body {
 font-size: 1em;
 line-height: 1.6;
 color: #fff;
}

.bio-section, #mc_embed_shell, .player-embed, .post-item{
 border: none;
}

h2, #mc_embed_signup h2, .post-item h3 {
 background: none !important;
}



.post-item h3 a, .bio-section h2, #mc_embed_signup #mc_embed_signup_scroll h2{
 color: #fff !important;
 border-bottom: none !important;
 font-size: 2.2em;
}

.bio-section h2{
 font-size: 2.6em;
 line-height: 1.2 !important;
 margin: 0 28px;
 padding: 24px 0 16px;
}


/* Headers */
.post-item h3, .bio-section h2 a, #mc_embed_signup h2{
 text-transform: none !important;
 letter-spacing: 0 !important;
 line-height: 1.2 !important;
 
 
}

.bio-section h2 {
 padding-bottom: 0;
}

#mc_embed_shell{
     margin-top: 16px;
}

.indicates-required{
 display: none;
}

.bio-section > div{
 padding: 0 28px;
 
}

.bio-section > div:last-child{
 padding-bottom: 24px;
 
}

#mc_embed_signup label{
 font-weight: normal !important;
 margin-bottom: 10px;
}

.post-item h3{
 padding: 24px 0 0 0;
 margin: 0 28px;
 border-bottom: none;
}

.post-item > div {
    padding: 0 28px 28px 28px;
}



.post-meta {
     background: transparent;
    color: #999;
    margin: 0;
    padding: 8px 28px;
}

iframe{
 min-height: 0;
}

.mc-field-group{
 padding: 0 28px 15px;
}

#mc_embed_signup .mc-field-group{
 padding: 15px 28px;
}

#mc_embed_signup h2{
 padding: 20px 28px 0 28px !important;
 font-size: 1rem !important;
}

#mc_embed_signup .clear{
 padding: 0 28px 24px;
}

#mc_embed_signup input.email{
     background: #404040 !important;
    border: 1px solid #555 !important;
    border-radius: 4px !important;
}

#mc_embed_signup .button{
 text-transform: none !important;
 letter-spacing: 0 !important;
 font-size: 1rem !important;
 border-radius: 4px !important;
}

/* End of the New addition by Ilya */

body {
    overflow-x: hidden;
    background: #1a1a1a;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #e0e0e0;
}

a {
    color: #ff6b6b;
}

a:visited {
    color: #c44569;
}

/* Home Page Styles */
.myspace-container {
    display: flex;
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.left-column {
    width: 40%;
    padding: 0;
    flex-shrink: 0;
    position: sticky;
    top: 20px;
    align-self: flex-start;
}

.bio-section {
    border: 2px solid #333;
    align-self: flex-start;
    background: #2a2a2a;
}

.player-embed {
    margin-top: 15px;
}

.posts-wall {
    flex: 1;
    min-width: 0;
}

.bio-section h2 {
    margin: 0;
    padding: 12px 15px;
    background: linear-gradient(to bottom, #3a3a3a, #2a2a2a);
    color: #ff6b6b;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid #ff6b6b;
}

.bio-section h2 a {
    color: inherit;
    text-decoration: none;
}

.bio-section h2 a:visited {
    color: inherit;
}

.bio-section h2 a:hover {
    text-decoration: underline;
}

.bio-section > div {
    padding: 15px;
}

/* Subscribe Button */
.ml-onclick-form {
    background: linear-gradient(to bottom, #ff6b6b, #c44569);
    color: #fff;
    padding: 10px 20px;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    width: 100%;
    margin-bottom: 15px;
    transition: all 0.2s ease;
}

.ml-onclick-form:hover {
    background: linear-gradient(to bottom, #ff8585, #d65a7c);
    border-color: #ff8585;
    transform: translateY(-1px);
}

.ml-onclick-form:active {
    transform: translateY(0);
}

/* Mailchimp Embedded Signup Form */
#mc_embed_shell {
    border: 2px solid #333;
    background: #2a2a2a;
    margin-bottom: 15px;
    overflow: hidden;
}

#mc_embed_signup {
    background: #2a2a2a !important;
    clear: left;
    font: 12px Verdana, Arial, Helvetica, sans-serif !important;
    width: 100% !important;
}

#mc_embed_signup h2 {
    margin: 0 !important;
    padding: 12px 15px !important;
    background: linear-gradient(to bottom, #3a3a3a, #2a2a2a) !important;
    color: #ff6b6b !important;
    font-size: 14px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    border-bottom: 2px solid #ff6b6b !important;
}

#mc_embed_signup_scroll {
    padding: 0 !important;
}

#mc_embed_signup .indicates-required {
    text-align: right;
    font-size: 11px;
    margin: 10px 15px 0 15px;
    color: #888;
}

#mc_embed_signup .asterisk {
    color: #ff6b6b;
}

#mc_embed_signup .mc-field-group {
    padding: 15px;
    padding-top: 10px;
    width: 100% !important;
}

#mc_embed_signup label {
    display: block;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #e0e0e0;
}

#mc_embed_signup input.email {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 12px;
    width: 100% !important;
    padding: 8px 10px;
    background: #1a1a1a;
    border: 2px solid #333;
    color: #e0e0e0;
    box-sizing: border-box;
}

#mc_embed_signup input.email:focus {
    outline: none;
    border-color: #ff6b6b;
}

#mc_embed_signup .clear {
    display: block;
    height: auto;
    padding: 0 15px 15px 15px;
    width: 100%;
}

#mc_embed_signup .button {
    background: linear-gradient(to bottom, #ff6b6b, #c44569) !important;
    color: #fff !important;
    padding: 10px 20px !important;
    font-family: Verdana, Arial, Helvetica, sans-serif !important;
    font-size: 12px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    cursor: pointer !important;
    border: none !important;
    width: 100% !important;
    transition: all 0.2s ease;
    border-radius: 0 !important;
}

#mc_embed_signup .button:hover {
    background: linear-gradient(to bottom, #ff8585, #d65a7c) !important;
    transform: translateY(-1px);
}

#mc_embed_signup .button:active {
    transform: translateY(0);
}

#mc_embed_signup #mce-responses {
    padding: 0 15px;
}

#mc_embed_signup .response {
    margin: 10px 0;
    padding: 10px;
    font-size: 11px;
    border: 2px solid #333;
    background: #222;
}

#mc_embed_signup #mce-error-response {
    color: #ff6b6b;
    border-color: #ff6b6b;
}

#mc_embed_signup #mce-success-response {
    color: #4CAF50;
    border-color: #4CAF50;
}

/* Hide Mailchimp referral badge */
#mc_embed_signup .optionalParent p {
    display: none !important;
}

#mc_embed_signup .refferal_badge {
    display: none !important;
}

.post-item {
    border: 2px solid #333;
    padding: 0;
    margin-bottom: 15px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    background: #2a2a2a;
    overflow: hidden;
}

.post-item h3 {
    margin: 0;
    padding: 12px 15px;
    background: linear-gradient(to bottom, #3a3a3a, #2a2a2a);
    color: #ff6b6b;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid #ff6b6b;
    word-wrap: break-word;
}

.post-item h3 a {
    color: #ff6b6b;
    text-decoration: none;
}

.post-item h3 a:visited {
    color: #ff6b6b;
}

.post-item h3 a:hover {
    text-decoration: underline;
}

.post-item > div {
    padding: 15px;
}

.post-item img,
.post-body img,
.bio-section img {
    max-width: 100%;
    height: auto;
}

.post-meta {
    font-size: 11px;
    color: #888;
    margin-bottom: 10px;
    padding: 8px 15px;
    font-style: italic;
    background: #222;
}

.blog-post-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
}

.blog-post-content {
    border: 2px solid #333;
    padding: 0;
    background: #2a2a2a;
}

.blog-post-content h1 {
    margin: 0;
    padding: 15px;
    background: linear-gradient(to bottom, #3a3a3a, #2a2a2a);
    color: #ff6b6b;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid #ff6b6b;
}

.meta {
    font-size: 11px;
    color: #888;
    padding: 10px 15px;
    background: #222;
    margin: 0;
    font-style: italic;
}

.intro {
    border: 2px solid #333;
    padding: 15px;
    margin: 15px;
    background: #1f1f1f;
    font-style: italic;
    color: #ccc;
}

.post-body {
    margin: 0;
    padding: 15px;
}

.back-link {
    border-top: 2px solid #333;
    padding: 15px;
    margin: 0;
    background: #222;
}

.back-link a {
    text-decoration: none;
    color: #ff6b6b;
}

.back-link a:visited {
    color: #c44569;
}

.back-link a:hover {
    text-decoration: underline;
}
.blog-post-content h1 {
    margin-top: 0;
    border-bottom: 2px solid #000;
    padding-bottom: 15px;
}

.meta {
    font-size: 0.9em;
    color: #666;
    padding: 10px 0;
    border-bottom: 1px solid #000;
    margin-bottom: 20px;
}

.intro {
    border: 2px solid #000;
    padding: 15px;
    margin-bottom: 20px;
    font-style: italic;
}

.post-body {
    margin-bottom: 20px;
}

.back-link {
    border-top: 2px solid #000;
    padding-top: 15px;
    margin-top: 30px;
}

.back-link a {
    text-decoration: none;
    color: #0000EE;
}

.back-link a:visited {
    color: #551A8B;
}

.back-link a:hover {
    text-decoration: underline;
}

/* Responsive iframe wrapper - catch all iframes in content */
.post-item iframe,
.post-body iframe {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
    border: none !important;
}

/* Spotify embeds need more height */
.post-item iframe[src*="spotify"],
.post-body iframe[src*="spotify"] {
    height: 380px !important;
    aspect-ratio: auto;
}

/* Generic fallback */
iframe {
    width: 100%;
    min-height: 315px; /* YouTube default embed height */
    border: none;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 15px;
    margin-top: 15px;
    border: 2px solid #333;
    background: #2a2a2a;
}

.pagination a {
    color: #ff6b6b;
    text-decoration: none;
    padding: 8px 12px;
    border: 2px solid #333;
    background: #222;
}

.pagination a:hover {
    background: #333;
    text-decoration: underline;
}

.pagination .page-info {
    color: #888;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .myspace-container {
        flex-direction: column;
        padding: 10px;
        gap: 15px;
    }
    
    .left-column {
        width: 100%;
        position: static;

    }
    
    .bio-section {
        width: 100%;
    }
    
    .posts-wall {
        width: 100%;
        height: 60vh;
        margin-left: 0;
    }
    
    .post-item {
        padding: 0;
    }
    
    .post-item h3 {
        padding: 10px 12px;
    }
    
    .post-item > div {
        padding: 12px;
    }
    
    .post-meta {
        padding: 6px 12px;
    }
    
    .post-item img,
    .post-body img,
    .bio-section img,
    .posts-wall img {
        max-width: 100% !important;
        height: auto !important;
        width: 100% !important;
    }
}
