/* Fixing the lightbox */
.input-group .form-control {
	z-index: 0;
}

/* Modifications for sticky footer */
html {
	position: relative;
	min-height: 100%;
}
body {
	margin-bottom: 130px;
	background: white;
}
.sticky-footer {
	font-family: 'Segoe UI', Tahoma, Segoe UI, Arial, sans-serif;
	position: absolute;
	bottom: 0;
	height: 100px;
	background-color: #444444;
	width: 100%;
	padding-top: 20px;
	border-top: 1px solid #2f2f2f;
	margin-top: 50px;
}

.sticky-footer, .sticky-footer a {
	color: #eaeaea;
}

.sticky-footer a:hover {
	color: #dedede;
}


/* Helper classes */
.btn-dark {
    color: #fff;
    background-color: #191717;
    border-color: #000000;
}

.btn-dark:hover {
    color: #fff;
    background-color: #171717;
    border-color: #171717;
}

.shadow {
	text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.85);
	color: white;
}

.white, .white a {
  color: #fff;
}

.red {
	color: #c41745;
}

.green {
	color: #17C41E;
}

.inline {
	display: inline;
}

.center {
	text-align: center;
}

.clickable {
	cursor: pointer;
}

.table-fixed-full {
	table-layout: fixed;
	width: 100%;
}

.table-statistics tr td:first-child {
	font-weight: bold;
}

.no-underline, .no-underline:hover{
	text-decoration: none;
}

.panel-heading, .panel-body {
	word-break: break-all;
}

.opc  {
    opacity: .5;
    transition: opacity .5s ease-out;
    -moz-transition: opacity .5s ease-out;
    -webkit-transition: opacity .5s ease-out;
    -o-transition: opacity .5s ease-out;
}

.opc:hover {
    opacity: 1;
}

.media .media-body .media-span-opacity {
	opacity:0;
	transition: opacity .5s ease-out;
    -moz-transition: opacity .5s ease-out;
    -webkit-transition: opacity .5s ease-out;
    -o-transition: opacity .5s ease-out;
}

.media:hover .media-span-opacity {
	opacity: 1;

}

/* Category banner */
.panel-fixed {
	height: 150px;
}


/* No margin class */
.no-margin {
	margin: 0;
}

/* Overridez */
.panel {
	margin-bottom: 10px;
	border-radius: 0px;
}

.navbar-static-top {
	-webkit-box-shadow: 0px 1px 20px 0px rgba(73, 73, 73, 0.5);
	-moz-box-shadow: 0px 1px 20px 0px rgba(73, 73, 73, 0.5);
	box-shadow: 0px 1px 20px 0px rgba(73, 73, 73, 0.5);
	border: 0;
	background: #1E1E1E;
}
.navbar-no-margin {
	margin: 0;
}

.navbar-default .navbar-nav>li>a {
	color: #B8B8B8;;
}

.navbar-default .navbar-nav>li>a:hover {
	color: #D2D2D2;
}

.navbar-nav>li>.dropdown-menu {
	margin-left: -1px;
}

.dropdown-menu {
	background-color: #1E1E1E;
	border-top: 0;
}

.dropdown-menu>li>a:hover, .dropdown-menu>li>a:focus {
	color: #FFFFFF;
	background-color: #FD6C6C;
}

.dropdown-menu>li>a {
	padding: 8px 20px;
	color: #8C8C8C;
}
.navbar-default .navbar-nav>.open>a, .navbar-default .navbar-nav>.open>a:hover, .navbar-default .navbar-nav>.open>a:focus {
	background-color: #FD6C6C;
	color: #FFFFFF;
}

.navbar-default .navbar-brand {
	color: #909090;
	font-family: 'Segoe UI', Tahoma, Segoe UI, Arial, sans-serif;
}

.navbar-default .navbar-brand:hover, .navbar-default .navbar-brand:focus {
	color: #A1A1A1;
}

.nav-pills>li.active>a, .nav-pills>li.active>a:hover, .nav-pills>li.active>a:focus {
	color: #B8B8B8;
	background-color: #1E1E1E;
}

.form-control:focus {
	border-color: #EDACAC;
	outline: 0;
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(255, 0, 0, 0.35);
	box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(255, 0, 0, 0.35);
}

a.list-group-item.active, a.list-group-item.active:hover, a.list-group-item.active:focus {
	background-color: #FD6C6C;
	border-color: #FD6C6C;
}

.btn-group>.btn-group:first-child>.btn:last-child, .btn-group>.btn-group:first-child>.dropdown-toggle, .btn-group>.btn-group:last-child>.btn:first-child {
	border-radius: 0;
}

/* input labels */
.input-label-online {
	background-color: #5cb85c;
	color: white;
	border-color: #5cb85c;
}

.input-label-offline {
	background-color: #d9534f;
	color: white;
	border-color: #d9534f;
}

/* Server tables */

.server td {
	padding: 2px;
}

.server .banner {
	width: 468px;
	height: 60px;
}

.server .footer {
	vertical-align: top;
	width: 100%;
}

.server-address-control {
	width: 100%;
}

.server-address-control .form-control,
.server-address-control .input-group-btn .btn {
	min-height: 44px;
}

.server-address-control .form-control {
	height: 44px;
}

.server-primary-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 8px;
}

.server-primary-actions .btn {
	flex: 1 1 180px;
	min-height: 44px;
	white-space: normal;
}

.server-action-feedback:not(:empty) {
	padding: 8px 12px;
	background-color: #f5f5f5;
	border-radius: 4px;
}

.server-copy-feedback:not(:empty) {
	display: block;
	padding: 4px 0;
}

.mobile-server-filters {
	margin-bottom: 15px;
}

.mobile-server-filters .collapse {
	padding-top: 10px;
}

#server_options {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	margin-bottom: 10px;
}

#server_options > .btn-group {
	float: none;
	flex: 1 1 150px;
	min-width: 120px;
}

#server_options .btn {
	min-height: 44px;
	white-space: normal;
}

.vip-shadow {
	-webkit-box-shadow: 0px 0px 5px 0px rgba(230, 39, 39, 0.85);
	-moz-box-shadow: 0px 0px 5px 0px rgba(230, 39, 46, 0.85);
	box-shadow: 0px 0px 5px 0px rgba(230, 39, 46, 0.85);
}

/* Responsive youtube videos */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px; height: 0; overflow: hidden;
}

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


/* Social Icons */
.navbar-social {
	margin-top: 10px;
	margin-bottom: 5px;
}
.navbar-social a {
	margin-right: 5px;
	margin-left: 5px;
}
.navbar-social a:nth-child(1) {
	color: #3B579D;
}
.navbar-social a:nth-child(2) {
	color: #1AB2E8;
}
.navbar-social a:nth-child(3) {
	color: #DD4B39;
}

/* Index container */
.index-container {
	font-family: 'Segoe UI', Tahoma, Segoe UI, Arial, sans-serif;
	font-weight: 100;
	width: 100%;
	height: 15rem;
	background: url('../images/Lista-Servidores-Minecraft.jpg');
	color: white;
	-webkit-box-shadow: 0px 1px 20px 0px rgba(73, 73, 73, 0.5);
	-moz-box-shadow: 0px 1px 20px 0px rgba(73, 73, 73, 0.5);
	box-shadow: 0px 1px 20px 0px rgba(73, 73, 73, 0.5);
}

.index-title {
	font-size: 72px;
}

.index-text {
	font-size: 24px;
	margin-bottom: 50px;
}


/* Pagination style */
.new-pagination {
	list-style-type: none;
	padding: 0;
	margin: 25px 0 0 0;
}

.new-pagination li {
	display: inline;
}

.new-pagination li a  {
	padding: 10px 14px;
	border: 1px solid #ccc;
	border-radius: 5px;
	color: #999;
	margin-right: 5px;
}

.new-pagination li.active a, .new-pagination li a:hover {
	border: 1px solid #FD6C6C;
	color: #FD6C6C;
	text-decoration: none;
}

.new-pagination li.disabled a {
	cursor: not-allowed;
}

/* Server list buttons */
span.tag  {
	padding: 2px 6px;
	border: 1px solid #ccc;
	border-radius: 5px;
	color: #999;
	margin: 5px 5px 0 0;
	font-size: 12px;
	display: inline-block;
}

span:hover.tag {
	border: 1px solid #FD6C6C;
	color: #FD6C6C;
	text-decoration: none;
}

a:hover, a:focus {
    color: #5a5a5a;
    text-decoration: underline;
}

a {
    color: #1d1d1d;
    text-decoration: none;
}

@media only screen and (max-device-width: 700px), only screen and (device-width: 700px) and (device-height: 700px), only screen and (width: 700px) and (orientation: landscape), only screen and (device-width: 700px), only screen and (max-width: 700px) {
	.server-primary-actions .btn {
		flex-basis: 100%;
	}

	#server_options > .btn-group {
		flex-basis: 50%;
	}

	.server-address-control .form-control {
		min-width: 0;
	}

	.index-title {
		font-size: 48px;
	}

	.index-text {
		font-size: 18px;
		margin-bottom: 50px;
	}
}

@media only screen and (max-device-width: 350px), only screen and (device-width: 350px) and (device-height: 350px), only screen and (width: 350px) and (orientation: landscape), only screen and (device-width: 350px), only screen and (max-width: 350px) {
	.index-title {
		font-size: 36px;
	}
}

@media only screen and (min-width: 1200px) {
	.container {
	    width: 960px;
	}
}

/* Brand and catalogue experience */
body {
	background-color: #f4f6f9;
	color: #263247;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

.navbar-default {
	background-color: #111c2f;
	border-color: #111c2f;
}

.navbar-static-top {
	margin-bottom: 0;
}

.navbar-default .navbar-brand,
.navbar-default .navbar-nav > li > a {
	color: #edf3fa;
}

.navbar-default .navbar-brand:hover,
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
	color: #ffffff;
	background-color: #1c2b43;
}

.site-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	height: 50px;
	padding: 6px 15px;
}

.site-brand__mark {
	width: 38px;
	height: 38px;
}

.site-brand__name {
	font-size: 17px;
	font-weight: 700;
	letter-spacing: .01em;
}

.navbar-toggle {
	border-color: #52627a !important;
}

.navbar-default .navbar-toggle .icon-bar {
	background-color: #edf3fa;
}

.category-nav {
	position: relative;
	margin-bottom: 0;
	background: #ffffff;
	border-bottom: 1px solid #e1e7ef;
	box-shadow: 0 3px 10px rgba(17, 28, 47, .06);
	overflow-x: auto;
}

.category-nav__list {
	display: flex;
	float: none;
	width: max-content;
	min-width: 100%;
	margin: 0;
	white-space: nowrap;
}

.category-nav .navbar-nav > li > a {
	padding-top: 13px;
	padding-bottom: 13px;
	color: #46566d;
	font-size: 13px;
}

.category-nav .navbar-nav > li > a:hover,
.category-nav .navbar-nav > li > a:focus {
	color: #137c68;
	background: #f1f8f6;
}

/* Main banner */
.index-container {
	display: flex;
	align-items: center;
	justify-content: center;
	height: auto;
	min-height: 180px;
	margin-bottom: 24px;
	padding: 30px 15px;
	text-align: center;
	background: linear-gradient(rgba(10, 20, 35, .45), rgba(10, 20, 35, .55)), url('../images/Lista-Servidores-Minecraft.jpg') center / cover no-repeat;
}

.index-container .index-title {
	margin: 0 0 8px;
	font-size: 52px;
	font-weight: 600;
	line-height: 1.1;
	text-shadow: 0 2px 8px rgba(0, 0, 0, .6);
}

.index-container .index-text {
	margin: 0;
	font-size: 20px;
	text-shadow: 0 1px 6px rgba(0, 0, 0, .7);
}

@media (max-width: 700px) {
	.index-container { min-height: 130px; }
	.index-container .index-title { font-size: 32px; }
	.index-container .index-text { font-size: 16px; }
}

/* Header navigation */
.main-nav > li > a {
	margin: 8px 3px;
	padding: 7px 12px;
	border-radius: 6px;
	font-weight: 600;
}

.main-nav > li > a .fa {
	margin-right: 5px;
	opacity: .85;
}

.navbar-default .main-nav > li.main-nav__cta > a {
	color: #10251e;
	background: #a7f3d0;
}

.navbar-default .main-nav > li.main-nav__cta > a:hover,
.navbar-default .main-nav > li.main-nav__cta > a:focus {
	color: #10251e;
	background: #6ee7b7;
}

/* Bottom SEO content */
.home-about {
	margin: 40px 0 20px;
	padding: 24px;
	background: #ffffff;
	border: 1px solid #e1e7ef;
	border-radius: 8px;
	line-height: 1.65;
}

.home-about h2 { margin-top: 0; font-size: 22px; font-weight: 700; }
.home-about h3 { font-size: 17px; font-weight: 700; }

.home-hero {
	margin-bottom: 24px;
	color: #ffffff;
	background-image: linear-gradient(105deg, rgba(13, 27, 46, .95), rgba(20, 54, 68, .68)), url('../images/Lista-Servidores-Minecraft.jpg');
	background-position: center;
	background-size: cover;
}

.home-hero__inner {
	max-width: 960px;
	margin: 0 auto;
	padding: 46px 15px 44px;
}

.home-hero__eyebrow {
	margin: 0 0 10px;
	color: #a7f3d0;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .14em;
}

.home-hero h1 {
	max-width: 740px;
	margin: 0 0 12px;
	font-size: 42px;
	font-size: clamp(32px, 4vw, 48px);
	font-weight: 700;
	line-height: 1.12;
}

.home-hero__inner > p:not(.home-hero__eyebrow) {
	max-width: 700px;
	margin: 0 0 22px;
	color: #e3edf5;
	font-size: 17px;
	line-height: 1.6;
}

.home-hero__button {
	min-height: 44px;
	padding: 11px 18px;
	color: #10251e;
	background: #a7f3d0;
	border: 0;
	font-weight: 700;
}

.home-hero__button:hover,
.home-hero__button:focus {
	color: #10251e;
	background: #6ee7b7;
	text-decoration: none;
}

.server-list-heading {
	margin-top: 8px;
	margin-bottom: 18px;
	font-size: 25px;
	font-weight: 700;
}

.server-listing {
	margin-bottom: 12px;
	background: #ffffff;
	border: 1px solid #e1e7ef;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(17, 28, 47, .045);
}

.server-listing .panel-body {
	padding: 16px;
	word-break: normal;
}

.server-card {
	display: grid;
	grid-template-columns: minmax(180px, 34%) minmax(0, 1fr);
	align-items: start;
	gap: 18px;
}

.server-card--featured {
	border-left: 4px solid #35b889;
}

.server-card__banner {
	display: block;
	width: 100%;
	height: 80px;
	min-width: 0;
	background: #edf2f7;
	border-radius: 5px;
	overflow: hidden;
}

.server-card__banner img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.server-card__body {
	min-width: 0;
}

.server-card__heading {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 8px 14px;
	margin-bottom: 12px;
}

.server-card__heading h3 {
	min-width: 0;
	margin: 0;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.35;
	overflow-wrap: anywhere;
}

.server-card__badges {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
}

.server-badge {
	display: inline-flex;
	align-items: center;
	min-height: 25px;
	padding: 4px 8px;
	background: #eef2f6;
	border-radius: 4px;
	color: #405168;
	font-size: 12px;
	font-weight: 600;
}

.server-status--online {
	color: #176b4c;
	background: #e2f6ec;
}

.server-status--offline {
	color: #8a3d3d;
	background: #fae9e9;
}

.server-badge--featured {
	color: #76520d;
	background: #fff3cd;
}

.server-badge--edit {
	color: #23619a;
	background: #e8f2fc;
}

.server-card__notice {
	margin: 0 0 10px;
	color: #6b7280;
}

.server-card .server-address-control {
	margin-bottom: 2px;
}

.server-card .server-address-control .input-group-addon {
	min-width: 72px;
	font-weight: 700;
}

.server-card .server-address-control .btn {
	min-width: 105px;
	font-weight: 600;
}

.server-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-top: 12px;
}

.server-card__meta .tag {
	margin: 0;
	padding: 5px 8px;
	color: #526176;
	background: #f7f9fb;
	border: 1px solid #e1e7ef;
	border-radius: 4px;
	font-size: 12px;
}

.server-card__meta a:hover .tag {
	color: #137c68;
	border-color: #82cdb2;
}

.server-list { list-style: none; margin: 0; padding: 0; }
.server-list__item { margin: 0; padding: 0; }
.server-list__item--ad { margin-bottom: 8px; }
.manual-ad-slot--sticky { position: sticky; top: 70px; }

.manual-ad-slot {
	clear: both;
	margin: 22px 0;
	padding: 12px;
	background: #ffffff;
	border: 1px solid #e1e7ef;
	border-radius: 6px;
	text-align: center;
}

.manual-ad-slot__label {
	display: block;
	margin-bottom: 7px;
	color: #7b8797;
	font-size: 10px;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.manual-ad-slot__content {
	min-height: 0;
	max-width: 100%;
	overflow-x: auto;
}

.manual-ad-slot__content iframe,
.manual-ad-slot__content img {
	max-width: 100%;
}

@media only screen and (max-width: 767px) {
	.site-brand__name {
		font-size: 15px;
	}

	.category-nav .container {
		width: 100%;
		padding-right: 0;
		padding-left: 0;
	}

	.category-nav__list {
		padding-right: 8px;
		padding-left: 8px;
	}

	.home-hero {
		margin-bottom: 18px;
	}

	.home-hero__inner {
		padding-top: 34px;
		padding-bottom: 34px;
	}

	.home-hero__inner > p:not(.home-hero__eyebrow) {
		font-size: 16px;
	}

	.server-card {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
	}

	.server-card__banner img {
		height: 100%;
	}

	.server-card__heading {
		flex-direction: column;
	}

	.server-card .server-address-control .form-control {
		min-width: 0;
	}
}

@media only screen and (max-width: 380px) {
	.site-brand__mark {
		width: 32px;
		height: 32px;
	}

	.site-brand__name {
		font-size: 14px;
	}

	.server-card .server-address-control .input-group-addon {
		min-width: auto;
		padding-right: 7px;
		padding-left: 7px;
	}

	.server-card .server-address-control .btn {
		min-width: 0;
		padding-right: 8px;
		padding-left: 8px;
	}
}


/* Compact server cards: one row on desktop (banner | info | address) */
.server-card:before,
.server-card:after {
	display: none !important;
	content: none !important;
}

.server-listing { margin-bottom: 8px; }
.server-listing .panel-body.server-card { padding: 10px 12px; }

.server-card {
	grid-template-columns: 300px minmax(0, 1fr);
	align-items: center;
	gap: 14px;
}

/* Banners are 468x60: keep that ratio so they are never cropped */
.server-card__banner {
	width: 100%;
	height: auto !important;
	aspect-ratio: 468 / 60;
	background: #0f172a;
	border-radius: 4px;
	overflow: hidden;
}
.server-card__banner img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain !important;
}

.server-card__body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-areas: "head side" "meta side";
	align-items: center;
	gap: 6px 14px;
}

.server-card__heading {
	grid-area: head;
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	gap: 6px 10px;
	margin: 0;
}
.server-card__heading h3 { margin: 0; font-size: 17px; line-height: 1.25; }
.server-card__notice { margin: 0; font-size: 12px; color: #64748b; }

.server-ip {
	position: relative;
	display: inline-flex;
	align-items: center;
	max-width: 100%;
	border: 1px solid #d6dee8;
	border-radius: 4px;
	background: #f8fafc;
}
.server-ip__address {
	padding: 2px 8px;
	font-size: 12px;
	color: #1e293b;
	background: transparent;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.server-ip .server-ip__copy {
	padding: 2px 8px;
	border: 0;
	border-radius: 0;
	font-size: 12px;
	line-height: 1.5;
}
.server-ip .server-copy-feedback {
	position: absolute;
	left: 0;
	top: 100%;
	font-size: 11px;
	white-space: nowrap;
}

.server-card__side {
	grid-area: side;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 5px;
}

.server-card__meta { grid-area: meta; margin: 0; gap: 5px; }
.server-card__meta .tag { padding: 2px 7px; font-size: 11px; }
.server-badge { min-height: 20px; padding: 2px 8px; font-size: 11px; white-space: nowrap; }
.server-card__side .server-badge { min-width: 64px; justify-content: center; text-align: center; }

@media only screen and (max-width: 1199px) {
	.server-card { grid-template-columns: 234px minmax(0, 1fr); }
}

@media only screen and (max-width: 767px) {
	.server-card { grid-template-columns: minmax(0, 1fr); gap: 8px; }
	.server-card__side { flex-direction: row; align-items: center; }
}


/* Banner-first cards: banner takes ~half the card, minimal padding */
.server-listing .panel-body.server-card { padding: 6px; }
.server-card {
	grid-template-columns: minmax(0, 46%) minmax(0, 1fr);
	gap: 12px;
}
.server-card__banner { border-radius: 3px; background: transparent; }
.server-card__banner img { object-fit: fill !important; }

.server-card__body { gap: 6px 10px; padding-right: 4px; }
.server-card__side .server-badge { min-width: 72px; font-size: 12px; font-weight: 700; }
.server-status--online { color: #ffffff !important; background: #16a34a !important; border-color: #16a34a !important; }
.server-status--offline { color: #ffffff !important; background: #dc2626 !important; border-color: #dc2626 !important; }
.server-card__stats { display: inline-flex; gap: 4px; }
.server-card__stats .tag { margin: 0; padding: 1px 6px; font-size: 11px; }

/* Copy IP: icon only, label stays for screen readers */
.server-ip .server-ip__label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
.server-ip .server-ip__copy { padding: 2px 7px; }

@media only screen and (max-width: 1199px) {
	.server-card { grid-template-columns: minmax(0, 42%) minmax(0, 1fr); }
}

@media only screen and (max-width: 767px) {
	.server-card { grid-template-columns: minmax(0, 1fr); }
}


/* Category pages: compact header + horizontal filter bar */
.category-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 10px; }
.category-head h1 { margin: 0; font-size: 26px; font-weight: 700; }
.filter-bar { margin: 0 0 12px; }
.filter-bar h4 { display: none; }
.filter-bar br { display: none; }
.filter-bar .nav-stacked { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.filter-bar .nav-stacked > li { float: none; margin: 0 !important; }
.filter-bar .nav-pills > li > a,
.filter-bar .nav-pills > li.active > a {
	padding: 5px 12px;
	font-size: 13px;
	font-weight: 600;
	color: #1e293b;
	background: #ffffff;
	border: 1px solid #d6dee8;
	border-radius: 16px;
}
.filter-bar .nav-pills > li > a:hover,
.filter-bar .nav-pills > li.open > a { color: #ffffff; background: #16a34a; border-color: #16a34a; }
.filter-bar .nav-pills > li > a .caret { margin-left: 4px; }
.filter-bar .dropdown-menu { max-height: 320px; overflow-y: auto; }
.filter-bar .nav-pills > li:first-child > a[href]:not([data-toggle]) { color: #dc2626; border-color: #fecaca; }
/* Breadcrumb + filters in one toolbar row */
.category-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 10px; padding: 6px 10px; background: #f8fafc; border-radius: 6px; }
.category-toolbar .breadcrumb { margin: 0; padding: 0; background: transparent; }
.category-toolbar .filter-bar { margin: 0 0 0 auto; }
.filter-bar .server-filters { justify-content: flex-end; }
.filter-bar .nav-pills > li > a .fa { margin-right: 3px; color: #64748b; }
.filter-bar .nav-pills > li > a:hover .fa,
.filter-bar .nav-pills > li.open > a .fa { color: #ffffff; }
.filter-bar .nav-pills > li.is-set > a { color: #15803d; background: #f0fdf4; border-color: #16a34a; }
.filter-bar .nav-pills > li.server-filters__reset > a { padding: 5px 10px; color: #dc2626; border-color: #fecaca; }
.filter-bar .nav-pills > li.server-filters__reset > a .fa { color: #dc2626; margin: 0; }
.filter-bar .nav-pills > li.server-filters__reset > a:hover { color: #ffffff; background: #dc2626; border-color: #dc2626; }
.filter-bar .nav-pills > li.server-filters__reset > a:hover .fa { color: #ffffff; }
@media only screen and (max-width: 767px) {
	.category-toolbar .filter-bar { margin: 0; width: 100%; }
	.filter-bar .server-filters { justify-content: flex-start; }
	.category-head h1 { font-size: 21px; }
	.filter-bar .nav-pills > li > a { padding: 4px 10px; font-size: 12px; white-space: nowrap; }
}

/* Language switch and suggestion */
.main-nav__lang > a { font-weight: 600; }
.main-nav__lang span { opacity: .55; }
.main-nav__lang span.is-current { opacity: 1; }
.language-suggest { padding: 6px 0; font-size: 13px; background: #f0fdf4; border-bottom: 1px solid #bbf7d0; }
.language-suggest[hidden] { display: none; }
.language-suggest .container { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.language-suggest a { font-weight: 600; color: #15803d; }
.language-suggest__close { padding: 0 6px; font-size: 18px; line-height: 1; color: #64748b; background: transparent; border: 0; }

/* Collapsible SEO FAQ */
.seo-faq__item { border: 1px solid #e3e6ea; border-radius: 6px; background: #fff; margin-bottom: 6px; }
.seo-faq__item summary { cursor: pointer; list-style: none; padding: 10px 36px 10px 12px; position: relative; }
.seo-faq__item summary::-webkit-details-marker { display: none; }
.seo-faq__item summary::after { content: "+"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 18px; color: #2e7d32; font-weight: bold; }
.seo-faq__item[open] summary::after { content: "\2212"; }
.seo-faq__item summary h3 { display: inline; font-size: 15px; margin: 0; font-weight: 600; }
.seo-faq__item p { padding: 0 12px 12px; margin: 0; color: #555; }
.seo-faq__title { font-size: 20px; margin-top: 18px; }

/* Wider layout on large screens */
@media (min-width: 1400px) {
	.container { width: 1280px; }
}

/* Side rail ads (no sidebar pages): width adapts to the free space next to the container */
.ad-rail { display: none; }
@media (min-width: 1640px) {
	.ad-rail { display: block; position: fixed; top: 90px; z-index: 5; margin: 0; width: calc((100vw - 1280px) / 2 - 30px); max-width: 300px; }
	.ad-rail--right { left: calc(50% + 655px); }
	.ad-rail--left { right: calc(50% + 655px); }
	.ad-rail .manual-ad-slot__content, .ad-rail ins.adsbygoogle { width: 100% !important; min-height: 600px; }
}
