/* =======================================================================
   THE WORLD RATED — Homepage redesign
   Built on the original brand colours (blue / teal / orange) but pushed
   into an editorial "rated guide" direction: serif headlines, a warm
   paper background instead of flat grey, and a circular score badge —
   the one signature element — tying the visual design back to the
   site's actual rating mechanic.
   =======================================================================*/

*, p, h1, h2, h3, h4, th, tr, td, table, li, ul, ol { margin: 0; padding: 0; }

:root {
	/* Core palette — evolved from the original brand, not replaced */
	--blue:        #0B5394;   /* original brand blue, kept */
	--navy:        #06243F;   /* new: deep navy for headlines + header, replaces flat black */
	--teal:        #1F6B5C;   /* slightly warmed from original teal */
	--orange:      #E8703A;   /* warmed from original orange — used only for the score accent */
	--paper:       #F7F4EE;   /* new: warm paper background, replaces flat #ededed */
	--cream-card:  #FFFFFF;
	--grey:        #DCDCDC;
	--darkgrey:    #6B6B6B;
	--ink:         #1A1A1A;
	--white:       #FFFFFF;

	/* Type */
	--font-display: 'Fraunces', Georgia, serif;
	--font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--font-label:   'Oswald', sans-serif;

	--container-width: 1180px;
}

html { scroll-behavior: smooth; }

body {
	font-family: var(--font-body);
	color: var(--ink);
	background-color: var(--paper);
	padding-top: 76px; /* clears fixed header */
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--blue); text-decoration: none; font-weight: 500; }
a:hover { color: var(--orange); }

.container {
	width: 100%;
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 0 24px;
}

.eyebrow {
	font-family: var(--font-label);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--teal);
	margin-bottom: 10px;
}

.eyebrow-light { color: rgba(255,255,255,0.7); }

/* =======================================================================
   HEADER
   =======================================================================*/

.site-header {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 100;
	background-color: var(--navy);
	border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 76px;
}

.wordmark {
	display: flex;
	align-items: center;
	gap: 10px;
}

.wordmark-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 1.5px solid var(--orange);
	color: var(--orange);
	font-family: var(--font-label);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.wordmark-text {
	font-family: var(--font-display);
	font-size: 21px;
	font-weight: 600;
	color: var(--white);
}

.primary-nav {
	display: flex;
	align-items: center;
	gap: 32px;
}

.nav-link {
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 500;
	color: rgba(255,255,255,0.75) !important;
	position: relative;
	padding: 4px 0;
}

.nav-link:hover { color: var(--white) !important; }

.nav-link.is-active { color: var(--white) !important; }
.nav-link.is-active::after {
	content: '';
	position: absolute;
	left: 0; right: 0; bottom: -4px;
	height: 2px;
	background-color: var(--orange);
	border-radius: 2px;
}

.nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 32px;
	height: 32px;
	background: none;
	border: none;
	cursor: pointer;
}

.nav-toggle span {
	display: block;
	width: 100%;
	height: 2px;
	background-color: var(--white);
	border-radius: 2px;
}

/* =======================================================================
   HERO
   =======================================================================*/

.hero {
	background-color: var(--navy);
	background-image:
		radial-gradient(circle at 85% 20%, rgba(232,112,58,0.18), transparent 45%),
		radial-gradient(circle at 10% 80%, rgba(31,107,92,0.25), transparent 45%);
	padding: 76px 0 64px;
	color: var(--white);
}

.hero-inner { max-width: 740px; }

.hero-title {
	font-family: var(--font-display);
	font-size: 56px;
	line-height: 1.08;
	font-weight: 600;
	color: var(--white);
	margin-bottom: 20px;
	letter-spacing: -0.01em;
}

.hero-sub {
	font-size: 18px;
	line-height: 1.6;
	color: rgba(255,255,255,0.78);
	max-width: 560px;
	margin-bottom: 40px;
	text-align: left;
}

.hero-meta {
	display: flex;
	gap: 40px;
	border-top: 1px solid rgba(255,255,255,0.15);
	padding-top: 28px;
}

.hero-meta-item {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.hero-meta-num {
	font-family: var(--font-display);
	font-size: 30px;
	font-weight: 600;
	color: var(--orange);
}

.hero-meta-label {
	font-size: 13px;
	color: rgba(255,255,255,0.65);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

/* =======================================================================
   RATINGS GRID
   =======================================================================*/

.ratings-section { padding: 64px 0 80px; }

.section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	margin-bottom: 36px;
	gap: 24px;
}

.section-title {
	font-family: var(--font-display);
	font-size: 34px;
	font-weight: 600;
	color: var(--navy);
}

.see-all {
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 600;
	color: var(--teal);
	white-space: nowrap;
	display: flex;
	align-items: center;
	gap: 6px;
}
.see-all:hover { color: var(--orange); }

.card-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
	list-style: none;
}

.card {
	background-color: var(--cream-card);
	border-radius: 4px;
	overflow: hidden;
	box-shadow: 0 1px 2px rgba(6,36,63,0.06);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 32px rgba(6,36,63,0.12);
}

.card-media {
	display: block;
	position: relative;
	aspect-ratio: 3 / 2;
	overflow: hidden;
}

.card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.card:hover .card-media img { transform: scale(1.05); }

/* Signature element: the score badge, echoing the site's thumbs-up/down
   rating mechanic as a single confident number per place. */
.score-badge {
	position: absolute;
	bottom: -18px;
	right: 16px;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background-color: var(--navy);
	border: 3px solid var(--paper);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 10px rgba(6,36,63,0.25);
}

.score-num {
	font-family: var(--font-display);
	font-size: 17px;
	font-weight: 700;
	color: var(--orange);
}

.card-body {
	padding: 28px 20px 22px;
}

.card-tag {
	font-family: var(--font-label);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--teal);
	margin-bottom: 8px;
}

.card-title {
	display: block;
	font-family: var(--font-display);
	font-size: 21px;
	line-height: 1.3;
	font-weight: 600;
	color: var(--navy);
	margin-bottom: 10px;
}

.card-title:hover { color: var(--orange); }

.card-meta {
	font-size: 14px;
	color: var(--darkgrey);
	text-align: left;
}

/* =======================================================================
   METHOD STRIP (how scores are built)
   =======================================================================*/

.method-strip {
	background-color: var(--teal);
	padding: 56px 0;
}

.method-inner { text-align: left; }

.method-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 32px;
	margin-top: 24px;
}

.method-item i {
	font-size: 26px;
	color: var(--orange);
	margin-bottom: 14px;
	display: block;
}

.method-item h3 {
	font-family: var(--font-display);
	font-size: 19px;
	font-weight: 600;
	color: var(--white);
	margin-bottom: 8px;
}

.method-item p {
	font-size: 14.5px;
	line-height: 1.55;
	color: rgba(255,255,255,0.78);
	text-align: left;
}

/* =======================================================================
   FOOTER
   =======================================================================*/

.site-footer {
	background-color: var(--navy);
	padding: 48px 0 36px;
	text-align: center;
}

.footer-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
}

.wordmark-footer .wordmark-text { color: var(--white); }

.footer-text {
	color: rgba(255,255,255,0.65);
	font-size: 14px;
	max-width: 420px;
}

.footer-icons {
	display: flex;
	gap: 18px;
	margin-top: 4px;
}

.footer-icons a {
	color: rgba(255,255,255,0.75);
	font-size: 18px;
}
.footer-icons a:hover { color: var(--orange); }

.footer-copyright {
	color: rgba(255,255,255,0.4);
	font-size: 12.5px;
	margin-top: 10px;
}

/* =======================================================================
   RESPONSIVE
   =======================================================================*/

@media (max-width: 991px) {
	.card-grid { grid-template-columns: repeat(2, 1fr); }
	.method-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
	.hero-title { font-size: 44px; }
}

@media (max-width: 767px) {
	.primary-nav {
		position: absolute;
		top: 76px; left: 0; right: 0;
		background-color: var(--navy);
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
		padding: 8px 24px 20px;
		display: none;
		border-bottom: 1px solid rgba(255,255,255,0.08);
	}
	.primary-nav.is-open { display: flex; }
	.primary-nav .nav-link { padding: 12px 0; width: 100%; }
	.nav-toggle { display: flex; }

	.hero { padding: 56px 0 48px; }
	.hero-title { font-size: 34px; }
	.hero-sub { font-size: 16px; }
	.hero-meta { gap: 24px; flex-wrap: wrap; }

	.section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
	.section-title { font-size: 27px; }

	.card-grid { grid-template-columns: 1fr; gap: 22px; }
	.method-grid { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 480px) {
	.hero-meta { gap: 28px 32px; }
}

/* =======================================================================
   RATINGS DETAIL PAGE
   =======================================================================*/

.back-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 600;
	color: rgba(255,255,255,0.7) !important;
	margin-bottom: 24px;
}
.back-link:hover { color: var(--white) !important; }

.ratings-hero {
	background-color: var(--navy);
	background-image:
		radial-gradient(circle at 85% 20%, rgba(232,112,58,0.18), transparent 45%),
		radial-gradient(circle at 10% 80%, rgba(31,107,92,0.25), transparent 45%);
	padding: 48px 0 56px;
	color: var(--white);
}

.ratings-hero-inner { max-width: 760px; }

.ratings-hero-title {
	font-family: var(--font-display);
	font-size: 42px;
	line-height: 1.12;
	font-weight: 600;
	color: var(--white);
	margin-bottom: 16px;
	letter-spacing: -0.01em;
}

.ratings-hero-sub {
	font-size: 17px;
	line-height: 1.6;
	color: rgba(255,255,255,0.78);
	text-align: left;
}

/* Layout: sticky rank nav + entry list */

.ratings-layout {
	display: grid;
	grid-template-columns: 240px 1fr;
	gap: 40px;
	padding: 48px 24px 80px;
	align-items: start;
}

.rank-nav {
	position: sticky;
	top: 96px;
	background-color: var(--cream-card);
	border-radius: 4px;
	padding: 18px 16px;
	box-shadow: 0 1px 2px rgba(6,36,63,0.06);
}

.rank-nav-title {
	font-family: var(--font-label);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--darkgrey);
	margin-bottom: 12px;
	padding: 0 6px;
}

.rank-nav-list {
	display: flex;
	flex-direction: column;
	gap: 2px;
	max-height: 70vh;
	overflow-y: auto;
}

.rank-nav-item {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 6px;
	border-radius: 3px;
	font-size: 13.5px;
	font-weight: 500;
	color: var(--ink) !important;
}

.rank-nav-item:hover { background-color: var(--paper); color: var(--ink) !important; }

.rank-nav-item.is-active {
	background-color: var(--navy);
	color: var(--white) !important;
}
.rank-nav-item.is-active .rank-nav-num,
.rank-nav-item.is-active .rank-nav-score { color: var(--orange) !important; }

.rank-nav-num {
	font-family: var(--font-display);
	font-weight: 600;
	color: var(--teal);
	width: 18px;
	flex-shrink: 0;
}

.rank-nav-name {
	flex: 1;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.rank-nav-score {
	font-size: 12px;
	font-weight: 600;
	color: var(--darkgrey);
}

.entry-list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.entry {
	background-color: var(--cream-card);
	border-radius: 4px;
	overflow: hidden;
	box-shadow: 0 1px 2px rgba(6,36,63,0.06);
	scroll-margin-top: 96px;
}

.entry-media {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.entry-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.entry-rank-tag {
	position: absolute;
	top: 16px;
	left: 16px;
	background-color: rgba(6,36,63,0.82);
	color: var(--white);
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 20px;
	padding: 5px 12px;
	border-radius: 20px;
}

.entry-body { padding: 28px 28px 32px; }

.entry-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 20px;
	margin-bottom: 20px;
}

.entry-head > div:first-child {
	flex: 1 1 auto;
	min-width: 0;
}

.entry-title {
	font-family: var(--font-display);
	font-size: 28px;
	font-weight: 600;
	color: var(--navy);
	margin: 6px 0 8px;
}

.entry-hashtag {
	font-size: 14px;
	font-weight: 600;
	color: var(--teal);
}

.placeholder-flag {
	display: inline-block;
	margin-left: 10px;
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: none;
	color: var(--orange);
	border: 1px solid var(--orange);
	border-radius: 20px;
	padding: 2px 9px;
}

.entry-score {
	display: flex;
	align-items: center;
	gap: 2px;
	flex-shrink: 0;
	background-color: var(--navy);
	border-radius: 50%;
	width: 84px;
	height: 84px;
	justify-content: center;
}

.entry-score-num {
	font-family: var(--font-display);
	font-size: 28px;
	font-weight: 700;
	color: var(--orange);
}

.entry-score-max {
	font-size: 12px;
	font-weight: 600;
	color: rgba(255,255,255,0.55);
}

.entry-text {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 28px;
	max-width: 720px;
}

.entry-text p {
	font-size: 16px;
	line-height: 1.65;
	color: var(--ink);
	text-align: left;
}

.entry-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 15px;
}

/* Metric panel: icon + label + 5-segment bar, replaces repeated icon rows */

.metric-panel {
	display: flex;
	flex-direction: column;
	gap: 5px;
	background-color: var(--paper);
	border-radius: 4px;
}

.metric-row {
	display: grid;
	grid-template-columns: 28px 120px 1fr 36px;
	align-items: center;
	gap: 10px;
	padding-top:8px;
	padding-bottom:8px;
	border-color:lightgray;
	border-width:1px;

}

.metric-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
}

.metric-icon.m-crowds { color: var(--blue);}
.metric-icon.m-romance { color: #B0413E; }
.metric-icon.m-cash { color: var(--teal); }
.metric-icon.m-danger { color: var(--orange); }
.metric-icon.m-access { color: #74491D; }

.metric-label {
	font-size: 17px;
	font-weight: 600;
	color: var(--ink);
}

.metric-bar {
	display: flex;
	gap: 4px;
}

.metric-seg {
	flex: 1;
	height: 7px;
	border-radius: 3px;
	background-color: var(--grey);
}

.metric-row:nth-child(1) .metric-seg.is-filled { background-color: var(--blue); }
.metric-row:nth-child(2) .metric-seg.is-filled { background-color: #B0413E; }
.metric-row:nth-child(3) .metric-seg.is-filled { background-color: var(--teal); }
.metric-row:nth-child(4) .metric-seg.is-filled { background-color: var(--orange); }
.metric-row:nth-child(5) .metric-seg.is-filled { background-color: #74491D; }

.metric-value {
	font-size: 12.5px;
	font-weight: 600;
	color: var(--darkgrey);
	text-align: right;
}.metric-panel {
	display: flex;
	flex-direction: column;
	gap: 5px;
	background-color: var(--paper);
	border-radius: 4px;


}

.metric-row {
	display: grid;
	grid-template-columns: 110px 1fr;
	align-items: center;
	gap: 12px;
	border-top:solid;
		padding-top:8px;
	padding-bottom:8px;
	border-color:lightgray;
	border-width:1px;
	
}

.metric-label {
	font-size: 14px;
	font-weight: 600;
	color: var(--ink);
}

.metric-icons {
	display: flex;
	gap: 8px;
}

.metric-icon-dot {
	flex: 0 0 35px;
	width: 35px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;   /* same for every icon, every criterion */
	color: lightgray;

}

.metric-icons.m-crowds  .metric-icon-dot.is-filled { color: darkblue;}
.metric-icons.m-romance .metric-icon-dot.is-filled { color: darkred;}
.metric-icons.m-cash    .metric-icon-dot.is-filled { color: darkgreen;}
.metric-icons.m-danger  .metric-icon-dot.is-filled { color: #CC5500;}
.metric-icons.m-access  .metric-icon-dot.is-filled { color: #74491d;}

.metric-value {
	font-size: 15px;
	font-weight: 600;
	color: var(--darkgrey);
	text-align: right;
}

/* Verdict panel: pros/cons as distinct cards instead of a plain table */

.verdict-panel {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.verdict {
	display: flex;
	gap: 12px;
	padding: 16px 18px;
	border-radius: 4px;
}

.metric {
	display: flex;
	gap: 12px;
	padding: 16px 18px;
	border-radius: 4px;
}

.verdict i { font-size: 17px; margin-top: 2px; flex-shrink: 0; }

.verdict-up { background-color: rgba(31,107,92,0.08); }
.verdict-up i { color: var(--teal); }

.verdict-down { background-color: rgba(232,112,58,0.08); }
.verdict-down i { color: var(--orange); }

.verdict-label {
	font-family: var(--font-label);
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--darkgrey);
	margin-bottom: 4px;
}


.lni {
	margin-top: 2px;
    color: #c7955a;
	
}


.metric-table-label {
	
	font-size: 14.5px;
	line-height: 1.55;
	color: black;
	text-align: left;
	font-family: var(--font-label);
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	margin-bottom: 10px;
}

.verdict p {
	font-size: 14.5px;
	line-height: 1.55;
	color: var(--ink);
	text-align: left;
}

@media (max-width: 991px) {
	/* Verdict panel stacks below metric panel */
	.entry-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
	.ratings-hero-title { font-size: 30px; }
	/* Score stays on the right — no column override */
	.entry-score { width: 68px; height: 68px; }
	.entry-score-num { font-size: 22px; }
	.entry-body { padding: 22px 18px 26px; }
	/* Metric label and icons stay side by side — narrower label column */
	.metric-row { grid-template-columns: 78px 1fr; gap: 8px; }
	.metric-icon-dot { flex: 0 0 26px; width: 26px; font-size: 16px; }
	.ratings-layout { grid-template-columns: 1fr; }
	.rank-nav { position: static; order: -1; }
	.rank-nav-list { max-height: 240px; }
}

@media (max-width: 480px) {
	/* Very narrow phones — shrink icon slots further so all five stay on one line */
	.metric-row { grid-template-columns: 64px 1fr; gap: 6px; }
	.metric-icon-dot { flex: 0 0 20px; width: 20px; font-size: 14px; }
	/* Remove side padding so content uses the full viewport width */
	.ratings-layout { padding-left: 0; padding-right: 0; }
}
