/* 1. Hide the original "Records" title */
.post-type-archive-audiotheme_record .page-title {
    visibility: hidden;
    position: relative;
    margin-bottom: 60px; /* Added space for the arrow */
}
/* 2. Insert the new title and the arrow */
.post-type-archive-audiotheme_record .page-title:after {
    content: 'Browse Music \A ↓'; /* \A creates a new line for the arrow */
    white-space: pre; /* Allows the new line to work */
    visibility: visible;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    text-align: center;
    color: #ffffff;
    font-size: 32px;
    font-weight: bold;
    letter-spacing: 2px;
    animation: bounce 2s infinite; /* Makes the whole thing/arrow bounce */
}
/* 3. The Bouncing Animation Effect */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}
/* Universal Font Reset */
html, body, p, a, li, h1, h2, h3, h4, h5, h6 {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
/* Specific Heading Uniformity */
h1, h2, h3, h4 {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff;
}
/* Force the entire main content area to jump up */
body.home #content.site-content {
    margin-top: -160px !important; /* Extremely aggressive jump */
    padding-top: 0 !important;
    position: relative !important;
    z-index: 999 !important;
}
/* Eliminate the bottom half of the header area */
body.home .site-header {
    padding-bottom: 0 !important;
    max-height: 150px !important; /* Caps the header height */
}
/* Remove the invisible title container */
body.home .entry-header {
    display: none !important;
    visibility: hidden !important;
}
#cuebar-footer {
    display: block !important;
    z-index: 9999 !important;
    visibility: visible !important;
}
#cuebar-footer {
    display: block !important;
    position: fixed !important;
    bottom: 0 !important;
    z-index: 9999 !important;
}
/* 1. Find ANY link to an image on a record page and hide it */
.single-audiotheme_record a img,
.single-audiotheme_record .entry-content > a:first-of-type,
.single-audiotheme_record .attachment-shop_single {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}
/* 2. Pull the Tracklist/Player to the absolute top */
.single-audiotheme_record .site-content {
    margin-top: -60px !important;
}
/* 1. Hide the original "Records" title */
.post-type-archive-audiotheme_record .page-title {
    visibility: hidden;
    position: relative;
    margin-bottom: 60px; /* Added space for the arrow */
}
/* 2. Insert the new title and the arrow */
.post-type-archive-audiotheme_record .page-title:after {
    content: 'Browse Music \A ↓'; /* \A creates a new line for the arrow */
    white-space: pre; /* Allows the new line to work */
    visibility: visible;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    text-align: center;
    color: #ffffff;
    font-size: 32px;
    font-weight: bold;
    letter-spacing: 2px;
    animation: bounce 2s infinite; /* Makes the whole thing/arrow bounce */
}
/* 3. The Bouncing Animation Effect */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}
/* Universal Font Reset */
html, body, p, a, li, h1, h2, h3, h4, h5, h6 {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
/* Specific Heading Uniformity */
h1, h2, h3, h4 {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff;
}
/* Force the entire main content area to jump up */
body.home #content.site-content {
    margin-top: -160px !important; /* Extremely aggressive jump */
    padding-top: 0 !important;
    position: relative !important;
    z-index: 999 !important;
}
/* Eliminate the bottom half of the header area */
body.home .site-header {
    padding-bottom: 0 !important;
    max-height: 150px !important; /* Caps the header height */
}
/* Remove the invisible title container */
body.home .entry-header {
    display: none !important;
    visibility: hidden !important;
}
#cuebar-footer {
    display: block !important;
    z-index: 9999 !important;
    visibility: visible !important;
}
#cuebar-footer {
    display: block !important;
    position: fixed !important;
    bottom: 0 !important;
    z-index: 9999 !important;
}
/* 1. Find ANY link to an image on a record page and hide it */
.single-audiotheme_record a img,
.single-audiotheme_record .entry-content > a:first-of-type,
.single-audiotheme_record .attachment-shop_single {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}
/* 2. Pull the Tracklist/Player to the absolute top */
.single-audiotheme_record .site-content {
    margin-top: -60px !important;
}
/* 1. THE WILDCARD OVERRIDE - Targets anything with 'subscribe' in the link or text */
a[class*="wp-block-button__link"], 
.wp-block-button__link,
[aria-label*="Subscribe"], 
button[type="submit"] {
    background-color: #FF5722 !important; /* Bold Orange */
    color: #ffffff !important;
    font-size: clamp(18px, 2vw, 24px) !important; /* Responsive size */
    font-weight: 900 !important;
    padding: 20px 45px !important;
    border-radius: 4px !important;
    text-transform: uppercase !important;
    box-shadow: 0 10px 20px rgba(255, 87, 34, 0.3) !important;
    display: inline-block !important;
    width: auto !important;
    border: none !important;
    text-decoration: none !important;
}

/* 1. CENTER THE SUBSCRIPTION CONTAINER */
.page-id-SUBSCRIBE_ID_HERE .wp-block-jetpack-subscriptions {
    max-width: 600px !important; /* Matches common contact form widths */
    margin: 60px auto !important; /* Centers it and adds breathing room */
    padding: 40px !important;
    background-color: rgba(255, 255, 255, 0.03) !important; /* Subtle dark tint */
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 4px !important;
    text-align: center !important;
}
/* 1. REMOVE THE BRIGHT ORANGE BOX & BORDER */
.wp-block-jetpack-subscriptions {
    background-color: transparent !important; /* Forces background to clear */
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 60px auto !important; /* Centering with top/bottom breathing room */
    max-width: 450px !important; /* Keeps it tight like a contact form */
}

/* 2. CENTER THE INNER FORM ELEMENTS */
.wp-block-jetpack-subscriptions__container, 
.wp-block-jetpack-subscriptions form {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

/* 3. STYLE THE EMAIL INPUT (Minimalist Underline Style) */
.wp-block-jetpack-subscriptions input[type="email"] {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.2) !important; /* Subtle underline */
    color: #ffffff !important;
    padding: 15px 0 !important;
    width: 100% !important;
    text-align: center !important;
    border-radius: 0 !important;
    margin-bottom: 25px !important;
}

/* 4. THE BUTTON (Solid Orange Accent) */
.wp-block-jetpack-subscriptions__button {
    background-color: #FF5722 !important; 
    color: #ffffff !important;
    padding: 16px 45px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.wp-block-jetpack-subscriptions__button:hover {
    background-color: #ffffff !important;
    color: #000000 !important;
}

/* 5. NUKE THE FOOTER BUTTON (Keeping it gone) */
footer .wp-block-jetpack-subscriptions, 
#footer .wp-block-jetpack-subscriptions,
.jetpack-sub-button {
    display: none !important;
}/* 1. REMOVE THE ORANGE BACKGROUND BLOCK */
.wp-block-jetpack-subscriptions {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    margin: 40px auto !important;
    max-width: 600px !important; /* Adjust this to match your contact form width */
}

/* 2. MATCH THE SIZES EXACTLY */
.wp-block-jetpack-subscriptions input[type="email"],
.wp-block-jetpack-subscriptions__button {
    width: 100% !important;        /* Forces both to be the same width */
    max-width: 100% !important;
    box-sizing: border-box !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    
    /* Matching Height and Spacing */
    height: 60px !important;       /* Uniform height for a clean look */
    font-size: 16px !important;    /* Standardizes font size */
    border-radius: 0 !important;   /* Sharp edges for the Obsidian theme */
}

/* 3. STYLE THE EMAIL INPUT (Like your Contact Page) */
.wp-block-jetpack-subscriptions input[type="email"] {
    background-color: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    color: #ffffff !important;
    margin-bottom: 10px !important; /* Small gap between input and button */
    padding: 0 20px !important;
}

/* 4. STYLE THE BUTTON */
.wp-block-jetpack-subscriptions__button {
    background-color: #FF5722 !important; /* Your signature orange */
    color: #ffffff !important;
    border: none !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    padding: 0 !important; /* Height is handled by the 60px above */
    cursor: pointer !important;
    transition: background 0.3s ease !important;
}

.wp-block-jetpack-subscriptions__button:hover {
    background-color: #ffffff !important;
    color: #000000 !important;
}

/* 5. NUKE THE FOOTER BUTTON (Ensuring it stays gone) */
footer .wp-block-jetpack-subscriptions, 
#footer .wp-block-jetpack-subscriptions,
.jetpack-sub-button {
    display: none !important;
}
/* 1. Target the form container to force vertical stacking */
.wp-block-jetpack-subscriptions form {
    display: block !important;
    width: 100% !important;
    max-width: 450px !important; /* Adjust this to change the overall width */
    margin: 0 auto !important;   /* Centers the form on the page */
}

/* 2. Style the email input field container and the field itself */
.wp-block-jetpack-subscriptions__input-container,
.wp-block-jetpack-subscriptions input[type="email"] {
    display: block !important;
    width: 100% !important;
    margin-bottom: 15px !important; /* Space between input and button */
    box-sizing: border-box !important;
}

/* 3. Style the button wrapper and the button itself */
.wp-block-jetpack-subscriptions__button-wrapper,
.wp-block-jetpack-subscriptions button[type="submit"] {
    display: block !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
}

/* 4. Match heights and padding for a uniform look */
.wp-block-jetpack-subscriptions input[type="email"],
.wp-block-jetpack-subscriptions button[type="submit"] {
    padding: 15px !important;
    height: 55px !important; /* Force them to be the exact same height */
    font-size: 16px !important;
}