@charset "UTF-8";

/* Mobile-specific styles */
@media (max-width: 767px) {
    html, body {
        overflow-x: hidden;
    }

    /* Ensure no element causes overflow */
    * {
        box-sizing: border-box;
    }

    /* Specific elements that might cause overflow */
    .container, .wrapper, .content {
        max-width: 100%;
        overflow-x: hidden;
    }
}

/* General styles for embedded elements in Elementor */
.elementor embed, .elementor iframe, .elementor object, .elementor video {
    max-width: 100%;
    height: auto;
    margin: 0;
    line-height: 1;
    border: none;
}

/* Adjusting the Gmedia-header-right section */
.Gmedia-header-right {
    width: auto; /* Ensure it doesn't take full width */
    display: flex; /* Use flexbox for alignment */
    align-items: center; /* Center items vertically */
    justify-content: flex-end; /* Align items to the right */
    padding: 0 15px; /* Add padding if needed */
}

/* Additional adjustments for the header elements */
.Gmedia-shop-btn-holder {
    margin-right: 15px; /* Add margin to the right */
}

.navbar-brand {
    margin-right: 20px; /* Space between logo and navigation */
}

/* Media queries for responsiveness */
@media (max-width: 991px) {
    .Gmedia-header-right {
        width: 100%; /* Full width on smaller screens */
        justify-content: center; /* Center items on smaller screens */
    }

    /* Adjust video height for mobile view */
    .elementor iframe, .elementor embed, .elementor object, .elementor video {
        width: 100%; /* Full width on smaller screens */
        height: auto; /* Maintain aspect ratio */
    }
}

/* Optional: Specific adjustments for different screen sizes */
@media (max-width: 767px) {
    .elementor iframe, .elementor embed, .elementor object, .elementor video {
        width: 100%; /* Full width on smaller screens */
        height: auto; /* Maintain aspect ratio */
    }
}

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

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
#loop.video-container {
    border-radius: 30px 30px 0 0; /* Top-left and top-right corners */
}

/* Favorite Shows */
/* Default button styles */
button.favorite-show, button.unfavorite-show, #primary button {
    background-color: var(--e-global-color-primary);
    color: var(--wp--preset--color--white);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-family: Poppins, sans-serif;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

/* Hover effect */
button.favorite-show:hover, button.unfavorite-show:hover, #primary button:hover {
    background-color: var(--e-global-color-secondary);
}

/* Container styles */
#primary {
    max-width: 1140px;
    margin: 0 auto;
    padding: 20px;
}

/* Label styles */
#primary label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

/* Input styles */
#primary input {
    width: 100%;
    padding: 8px;
    margin-bottom: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Error message styles */
.errors {
    background-color: #ffdddd;
    color: #d8000c;
    padding: 10px;
    border: 1px solid #d8000c;
    border-radius: 4px;
    margin-top: 16px;
}

/* List styles */
#favorite-shows ul, #analytics ul {
    list-style-type: none;
    padding: 0;
}

/* List item styles */
#favorite-shows li, #analytics li {
    margin-bottom: 10px;
}

/* Mobile-specific styles */
@media (max-width: 768px) {
    button.favorite-show, button.unfavorite-show, #primary button {
        padding: 8px 15px;
        font-size: 14px;
    }
    
    #primary {
        padding: 15px;
    }

    #primary label {
        font-size: 14px;
    }

    #primary input {
        padding: 6px;
    }
}

/* Hide the title field on the create-account template */
.page-template-create-account .entry-title {
    display: none;
}

/* Push notifications Button*/
#subscribe-push-notifications {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px 20px;
    background-color: #36731A;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    z-index: 1000; /* Ensure it appears above other elements */
}

/* Button default styles */
/* Button base styles */
button, 
[type="submit"], 
[type="button"] {
  display: inline-block;
  font-weight: 400;
  color: var(--wp--preset--color--white); /* Change text color to white */
  text-align: center;
  white-space: nowrap;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  background-color: var(--e-global-color-primary); /* Set background color to primary */
  border: 1px solid var(--e-global-color-primary); /* Border color to match background */
  padding: 0.5rem 1rem;
  margin: 10px 0px;
  font-size: 1rem;
  border-radius: 3px;
  transition: all 0.3s;
}

/* Button hover and focus styles */
button:hover, 
button:focus, 
[type="submit"]:hover, 
[type="submit"]:focus, 
[type="button"]:hover, 
[type="button"]:focus {
  color: var(--wp--preset--color--white); /* Keep text color white on hover/focus */
  background-color: var(--e-global-color-secondary); /* Change background to secondary color */
  border-color: var(--e-global-color-secondary); /* Match border color with background */
}

/* Disabled button styles */
button:disabled, 
[type="submit"]:disabled, 
[type="button"]:disabled {
  color: #b0b0b0; /* Gray text color for disabled state */
  background-color: #e0e0e0; /* Light gray background for disabled state */
  border-color: #b0b0b0; /* Gray border for disabled state */
  cursor: not-allowed; /* Change cursor to indicate disabled state */
}

/*Loop Grid*/
.custom-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.custom-grid-item {
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 5px;
}

.custom-grid-item-thumbnail img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.custom-grid-item-title {
    font-size: 1.2em;
    margin: 10px 0;
}

.custom-grid-item-meta {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 10px;
}

.custom-grid-item-excerpt {
    font-size: 0.95em;
}