/* Risky Business Style style.css */

/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;700&display=swap');

/* General Styles */

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #F4F4EE; /* Beige background */
    color: #1E1E1E; /* Default text color (Black) */
    margin: 0;
    padding: 0;
}

.wrapper {
    flex: 1; /* This will make sure the content grows to fill available space */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Ensures the footer is pushed to the bottom */
}

blockquote:not([class]) { 
    font-weight: 300;
    line-height: 27px;
    font-size: 17px;
    border-left: 4px solid #ccc !important;
}

/* Color Palette */
.black {
    color: #1E1E1E;
}

.dark-gray {
    color: #666666;
}

.light-gray {
    color: #D7D7D7;
}

.beige {
    color: #F4F4EE;
}

.white {
    color: #FEFEFE;
}

/* Text Styles - Desktop */
h1 {
    font-size: 57px;
    font-weight: 700; /* Inter Bold */
    color: #1E1E1E;
}

h2 {
    font-size: 32px;
    font-weight: 700; /* Inter Bold */
    color: #1E1E1E;
}

h3 {
    font-size: 18px;
    font-weight: 600; /* Inter Semi Bold */
    color: #1E1E1E;
}

h4 {
    font-size: 14px;
    font-weight: 700; /* Inter Bold */
    color: #1E1E1E;
}

p, li {
    /*   
    font-size: 18px;
    font-weight: 400; 
    color: #1E1E1E;
    */
    color: #1E1E1E;
    font-size: 17px;
    line-height: 27px;
    padding-bottom: 13px;
    font-weight: 300;
    
}

strong {
    font-weight: 600;
}

.home p { 
    font-size: 14px;
    line-height: 21px;
    }

.pod-logo {
	height: 100px;
	float: left;
	margin-left: -15px;
	margin-right: -5px;
}

li { 
    padding-bottom: 6px; 
    }

p.small, .item p.small, .post-content.newsletter p.small {
    font-size: 14px;
    font-weight: 400; /* Inter Regular */
    color: #666666;
    padding-bottom: 0px;
    line-height: 16px;
}

p.small a {
    text-decoration-color: #ccc; /* Change this to your desired underline color */
    text-decoration-thickness: 1px; /* Optional: Adjust underline thickness */
    color: #666;
}

p.smaller {
    font-size: 14px;
    font-weight: 400; /* Inter Regular */
    color: #1E1E1E;
}

a { 
    color: #1E1E1E;
 }

hr {
    margin: 60px 30px 0px 0px;
    color: #D7D7D7;

 }

 .with-byline { 
    margin-bottom: 0px;
    padding-bottom: 0px;
 } 

 .post-content p.byline { 
    font-size: 18px;
    color: #666666;
    margin-top: 5px;
    margin-bottom: 30px;
 }

.spacer-10 { 
    width: 100%; 
    height: 10px; 
}

.spacer-20 { 
    width: 100%; 
    height: 20px; 
}

.searchicon { 
    width: 20px;
    height: 20px;
}

.searchtext { 
    display: none;
}

img.icon {
	width: 1.2em;
	height: 1.2em;
	vertical-align: -0.125em;
}

ul#search-results {
	list-style: none;
}

#search-results li time {
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum' 1, 'lnum' 1;
  margin-left: 0.3em;
  margin-right: 0.3em;
}

 /* Layout specific styles */
        .container {
            max-width: 1120px;
            width: 100%;
            margin: 0 auto;
            padding: 0px;
        }

        .header {
            height: 70px;
            padding: 15px !important;
            text-align: center;
            background-color: #FEFEFE; /* White background from the color palette */
            border-bottom: 1px solid #D7D7D7;
        }

        .header .logo {
            height: 70px; /* Placeholder for logo */
            float: left;

        }

        .header .logoicon {
    animation: spin 3.5s cubic-bezier(0.25, 1, 0.5, 1) 1;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(720deg);
    }
}


        .nav {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 25px;
            float: right;
        }

        .nav h3 a {
            color: #666666;
            text-decoration: none;
            font-weight: 500;
            font-size: 18px;
            line-height: 22px;
            display: block;
            margin-left: 20px; 
            height: 40px;
        }

        .nav h3 a:hover, .nav h3 a.active { 
            border-bottom-width: 4px;
            border-bottom-color: #1E1E1E;
            border-bottom-style: solid;
        }

        /* Show nav when active at desktop size even when the hide class is on it */
        nav.hide {
            display: flex !important;
            opacity: 1; /* Fade in */
        }

        .hero { 
            padding-bottom: 85px;
            padding-left: 40px;
            padding-right: 40px; 
        }

        .hero h1 { 
            padding-bottom: 0px;
            margin-bottom: 0px; 
        }

        .hero p {
            color: #666666; 
        }

        /* 2-Column Page Styles */
        .content-wrapper { 
            display: flex;
            justify-content: space-between;
            gap: 20px;

        }

        /* Main content */
        .content-main {
            flex: 0 0 770px;
            max-width: 770px;
        }


        /* Sidebar */
        .sidebar {
            flex: 0 0 330px;
            height: fit-content;
        }

        /* Sidebar links */
        .sidebar ul {
            list-style: none;
            padding: 0;
        }

        .sidebar ul li {
            margin-bottom: 15px;
        }

        .sidebar ul li a {
            text-decoration: none;
            color: #333;
        }

        .sidebar ul li a:hover {
            text-decoration: underline;
        }

        .main-content {
            padding: 40px 0;
            flex: 1; /* Pushes the footer down */
            padding-left: 16px;
            padding-right: 16px;
            box-sizing: border-box; /* Includes padding in the element's width */
        }


        .post-content {
            background: #FEFEFE;
            border: 1px solid #D7D7D7;
            padding: 35px 36px 50px 36px;
            border-radius: 8px;
            margin-bottom: 30px;
            opacity: 0;
            transform: translateY(20px);
            /*font-size: 14px;
            font-weight: 300;
            line-height: 21px;
            color: #666666;*/
            animation: fadeInUp 0.6s ease forwards;
        }

        .post-content p { 
            /*font-size: 14px;
            font-weight: 300;
            line-height: 21px;
            color: #666666;
            
            color: #1E1E1E;
            font-size: 17px;
            line-height: 27px;
            padding-bottom: 13px;
            */
        }

        .post-content.newsletter p {
            color: #1E1E1E;
            font-size: 17px;
            line-height: 27px;
            padding-bottom: 13px;
        }

        .post-content.newsletter h3 {
            font-size: 24px;;
        }

        .post-content h2:first-of-type { 
            margin-top: 0px; 
        }


        .item-grid {
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
            justify-content: flex-start; /* Align items to the left */
            padding-bottom: 40px;
        }

        .item {
            height: 590px;
            background-color: white;
            border-radius: 8px;
            padding: 30px;
            flex: 0 1 calc(50% - 72px); /* Adjusted calc for two columns */
            /* box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1); */
            border-style: solid;
            border-width: 1px;
            border-color: #D7D7D7;
            opacity: 0;
            transform: translateY(20px);
            animation: fadeInUp 0.6s ease forwards;
        }

        .item.home.sidebar {
            height: auto;  
        }

        .item:nth-child(1), .post-content:nth-child(1) { animation-delay: 0.1s; }
        .item:nth-child(2), .post-content:nth-child(2) { animation-delay: 0.2s; }
        .item:nth-child(3), .post-content:nth-child(3) { animation-delay: 0.3s; }
        .item:nth-child(4), .post-content:nth-child(4) { animation-delay: 0.4s; }
        .item:nth-child(5), .post-content:nth-child(5) { animation-delay: 0.5s; }
        .item:nth-child(6), .post-content:nth-child(6) { animation-delay: 0.6s; }
        .item:nth-child(7), .post-content:nth-child(7) { animation-delay: 0.7s; }
        .item:nth-child(8), .post-content:nth-child(8) { animation-delay: 0.8s; }
        .item:nth-child(9), .post-content:nth-child(9) { animation-delay: 0.9s; }
        .item:nth-child(10), .post-content:nth-child(10) { animation-delay: 1s; }

        .sponsor-grid {
          display: grid;
          grid-template-columns: repeat(6, 1fr); /* 6 columns of equal width */
          gap: 20px; /* Space between the sponsor logos */
          padding: 20px;
        }

        .sponsor {
          display: flex;
          justify-content: center;
          align-items: center;
        }

        .sponsor img {
          max-width: 100%; /* Ensure the logo scales down properly */
          height: auto;
        }

        /* FEEDS */
        .feed h3 { 
            padding-bottom: 0px; 
            margin-bottom: 0px;
            line-height: 22px; 
        } 

        .feed .post-date h3 { 
            font-size: 14px;
            line-height: 21px;
            color: #666666;
            font-weight: 400;
            margin: 0;
            padding: 0;
        }

        .feed h2.post-title {
            font-size: 32px;
            line-height: 36px;
            font-weight: 700;
        }

        .feed h2.post-title a {
            text-decoration: none;
        }

        .feed audio, video {
            width: 100%;
            height: auto;
            min-height: 50px;
            border-radius: 10px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        .sponsor-block {
            border: 1px solid #D7D7D7;
            border-radius: 8px;
            padding: 20px;
            margin-top: 20px;
            margin-bottom: 20px;
        }

        .sponsor-content {
            display: flex;
            align-items: center; /* Vertically center the content */
        }

        .sponsor-logo {
            /* max-width: 75px;  Adjust as needed 
            max-height: 75px;
            min-height: 75px; */
            width: 125px;
            margin-right: 30px; /* Adds space between logo and text */
        }

        .sponsor-details {
            font-size: 16px;
            line-height: 1.5;
            flex: 1; /* Allow the text to take remaining space */
        }

        .sponsor-details h3 {
            color: #666666; 
            margin-bottom: 5px;
            margin-top: 5px;
        }

        .sponsor-details p {
            margin: 0;
        }

        .sponsor-details a {
            text-decoration: none;
            font-weight: bold;
            color: #1E1E1E;
        }

        .sponsor-details a:hover {
            text-decoration: underline;
        }

/* AUDIO PLAYER */
.custom-audio-player {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    /* align-items: center; */ /* Removed to allow individual alignment */
    gap: 5px;
    padding-top: 0px;
    background: rgb(244,244,239);
    background: linear-gradient(0deg, rgba(244,244,239,1) 0%, rgba(244,244,239,0) 100%);
    border-radius: 8px;
    border: 1px solid #d7d7d7; 
    width: 100%;
}

/* Player Title */
.playerTitle {
    background: #666666;
    color: #FEFEFE;
    /* text-align: center; Center the title text */
    font-size: 14px; 
    width: 90%;
    padding-left: 5%;
    padding-right: 5%;
    padding-top: 10px; 
    padding-bottom: 10px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* Add ellipsis if title is too long */
    margin-bottom: 10px; /* Space between title and controls */
}

/* Player Controls */
.player-controls {
    display: flex;
    align-items: center;
    justify-content: center; /* Center the controls horizontally */
    gap: 10px;
    width: 90%; /* Adjust as needed */
    margin: 0 auto; /* Center the controls container */
}

.player-controls input[type="range"] {
    flex-grow: 1;
    -webkit-appearance: none;
    height: 5px;
    background: #ddd;
    border-radius: 8px;
    outline: none;
    cursor: pointer;
}

.player-controls .currentTime, .player-controls .duration { 
    font-size: 12px;
    font-weight: 200;
}

.player-controls button {
    color: #1e1e1e;
    background-color: #FAFAFA;
    font-size: 18px;
    border: none;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    height: 42px;
    width: 42px;
    text-align: center;
}

.player-controls button:hover {
    background-color: #666666;
    color: #fefefe;
}


/* Subscribe Buttons */
.custom-audio-player #subscribeButtons {
    width: 95%; /* Full width of the player */
    display: flex;
    justify-content: space-between; /* Distribute icons and logo */
    align-items: center; /* Align icons and logo vertically */
    padding-left: 5%; /* Add padding for spacing */
}

.custom-audio-player #subscribeButtons .subscribe-Text { 
    padding-right: 20px;
 }

/* Subscribe Icons */
.custom-audio-player #subscribeButtons .subscribe-icons { 
    display: flex;
    align-items: center;
    gap: 0px; /* Space between icons */
    margin: 0; /* Reset margin */
    flex-grow: 1; /* Allow icons to take up remaining space */
    padding-bottom: 20px;
}

/* Align Logo */
.custom-audio-player .playerLogo {
    margin-left: 0; /* Reset margin to avoid conflict */
    height: 32px;
    display: block;
    padding-right: 5%;
    margin-top: -20px;
}

/* Base styles for the icons */
.custom-audio-player .subscribe-icons a {
    display: block;
    width: 44px;
    height: 44px;
    background-image: url('/static/img/icons/subscribe-icons.svg');
    background-size: 704px 148px;
    transform: scale(0.75);
    transform-origin: center;
}






  


        /* Video Stuff Here */

        .video-embed {
            position: relative;
            padding-bottom: 56.25%; /* 16:9 aspect ratio */
            height: 0;
            overflow: hidden;
            max-width: 100%;
            background: #000;
        }

        .video-embed iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }

        .timecode {
            display: inline-block;
            background-color: #666666;
            color: #FEFEFE;
            padding: 0px;
            padding-left: 6px; padding-right: 7px;
            border-radius: 5px;
            text-decoration: none;
            font-size: 14px;
            font-family: Arial, sans-serif;
            transition: background-color 0.3s ease;
            position: relative;
            margin-bottom: 2px;
        }

        .timecode::before {
            content: '►';
            font-size: 10px;
            margin-right: 5px;
            position: relative;
            top: -1px; /* Adjust the vertical position of the emoji if needed */
        }

        .timecode:hover {
            background-color: #004d00; /* Dark green on hover */
        }


        /* Pagination */

        .pagination {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-top: 20px;
            max-width: 770px;
            width: fit-content;
            margin-left: auto;
            margin-right: auto;
            border-radius: 8px;
            border: 1px solid #D7D7D7;
            background-color: #FEFEFE;
        }

        .page-link, .page-number {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            margin: 0;
            text-decoration: none;
            color: #333;
            font-weight: bold;
            transition: background-color 0.3s ease;
        }

        .page-link span {
            font-size: 14px;
        }
        .page-number { 
            background-color: #D7D7D7;
        }
        .page-number:hover, .page-link:hover {
            background-color: #1E1E1E;
            color: #FEFEFE;
        }
        .page-ellipsis {
            padding: 0 10px;
            font-size: 18px;
            line-height: 40px;
        }
        .page-number.current {
            background-color: #1E1E1E;
            color: #FEFEFE;
        }

        .page-link.disabled {
            background-color: #D7D7D7;
            color: #ccc;
            pointer-events: none;
        }

        .page-link.prev, .page-link.next {
            font-size: 20px;
            font-weight: normal;
            padding: 0px;
        }

        .top-pagination { 
            flex: 0 0 770px;
            max-width: 770px;
            margin-bottom: 20px; 
            }


/* Keyframes for the animation */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

        .item h3 { 
            color: #666666; 
            margin-bottom: 0px;
            paddig-bottom: 0px;
            font-weight: 500;
        }

        .item h2 {  
            margin-top: 0px;
            paddig-top: 0px;
        }

        .item p { 
           /* 
            font-size: 14px; 
            line-height: 21px; 
            font-weight: 300px;
            color: #666666;
            */
        }

        /* Presenters Section */
        .presenters {
            display: flex;
            flex-wrap: wrap; /* Allows wrapping */
            gap: 20px;
            margin: 20px 0;
        }

        .presenter {
            display: flex;
            align-items: center;
            gap: 10px;
            max-width: calc(50% - 20px); /* Limits each presenter to half the container's width */
        }

        .presenter img {
            width: 62px;
            height: 62px;
            border-radius: 50%;
            border-style: solid;
            border-width: 5px;
            border-color: #F4F4EE;
        }

        .presenter-info strong {
            display: block;
            font-weight: bold;
            color: #1E1E1E;
        }

        .presenter-info {  
             display: flex;
            flex-direction: column; /* Ensures content stacks vertically */
            justify-content: center; /* Vertically centers text within the container */
        }
        
        .presenter-info p {
            color: #666666;
            font-size: 14px;
            line-height: 19px;
            margin: 0;
            padding-bottom: 0px;
        }

        /* Subscribe Icons */
        .subscribe-icons {
            display: flex;
            gap: 10px;
            margin: 20px 0;
        }

        .subscribe-icons a {
            display: block;
            width: 44px;
            height: 44px;
            background-image: url('/static/img/icons/subscribe-icons.svg'); 
            background-size: 704px 148px; /* This should be set to the total width and height of the base SVG */
        }

        .subscribe-icons a:hover {
            background-position-y: 64px;
        }

        /* Specific icon slices */
        .subscribe-icons .apple-podcast {
            background-position: 64px 128px;
        }

        .subscribe-icons .overcast-podcast {
            background-position: 188px 128px;
        }

        .subscribe-icons .pocketcast-podcast {
            background-position: 312px 128px;
        }

        .subscribe-icons .spotify-podcast {
            background-position: 560px 128px;
        }

        .subscribe-icons .rss-podcast {
            background-position: 436px 128px;
        }

        .subscribe-icons .youtube-podcast {
            background-position: 684px 128px;
        }


        /* Button */
        .episodes-button {
            display: inline-block;
            padding: 15px 20px;
            background-color: #1E1E1E;
            color: white;
            border: none;
            border-radius: 5px;
            font-size: 14px;
            cursor: pointer;
        }

        .episodes-button:hover {
            background-color: #333333;
        }

        .newsletter img, .kg-image {
            margin-right: auto;
            margin-left: auto;
            max-width: 620px;
            height: auto;
        }

        .newsletter iframe { 
            max-width: 100% !important;
            margin-left: auto;
            margin-right: auto;
            margin-top: 15px;
            margin-bottom: 15px;

        }
        
        .newsletter .kg-card { 
            padding-top: 20px;
            padding-bottom: 20px;
            text-align: center; 
        }

        .newsletter .kg-callout-card {
            text-align: left;
        }

        .newsletter .kg-callout-card [style="white-space: pre-wrap;"] {
            white-space: normal !important;
        }

        .newsletter .youtube-embed {
            width: 100%;
            height: auto;
        }

        .newsletter .youtube-embed iframe {
            width: 100%;
            min-height: 400px;
        }

        .newsletter figure { 
            margin: 0px; 
        }

        .sidebar {

        }

        .sidebar h3 { 
            font-size: 14px;
            font-weight: 400;
            line-height: 21px;
            color: #666666;
        }

        .sidebar ul li { 
            border-top-style: solid; 
            border-top-width: 1px;
            border-top-color: #D7D7D7;
            width: 100%;
            margin-top: 30px;
            padding-top: 30px;
            font-size: 18px;
            font-weight: 500;
            line-height: 22px;
            text-align: left;
            color: #1E1E1E;
        }

        /* Search */

        /* Container for search input and button */
        .search-container {
            display: flex;
            align-items: left;
            justify-content: left;
        }

        .search__input {  
            font-family: Inter;
            font-size: 18px;
            line-height: 50px;
            height: 50px;
            width: 280px;
            padding: 0px;
            padding-left: 10px;
            border-radius: 8px 0px 0px 8px;
            border: 1px solid #D7D7D7;
            box-shadow: none; /* Remove default shadow */
            background: #FEFEFE; /* Remove background if needed */
            appearance: none; /* Remove any platform-specific styling */
            opacity: 1; /* Ensure input is visible */
        }

        /* Submit button styling */
        .search-button {
            background-color: #333; /* Dark background */
            border: none;
            height: 50px;
            width: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 0px 8px 8px 0px; /* Rounded corners for the right side */
            cursor: pointer;
        }

        /* Search icon inside the button */
        .search-icon {
            fill: white; /* White search icon */
        }

        /* Remove default focus outline from button */
        .search-button:focus {
            outline: none;
        }

        .search__result-date {
            right: 30px;
        }

        .footer {
          padding: 0px;
          padding-top: 20px;
          padding-bottom: 30px;
          background-color: #1E1E1E;
          width: 100%;
          position: relative;

          /* Animation styles */
          opacity: 0;
          transform: translateY(30px);
          animation: fadeUp 1.2s ease-out forwards;
          animation-delay: 0.3s;
        }

        @keyframes fadeUp {
          to {
            opacity: 1;
            transform: translateY(0);
          }
        }
 

        .footer p, .footer li { 
            font-size: 14px;
            font-weight: 100;
            color: #FEFEFE; 
        }

        /* Footer Icons */
        .footer-icons {
            display: flex;
            gap: 10px;
            justify-content: center;
            margin: 20px 0;
        }

        .footer-icons a {
            display: block;
            width: 44px;
            height: 44px;
            background-image: url('/static/img/icons/footer-icons.svg'); 
            background-size: 580px 148px; /* This should be set to the total width and height of the base SVG */
        }

        .footer-icons a:hover {
            background-position-y: 64px;
        }

        /* Specific icon slices */
        .footer-icons .share {
            background-position: 64px 128px;
        }

        .footer-icons .linkedin {
            background-position: 312px 128px;
        }

        .footer-icons .youtube {
            background-position: 188px 128px;
        }

        .footer-icons .instagram {
            background-position: 560px 128px;
        }

        .footer-icons .twitter {
            background-position: 436px 128px;
        }

        .footer-columns {
          display: flex;
          flex-wrap: wrap;
          justify-content: space-between;
          padding: 40px 16px;
          color: #FEFEFE;
          background-color: #1E1E1E;
          gap: 20px;
        }

        .footer-column {
          flex: 1 1 200px;
          min-width: 200px;
        }

        .footer-column h4 {
          color: #F4F4EE;
          margin-bottom: 30px;
          font-size: 16px;
          font-weight: 700;
        }

        .footer-column ul {
          list-style: none;
          padding: 0;
          margin: 0;
        }

        .footer-column ul li {
          margin-bottom: 10px;
        }

        .footer-column ul li a {
          color: #FEFEFE;
          font-size: 14px;
          text-decoration: none;
        }

        .footer-column p.small a {
          color: #F4F4EE;
          font-size: 14px;
          text-decoration: underline;
        }

        .footer-column ul li a:hover {
          text-decoration: underline;
        }

        .footer-column p {
          color: #F4F4EE;
          font-size: 14px;
          line-height: 20px;
        }

        .footer-fineprint {
          text-align: center;
          padding: 20px 10px;
          background-color: #1E1E1E;
          color: #444444;
          font-size: 12px;
          line-height: 16px; 
          text-transform: uppercase;
        }


        .footer-logo {
          max-width: 300px;
          opacity: 0.5;
          margin-top: 30px;
          margin-bottom: 15px;
          margin-left: 0; /* Aligns with left edge of first column */
          display: block;
        }


        /* People Section */
        /* Container for the profile card */
        .profile-card {
            max-width: 50%px;
            margin: auto;
        }

        /* Profile photo styling */
        .profile-photo img {
            width: 210px;
            height: 210px;
            border-radius: 50%;
            border: 15px solid #f1f1f1;
            object-fit: cover;
            float: left;
        }

        /* Profile title styling */
        .profile-title { 
                        float:left;
                        margin-top: 65px; 
                        padding-left: 20px;
         }

        .profile-title h2 { 

            margin-bottom: 0px;
        }

        .profile-title p.byline {
            margin-bottom: 0px;
            padding-bottom: 5px;
        }

        /* Social media icons */
        .social-icons {
            display: flex;
            gap: 5px;
            margin-top: 5px;
        }

        .social-icons a.icon {
            display: block;
            width: 44px;
            height: 44px;
            background-image: url('/static/img/icons/social-icons.svg'); 
            background-size: 580px 148px; /* This should be set to the total width and height of the base SVG */
        }

        /* Trigger hover effect on .icon when hovering over .social-handle */
        .social-icons:hover .icon {
            background-position-y: 64px; /* Hover state of the .icon */
        }


        .social-icons .bluesky {
            background-position: 64px 128px;
        }

        .social-icons a.social-handle { 
            line-height: 40px;
        }

@media (max-width: 1120px) {
    .item {
        flex: 0 1 90%; /* Full width on smaller screens */
        margin-left: auto;
        margin-right: auto;
        height: auto;
        }
    }


/* Tablet */
@media (max-width: 1024px) {

    /* Navigation Menu (Hidden by default) */
    .nav {
        display: none;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        background-color: #1E1E1E;
        position: absolute;
        top: 0; /* Start from top */
        right: 0;
        width: 90%;
        padding: 5%;
        z-index: 999;
        opacity: 0; /* Initially invisible */
        margin-top: 100px;
        transform: translateY(-20px); /* Slide-up initial state */
        transition: all 0.3s ease-in-out; /* Smooth transition for slide and fade */
    }

    /* Show nav when active */
    .nav.active {
        display: flex;
        opacity: 1; /* Fade in */
        transform: translateY(0); /* Slide down */
    }

    /* Hide with reverse effect */
    .nav.hide {
        opacity: 0; /* Fade out */
        transform: translateY(-20px); /* Slide up */
    }

    /* Navigation Links */
    .nav h3 {
        display: block;
        margin: 0;
        border-bottom: 0.5px solid #D7D7D7;
        width: 100%;
        height: 80px;
        text-align: left;
    }

    .nav h3:last-child {
        border-bottom: none;
    }

    .nav h3 a { 
        color: #D7D7D7;
        line-height: 80px;
    }

    .nav h3 a:hover { 
        color: #FEFEFE;
    }

    /* Full clickable hamburger icon */
    .hamburger {
        display: block;
        position: absolute;
        right: 20px;
        top: 30px;
        width: 44px;
        height: 44px;
        cursor: pointer;
        background-color: transparent;
        z-index: 1000;
    }

    .hamburger div {
        width: 30px;
        height: 3px;
        background-color: #1E1E1E;
        margin: 6px 0;
        transition: 0.4s ease; /* Smooth transition */
    }

    /* Hamburger to X transformation */
    .hamburger.active div:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active div:nth-child(2) {
        opacity: 0; /* Hide the middle line */
    }

    .hamburger.active div:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hamburger.active div {
        margin: 4px 0;
    }

    /* Adjust hamburger position when active */
    .hamburger.active {
        top: 35px;
        transition: 0.4s ease; /* Smooth transition */
    }

    .searchicon { 
        display: none;
    }

    .searchtext { 
        display: inherit;
    }

    /* 2-Column Layouts revert to 1 column on Tablets- */
    .content-wrapper {
        flex-direction: column;
    }

    .content-main, .sidebar {
        flex: 1 0 auto;
        max-width: 100%;
    }

    .sidebar {
        margin-top: 20px;
    }


    .newsletter img { 
        max-width: 500px; 
    }

    .sponsor-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px; /* Reduce spacing between logos for smaller screens */
    }

}



/* Text Styles - Mobile */
@media (max-width: 768px) {
    h1 {
        font-size: 32px;
        font-weight: 700; /* Inter Bold */
    }

    h2 {
        font-size: 32px;
        font-weight: 700; /* Inter Bold */
    }

    h3 {
        font-size: 18px;
        font-weight: 600; /* Inter Semi Bold */
    }

    h4 {
        font-size: 14px;
        font-weight: 700; /* Inter Bold */
    }

    p {
        font-size: 16px;
        font-weight: 400; /* Inter Regular */
    }

    .main-content {
            padding-left: 10px;
            padding-right: 10px;
    }
}

    
.newsletter img { 
        max-width: 90%; 
    }

    .custom-audio-player .playerLogo 
        {
          height: 32px; padding-left: 5px;
        }

    .custom-audio-player #subscribeButtons .subscribe-Text { 
    font-size: 13px;
    flex: 0 1 auto;
    display: flex;
    align-items: center;
    padding-right: 10px;
    margin-bottom: 0;
 }


 .custom-audio-player #subscribeButtons .subscribe-Text strong { 

 }

 .sponsor-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px; /* Reduce spacing between logos for smaller screens */
    }



.catalog-search {
	padding-left: 40px;
}

.catalogtags ul {
	list-style-type: none;
	padding: 0px;
}

.catalogtags li {
	display: inline-block;	
	font-size: 14px;
	color: #666666;
	background-color: #ffffff;
	border: 1px solid #D7D7D7;
	padding: 5px 10px 5px 10px;
	margin-top: 10px;
	margin-right: 10px;
}
	

.tag-button {
	display: inline-block;	
	font-size: 14px;
	color: #666666;
	border: 1px solid #D7D7D7;
	padding: 5px 10px 5px 10px;
	margin-top: 10px;
	margin-right: 10px;
	cursor: pointer;
}

.tag-button.active {
    background: #555;
    color: white;
}


 @media (max-width: 575px) {
    .custom-audio-player .playerLogo { 
        display: none;
    }

    .header .logo {
        height: 45px;
        margin-top: 12px;
    }
}

