
@media only screen {.preview-mode-theme-mismatch-warning {display: none !important;}
}

.custom-button {
	font-size: 11px !important;
	padding: 0px 5px !important;
}

.navbar-nav {    
    text-align: center;
}

@media screen and (min-width: 600px) {
  .fdy-normal-logo, 
  .branding-site-title, 
  .navbar-nav {
    margin-top: -30px;
  }

  .d-block {
    margin-top: 30px;
  }
}

@media screen and (max-width: 400px) {
  .mobile-icon-btn {
    font-size: 0 !important; /* Hides the text */
  }
  
  .mobile-icon-btn i, 
  .mobile-icon-btn svg {
    font-size: 16px !important; /* Restores the icon size - adjust this number if your icons look too small/big */
    margin-right: 0 !important; /* Removes the space between the icon and the hidden text */
  }
}

.sticky-top {
  position: -webkit-sticky; /* For older Safari support */
  position: sticky ! important;
  top: 0;
  z-index: 1020; /* Ensures it stays on top of everything else */
}

/* Poster 2 - Category Buttons (With Red Border) */
.poster-archive-categories a,
.blog-entry-category a {
    display: inline-block;
    padding: 2px 15px;
    margin: 2px !important;
    background-color: #454A55;
    color: #fff !important;
    border-radius: 20px 20px 20px 0px;
    border: 0px solid #F34148; /* The red border is now active and visible */
    font-size: 14px;
    font-weight: normal;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    touch-action: manipulation;
    transition: all 0.2s ease-in-out;
}

/* Hover state */
.poster-archive-categories a:hover,
.blog-entry-category a:hover {
    background-color: #B2B8C2;
    color: #454A55 !important;
    border-color: #B2B8C2; /* Changes the border to match the hover background. Change this if you want the red border to stay on hover! */
}

/* 1. The Search Wrapper (Handles the sizing and right-alignment) */
.search-poster2 {
    max-width: 300px; 
    margin-left: auto; /* Pushes the whole stack to the right */
    margin-right: 0;
}

/* 2. The Actual Text Field (Handles the visual design) */
.search-poster2 input {
    width: 100%; /* Fills the 300px wrapper */
    box-sizing: border-box;
    padding: 5px 10px;
    background-color: #ffffff; /* Change to #ebebeb if you want it grey instead of white */
    border: 1px solid #C0C0C0; 
    border-radius: 20px 20px 20px 0px;
    font-size: 16px;
    color: #919191;
    outline: none; 
    -webkit-appearance: none; 
    box-shadow: none; 
}