/* General Styles */

a {
	text-decoration: none !important;
	color: #fe5757;
}
article {
	padding: 0 !important;
}
.entry-content {
	margin: 10px 0 0;
}
.ct-sidebar h2 .fi {
    vertical-align: middle;
    margin: 0 8px 0 0;
}
ul {
	padding: 0 0 0 20px;
}
article ul li {
	margin: 0 0 8px;
}
ul#menu-header-menu > li > a {
	background: #f6f6f6;
	border: 1px solid #dcd9d9;
	padding: 17px 13px !important;
	border-radius: 4px;
}

aside h2 {
	margin: auto auto 10px auto !important;
	font-size: 1.1em !important;
}
.wp-block-post-date__modified-date time {
	position: relative;
	right: 16px;
}
.entry-content .adsbygoogle {
	margin: 25px 0 0;
}
ins.adsbygoogle[data-ad-status="unfilled"] {
    display: none !important;
}
.gtranslate_wrapper {
	position: relative;
	bottom: 14px;
	left: 10px;
}
.gsce-cell-summary {
	font-size: 0.9em;
	margin: 0 10px 0 10px;
	padding: 12px 10px;
	display: block;
	font-style: italic;
	background: #FFF2F2;
}
.gsce-cell-summary::before {
	content: "⚠️ ";
}
.performance-score {
	margin: 20px 0 20px;
	text-align: center;
}
.performance-score-value {
	font-weight: bold;
	color: #fff;
	border-radius: 5px;
	font-size: 65px;
	padding: 0 25px;
	display: inline-block;
	cursor: help;
}
.performance-score-description {
	font-size: 0.7em;
	font-style: italic;
}
#footer {
	margin: 30px 0 15px;
}
h1.wp-block-heading {
	margin: 10px 0 20px !important;
}
h2.wp-block-heading {
	margin: 30px 0 20px;
	clear: both;
}

@media screen and (max-width: 1000px) {
	#h-is-my-country-making-progress {
		margin: 20px 0 20px;
		font-size: 2em;
	}
	.gtranslate_wrapper {
		left: 0;
		right: 10px;
	}
}
.cookie-consent {
	display: flex;
  justify-content: center;
  align-items: center;
	font-weight: bold;
	text-transform: uppercase;
	font-size: 0.9em;
}
.unchanged {
	background: #f3f3f3;
}
.negative {
	background: #f5eded;
}
.positive {
	background: #f2f8f3;
}
.positive-change {
	color: #00b16b;
}
.negative-change,
.brand-red {
	color: #fe5757;
}
.winner {
	color: #f2bc0a;
}
.info {
	color: #5facde;
}
.download {
	color: #34bf91;
}
.earth {
	color: #3f7dc9;
}
.gray {
	color: #343434;
}
.ad-container {
	border: 1px solid #f7f7f7;
	margin: 20px 0;
	text-align: center;
}
.ad-container {
	border: 0;
	margin: 10px 0 25px 0;
	padding: 0 1px;
	text-align: center;
	position: relative;
}
.ad-container.affiliate::before {
  content: "AFFILIATE ADVERTISEMENT";
  display: block;
  font-size: 0.6em;
  color: #555;
  margin: 0 0 3px 0;
}
.ad-container.affiliate img {
	border-radius: 6px;
}
.ad-desktop {
  display: block;
}

.ad-mobile {
  display: none;
}

@media (max-width: 600px) {
  .ad-desktop {
    display: none;
  }
  .ad-mobile {
    display: block;
  }
}
.fi.fi-ss-angle-circle-right {
	position: relative;
	top: 2px;
	margin: 0 5px 0 0;
	color: #38b6e8;
}
#h-share-this-page-with-the-world {
	margin: 10px auto 15px auto !important;
}

/* General Table Styles */
.sortable-ranking-table {
    min-width: 335px;
    border-collapse: collapse;
    border: none;
    font-size: 1rem;

    /* Let the table be as wide as its content (prevents squish).
       It will scroll horizontally inside .table-responsive when needed. */
    width: max-content;
    min-width: 100%;
    table-layout: auto;
}

/* Prevent wrapping/squishing in all cells */
.sortable-ranking-table th,
.sortable-ranking-table td {
    white-space: nowrap;    /* do not break onto new lines */
    word-break: normal;     /* avoid breaking long words/numbers */
}

/* Table Header & Cell Base Styles */
.sortable-ranking-table thead th,
.sortable-ranking-table tbody td {
    border: none;
}
.sortable-ranking-table thead th {
    text-align: left;
	text-transform: uppercase;
	font-weight: 700;
	cursor: pointer;
}
.sortable-ranking-table tbody tr {
    border-bottom: 1px solid #e7e3e3;
}
.sortable-ranking-table thead th {
    padding: 10px 8px;
}
.sortable-ranking-table tbody td {
	padding: 10px 8px 5px 8px;
}

/* Country link (keep flag + name together) */
.sortable-ranking-table tbody td a {
    color: #343434;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.sortable-ranking-table tbody td a img,
.sortable-ranking-table img.country-flag {
    margin: 0 5px 0 0;
    flex-shrink: 0;
    width: 20px;
    height: auto;
}

@media screen and (max-width: 600px) {
    .sortable-ranking-table {
        font-size: 17px;
    }
}

/* Search Input Styles */
.table-responsive input {
    margin: 5px 0 15px !important;
    padding: 8px !important;
    width: 100% !important;	
    border-radius: 6px !important;
    font-size: 1em !important;
	background: #f6f3f3 !important;
}

/* Source Paragraph Styles */
.table-responsive .table-source {
    margin-top: 15px;
    font-size: 0.9em;
    color: #666;
}

/* Scorecard Unavailable Indicator */
.scorecard-unavailable {
    color: #ccc;
    cursor: default;
}

/* Responsive container that enables horizontal scrolling */
.table-responsive {
    width: 100%;
    overflow-x: auto;               /* horizontal scroll instead of squish */
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border-radius: 6px;
    padding: 1rem;
    border: 1px solid #dcd9d9;
}

.highlight {
    background: #fff8ae;
}
.sort-icon {
    color: #999;
	margin: 0 0 0 2px;
}