
/* Show Country Insights Grid on Country Single Template */

.insights-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr); /* 4 per row on desktop */
	gap: 24px;
	width: 100%;
	box-sizing: border-box;
}

.insights-grid {
	width: 100%;
	box-sizing: border-box;
}

.insight-box {
	border: 1px solid #0000001a;
	border-radius: 0;
	box-shadow: none;
	padding: 28px 24px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
}

.insight-icon-wrap {
	margin-bottom: 20px;
}

/* Fixed size icon */
.insight-icon {
	width: 48px;
	height: 48px;
	object-fit: contain;
	display: block;
}

.insight-label {
	font-family: 'Instrument Sans', sans-serif;
	font-size: 22px;
	font-weight: 600;
	color: #181d23;
	margin: 0 0 14px 0;
	line-height: 1.3;
}

.insight-value {
	font-family: 'Instrument Sans', sans-serif;
	font-size: 35px;
	font-weight: 600;
	color: #181d23;
	margin: 0 0 24px 0;
	line-height: 1.2;
}

.insight-divider {
	width: 100%;
	height: 1px;
	background-color: #c9a227;
	margin: 0 0 16px 0;
}

.insight-note-row {
	display: flex;
	align-items: center;
	gap: 8px;
}

.insight-bullet {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background-color: #c9a227;
	flex-shrink: 0;
	display: inline-block;
}

.insight-note {
	font-family: 'Instrument Sans', sans-serif;
	font-size: 16px;
	font-weight: 400;
	color: #7a7a7a;
	margin: 0;
	line-height: 1.4;
}

/* Responsive breakpoints */
@media (max-width: 1024px) {
	.insights-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 600px) {
	.insights-grid {
		grid-template-columns: repeat(1, 1fr);
	}
}




/* Show Percentage value as Animated Progress Bar on Single Country Template */

.cp-progress-wrap {
	width: 100%;
	margin: 20px 0;
	font-family: "Instrument Sans", sans-serif;
}

.cp-progress-label {
	font-size: 14px;
	font-weight: 500;
	color: #1a1a1a;
	margin-bottom: 8px;
}

.cp-progress-track {
	display: flex;
	align-items: center;
	gap: 16px;
}

/* Outer track: the gradient lives here, fixed and full-width,
   so its color stops (156deg, 47%, 100%) never distort during animation. */
.cp-progress-bar {
	position: relative;
	flex: 1 1 auto;
	height: 20px;
	border-radius: 0;
	overflow: hidden;
	background: linear-gradient(156deg, #B8983B 47%, #A3713D 100%);
}

.cp-progress-mask {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 100%; 
	background-color: #f2f4f4;
	border-radius: 0;
	will-change: width;
}

.cp-progress-number {
	flex: 0 0 auto;
	min-width: 3.5ch;
	text-align: right;
	font-size: 18px;
	font-weight: 600;
	color: #1a1a1a;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.2px;
}

.cp-progress-suffix {
	margin-left: 1px;
}

.cp-progress-unavailable {
	font-family: "Instrument Sans", sans-serif;
	font-size: 17px;
	font-weight: 500;
	color: #1a1a1a;
}

@media (max-width: 480px) {
	.cp-progress-bar {
		height: 8px;
	}
	.cp-progress-number {
		font-size: 16px;
	}
}




/* TFR Trend Chart */

.cp-tfr-chart-wrap {
	display: flex;
	align-items: stretch;
	gap: 32px;
	width: 100%;
	margin: 24px 0;
	font-family: "Instrument Sans", sans-serif;
}

.cp-tfr-chart-canvas-wrap {
	flex: 1 1 65%;
	min-width: 0;
	position: relative;
	height: 320px;
}

.cp-tfr-chart-info {
	flex: 0 0 260px;
	border: 1px solid #e6e6e6;
	padding: 4px 20px;
	align-self: flex-start;
}

.cp-tfr-info-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 0;
	border-bottom: 1px solid #eeeeee;
}

.cp-tfr-info-row:last-child {
	border-bottom: none;
}

.cp-tfr-info-label {
	font-size: 14px;
	font-weight: 600;
	color: #1a1a1a;
	white-space: nowrap;
}

.cp-tfr-info-value {
	font-size: 14px;
	font-weight: 400;
	color: #333333;
	text-align: right;
}

.cp-tfr-chart-meta {
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid #eeeeee;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.cp-tfr-meta-row {
	display: flex;
	gap: 16px;
	align-items: baseline;
}

.cp-tfr-meta-label {
	flex: 0 0 70px;
	font-size: 14px;
	font-weight: 600;
	color: #1a1a1a;
}

.cp-tfr-meta-value {
	flex: 1 1 auto;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.6;
	color: #333333;
	text-align: left;
}

.cp-tfr-unavailable {
	font-family: "Instrument Sans", sans-serif;
	font-size: 17px;
	font-weight: 500;
	color: #1a1a1a;
}

@media (max-width: 1024px) {
	.cp-tfr-chart-wrap {
		flex-direction: column;
	}
	.cp-tfr-chart-info {
		flex: 1 1 auto;
	}
	.cp-tfr-chart-canvas-wrap {
		height: 280px;
	}
	.cp-tfr-meta-row {
		flex-direction: column;
		gap: 4px;
	}
	.cp-tfr-meta-label {
		flex: 0 0 auto;
	}

.cp-tfr-chart-info {
    width: 100%;
}

.cp-tfr-chart {height:300px;}

}




/* Single Post Template Post Navigation */
.pcn-nav {
    --pcn-label-color: #c9973e;
    --pcn-title-color: #16253d;
    --pcn-arrow-color: #16253d;
    --pcn-divider-color: #d8d8d5;

    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'Roboto Slab', serif;
    padding: 24px 0;
    gap: 24px;
}

.pcn-nav__item {
    flex: 1;
    min-width: 0;
}

.pcn-nav__item--prev {
    text-align: left;
}

.pcn-nav__item--next {
    text-align: right;
    border-left: 1px solid var(--pcn-divider-color);
    padding-left: 24px;
}

/* When one side is empty, drop the divider so the remaining side isn't visually cut off. */
.pcn-nav__item--empty {
    border-left: none;
    padding-left: 0;
}

.pcn-nav__link {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.pcn-nav__link--prev {
    justify-content: flex-start;
}

.pcn-nav__link--next {
    justify-content: flex-end;
}

.pcn-nav__arrow {
    flex-shrink: 0;
    display: flex;
    color: var(--pcn-arrow-color);
    transition: transform 0.2s ease;
}

.pcn-nav__arrow svg {
    width: 12px;
    height: 25px;
}

.pcn-nav__arrow svg path {
    fill: currentColor;
}

.pcn-nav__link--prev:hover .pcn-nav__arrow {
    transform: translateX(-3px);
}

.pcn-nav__link--next:hover .pcn-nav__arrow {
    transform: translateX(3px);
}

.pcn-nav__text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.pcn-nav__item--next .pcn-nav__text {
    align-items: flex-end;
}

.pcn-nav__label {
    font-family: 'Roboto Slab', serif;
    font-size: 20px;
    font-weight: 400;
    color: var(--pcn-label-color);
    line-height: 1.3;
}

.pcn-nav__title {
    font-family: 'Roboto Slab', serif;
    font-size: 15px;
    font-weight: 400;
    color: var(--pcn-title-color);
    line-height: 1.4;
    margin-top: 4px;
}

.pcn-nav__link:hover .pcn-nav__title {
    text-decoration: underline;
}

/* Phone */
@media (max-width: 600px) {
    .pcn-nav {
        padding: 16px 0;
        gap: 12px;
    }

    .pcn-nav__item--next {
        padding-left: 12px;
    }

    .pcn-nav__label {
        font-size: 14px;
    }

    .pcn-nav__title {
        font-size: 11px;
    }
}