/**
 * Theme Name:   gen-press-child
 * Template:     generatepress
 * Text Domain:  gen-press-child
 * Version:      1.0.0
 */

/* Metaradio Now/Recently Played in Sidebar */
.metaradio_station_recent_singlecol {
    background-color: #000000 !important;
}
.metaradio_widget_nowplaying1_recent {
    background-color: #000000 !important;
    border: none !important; /* Remove any potential borders causing highlights */
    box-shadow: none !important; /* Remove any box-shadow causing highlights */
}

/* Ensure MetaRadio Widget Block has Consistent Background */
#block-24, /* Assuming this is the MetaRadio widget block */
.metaradio_widget_nowplaying1_recent {
    background-color: #000000 !important;
    border: none !important;
}

/* Metaradio Now/Previously Played on Archives Page */
.metaradio_songfinder,
#metaradio_songfinder > form > select.day,
#metaradio_songfinder > form > select.hour {
    color: #000000;
}

/* Listen Here in Sidebar Block-22 */
#block-22 {
    padding-top: 18px !important;
    padding-bottom: 18px !important;
}

/* Rounded Corners in Sidebar */
#left-sidebar .widget {
    border-radius: 8px;
}

/* Rounded Corners for Front Page Blog Posts */
#primary .inside-article {
    border-radius: 8px !important;
    overflow: hidden !important;
}

/* Header Archive Box - Styles for the Archives Block in the Header */
.main-navigation.sub-menu-right {
    border-radius: 8px !important;
}
.main-navigation.sub-menu-right a {
    font-size: 16px;
    font-weight: bold;
}

/* Blog Post Tags - Increase Size of All Tag Links */
article .tags-links a {
    font-size: 18px;
}

/* Blog Post Categories - Increase Size of All Category Links */
article .cat-links a[rel="category tag"] {
    font-size: 18px;
}

/* Hide NTR Archives Link Block on Archives and Page ID 96 */
body.archive #inside-left-sidebar #block-20,
body.page-id-96 .inside-left-sidebar #block-20 {
    display: none !important;
}

/* North Texas Radio Sidebar Link Color for Homepage Only */
body.home #block-26 a {
    color: #b2b2be !important;
}

/* Mobile Styles for Screens 768px or Smaller */
@media (max-width: 768px) {
    /* Reorder Left Sidebar Above Content */
    .left-sidebar .site-content {
        display: flex;
        flex-direction: column-reverse;
    }

/* Mobile Styles for Screens 768px or Smaller in Portrait Orientation */
@media (max-width: 768px) and (orientation: portrait) {
    body {
        background-color: #000000 !important;
    }
}

    /* Hide Main Content Area on Front Page Only */
    .home .content-area,
    .home .inside-article {
        display: none !important;
    }

    /* Reorder Content Above Sidebar on Archive Page */
    .archive.left-sidebar .site-content {
        display: flex !important;
        flex-direction: column !important;
    }

    /* Header Background */
    .site-header,
    .main-navigation {
        background-color: #000000 !important;
    }

    /* Footer Background */
    .site-footer,
    .footer-widgets,
    .site-info {
        background-color: #000000 !important;
    }

    /* Center Text in Sidebar Widget */
    #block-26 .gb-text-0b25bb72,
    #block-26 h1 {
        text-align: center !important;
    }
}

/* Remove "Built by GeneratePress" from Footer */
.copyright-bar {
    visibility: hidden;
    position: relative;
}
.copyright-bar .copyright {
    visibility: visible;
    display: inline-block;
    white-space: nowrap;
    position: static;
}

/* Hide Sidebar on Archives Page (All Devices) */
body.page-id-96 .widget-area.sidebar.is-left-sidebar,
body.page-id-96 #left-sidebar,
body.page-id-96 .inside-left-sidebar {
    display: none;
}

/* Ensure Content Area is Full Width on Archives Page (All Devices) */
body.page-id-96 .content-area,
body.page-id-96 #primary {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Disable Flex Layout on Archives Page (All Devices) */
body.page-id-96 .site-content {
    display: block;
}

/* Remove Padding on Listen Here Widget on Archives Page */
body.page-id-96 aside#block-22.widget.inner-padding {
    padding: 0;
}

/* Mobile Styles for Archives Page */
@media (max-width: 768px) {
    body.page-id-96 {
        background-color: #000000;
    }
    body.page-id-96 .gb-element-e34b981c > div:nth-child(2) h1.gb-text-d6ccaedf {
        float: none;
        text-align: center;
        width: 100%;
    }
    body.page-id-96 .gb-element-e34b981c > div:first-child {
        text-align: center;
    }
    body.page-id-96 .gb-text-184e958a {
        display: block;
        width: 100%;
    }
}

/* Archives in Sidebar Block-30 */
#block-30 {
    padding: 18px 0;
}

/* Recent Post Widget Date */
.rpwwt-post-date {
    color: #f0e68c;
}

/* Adjust Post Date Size */
.posted-on time,
.entry-date {
    font-size: 16px;
}

/* Recent Post Widget Margin */
.rpwwt-widget ul {
    margin-left: -30px;
}

/* Dots Between Tags */
.post-tags .tag-links a::after {
    content: '\2022';
    color: #f0e68c;
    font-size: 1.5em;
    vertical-align: middle;
    margin: 0 0.5em;
    display: inline-block;
}

/* Sidebar Page Title for Previous/Next */
.dynamic-title {
    text-align: center;
    font-weight: 600;
    font-size: 50px;
}

/* Navigation Links */
.nav-links {
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
}

.nav-previous a,
.nav-next a {
    padding: 0 10px;
}

/* Home and Archives Links Below Post Content */
.home-link {
    margin-top: 20px; /* Adjust margin as needed */
    padding-left: 23px; /* Adjust padding as needed */
    text-align: left;
}

.archives-link {
    margin-top: 0px; /* Kept as per your update */
    padding-top: 1px; /* Added adjustable top padding */
    padding-left: 20px; /* Kept as per your update */
    text-align: left;
}

/* Home and Archives Links with Icons Above Post Title */
.home-icon-link {
    margin: 0; /* Adjust margin as needed */
    padding: 7px 40px 8px 0; /* Adjust padding as needed */
    font-size: 20px;
    text-align: right; /* Aligns to the right */
}

.archives-icon-link {
    margin: -2; /* Adjust margin as needed */
    padding: 0px 17px 8px 0; /* Adjust padding as needed */
    font-size: 20px;
    text-align: right; /* Aligns to the right */
}

.home-icon-link a,
.archives-icon-link a {
    text-decoration: none;
}

.home-icon-link a:hover,
.archives-icon-link a:hover {
    text-decoration: none; /* Consistent hover effect for usability */
}

/* Blog Post Image Default Width */
.blog .post-image img {
/* Hide Sidebar on Archives Page (All Devices) */
body.page-id-96 .widget-area.sidebar.is-left-sidebar,
body.page-id-96 #left-sidebar,
body.page-id-96 .inside-left-sidebar {
    display: none;
}

/* Ensure Content Area is Full Width on Archives Page (All Devices) */
body.page-id-96 .content-area,
body.page-id-96 #primary {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Disable Flex Layout on Archives Page (All Devices) */
body.page-id-96 .site-content {
    display: block;
}

/* Remove Padding on Listen Here Widget on Archives Page */
body.page-id-96 aside#block-22.widget.inner-padding {
    padding: 0;
}

/* Mobile Styles for Archives Page */
@media (max-width: 768px) {
    body.page-id-96 {
        background-color: #000000;
    }
    body.page-id-96 .gb-element-e34b981c > div:nth-child(2) h1.gb-text-d6ccaedf {
        float: none;
        text-align: center;
        width: 100%;
    }
    body.page-id-96 .gb-element-e34b981c > div:first-child {
        text-align: center;
    }
    body.page-id-96 .gb-text-184e958a {
        display: block;
        width: 100%;
    }
}

/* Archives in Sidebar Block-30 */
#block-30 {
    padding: 18px 0;
}

/* Recent Post Widget Date */
.rpwwt-post-date {
    color: #f0e68c;
}

/* Adjust Post Date Size */
.posted-on time,
.entry-date {
    font-size: 16px;
}

/* Recent Post Widget Margin */
.rpwwt-widget ul {
    margin-left: -30px;
}

/* Dots Between Tags */
.post-tags .tag-links a::after {
    content: '\2022';
    color: #f0e68c;
    font-size: 1.5em;
    vertical-align: middle;
    margin: 0 0.5em;
    display: inline-block;
}

/* Sidebar Page Title for Previous/Next */
.dynamic-title {
    text-align: center;
    font-weight: 600;
    font-size: 50px;
}

/* Navigation Links */
.nav-links {
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
}

.nav-previous a,
.nav-next a {
    padding: 0 10px;
}

/* Home Link Below Post Content */
.home-link {
    margin-top: 20px;
    text-align: left;
    padding-left: 23px;
}

/* Home Link with Icon Above Post Title */
.home-icon-link {
    padding: 8px 40px 8px 0; /* Adjusted for consistency, includes right padding */
    font-size: 20px;
    text-align: right; /* Aligns the link to the right */
}

.home-icon-link a {
    text-decoration: none;
    color: #333; /* Added default color for consistency */
}

.home-icon-link a:hover {
    text-decoration: underline; /* Added hover effect for usability */
}

/* Blog Post Image Default Width */
.blog .post-image img {
    width: 100%;
    max-width: 800px;
    height: auto;
}

/* Hide Album Art */
.metaradio_widget_nowplaying1_albumart,
.recent-item-albumart {
    display: none;
}

/* Hide Radio Player URL Button */
.metaradio_widget_nowplaying1_play {
    display: none;
}

/* Now Playing and Recently Played Widget (#block-24) */
#block-24 .metaradio_widget_nowplaying1_main {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 24px;
}

#block-24 .metaradio_widget_nowplaying1_recent {
    padding-left: 24px;
}

/* Ensure No Overriding of Theme Padding or Margins */
#block-24 {
    padding: inherit;
    margin: inherit;
}width: 100%;
    max-width: 800px;
    height: auto;
}

/* Hide Album Art */
.metaradio_widget_nowplaying1_albumart,
.recent-item-albumart {
    display: none;
}

/* Hide Radio Player URL Button */
.metaradio_widget_nowplaying1_play {
    display: none;
}

/* Now Playing and Recently Played Widget (#block-24) */
#block-24 .metaradio_widget_nowplaying1_main {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 24px;
}

#block-24 .metaradio_widget_nowplaying1_recent {
    padding-left: 24px;
}

/* Ensure No Overriding of Theme Padding or Margins */
#block-24 {
    padding: inherit;
    margin: inherit;
}