#blog_editor .ql-toolbar {
	position: sticky;
	top: 0;
	z-index: 10;
	background: #fff;
}

.low-res {
  filter: blur(5px);
  transition: opacity 0.5s ease;
}

.popup {
	max-width: 90vw;
	max-height: 90vh;
	overflow: hidden;
}

.spread-container {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

@media (max-width: 600px) {
  .spread-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
}


.rounded {
	border-radius: var(--border-radius);
}

.billboard {
	border-radius: 10px;
	line-height:3em;
	color:white;
	font-family:Quicksand,sans-serif;
	font-weight:700;
	font-style: normal;
	font-size:clamp(1.8rem, 6vw, 4.5em);
	background-color: var(--color-link);
}

.billboard-fixed {
	font-size: 1.8rem;
}

.search-container {
    position: relative;
    width: 50%;
    margin: 0.5rem auto;
}

.search-container input {
    width: 100%;
}

.ph {
  font-weight: bold;
}

.pill-group {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.pill {
  appearance: none;
  border: 2px solid var(--color-link);
  background: none;
  color: var(--color-link);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: normal;
  transition: all 0.15s ease;
  user-select: none;
}

.pill:hover {
  filter: brightness(var(--hover-brightness));
}

.pill.active {
  background: var(--color-link);
  color: var(--color-bg);
  border-color: var(--color-link);
}

/* MVP Overrides*/

a {
    text-decoration: none;
}

nav {
	margin-bottom: 0rem;
}

nav h3 {
	font-family:Quicksand,sans-serif;
	font-weight:200;
	font-style: normal;
}

.popup img {
	height:auto;
	width:100%;
	border-radius: var(--border-radius);
	padding-top:20px;
	padding-bottom:20px
}

.ss-viewer {
	display: flex;
	align-items: center;
	gap: 0.25rem;
}

.ss-main {
	flex: 1;
	min-width: 0;
	text-align: center;
}

#ss-img {
	max-height: calc(90vh - 6rem);
	max-width: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
}

#ss-caption {
	font-size: 0.9rem;
	margin-top: 0;
	color: var(--color-text-secondary);
}

.ss-btn {
	flex-shrink: 0;
	background: none;
	border: none!important;
	font-size: 3.5rem;
	line-height: 1;
	cursor: pointer;
	padding: 0 0.25rem;
	color: var(--color-link);
	opacity: 0.6;
}

.ss-btn:hover {
  border: none!important;
  filter: brightness(var(--hover-brightness));
	opacity: 1;
}

.ss-btn:focus,
.ss-btn:active:focus {
	border: none!important;
	outline: none;
}

dialog button {
	color: white;
}

dialog button:focus {
    border: 2px solid var(--color-link);
	outline: unset;
}

dialog button:active:focus {
    border: 2px solid var(--color-link);
	outline: unset;
}

.rating {
  display: inline-flex;
  flex-direction: row-reverse;
  gap: 0.25rem;
}

.rating input {
  display: none;
}

.rating label {
  font-size: 2rem;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: color 0.2s ease;
}

/* Hover effect */
.rating label:hover,
.rating label:hover ~ label {
  color: var(--color-link);
}

/* Selected state */
.rating input:checked ~ label {
  color: var(--color-link);
}

.firework {
  position: absolute;
  width: 10px;
  height: 10px;
  background: radial-gradient(circle, #0097fc, transparent);
  border-radius: 100%;
  pointer-events: none;
  animation: explode 1500ms ease-out forwards;
  z-index: 1000;
}

@keyframes explode {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(var(--x), var(--y)) scale(0.5);
    opacity: 0;
  }
}

.grid {	
	text-align: center;
}

input[type="text"]#website { display: none; }

.truncate {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; /* number of lines */
    overflow: hidden;
}

/* Skeleton cards */
@keyframes skel-shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position:  400px 0; }
}

.skel {
  background: linear-gradient(90deg, var(--color-bg-secondary, #e0e0e0) 25%, var(--color-bg-secondary-light, #f0f0f0) 50%, var(--color-bg-secondary, #e0e0e0) 75%);
  background-size: 800px 100%;
  animation: skel-shimmer 1.4s ease-in-out infinite;
  border-radius: var(--border-radius);
}

.skel-title  { height: 1.4rem; width: 70%; margin-bottom: 0.5rem; }
.skel-sub    { height: 0.85rem; width: 45%; margin-bottom: 0.75rem; }
.skel-img    { height: 160px; width: 100%; margin-bottom: 0.75rem; }
.skel-line   { height: 0.8rem; width: 100%; margin-bottom: 0.4rem; }
.skel-line-short { width: 60%; }

/* HTML: <div class="loader"></div> */
.loader {
  width: 55px;
  aspect-ratio: 1;
  --g1:conic-gradient(from  90deg at top    3px left  3px,#0000 90deg,var(--color-link) 0);
  --g2:conic-gradient(from -90deg at bottom 3px right 3px,#0000 90deg,var(--color-link) 0);
  background:
    var(--g1),var(--g1),var(--g1),var(--g1), 
    var(--g2),var(--g2),var(--g2),var(--g2);
  background-position: 0 0,100% 0,100% 100%,0 100%;
  background-size: 25px 25px;
  background-repeat: no-repeat;
  animation: l11 1.5s infinite;
}
@keyframes l11 {
  0%   {background-size:35px 15px,15px 15px,15px 35px,35px 35px}
  25%  {background-size:35px 35px,15px 35px,15px 15px,35px 15px}
  50%  {background-size:15px 35px,35px 35px,35px 15px,15px 15px}
  75%  {background-size:15px 15px,35px 15px,35px 35px,15px 35px}
  100% {background-size:35px 15px,15px 15px,15px 35px,35px 35px}
}