@import url('https://fonts.googleapis.com/css?family=Montserrat');

body {
  font-family: 'Montserrat', sans-serif;
  background: #2f4050;
}

button,
input,
select,
textarea,
.navbar,
.btn,
#foot {
  font-family: 'Montserrat', sans-serif;
}

a {color:#369;}
a:hover {color:#2f4050;font-weight:bold;}

a,
a:hover,
a:focus,
a:active,
a:visited {
  text-decoration: none !important;
}

header {padding:20px 0 0;}
.wrap {background: #f3f3f4;box-shadow: 0 0 15px #000;margin-top:30px;margin-bottom:30px;}
h1, h2, h3, h4, h5, h6, legend {
  font-family: 'Montserrat', sans-serif;
  color: #676a7d;
}

/* User Control Panel title is the site-wide maximum title size. */
h1,
.h1,
.display-1,
.display-2,
.display-3,
.display-4,
.page-title,
.content-title,
.modal-title,
.card-title,
.jumbotron h1 {
  font-size: 24px !important;
  line-height: 1.25 !important;
}

h2,
.h2,
legend {
  font-size: 22px !important;
  line-height: 1.3 !important;
}

h3,
.h3 {
  font-size: 20px !important;
  line-height: 1.35 !important;
}

h4,
.h4 {
  font-size: 18px !important;
  line-height: 1.4 !important;
}

h5,
.h5 {
  font-size: 16px !important;
  line-height: 1.4 !important;
}

h6,
.h6 {
  font-size: 15px !important;
  line-height: 1.4 !important;
}

/* Keep the main User Control Panel-style page title as the maximum. */
main h1,
main .h1,
#user_cp_content > div > h2 {
  font-size: 24px !important;
  line-height: 1.25 !important;
}

/* Fluid video/img */
.video-fluid,
.site-image-container video:not(.video-fluid) {
  max-width: 100%;
}
.img-fluid,
.site-image-container img:not(.img-fluid) {  
  height: auto;
} 
@supports (--custom:property) {
	
	.site-image-container {
		position: relative;
		display: block;
		max-width: var(--site-image-aspect-base);
	}
	.site-image-container::before {
		content: "";
		display: block;
		padding-bottom: calc(100% / (var(--site-image-aspect-ratio)));
	}  
	.site-image-container img,
	.site-image-container video {
		position: absolute;
		top: 0;
		left: 0;
		height: 100%;
		object-fit: fill;
	}  
}

input.error {border:1px solid red}

.bg-light {
    background-color: #fafafa !important;
}
.bg-dark {
  background:#369 !important;
}
.pagination {margin-top:30px;}
.rankbox {
  border:2px solid #fff;
  box-shadow: 0 0 2px #ccc;
  padding: 0 15px 17px 15px;
  margin-bottom: 10px;
  background:#fafafa;
  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#f2f9fe+42,d6f0fd+100 */
  background: #f2f9fe; /* Old browsers */
  background: -moz-linear-gradient(top,  #f2f9fe 42%, #d6f0fd 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top,  #f2f9fe 42%,#d6f0fd 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom,  #f2f9fe 42%,#d6f0fd 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f2f9fe', endColorstr='#d6f0fd',GradientType=0 ); /* IE6-9 */


}
.lower_rankbox {
  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#f2f9fe+42,d6f0fd+100 */
  background: #f2f9fe; /* Old browsers */
  background: -moz-linear-gradient(top,  #f2f9fe 42%, #d6f0fd 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top,  #f2f9fe 42%,#d6f0fd 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom,  #f2f9fe 42%,#d6f0fd 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f2f9fe', endColorstr='#d6f0fd',GradientType=0 ); /* IE6-9 */
  border:1px solid #ccc;
  border-bottom:0;
  padding:0 15px 17px 15px;
}
.lower_rankbox:last-child{
    border-bottom:1px solid #ccc;
}


.premium {
  border:5px solid #ffdc1d;
  background:#fff4b5;
}



.rankbox p, .lower_rankbox p {margin:12px 0;height:78px;overflow:hidden;}
.lower_rankbox .rank {font-size:200%;text-align:center;color:#2f4050;}
.rank span {background:#fff;padding:9px;border:2px solid #daf1fd;border-radius:5px;}
.rankshot {
  border:8px solid #f2f2f2;filter: grayscale(1);
  box-shadow: 0 0 3px #ccc;
  transition: 1s;
}
.rankshot:hover {
  transition: 1s;
  filter: grayscale(0);
  box-shadow: 0 0 7px #000;
}

p.rank {margin-bottom: 0}


.titlebar .badge,.titlebar2 .badge {font-weight: 400;}
.titlebar {border-bottom:1px solid #f3f3f4;padding:5px;margin-bottom:5px;font-size:100%;background:#2f4050;}
.titlebar2 {background:#2f4050;padding:5px 0;margin-bottom:5px;color:#ccc;}

.titlebar,.titlebar a,.titlebar2 a{color:#ccc;}
.titlebar a:hover,.titlebar2 a:hover{color:#fff;transition: 1s;}

.smallish {background:#f2f2f2;padding:15px;border:1px solid #f0f0f0;}
.smallish img {width: 100%}
.tablecat {text-align:right;}
ul, ul li {
  margin: 0;
  padding: 0;
  list-style: none;
}
ul.list1,ul.category_menu {
  margin-bottom:20px;
}
.list1 li a,ul.category_menu li a{
  display:block;
  padding:5px 10px;
  border-bottom:1px solid #f2f2f2;
  background:#fff;
  transition: 0.6s;
}
ul.list1 li:last-child,ul.category_menu li:last-child{

}
.list1 li a:hover,ul.category_menu a:hover {
  background:#f8f8f8;
  text-decoration:none;
    transition: 0.6s;
}
#foot {background:#05131f;
  margin-top:30px;
  padding-top:50px;
  padding-bottom:30px;
  color:#ccc;
}
#foot h1,#foot h2,#foot h3,#foot h4 {
  color:#fff;
  font-size:19px !important;
  line-height:1.3 !important;
  font-weight:700 !important;
}
#foot .vms-footer-statistics-link {
  color: inherit;
  text-decoration: none;
}
#foot .nav  {
  display:block;
}


#usermenu a {padding:4px;font-size:96%;}
.heading{
  font-size:17px !important;
  padding:10px 5px 10px 10px;
  margin:0;
  border-bottom:1px solid #f2f2f2;
  background:#2f4050;
  color:#fff;
}
.sidelist {background:#fff;padding:5px;}
.sidelist li {text-align:center;margin-bottom:20px;}
.navbar {margin-bottom:0px;}
main {margin-top:20px;}


@media only screen and (max-width: 768px) {
.rankshot {display:none;}
.titlebar,.tablecat,.rankbox {text-align:center;}
.sidebar {margin-top:60px;}
.lower_rankbox {text-align:center;}
.rank {display:none}
}

/* Form elements */
.g-recaptcha ~ .invalid-feedback {
    display: block;
}
.form-check ~ .invalid-feedback,
.custom-control ~ .invalid-feedback {
  display: block;
}

/* Payment providers */
.payment-provider::before {
    position: absolute;
    right: -15px;
    top: -15px;
    background: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    content: "";
    z-index: 998;
    opacity: 0;
}
.payment-provider.selected {
    border-color: #1ea01e;
    background: rgba(30,160,30,.3);
}
.payment-provider.selected::after {
    position: absolute;
    right: -12px;
    top: -12px;
    color: #fff;
    text-align: center;
    background: #1ea01e;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    content: "✓";
    z-index: 999;
}
/* Listing controls: center the left rank area and enlarge requested controls on hover */
.rankbox > .row:not(.titlebar) > .col-md-2,
.lower_rankbox > .row:not(.titlebar2) > .col-md-2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.rankbox .rank span,
.lower_rankbox .rank span,
.rankbox .badge-success,
.lower_rankbox .badge-success,
.rankbox .tablecat .badge,
.lower_rankbox .tablecat .badge,
.rankbox .site-image-container img[src$="/images/visit.png"],
.lower_rankbox .site-image-container img[src$="/images/visit.png"] {
  display: inline-block;
  transition: transform 0.2s ease;
  transform-origin: center;
}

.rankbox .rank span:hover,
.lower_rankbox .rank span:hover,
.rankbox .badge-success:hover,
.lower_rankbox .badge-success:hover,
.rankbox .tablecat .badge:hover,
.lower_rankbox .tablecat .badge:hover,
.rankbox .site-image-container img[src$="/images/visit.png"]:hover,
.lower_rankbox .site-image-container img[src$="/images/visit.png"]:hover {
  transform: scale(1.15);
}

.vms-listing-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: auto;
}

.vms-rate-review-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  padding: 1px 8px 1px 6px;
  background: #17a2b8;
  color: #fff !important;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  white-space: nowrap;
  transition: transform 0.2s ease, background-color 0.2s ease;
  transform-origin: center;
}

.vms-rate-review-button:hover,
.vms-rate-review-button:focus {
  background: #138496;
  color: #fff !important;
  transform: scale(1.15);
}

.vms-rate-review-button i {
  margin-right: 4px;
}

.rankbox > .row:not(.titlebar) .badge-primary i,
.lower_rankbox > .row:not(.titlebar2) .badge-primary i,
.rankbox .tablecat .badge-primary i,
.lower_rankbox .tablecat .badge-primary i {
  margin-right: 0;
}

#foot .badge-primary i {
  margin-right: 0;
}

/* Member detail controls, footer Info button, and combined rank/vote control */
.member-detail-visit,
#social_block .btn-success,
#foot .badge-primary {
  transition: transform 0.2s ease;
  transform-origin: center;
}

.member-detail-visit:hover,
#social_block .btn-success:hover,
#foot .badge-primary:hover {
  transform: scale(1.15);
}

.rank-vote-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  line-height: 1;
  transition: transform 0.2s ease;
  transform-origin: center;
}

.rank-vote-link .rank {
  display: block;
  margin: 0;
  font-size: 200%;
  line-height: 1;
  text-align: center;
  color: #2f4050;
}

.rank-vote-link .badge-success {
  display: block;
  margin-top: -1px;
}

.rank-vote-link .rank span,
.rank-vote-link .rank span:hover,
.rank-vote-link .badge-success,
.rank-vote-link .badge-success:hover {
  transform: none;
}

.rank-vote-link:hover {
  transform: scale(1.15);
}

@media (min-width: 992px) {
  .rank-vote-link .rank span,
  .rank-vote-link .badge-success {
    box-sizing: border-box;
    width: 78px;
    min-width: 78px;
    max-width: 78px;
    text-align: center;
  }
}

/* MASTER PAGE-TITLE STYLE: exactly matches the User Control Panel title. */
main h1,
main .h1,
main legend,
main .page-title,
main .content-title,
main .modal-title,
main .jumbotron h1,
main #user_cp_content > div > h2,
main .vms-how-it-works > h1,
main .vms-legal > h1,
main .vms-section-title {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 24px !important;
  font-weight: 400 !important;
  line-height: 1.25 !important;
  letter-spacing: normal !important;
}

/* Overall Stats active period tab: match the site's dark-blue buttons. */
#stats-tabs .nav-pills .nav-link.active,
#stats-tabs .nav-pills .show > .nav-link {
  background-color: #336699 !important;
  border-color: #336699 !important;
  color: #fff !important;
}

/* Footer featured-member listing title: smaller than its section heading. */
#foot h4 {
  font-size: 16px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
}

/* Listing Unique Votes badge: match the site's dark-blue buttons. */
.rankbox > .row:not(.titlebar) .badge-primary,
.lower_rankbox > .row:not(.titlebar2) .badge-primary {
  background-color: #336699 !important;
  border-color: #336699 !important;
  color: #fff !important;
}

/* VoteMySite mobile application layout */
.vms-main-nav .navbar-nav .vms-add-site-link {
  color: #fff !important;
  font-weight: 700 !important;
}


.vms-mobile-appbar,
.vms-mobile-nav-extras,
.vms-sidebar-toggle {
  display: none;
}

@media (max-width: 991.98px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    background: #eef2f6;
  }

  .vms-page-shell {
    width: 100%;
    margin: 0;
    padding: 0 12px 18px;
    background: #f6f8fa;
    box-shadow: none;
  }

  .vms-site-header {
    padding-top: 0;
  }

  .vms-desktop-header {
    display: none !important;
  }

  .vms-mobile-appbar {
    position: sticky;
    top: 0;
    z-index: 1040;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    min-height: 68px;
    margin: 0 -12px;
    padding: 8px 12px;
    background: #fff;
    border-bottom: 1px solid #d9e1e8;
    box-shadow: 0 3px 12px rgba(30, 55, 80, .10);
  }

  .vms-mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 1px solid #d5dee7;
    border-radius: 10px;
    background: #f5f8fb;
    cursor: pointer;
  }

  .vms-mobile-menu-toggle .navbar-toggler-icon {
    position: relative;
    display: block;
    width: 22px;
    height: 2px;
    background: #336699;
    background-image: none;
    border-radius: 2px;
  }

  .vms-mobile-menu-toggle .navbar-toggler-icon::before,
  .vms-mobile-menu-toggle .navbar-toggler-icon::after {
    content: '';
    position: absolute;
    left: 0;
    width: 22px;
    height: 2px;
    background: #336699;
    border-radius: 2px;
  }

  .vms-mobile-menu-toggle .navbar-toggler-icon::before {
    top: -7px;
  }

  .vms-mobile-menu-toggle .navbar-toggler-icon::after {
    top: 7px;
  }

  .vms-mobile-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
  }

  .vms-mobile-logo img {
    display: block;
    width: min(230px, 58vw);
    max-width: 100%;
    height: auto;
    margin: 0 auto;
  }

  .vms-mobile-account-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 12px;
    border-radius: 9px;
    background: #336699;
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
  }

  .vms-main-nav {
    min-height: 0;
    margin: 0 -12px;
    padding: 0;
    background: transparent !important;
  }

  .vms-main-navbar-toggler {
    display: none !important;
  }

  .vms-main-nav .navbar-collapse {
    margin: 10px 12px 0;
    padding: 8px;
    border: 1px solid #d9e1e8;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(30, 55, 80, .12);
  }

  .vms-main-nav .navbar-nav {
    width: 100%;
  }

  .vms-main-nav .navbar-nav .nav-item {
    width: 100%;
  }

  .vms-main-nav .navbar-nav .nav-link,
  .vms-main-nav .navbar-nav .vms-add-site-link {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 11px 13px;
    border-bottom: 1px solid #edf1f4;
    border-radius: 8px;
    color: #263746 !important;
    font-size: 16px;
    font-weight: 500;
    transition: background-color .15s ease, color .15s ease;
  }

  .vms-main-nav .navbar-nav .nav-item:last-child .nav-link {
    border-bottom: 0;
  }

  .vms-main-nav .navbar-nav .nav-link:hover,
  .vms-main-nav .navbar-nav .nav-link:focus {
    background: #eef5fb;
    color: #234f78 !important;
  }

  .vms-main-nav .navbar-nav .vms-add-site-link {
    background: #eef5fb;
    color: #234f78 !important;
    font-weight: 700;
  }

  .vms-main-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    width: 100%;
    margin: 10px 0 0 !important;
    padding: 8px 4px 4px;
  }

  .vms-main-search .form-control {
    width: 100%;
    min-width: 0;
    margin: 0 !important;
  }

  .vms-main-search .btn {
    margin: 0 !important;
  }

  .vms-mobile-nav-extras {
    display: block;
    margin-top: 10px;
    padding: 12px 8px 6px;
    border-top: 1px solid #e3e9ee;
  }

  .vms-mobile-welcome {
    margin-bottom: 8px;
    color: #263746;
    font-size: 14px;
    font-weight: 700;
  }

  .vms-mobile-welcome:empty,
  .vms-mobile-create-account:empty {
    display: none;
  }

  .vms-mobile-create-account .btn {
    width: 100%;
    margin-bottom: 10px;
  }

  .vms-mobile-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
  }

  .vms-mobile-legal-links a {
    color: #52697c;
    font-size: 12px;
    font-weight: 500;
  }

  /* Replace the second hamburger with horizontally scrollable account tools. */
  .vms-site-header > .navbar-light.bg-light {
    margin: 10px 0 0;
    padding: 8px;
    overflow: hidden;
    border: 1px solid #dce4ea;
    border-radius: 12px;
    background: #fff !important;
  }

  .vms-site-header > .navbar-light.bg-light > .navbar-toggler {
    display: none !important;
  }

  #usermenu.collapse,
  #usermenu.collapsing {
    display: block !important;
    height: auto !important;
  }

  #usermenu .usermenu {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
    width: 100%;
    padding: 0 0 3px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  #usermenu .usermenu::-webkit-scrollbar {
    display: none;
  }

  #usermenu .usermenu .nav-link {
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
  }

  #usermenu .usermenu .nav-link a {
    display: block;
    min-height: 40px;
    padding: 10px 13px;
    border: 1px solid #d9e3eb;
    border-radius: 999px;
    background: #f4f7fa;
    color: #336699;
    font-size: 14px;
    font-weight: 600;
    line-height: 18px;
    white-space: nowrap;
  }

  #usermenu .usermenu .nav-link a:hover,
  #usermenu .usermenu .nav-link a:focus {
    background: #336699;
    color: #fff;
  }

  main {
    margin-top: 14px;
  }

  main img,
  main video,
  main iframe,
  main canvas,
  main svg {
    max-width: 100%;
  }

  main canvas,
  main svg {
    height: auto !important;
  }

  main table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  main input,
  main select,
  main textarea,
  main .form-control {
    max-width: 100%;
  }

  .vms-sidebar-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 46px;
    margin: 0 0 10px;
    border: 1px solid #2b5d89;
    border-radius: 10px;
    background: #336699;
    color: #fff;
    font-weight: 700;
  }

  .vms-sidebar-toggle:hover,
  .vms-sidebar-toggle:focus {
    background: #294f75;
    color: #fff;
  }

  .vms-sidebar-content {
    padding: 8px;
    border: 1px solid #dce4ea;
    border-radius: 12px;
    background: #fff;
  }

  .vms-sidebar-content .heading {
    margin-top: 10px;
    border-radius: 8px 8px 0 0;
  }

  .vms-sidebar-content .heading:first-of-type {
    margin-top: 0;
  }

  .vms-sidebar-content ul.list1,
  .vms-sidebar-content ul.category_menu {
    margin-bottom: 10px;
  }

  #foot {
    margin-top: 0;
  }
}

@media (max-width: 767.98px) {
  .vms-page-shell {
    padding-right: 10px;
    padding-left: 10px;
  }

  .vms-mobile-appbar,
  .vms-main-nav {
    margin-right: -10px;
    margin-left: -10px;
  }

  main > .row {
    margin-right: 0;
    margin-left: 0;
  }

  .vms-main-content,
  .sidebar {
    padding-right: 0;
    padding-left: 0;
  }

  .sidebar {
    margin-top: 18px;
  }

  main h1,
  main .h1,
  main legend,
  main .page-title,
  main .content-title,
  main .modal-title,
  main .jumbotron h1,
  main #user_cp_content > div > h2,
  main .vms-how-it-works > h1,
  main .vms-legal > h1,
  main .vms-section-title {
    font-size: 22px !important;
  }

  .rankbox,
  .lower_rankbox {
    margin: 0 0 14px;
    padding: 0 0 14px;
    overflow: hidden;
    border: 1px solid #cfdbe5;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(34, 65, 91, .08);
    text-align: left;
  }

  .rankbox > .row,
  .lower_rankbox > .row {
    margin-right: 0;
    margin-left: 0;
  }

  .rankbox .titlebar,
  .lower_rankbox .titlebar2 {
    display: block;
    margin: 0;
    padding: 10px 12px;
    text-align: left;
  }

  .rankbox .titlebar > [class*='col-'],
  .lower_rankbox .titlebar2 > [class*='col-'] {
    width: 100%;
    max-width: 100%;
    padding: 0;
  }

  .rankbox .titlebar strong,
  .lower_rankbox .titlebar2 strong {
    display: block;
    font-size: 15px;
    line-height: 1.4;
  }

  .rankbox .tablecat,
  .lower_rankbox .tablecat {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 6px;
    margin-top: 8px;
    text-align: left;
  }

  .rankbox .tablecat a,
  .lower_rankbox .tablecat a {
    display: inline-flex;
  }

  .rankbox > .row:not(.titlebar),
  .lower_rankbox > .row:not(.titlebar2) {
    display: block;
  }

  .rankbox > .row:not(.titlebar) > .col-md-2,
  .lower_rankbox > .row:not(.titlebar2) > .col-md-2 {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    max-width: 100%;
    padding: 12px 14px 0;
  }

  .rankbox > .row:not(.titlebar) > .col-md-10,
  .lower_rankbox > .row:not(.titlebar2) > .col-md-10 {
    width: 100%;
    max-width: 100%;
    padding: 6px 14px 0;
    text-align: left;
  }

  .rank-vote-link {
    flex-direction: row;
    justify-content: flex-start;
    gap: 8px;
  }

  .rank-vote-link .rank {
    display: block;
    font-size: 150%;
  }

  .rank-vote-link .rank span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    min-height: 46px;
    padding: 6px;
  }

  .rank-vote-link .badge-success {
    margin-top: 0;
    padding: 7px 9px;
    font-size: 13px;
  }

  .rankbox p,
  .lower_rankbox p {
    margin: 8px 0 12px;
    line-height: 1.55;
    text-align: left;
  }

  .rankbox .site-image-container,
  .lower_rankbox .site-image-container {
    display: block;
    max-width: 100% !important;
    overflow: hidden;
  }

  .rankbox > .row:not(.titlebar) > .col-md-10 > .badge,
  .lower_rankbox > .row:not(.titlebar2) > .col-md-10 > .badge,
  .rankbox > .row:not(.titlebar) > .col-md-10 > a,
  .lower_rankbox > .row:not(.titlebar2) > .col-md-10 > a {
    margin-top: 4px;
  }

  .pagination {
    flex-wrap: wrap;
    gap: 4px;
  }

  #foot {
    padding: 30px 14px 20px;
  }

  #foot .container-fluid {
    padding: 0;
  }

  #foot .row {
    margin-right: 0;
    margin-left: 0;
  }

  #foot .row > [class*='col-'] {
    width: 100%;
    max-width: 100%;
    margin-bottom: 22px;
    padding: 0;
    text-align: left !important;
  }

  #foot h1,
  #foot h2,
  #foot h3,
  #foot h4 {
    margin-bottom: 10px;
  }

  #foot li {
    margin-bottom: 6px;
    line-height: 1.45;
  }

  #foot .footer-bottom-links {
    padding-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, .14);
  }

  #foot .footer-bottom-links .col-12,
  #foot .footer-bottom-links hr {
    display: none;
  }

  #foot .footer-bottom-links > div {
    margin-bottom: 12px;
    text-align: center !important;
  }

  #foot .footer-bottom-links small {
    display: block;
    line-height: 1.7;
  }
}

@media (max-width: 420px) {
  .vms-mobile-appbar {
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 6px;
    padding-right: 8px;
    padding-left: 8px;
  }

  .vms-mobile-logo img {
    width: min(190px, 52vw);
  }

  .vms-mobile-account-button {
    min-height: 38px;
    padding: 7px 9px;
    font-size: 13px;
  }

  .vms-main-search {
    grid-template-columns: 1fr;
  }

  .vms-main-search .btn {
    width: 100%;
  }
}
.vms-site-stats-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.vms-site-stats-breadcrumb-trail {
  min-width: 0;
}

.vms-site-stats-breadcrumb-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  white-space: nowrap;
  position: relative;
  left: 3px;
}

.vms-site-stats-breadcrumb-actions > * {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.vms-site-stats-breadcrumb-actions > *:not(:last-child) {
  position: relative;
  left: 1px;
}

.vms-site-stats-breadcrumb-actions .vms-site-vote-button {
  margin: 0;
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.vms-site-stats-breadcrumb-actions .vms-site-vote-button .badge-success {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 21px;
  padding: 2px 6px;
  line-height: 16px;
  transition: transform 0.2s ease;
  transform-origin: center;
}

.vms-site-stats-breadcrumb-actions .vms-site-vote-button .badge-success i {
  margin-right: 2px;
}

.vms-site-stats-breadcrumb-actions .vms-site-vote-button:hover .badge-success,
.vms-site-stats-breadcrumb-actions .vms-site-vote-button:focus .badge-success {
  transform: scale(1.15);
}

.vms-site-breadcrumb-visit {
  display: inline-flex;
  align-items: center;
}

.vms-site-breadcrumb-visit img {
  display: block;
  width: 111px;
  height: 20px;
}

/* Compact site statistics header and summary layout. */
.vms-site-stats-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 18px;
  margin-bottom: 18px;
}

.vms-site-stats-title {
  min-width: 0;
  margin: 0 !important;
}

.vms-site-stats-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 9px;
  margin-left: auto;
  white-space: nowrap;
}

.vms-site-score-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 6px 10px;
  background: #fff;
  border: 1px solid #d9e2ec;
  border-left: 4px solid #336699;
  border-radius: 4px;
}

.vms-site-score-label {
  color: #336699;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.vms-site-score-value {
  color: #28a745;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.vms-site-score-icon {
  width: 26px;
  height: 26px;
  margin-right: 8px;
  object-fit: contain;
  vertical-align: middle;
}

.vms-site-statistics-heading {
  display: inline-block;
  margin-top: 26px;
  margin-bottom: 14px;
  padding-bottom: 4px;
  border-bottom: 2px solid #336699;
  font-weight: 700;
  text-decoration: none;
}

.vms-site-vote-button {
  white-space: nowrap;
}

.vms-site-visit-button {
  flex: 0 0 auto;
}

.vms-site-summary-row {
  align-items: flex-start;
  margin-bottom: 8px;
}

.vms-site-rating-panel {
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #d9e2ec;
  border-radius: 4px;
}

.vms-site-rating-panel h2 {
  margin: 12px 0 8px;
  font-size: 20px !important;
}

.vms-site-rating-image {
  display: block;
  margin-top: 7px;
}

#foot .vms-footer-navigation li {
  width: 100%;
}

#foot .vms-featured-member + .vms-featured-member {
  margin-top: 18px;
}

@media (max-width: 991.98px) {
  .vms-site-stats-header {
    grid-template-columns: 1fr;
  }

  .vms-site-stats-actions {
    justify-content: flex-start;
    margin-left: 0;
    flex-wrap: wrap;
  }
}

@media (max-width: 767.98px) {
  .vms-site-stats-breadcrumb {
    align-items: flex-start;
    flex-direction: column;
  }

  .vms-site-stats-breadcrumb-actions {
    margin-left: 0;
  }

  .vms-site-rating-panel {
    margin-top: 14px;
  }
}


/* V9: site statistics alignment and footer layout. */
.vms-site-stats-header {
  display: flex;
  align-items: center;
  gap: 18px;
}

.vms-site-stats-title {
  flex: 1 1 auto;
}

.vms-site-stats-actions {
  flex: 0 0 calc(33.333333% - 20px);
  width: calc(33.333333% - 20px);
  min-width: 280px;
}

.vms-site-score-badge {
  width: 100%;
  box-sizing: border-box;
  justify-content: center;
  text-align: center;
}

#stats-tabs .nav-pills {
  width: 100%;
}

#stats-tabs .nav-pills .nav-item {
  flex: 1 1 0;
}

#stats-tabs .nav-pills .nav-link {
  display: block;
  width: 100%;
  text-align: center;
}

#foot {
  padding: 42px 0 24px;
}

@media (min-width: 992px) {
  .vms-main-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    width: 332px;
    margin-left: auto !important;
  }

  .vms-main-search .form-control {
    width: 100%;
    min-width: 0;
    margin-right: 0 !important;
  }
}

.vms-highlighted-member-box {
  border: 1px solid #17a2b8;
  background: #fff6cc;
  padding: 12px;
  border-radius: 3px;
  height: 176px;
  min-height: 176px;
  max-height: 176px;
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.vms-highlighted-member-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: 12px;
}

.vms-highlighted-member-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.vms-highlighted-member-title-row > a:first-child {
  min-width: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.vms-highlighted-member-title-row + div {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.vms-highlighted-member-vote {
  flex: 0 0 auto;
  margin-left: auto;
}

.vms-highlighted-member-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
}

.vms-highlighted-member-visit {
  display: inline-block;
  line-height: 0;
}

.vms-highlighted-member-visit img {
  display: block;
  height: 20px;
  width: auto;
}

.vms-highlighted-member-actions .vms-recommend-site-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  margin: 0;
}

.vms-highlighted-member-actions .vms-recommend-site-button .badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 20px;
  box-sizing: border-box;
  line-height: 16px;
  vertical-align: middle;
}

.vms-highlighted-member-info {
  display: inline-block;
  line-height: 1;
  margin-right: 0;
}

.vms-highlighted-member-info .badge-primary i,
.vms-highlighted-member-vote .badge-success i {
  margin-right: 2px;
}

.vms-highlighted-member-vote .badge-success,
.vms-highlighted-member-info .badge-primary,
.vms-highlighted-member-visit img,
.vms-highlighted-member-actions .vms-recommend-site-button .badge,
.vms-newest-member-info .badge-primary {
  transition: transform 0.2s ease;
  transform-origin: center;
}

.vms-highlighted-member-vote:hover .badge-success,
.vms-highlighted-member-vote:focus .badge-success,
.vms-highlighted-member-info:hover .badge-primary,
.vms-highlighted-member-info:focus .badge-primary,
.vms-highlighted-member-visit:hover img,
.vms-highlighted-member-visit:focus img,
.vms-highlighted-member-actions .vms-recommend-site-button:hover .badge,
.vms-highlighted-member-actions .vms-recommend-site-button:focus .badge,
.vms-newest-member-info:hover .badge-primary,
.vms-newest-member-info:focus .badge-primary {
  transform: scale(1.15);
}

#foot .vms-footer-container {
  width: calc(100% - 48px);
  max-width: 1480px;
  margin: 0 auto;
}

#foot .vms-footer-grid {
  display: grid;
  grid-template-columns: minmax(250px, 1.35fr) minmax(150px, .8fr) minmax(210px, 1.08fr) minmax(210px, 1.08fr) minmax(185px, .9fr);
  align-items: start;
  column-gap: 34px;
}

#foot .vms-footer-brand,
#foot .vms-footer-section {
  min-width: 0;
}

#foot .vms-footer-brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

#foot .vms-footer-logo {
  display: inline-block;
  margin-bottom: 0;
}

#foot .vms-footer-brand .vms-recommend-site-button {
  text-decoration: none !important;
}

#foot .vms-footer-brand .vms-recommend-site-button .badge {
  transition: transform 0.2s ease;
  transform-origin: center;
}

#foot .vms-footer-brand .vms-recommend-site-button:hover .badge,
#foot .vms-footer-brand .vms-recommend-site-button:focus .badge {
  transform: scale(1.15);
}

#foot .vms-footer-statistics .vms-rate-review-button {
  transition: transform 0.2s ease, background-color 0.2s ease;
  transform-origin: center;
}

#foot .vms-footer-logo img {
  display: block;
  width: 245px;
  max-width: 100%;
  height: auto;
}

#foot .vms-footer-brand p {
  margin: 0;
  color: #ccc;
  font-size: 14px;
  line-height: 1.65;
}

#foot .vms-footer-grid h3 {
  margin: 0 0 13px;
}

#foot .vms-footer-grid li {
  margin-bottom: 5px;
  line-height: 1.45;
}

#foot .footer-bottom-links {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  text-align: center;
}

#foot .footer-bottom-links small {
  display: block;
  line-height: 1.6;
}

@media (max-width: 1199.98px) {
  #foot .vms-footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 30px;
  }

  #foot .vms-footer-brand {
    grid-column: span 1;
  }
}

@media (max-width: 767.98px) {
  .vms-site-stats-header {
    display: block;
  }

  .vms-site-stats-actions {
    width: 100%;
    min-width: 0;
    margin-top: 14px;
  }

  #foot {
    padding: 30px 14px 20px;
  }

  #foot .vms-footer-container {
    width: 100%;
  }

  #foot .vms-footer-grid {
    grid-template-columns: 1fr;
    row-gap: 24px;
  }

  #foot .vms-footer-logo img {
    width: 230px;
  }

  #foot .footer-bottom-links {
    margin-top: 22px;
  }
}

/* V31: uniform compact page-title scale. Page titles never exceed sidebar section headings. */
main h1,
main .h1,
main legend,
main .page-title,
main .content-title,
main .modal-title,
main .jumbotron h1,
main .vms-how-it-works > h1,
main .vms-legal > h1,
main .vms-section-title,
main #user_cp_content > div > h2 {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 20px !important;
  line-height: 1.3 !important;
}

/* Secondary headings are deliberately smaller than page titles. */
main h2,
main .h2 {
  font-size: 18px !important;
  line-height: 1.35 !important;
}

main h3,
main .h3 {
  font-size: 17px !important;
  line-height: 1.4 !important;
}

/* User Control Panel page headings are page titles, not secondary headings. */
main #user_cp_content > div > h2 {
  font-size: 20px !important;
  line-height: 1.3 !important;
}

/* Legal-page section subtitles use the smaller hierarchy. */
main .vms-legal h2 {
  font-size: 16px !important;
  line-height: 1.35 !important;
}

main .vms-legal h3 {
  font-size: 15px !important;
  line-height: 1.4 !important;
}

main .vms-how-it-works h2,
main .vms-faq h2 {
  font-size: 16px !important;
  line-height: 1.35 !important;
}

main .vms-how-it-works h3,
main .vms-faq .vms-faq-item h3 {
  font-size: 15px !important;
  line-height: 1.4 !important;
}

main .vms-section-title {
  margin-top: -10px !important;
  margin-bottom: 10px !important;
}

main .vms-how-summary strong,
main .vms-legal-summary strong,
main .vms-how-toc strong,
main .vms-how-step strong,
main .vms-how-faq-item strong {
  font-size: 16px !important;
  line-height: 1.35 !important;
}

/* Site Info title: preserve original size and center vertically with VoteMySite Score card. */
main .vms-site-stats-title {
  font-size: 20px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Ranking score badges and site-score card: link to the matching How It Works explanation and use the same hover zoom as other controls. */
.vms-ranking-score-link,
.vms-site-score-help-link {
  text-decoration: none !important;
  transition: transform 0.2s ease;
  transform-origin: center;
}

.vms-ranking-score-link {
  display: inline-flex;
}

/* Desktop ranking action row: match the VoteMySite Score badge height to the neighboring controls. */
@media (min-width: 992px) {
  .rankbox .vms-listing-actions .vms-ranking-score-link .badge,
  .lower_rankbox .vms-listing-actions .vms-ranking-score-link .badge {
    box-sizing: border-box;
    height: 20px;
    min-height: 20px;
    padding-top: 1px;
    padding-bottom: 1px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .rankbox .vms-ranking-review-group .vms-rate-review-button,
  .lower_rankbox .vms-ranking-review-group .vms-rate-review-button {
    box-sizing: border-box;
    height: 20px;
    min-height: 20px;
    padding-top: 1px;
    padding-bottom: 1px;
    border-radius: .25rem;
  }
}

.vms-site-score-help-link {
  display: block;
  width: 100%;
}

.vms-ranking-score-link:hover,
.vms-ranking-score-link:focus,
.vms-site-score-help-link:hover,
.vms-site-score-help-link:focus {
  text-decoration: none !important;
  transform: scale(1.15);
}
.vms-recommend-site-button .badge {
  padding-right: calc(.4em + 2px);
}


/* VoteMySite mobile ranking/app layout refinements */
@media (max-width: 991.98px) {
  /* Keep search visible under the app bar instead of inside the hamburger menu. */
  .vms-main-nav .vms-main-search {
    display: none !important;
  }

  .vms-mobile-search-wrap {
    position: relative;
    z-index: 1025;
    margin: 10px 0 0;
  }

  .vms-mobile-main-search {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    width: 100%;
    margin: 0 !important;
    padding: 0;
  }

  .vms-mobile-main-search .form-control,
  .vms-mobile-main-search .btn {
    margin: 0 !important;
  }

  /* Dark, high-contrast app-style slide-down menu. */
  .vms-main-nav {
    position: relative;
    z-index: 1035;
  }

  .vms-main-nav .navbar-collapse {
    position: absolute;
    top: 8px;
    right: 12px;
    left: 12px;
    margin: 0;
    padding: 8px;
    border: 1px solid #263746;
    border-radius: 14px;
    background: #2f4050;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .28);
  }

  .vms-main-nav.navbar-dark .navbar-nav .nav-item .nav-link,
  .vms-main-nav.navbar-dark .navbar-nav .nav-item .vms-add-site-link {
    min-height: 46px;
    padding: 11px 13px;
    border-bottom: 1px solid rgba(255, 255, 255, .11);
    border-radius: 8px;
    background: transparent;
    color: #f7fafc !important;
    font-size: 16px;
    font-weight: 600;
  }

  .vms-main-nav.navbar-dark .navbar-nav .nav-item .nav-link:hover,
  .vms-main-nav.navbar-dark .navbar-nav .nav-item .nav-link:focus,
  .vms-main-nav.navbar-dark .navbar-nav .nav-item .vms-add-site-link:hover,
  .vms-main-nav.navbar-dark .navbar-nav .nav-item .vms-add-site-link:focus {
    background: #336699;
    color: #fff !important;
  }

  .vms-main-nav.navbar-dark .navbar-nav .vms-mobile-signin-item .nav-link {
    background: #336699;
    color: #fff !important;
    font-weight: 700;
  }

  .vms-main-nav .vms-mobile-nav-extras {
    border-top-color: rgba(255, 255, 255, .13);
  }

  .vms-main-nav .vms-mobile-welcome,
  .vms-main-nav .vms-mobile-legal-links a {
    color: #eef4f8 !important;
  }

  .vms-page-scroll-controls {
    display: none !important;
  }
}

@media (max-width: 767.98px) {
  /* Browse Rankings & Categories sits above the ranking list. */
  main > .row {
    display: flex;
    flex-direction: column;
  }

  main > .row > .sidebar {
    order: -1;
    margin-top: 0;
    margin-bottom: 10px;
  }

  /* Highlighted Site becomes the first listing-style card on the homepage. */
  .vms-mobile-highlighted-site {
    margin: 0 0 14px;
  }

  .vms-mobile-highlighted-site .vms-highlighted-member-heading {
    margin: 0;
    padding: 10px 12px;
    border-radius: 12px 12px 0 0;
    background: #2f4050;
  }

  .vms-mobile-highlighted-site ul.vistip.newmembers {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .vms-mobile-highlighted-site .vms-highlighted-member-box {
    height: auto;
    min-height: 0;
    max-height: none;
    padding: 14px;
    border: 1px solid #cfdbe5;
    border-top: 0;
    border-radius: 0 0 12px 12px;
    background: linear-gradient(to bottom, #f2f9fe 42%, #d6f0fd 100%);
    box-shadow: 0 4px 14px rgba(34, 65, 91, .08);
  }

  /* Do not duplicate the legacy desktop Highlighted Site inside the mobile sidebar. */
  .sidebar .vms-sidebar-highlighter .vms-highlighted-member-heading,
  .sidebar .vms-sidebar-highlighter .vms-highlighted-member-heading + ul,
  .sidebar .vms-sidebar-highlighter .vms-highlighted-member-heading + ul + br,
  .sidebar .vms-sidebar-highlighter .vms-highlighted-member-heading + ul + br + div {
    display: none !important;
  }

  /* Title-bar category/info/vote/share controls align right. */
  .rankbox .tablecat,
  .lower_rankbox .tablecat {
    justify-content: flex-end;
    text-align: right;
  }

  /* Rank stays left and the main Vote control goes to the far right. */
  .rankbox > .row:not(.titlebar) > .col-md-2,
  .lower_rankbox > .row:not(.titlebar2) > .col-md-2 {
    width: 100%;
  }

  .rank-vote-link {
    width: 100%;
    justify-content: space-between;
  }

  /* VoteMySite Score + Visit Now form a left-aligned action row. */
  .vms-listing-actions {
    flex: 0 0 100%;
    width: 100%;
    margin-top: 4px;
    margin-left: 0;
    justify-content: flex-start;
  }
}

@media (max-width: 420px) {
  .vms-mobile-logo img {
    width: min(176px, 42vw);
  }

  .vms-mobile-account-button {
    min-height: 38px;
    padding: 7px 8px;
    font-size: 12px;
  }

  .vms-mobile-main-search {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .vms-mobile-main-search .btn {
    width: auto;
    padding-right: 12px;
    padding-left: 12px;
  }
}

/* V11 mobile navigation, ranking controls, and user-area refinements */
.vms-mobile-title-rating {
  display: none;
}

@media (max-width: 991.98px) {
  .vms-mobile-account-button {
    transition: background-color .15s ease, box-shadow .15s ease, color .15s ease;
  }

  .vms-mobile-account-button:hover,
  .vms-mobile-account-button:focus {
    background: #294f75;
    box-shadow: 0 3px 10px rgba(41, 79, 117, .22);
    color: #fff !important;
    text-decoration: none !important;
  }

  /* Keep every logged-in account tool visible instead of using a sideways scroller. */
  .vms-site-header > .navbar-light.bg-light {
    overflow: visible;
  }

  #usermenu .usermenu {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    padding: 0;
    overflow: visible;
  }

  #usermenu .usermenu .nav-link {
    min-width: 0;
  }

  #usermenu .usermenu .nav-link a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 42px;
    padding: 8px 10px;
    border-radius: 9px;
    white-space: normal;
    text-align: center;
    line-height: 1.25;
  }

  /* User-area site search controls stay left aligned and use the available width. */
  #user_cp_content .vms-usercp-header-tools {
    width: 100%;
    margin: 8px 0 0 !important;
    text-align: left !important;
  }

  #user_cp_content span.form-group:has(input[id$="-site-search"]) {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center !important;
    justify-content: start !important;
    gap: 6px 8px !important;
    width: 100%;
    margin: 0 !important;
    white-space: normal !important;
    text-align: left !important;
  }

  #user_cp_content span.form-group:has(input[id$="-site-search"]) label {
    margin: 0 !important;
    text-align: left !important;
  }

  #user_cp_content span.form-group:has(input[id$="-site-search"]) input {
    grid-column: 1 / -1;
    width: 100% !important;
    max-width: none !important;
  }

  /* Mobile hover/focus can retain color feedback without enlarging controls. */
  .vms-page-shell a:hover,
  .vms-page-shell a:focus,
  .vms-page-shell a:hover *,
  .vms-page-shell a:focus *,
  .vms-page-shell button:hover,
  .vms-page-shell button:focus,
  .vms-page-shell button:hover *,
  .vms-page-shell button:focus * {
    transform: none !important;
  }
}

@media (max-width: 767.98px) {
  /* Match the desktop Highlighted Site card color. */
  .vms-mobile-highlighted-site .vms-highlighted-member-box {
    border-color: #17a2b8;
    background: #fff6cc;
  }

  /* Ranking title stays centered on one line on mobile. */
  main .vms-section-title {
    width: 100%;
    margin-left: auto !important;
    margin-right: auto !important;
    font-size: clamp(10px, 3.1vw, 15px) !important;
    line-height: 1.25 !important;
    text-align: center !important;
    white-space: nowrap;
  }

  /* Rating peppers move into the title controls before the buttons. */
  .rankbox .tablecat .vms-mobile-title-rating,
  .lower_rankbox .tablecat .vms-mobile-title-rating {
    display: inline-block;
    flex: 0 0 auto;
    width: auto;
    height: 20px;
    margin: 0;
    object-fit: contain;
  }

  /* Remove the duplicate Vote control from the title bar on mobile. */
  .rankbox .tablecat .vms-title-vote,
  .lower_rankbox .tablecat .vms-title-vote {
    display: none !important;
  }

  .rankbox .vms-ranking-rating-peppers,
  .lower_rankbox .vms-ranking-rating-peppers {
    display: none !important;
  }

  /* Rate & Review, score, and Visit Now remain on the same row. */
  .rankbox .vms-ranking-bottom-row,
  .lower_rankbox .vms-ranking-bottom-row {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    gap: 4px !important;
  }

  .rankbox .vms-ranking-review-group,
  .lower_rankbox .vms-ranking-review-group {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    min-width: 0;
  }

  .rankbox .vms-rate-review-button,
  .lower_rankbox .vms-rate-review-button {
    min-height: 20px;
    padding: 1px 5px;
    font-size: 10px;
    line-height: 18px;
  }

  .rankbox .vms-listing-actions,
  .lower_rankbox .vms-listing-actions {
    flex: 0 0 auto;
    width: auto;
    margin: 0;
    gap: 4px;
    flex-wrap: nowrap;
    justify-content: flex-start;
  }

  .rankbox .vms-listing-actions .vms-ranking-score-link,
  .lower_rankbox .vms-listing-actions .vms-ranking-score-link {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .rankbox .vms-listing-actions .badge,
  .lower_rankbox .vms-listing-actions .badge {
    padding: .28em .38em;
    font-size: 10px;
    white-space: nowrap;
  }

  .rankbox .vms-listing-actions .site-image-container,
  .lower_rankbox .vms-listing-actions .site-image-container {
    width: 88px !important;
    max-width: 88px !important;
    flex: 0 0 88px !important;
  }

  /* Rank stays left and Vote stays right without hover enlargement. */
  .rankbox .rank-vote-link,
  .lower_rankbox .rank-vote-link {
    width: 100%;
    justify-content: space-between;
    transform: none !important;
  }

  /* Cut the vertical whitespace around pagination in half. */
  main div.pagination {
    margin-top: 15px !important;
    margin-bottom: 15px !important;
  }

  main div.pagination > ul.pagination {
    margin: 0 !important;
  }
}



/* V12 mobile layout refinements */
.vms-highlighted-member-rating-peppers {
  display: inline-block;
  width: auto;
  height: 20px;
  object-fit: contain;
  vertical-align: middle;
}

#foot .vms-footer-share-tail {
  white-space: nowrap;
}

#foot .vms-footer-share-tail .vms-recommend-site-button {
  display: inline-flex;
  vertical-align: middle;
}

@media (max-width: 767.98px) {
  /* Browse stays directly below Search, before logged-in account shortcuts. */
  .vms-mobile-browse-toggle {
    margin-top: 10px;
    margin-bottom: 10px;
  }

  #vmsMobileSidebar {
    width: 100%;
    margin: 0 0 10px;
  }

  main > .row > .sidebar {
    min-height: 0;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  /* The desktop Highlighted Site must never appear inside Browse Rankings & Categories. */
  .vms-sidebar-highlighter {
    display: none !important;
  }

  /* Cut the visual gap after the homepage Highlighted Site approximately in half. */
  .vms-mobile-highlighted-site {
    margin-bottom: 19px !important;
  }

  .vms-mobile-highlighted-site > br,
  .vms-mobile-highlighted-site > div[style*="clear"] {
    display: none !important;
  }

  /* Highlighted Site: peppers sit directly beside Rate and Review. */
  .vms-mobile-highlighted-site .vms-highlighted-member-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: stretch !important;
    width: 100%;
    gap: 4px !important;
  }

  .vms-mobile-highlighted-site .vms-highlighted-member-actions .vms-rate-review-button {
    flex: 1.15 1 0;
    min-width: 0;
  }

  .vms-mobile-highlighted-site .vms-highlighted-member-rating-peppers {
    flex: .9 1 0;
    width: 0;
    min-width: 64px;
    max-width: 88px;
    height: 20px;
  }

  .vms-mobile-highlighted-site .vms-highlighted-member-visit {
    flex: 1 1 0;
    min-width: 0;
  }

  .vms-mobile-highlighted-site .vms-highlighted-member-visit img {
    width: 100% !important;
    height: 20px !important;
    object-fit: fill;
  }

  .vms-mobile-highlighted-site .vms-highlighted-member-actions .vms-recommend-site-button {
    flex: 0 0 28px;
  }

  /* Ranking title controls use the complete line instead of bunching together. */
  .rankbox .tablecat,
  .lower_rankbox .tablecat {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: stretch !important;
    width: 100%;
    gap: 4px !important;
  }

  .rankbox .tablecat .vms-mobile-title-rating,
  .lower_rankbox .tablecat .vms-mobile-title-rating {
    flex: 1 1 0 !important;
    width: 0 !important;
    min-width: 64px;
    max-width: 88px;
    height: 20px !important;
    object-fit: contain;
  }

  .rankbox .tablecat > a,
  .lower_rankbox .tablecat > a {
    flex: 1 1 0;
    min-width: 0;
  }

  .rankbox .tablecat > a:first-of-type,
  .lower_rankbox .tablecat > a:first-of-type {
    flex: 2.25 1 0;
  }

  .rankbox .tablecat > .vms-recommend-site-button,
  .lower_rankbox .tablecat > .vms-recommend-site-button {
    flex: 0 0 28px;
  }

  .rankbox .tablecat > a .badge,
  .lower_rankbox .tablecat > a .badge {
    display: inline-flex;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* Rate & Review, score, and Visit Now stretch across one complete action row. */
  .rankbox .vms-ranking-bottom-row,
  .lower_rankbox .vms-ranking-bottom-row {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    width: 100%;
    gap: 4px !important;
  }

  .rankbox .vms-ranking-review-group,
  .lower_rankbox .vms-ranking-review-group {
    flex: .95 1 0 !important;
    width: auto;
    min-width: 0;
  }

  .rankbox .vms-ranking-review-group .vms-rate-review-button,
  .lower_rankbox .vms-ranking-review-group .vms-rate-review-button {
    width: 100%;
    min-width: 0;
    padding-right: 3px;
    padding-left: 3px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .rankbox .vms-listing-actions,
  .lower_rankbox .vms-listing-actions {
    display: flex !important;
    flex: 2.20 1 0 !important;
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
    gap: 4px !important;
  }

  .rankbox .vms-listing-actions .vms-ranking-score-link,
  .lower_rankbox .vms-listing-actions .vms-ranking-score-link {
    display: flex;
    flex: 1.35 1 0 !important;
    min-width: 0;
  }

  .rankbox .vms-listing-actions .vms-ranking-score-link .badge,
  .lower_rankbox .vms-listing-actions .vms-ranking-score-link .badge {
    display: inline-flex;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    padding-right: 3px;
    padding-left: 3px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .rankbox .vms-listing-actions .site-image-container,
  .lower_rankbox .vms-listing-actions .site-image-container {
    display: flex !important;
    flex: .85 1 0 !important;
    align-items: center;
    width: auto !important;
    max-width: none !important;
    height: 20px !important;
    min-width: 0;
    overflow: hidden;
  }

  .rankbox .vms-listing-actions .site-image-container::before,
  .lower_rankbox .vms-listing-actions .site-image-container::before {
    display: none !important;
  }

  .rankbox .vms-listing-actions .site-image-container img,
  .lower_rankbox .vms-listing-actions .site-image-container img {
    position: static !important;
    width: 100% !important;
    height: 20px !important;
    object-fit: fill !important;
  }

  /* Pagination keeps its current top spacing; only the space underneath is halved. */
  main div.pagination {
    margin-bottom: 3.75px !important;
  }

  /* Registration/edit/account forms use the same full mobile width as Sign In. */
  main .vms-main-content form,
  main .vms-main-content fieldset,
  main .vms-main-content .form-group,
  main .vms-main-content .form-control,
  main .vms-main-content input[type="text"],
  main .vms-main-content input[type="email"],
  main .vms-main-content input[type="password"],
  main .vms-main-content input[type="search"],
  main .vms-main-content select,
  main .vms-main-content textarea {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
  }

  main .vms-main-content form .row > .col {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Page titles are centered and remain on one line on phones. */
  main .vms-main-content > h1,
  main .vms-main-content > h2,
  main .vms-section-title,
  main .page-title,
  main .content-title,
  main .jumbotron h1,
  main #user_cp_content > div > h2,
  main .vms-how-it-works > h1,
  main .vms-legal > h1,
  main .vms-main-content > form:first-child > fieldset:first-child > legend {
    display: block;
    width: 100%;
    margin-right: auto !important;
    margin-left: auto !important;
    font-size: clamp(9px, 2.6vw, 18px) !important;
    line-height: 1.25 !important;
    text-align: center !important;
    white-space: nowrap !important;
  }

  /* Statistics tables fit the phone width instead of creating a bottom scrollbar. */
  #stats-tabs,
  #stats-tabs .tab-content,
  #stats-tabs .tab-pane,
  #stats-tabs .table-responsive {
    width: 100%;
    max-width: 100%;
    overflow-x: visible !important;
  }

  #stats-tabs table,
  #stats-tabs table.table,
  #stats-tabs table.tab-pane {
    display: table !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    table-layout: fixed !important;
    overflow: visible !important;
    margin-bottom: 0;
  }

  #stats-tabs table th,
  #stats-tabs table td {
    width: auto !important;
    min-width: 0 !important;
    padding: 6px 3px !important;
    font-size: 10px;
    line-height: 1.2;
    text-align: center;
    vertical-align: middle;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
  }

  #stats-tabs table th:first-child,
  #stats-tabs table td:first-child {
    width: 18% !important;
    text-align: left;
  }

  #stats-tabs .nav-pills .nav-link {
    padding: 7px 3px;
    font-size: 12px;
  }



  /* Search results: keep the title on its own line and the action icons below it. */
  .vms-search-result-title {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 5px !important;
  }

  .vms-search-result-title > strong {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .vms-search-result-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    width: 100%;
    min-width: 0;
    margin-left: 0 !important;
    gap: 6px !important;
  }

  .vms-search-result-actions > a {
    flex: 0 0 auto;
    min-width: 0;
  }

  .vms-search-result-actions .vms-highlighted-member-visit {
    display: flex;
    flex: 0 0 108px;
    width: 108px;
    max-width: 108px;
    overflow: visible;
  }

  .vms-search-result-actions .vms-highlighted-member-visit img {
    display: block;
    position: static !important;
    width: 108px !important;
    max-width: 108px !important;
    height: 20px !important;
    object-fit: fill !important;
  }

  .vms-search-result-actions .vms-recommend-site-button {
    flex: 0 0 28px;
  }

  /* No mobile hover zoom anywhere, including the footer. */
  #foot a:hover,
  #foot a:focus,
  #foot a:hover *,
  #foot a:focus *,
  #foot button:hover,
  #foot button:focus,
  #foot button:hover *,
  #foot button:focus * {
    transform: none !important;
  }
}

/* V14 mobile browse, ranking control, and sign-in refinements */
@media (max-width: 767.98px) {
  /* Non-landing pages: show Highlighted Site first when Browse Rankings & Categories opens. */
  .vms-sidebar-mobile-highlighter:empty {
    display: none !important;
  }

  .vms-sidebar-mobile-highlighter {
    width: 100%;
    margin: 0 0 12px;
  }

  .vms-sidebar-mobile-highlighter > br,
  .vms-sidebar-mobile-highlighter > div[style*="clear"] {
    display: none !important;
  }

  .vms-sidebar-mobile-highlighter .vms-highlighted-member-box {
    border-color: #17a2b8;
    background: #fff6cc;
  }

  /* Browse-panel Highlighted Site uses the same full-row mobile action layout as the homepage card. */
  .vms-sidebar-mobile-highlighter .vms-highlighted-member-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: stretch !important;
    flex-wrap: nowrap !important;
    width: 100%;
    gap: 4px !important;
  }

  .vms-sidebar-mobile-highlighter .vms-highlighted-member-actions .vms-rate-review-button {
    flex: 1.15 1 0 !important;
    min-width: 0 !important;
  }

  .vms-sidebar-mobile-highlighter .vms-highlighted-member-rating-peppers {
    flex: .9 1 0 !important;
    width: 0 !important;
    min-width: 64px !important;
    max-width: 88px !important;
    height: 20px !important;
  }

  .vms-sidebar-mobile-highlighter .vms-highlighted-member-visit {
    flex: 1 1 0 !important;
    min-width: 0 !important;
  }

  .vms-sidebar-mobile-highlighter .vms-highlighted-member-visit img {
    width: 100% !important;
    max-width: none !important;
    height: 20px !important;
    object-fit: fill !important;
  }

  .vms-sidebar-mobile-highlighter .vms-highlighted-member-actions .vms-recommend-site-button {
    flex: 0 0 28px !important;
  }

  /* Keep the V13 ranking button widths/spacing; only equalize the VoteMySite Score height. */
  .rankbox .vms-listing-actions .vms-ranking-score-link .badge,
  .lower_rankbox .vms-listing-actions .vms-ranking-score-link .badge {
    box-sizing: border-box !important;
    height: 22px !important;
    min-height: 22px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Sign-in actions stay on one row on phone-sized screens. */
  .vms-login-actions {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    width: 100%;
    gap: 6px;
  }

  .vms-login-actions .btn {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    padding: 7px 8px !important;
    font-size: clamp(10px, 2.8vw, 13px) !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
  }

  .vms-login-actions .btn-secondary {
    flex: 1 1 auto !important;
  }
}

/* V31: keep Rate & Review sizing consistent and contain Highlighted Site desktop actions. */
.vms-rate-review-button {
  box-sizing: border-box;
  height: 20px;
  min-height: 20px;
  padding-top: 1px;
  padding-bottom: 1px;
  border-radius: .25rem !important;
}

@media (min-width: 992px) {
  .vms-highlighted-member-actions {
    flex-wrap: nowrap;
    gap: 4px;
    width: 100%;
    min-width: 0;
  }

  .vms-highlighted-member-actions .vms-rate-review-button {
    flex: 0 0 auto;
    padding-left: 4px;
    padding-right: 5px;
  }

  .vms-highlighted-member-actions .vms-highlighted-member-rating-peppers {
    max-width: 64px;
    object-fit: contain;
  }

  .vms-highlighted-member-actions .vms-highlighted-member-visit,
  .vms-highlighted-member-actions .vms-recommend-site-button {
    flex: 0 0 auto;
  }
}

@media (max-width: 767.98px) {
  .rankbox .vms-ranking-review-group .vms-rate-review-button,
  .lower_rankbox .vms-ranking-review-group .vms-rate-review-button {
    box-sizing: border-box !important;
    height: 22px !important;
    min-height: 22px !important;
    border-radius: .25rem !important;
  }

  .vms-mobile-highlighted-site .vms-highlighted-member-actions .vms-rate-review-button,
  .vms-sidebar-mobile-highlighter .vms-highlighted-member-actions .vms-rate-review-button,
  #foot .vms-rate-review-button {
    box-sizing: border-box !important;
    height: 20px !important;
    min-height: 20px !important;
    border-radius: .25rem !important;
  }
}

/* V32: give every ranking Score icon consistent breathing room before its label. */
.vms-ranking-score-link .badge i {
  margin-right: 4px !important;
}

/* V36: double the desktop pagination strip height to 92px. */
@media (min-width: 768px) {
  .vms-main-content:has(> div.pagination) > .rankbox:last-of-type,
  .vms-main-content:has(> div.pagination) > .lower_rankbox:last-of-type {
    margin-bottom: 0 !important;
  }

  main div.pagination {
    box-sizing: border-box !important;
    min-height: 92px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    align-items: center !important;
  }

  main div.pagination > ul.pagination {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  body:has(main div.pagination) #foot {
    margin-top: 0 !important;
  }
}
/* V41: keep exactly 20px above and below the main desktop footer columns. */
@media (min-width: 768px) {
  #foot {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  #foot .footer-bottom-links {
    margin-top: 20px;
  }
}

/* V43: prevent the last Featured Site description margin from inflating footer bottom spacing. */
@media (min-width: 768px) {
  #foot .vms-footer-featured .vms-featured-member:last-child > p:last-child {
    margin-bottom: 0 !important;
  }
}

/* V58: real Visit Now controls + Rate & Review matches Create Account blue. */
.vms-rate-review-button {
  background: #1064c5 !important;
}

.vms-rate-review-button:hover,
.vms-rate-review-button:focus {
  background: #0d52a3 !important;
  box-shadow: 0 0 0 .2rem rgba(16, 100, 197, .20);
}

.vms-visit-now-button {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: stretch !important;
  justify-content: center !important;
  width: 115px;
  height: 20px !important;
  min-height: 20px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: .25rem !important;
  overflow: hidden !important;
  background: linear-gradient(180deg, #42b8e9 0%, #159bd4 100%) !important;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 20px !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  transition: transform .2s ease, filter .2s ease, box-shadow .2s ease !important;
  transform-origin: center;
  vertical-align: middle;
}

.site-image-container.vms-visit-now-button {
  max-width: 115px !important;
}

.site-image-container.vms-visit-now-button::before {
  display: none !important;
  padding-bottom: 0 !important;
}

.vms-visit-now-button .vms-visit-now-text {
  display: inline-flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 0 2px;
  text-transform: uppercase;
  letter-spacing: .05px;
}

.vms-visit-now-button .vms-visit-now-arrow {
  display: inline-flex;
  flex: 0 0 20px;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  background: #111;
  color: #fff;
  font-size: 11px;
  line-height: 1;
}

.vms-visit-now-button:hover,
.vms-visit-now-button:focus {
  background: linear-gradient(180deg, #2eabe0 0%, #0d86bd 100%) !important;
  color: #fff !important;
  text-decoration: none !important;
  transform: scale(1.15);
  box-shadow: 0 2px 7px rgba(0, 0, 0, .18);
}

/* Ranking rows: same control height as neighboring buttons on small phones. */
@media (max-width: 767.98px) {
  .rankbox .vms-listing-actions .site-image-container.vms-visit-now-button,
  .lower_rankbox .vms-listing-actions .site-image-container.vms-visit-now-button {
    width: auto !important;
    max-width: none !important;
    height: 22px !important;
    min-height: 22px !important;
    flex: .85 1 0 !important;
    line-height: 22px !important;
  }

  .vms-mobile-highlighted-site .vms-highlighted-member-visit.vms-visit-now-button,
  .vms-sidebar-mobile-highlighter .vms-highlighted-member-visit.vms-visit-now-button {
    width: auto !important;
    max-width: none !important;
    height: 20px !important;
    min-height: 20px !important;
  }

  .vms-search-result-actions .vms-highlighted-member-visit.vms-visit-now-button {
    width: 108px !important;
    max-width: 108px !important;
    height: 20px !important;
    min-height: 20px !important;
    flex: 0 0 108px !important;
  }
}


/* V62: section-title icons for the right sidebar and footer. */
.vms-section-heading-icon,
#foot .vms-footer-heading-icon {
  display: inline-block;
  width: 16px;
  margin-right: 7px;
  text-align: center;
}

.vms-highlighted-flashlight-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 7px;
  vertical-align: -3px;
  transform: scaleX(-1);
  transform-origin: center;
}

/* V64: restore full, readable colored section-heading icons. */
.vms-section-heading-icon {
  width: 18px !important;
  margin-right: 7px !important;
  font-size: 15px !important;
  line-height: 1 !important;
  vertical-align: 0 !important;
}

.heading .fa-trophy.vms-section-heading-icon {
  color: #f4c542 !important;
}

.heading .fa-list-alt.vms-section-heading-icon {
  color: #4da3e2 !important;
}

.heading .fa-clock.vms-section-heading-icon {
  color: #39b9ad !important;
}

.vms-highlighted-flashlight-icon {
  width: 18px !important;
  height: 18px !important;
  margin-right: 7px !important;
  vertical-align: -4px !important;
  color: #f0b323 !important;
  transform: none !important;
}

#foot .vms-footer-heading-icon {
  width: 18px !important;
  margin-right: 7px !important;
  font-size: 14px !important;
  line-height: 1 !important;
  vertical-align: 0 !important;
}

#foot .fa-link.vms-footer-heading-icon {
  color: #4da3e2 !important;
}

#foot .fa-thumbs-up.vms-footer-heading-icon {
  color: #39b96d !important;
}

#foot .fa-thumbtack.vms-footer-heading-icon {
  color: #f28c28 !important;
}

#foot .fa-chart-bar.vms-footer-heading-icon {
  color: #49bfe3 !important;
}

/* V65: use the exact colorful emoji-style section icons shown in the approved visual reference. */
.heading .fa-trophy.vms-section-heading-icon::before,
.heading .fa-list-alt.vms-section-heading-icon::before,
.heading .fa-clock.vms-section-heading-icon::before,
#foot .fa-link.vms-footer-heading-icon::before,
#foot .fa-thumbs-up.vms-footer-heading-icon::before,
#foot .fa-thumbtack.vms-footer-heading-icon::before,
#foot .fa-chart-bar.vms-footer-heading-icon::before,
.vms-highlighted-member-heading > span::before {
  font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif !important;
  font-weight: 400 !important;
  font-style: normal !important;
  line-height: 1 !important;
}

.heading .fa-trophy.vms-section-heading-icon,
.heading .fa-list-alt.vms-section-heading-icon,
.heading .fa-clock.vms-section-heading-icon,
#foot .vms-footer-heading-icon {
  width: 21px !important;
  margin-right: 7px !important;
  color: inherit !important;
  font-size: 14px !important;
  vertical-align: -1px !important;
}

.heading .fa-trophy.vms-section-heading-icon::before { content: "🏆" !important; }
.heading .fa-list-alt.vms-section-heading-icon::before { content: "📋" !important; }
.heading .fa-clock.vms-section-heading-icon::before { content: "🕒" !important; }

#foot .fa-link.vms-footer-heading-icon::before { content: "🔗" !important; }
#foot .fa-thumbs-up.vms-footer-heading-icon::before { content: "👍" !important; }
#foot .fa-thumbtack.vms-footer-heading-icon::before { content: "📌" !important; }
#foot .fa-chart-bar.vms-footer-heading-icon::before { content: "📊" !important; }

/* Replace the custom monochrome flashlight SVG with the approved colorful flashlight emoji. */
.vms-highlighted-member-heading .vms-highlighted-flashlight-icon {
  display: none !important;
}

.vms-highlighted-member-heading > span::before {
  content: "🔦" !important;
  display: inline-block;
  width: 21px;
  margin-right: 7px;
  font-size: 17px;
  text-align: center;
  vertical-align: -1px;
  transform: scaleX(-1);
  transform-origin: center;
}

/* V66: vertically center the colorful footer heading icons with their title text. */
#foot .vms-footer-grid h3 {
  display: flex;
  align-items: center;
}

#foot .vms-footer-heading-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 1em !important;
  line-height: 1 !important;
  vertical-align: middle !important;
  position: relative;
  top: -3px;
  flex: 0 0 21px;
}

#foot .vms-footer-heading-icon::before {
  display: block;
  line-height: 1 !important;
}


/* V68: fine-tune approved section-heading icon vertical alignment. */
/* Right sidebar: Ranking Methods and Categories 1px higher; Highlighted Site 2px higher; Newest Sites unchanged. */
.heading .fa-trophy.vms-section-heading-icon,
.heading .fa-list-alt.vms-section-heading-icon {
  position: relative;
  top: -1px;
}

.vms-highlighted-member-heading > span::before {
  position: relative;
  top: -2px;
}

/* V70: keep V69 alignment and move Featured Sites 1px higher. */
#foot .fa-link.vms-footer-heading-icon,
#foot .fa-thumbs-up.vms-footer-heading-icon {
  top: -1px;
}

#foot .fa-thumbtack.vms-footer-heading-icon {
  top: -2px;
}

#foot .fa-chart-bar.vms-footer-heading-icon {
  top: -3px;
}

/* V75: bring footer heading icons 2px closer to text and raise Featured Sites 1px. */
#foot .vms-footer-heading-icon {
  margin-right: 1.5px !important;
}

#foot .fa-thumbs-up.vms-footer-heading-icon {
  top: -2px;
}

#foot .fa-thumbtack.vms-footer-heading-icon {
  top: -2px;
}


/* V77: footer icon spacing refinements and navigation icon gap fixes. */
#foot .vms-footer-statistics-link .fa-chart-bar.vms-footer-heading-icon {
  margin-right: 2.5px !important;
}

#foot .vms-footer-navigation .vms-footer-nav-icon-gap-plus-1 {
  margin-right: 5px !important;
}

/* V78: footer title flourish and Navigation icon hover refinements. */
@media (min-width: 768px) {
  /* A short, slightly irregular pen-stroke divider under each of the four footer column titles. */
  #foot .vms-footer-grid > .vms-footer-section h3 {
    position: relative;
    margin-bottom: 18px;
  }

  #foot .vms-footer-grid > .vms-footer-section h3::after {
    content: "";
    position: absolute;
    left: 1px;
    bottom: -6px;
    width: 78px;
    height: 3px;
    border-radius: 60% 40% 55% 45%;
    transform: rotate(-1deg) skewX(-7deg);
    opacity: .9;
    pointer-events: none;
    clip-path: polygon(0 34%, 17% 10%, 38% 31%, 60% 13%, 82% 29%, 100% 18%, 98% 70%, 80% 57%, 59% 78%, 37% 59%, 17% 76%, 0 63%);
  }

  #foot .vms-footer-grid > .vms-footer-section:nth-child(2) h3::after {
    background: linear-gradient(90deg, #ffffff, rgba(255,255,255,.78) 72%, transparent);
  }

  #foot .vms-footer-newest h3::after {
    background: linear-gradient(90deg, #ef5d8b, #ff8a72 72%, transparent);
  }

  #foot .vms-footer-featured h3::after {
    background: linear-gradient(90deg, #f2b84b, #ffd36a 72%, transparent);
  }

  #foot .vms-footer-statistics h3::after {
    background: linear-gradient(90deg, #49bfe3, #72d5ee 72%, transparent);
  }
}

/* Footer Navigation icons stay white normally and reveal a natural accent color on hover/focus. */
#foot .vms-footer-navigation a i {
  transition: color .16s ease;
}
#foot .vms-footer-navigation a:hover .fa-plus-circle,
#foot .vms-footer-navigation a:focus .fa-plus-circle { color: #35c66b !important; }
#foot .vms-footer-navigation a:hover .fa-cogs,
#foot .vms-footer-navigation a:focus .fa-cogs { color: #b8c2cc !important; }
#foot .vms-footer-navigation a:hover .fa-chart-bar,
#foot .vms-footer-navigation a:focus .fa-chart-bar { color: #49bfe3 !important; }
#foot .vms-footer-navigation a:hover .fa-lightbulb,
#foot .vms-footer-navigation a:focus .fa-lightbulb { color: #ffd24a !important; }
#foot .vms-footer-navigation a:hover .fa-question-circle,
#foot .vms-footer-navigation a:focus .fa-question-circle { color: #64b5f6 !important; }
#foot .vms-footer-navigation a:hover .fa-file-contract,
#foot .vms-footer-navigation a:focus .fa-file-contract { color: #e9c46a !important; }
#foot .vms-footer-navigation a:hover .fa-shield-alt,
#foot .vms-footer-navigation a:focus .fa-shield-alt { color: #5aa9e6 !important; }
#foot .vms-footer-navigation a:hover .fa-cookie-bite,
#foot .vms-footer-navigation a:focus .fa-cookie-bite { color: #c98b4b !important; }
#foot .vms-footer-navigation a:hover .fa-headset,
#foot .vms-footer-navigation a:focus .fa-headset { color: #9fa8da !important; }

/* Terms of Service: 1px tighter icon-to-text spacing than the standard footer Navigation items. */
#foot .vms-footer-navigation .vms-footer-nav-icon-gap-minus-1 {
  margin-right: 3px !important;
}


/* V80: align the four desktop footer column headings vertically with the footer logo. */
@media (min-width: 768px) {
  #foot .vms-footer-grid > .vms-footer-section {
    padding-top: 8px;
  }
}

/* V81: align footer-column content with the brand description beneath the logo. */
@media (min-width: 768px) {
  #foot .vms-footer-grid > .vms-footer-section h3 {
    margin-bottom: 30px;
  }
}


/* V82: VoteMySite badge at the left of the copyright strip, aligned with the footer logo. */
#foot .footer-bottom-links {
  position: relative;
  min-height: 31px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#foot .vms-footer-bottom-icons {
  position: absolute;
  left: 0;
  top: calc(50% - 1px);
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 0;
}

#foot .vms-footer-bottom-icons > a {
  display: inline-block;
  line-height: 0;
}

#foot .vms-footer-bottom-icons img {
  display: block;
  border: 0;
}

@media (max-width: 767.98px) {
  #foot .footer-bottom-links {
    display: block;
    min-height: 0;
  }

  #foot .vms-footer-bottom-icons {
    position: static;
    transform: none;
    justify-content: center;
    margin: 0 auto 10px;
  }
}

/* V83: align footer column content with the brand description and center the copyright vote badge vertically. */
@media (min-width: 768px) {
  /* Reduce the divider-to-content gap so the first line aligns with the VoteMySite description. */
  #foot .vms-footer-grid > .vms-footer-section h3 {
    margin-bottom: 20px;
  }

  /* Move the footer's existing bottom breathing room into the copyright strip itself. */
  #foot {
    padding-bottom: 0;
  }

  #foot .footer-bottom-links {
    box-sizing: border-box;
    padding-top: 20px;
    padding-bottom: 20px;
  }
}


/* V87: full-width copyright divider; preserve centered copyright-strip layout. */
@media (min-width: 768px) {
  #foot {
    overflow-x: hidden;
  }

  #foot .footer-bottom-links {
    border-top: 0;
  }

  #foot .footer-bottom-links::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 100vw;
    height: 1px;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, .14);
    pointer-events: none;
  }
}

/* TopRomania: readable statistics headers with clear separation between columns. */
@media (min-width: 768px) {
  #stats-tabs {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  #stats-tabs table.table {
    width: 100%;
    min-width: 920px;
    table-layout: auto;
  }
  #stats-tabs table.table th {
    white-space: nowrap !important;
    font-size: 13px;
    padding: 10px 14px !important;
    border-right: 1px solid #d4dbe2;
  }
  #stats-tabs table.table th:last-child {
    border-right: 0;
  }
}

/* TopRomania V13: Add Site/Create Account fields use the full main-column width like Edit Site. */
@media (min-width: 768px) {
  #signupForm[action*="/panou-control/adauga-un-site/"] .row > .col,
  #signupForm[action$="/creeaza-cont/"] .row > .col {
    flex: 0 0 100%;
    max-width: 100%;
  }

  #signupForm[action*="/panou-control/adauga-un-site/"] label[for="private_stats"],
  #signupForm[action*="/panou-control/adauga-un-site/"] label[for="unsubscribe"] {
    white-space: nowrap;
  }
}

/* TopRomania V13: desktop ranking controls have equal visual height and readable review text. */
@media (min-width: 992px) {
  .rankbox .vms-ranking-review-group .vms-rate-review-button,
  .lower_rankbox .vms-ranking-review-group .vms-rate-review-button,
  .rankbox .vms-listing-actions .vms-ranking-score-link .badge,
  .lower_rankbox .vms-listing-actions .vms-ranking-score-link .badge,
  .rankbox .vms-listing-actions .site-image-container.vms-visit-now-button,
  .lower_rankbox .vms-listing-actions .site-image-container.vms-visit-now-button {
    box-sizing: border-box !important;
    height: 21px !important;
    min-height: 21px !important;
  }

  .rankbox .vms-ranking-review-group .vms-rate-review-button,
  .lower_rankbox .vms-ranking-review-group .vms-rate-review-button {
    padding: 1px 7px !important;
    font-size: 12px !important;
    line-height: 19px !important;
  }
}

/* TopRomania: site-stat controls align exactly with the score card column. */
@media (min-width: 992px) {
  .vms-site-stats-breadcrumb,
  .vms-site-stats-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) calc(33.333333% - 20px);
    align-items: center;
    gap: 18px;
  }

  .vms-site-stats-breadcrumb-actions {
    position: relative;
    left: 6px;
    display: grid;
    grid-template-columns: max-content max-content max-content max-content;
    justify-content: space-between;
    align-items: center;
    justify-self: start;
    width: calc(100% - 12px);
    min-width: 0;
    margin-left: 0;
    gap: 4px;
  }

  .vms-site-stats-actions {
    width: 100%;
    margin-left: 0;
  }

  .vms-site-score-help-link,
  .vms-site-score-badge {
    box-sizing: border-box;
    width: 100%;
  }

  .vms-site-stats-breadcrumb-actions .vms-rate-review-button,
  .vms-site-stats-breadcrumb-actions .vms-visit-now-button,
  .vms-site-stats-breadcrumb-actions .vms-site-vote-button .badge-success,
  .vms-site-stats-breadcrumb-actions .vms-recommend-site-button .badge {
    box-sizing: border-box !important;
    height: 21px !important;
    min-height: 21px !important;
  }

  .vms-site-stats-breadcrumb-actions .vms-rate-review-button {
    padding: 1px 7px !important;
    font-size: 12px !important;
    line-height: 19px !important;
  }
}
