/* insightworld.org home page. The page is ordinary blocks; these classes are set on them in the editor. */

/* The map band: the 2014 Ministry Map still (proclaiming-footer.jpg) under the title. */
.iw-hero.wp-block-cover {
	min-height: 340px;
	border-radius: 4px;
	margin-bottom: 40px;
	padding: 48px 24px;
}
.iw-hero .iw-hero__title {
	font-family: var(--wp--preset--font-family--serif);
	font-weight: 400;
	font-size: clamp(1.5rem, 3.2vw, 2.5rem);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #fff;
	text-shadow: 0 2px 12px rgba(15, 23, 42, 0.7);
	margin: 0;
}

/* The four boxes. */
.iw-cards.wp-block-columns {
	gap: 24px;
	margin-bottom: 48px;
}
.iw-card {
	display: flex;
	flex-direction: column;
	text-align: center;
	padding: 28px 22px 26px;
	border: 1px solid var(--wp--preset--color--border);
	border-top: 6px solid var(--iw-card-color, var(--wp--preset--color--blue));
	border-radius: 4px;
	background: #fff;
}
.iw-card::before {
	content: "";
	display: block;
	width: 76px;
	height: 76px;
	margin: 0 auto 16px;
	border-radius: 18px;
	background-color: var(--iw-card-color, var(--wp--preset--color--blue));
	background-image: var(--iw-card-icon);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 40px 40px;
}
.iw-card h2 {
	font-size: var(--wp--preset--font-size--large);
	margin: 0 0 10px;
}
.iw-card p {
	flex: 1 0 auto;
	margin: 0 0 20px;
}
.iw-card .wp-block-buttons {
	justify-content: center;
}
.iw-card .wp-block-button__link {
	background: var(--iw-card-color, var(--wp--preset--color--blue));
	color: #fff;
	border-radius: 4px;
	padding: 10px 22px;
	text-decoration: none;
}
.iw-card .wp-block-button__link:hover,
.iw-card .wp-block-button__link:focus {
	filter: brightness(0.88);
}

/* The four colors are live's own (2024 SiteOrigin settings). The icons are plain white drawings. */
.iw-card--listen {
	--iw-card-color: #38528a;
	--iw-card-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 9h4l5-4v14l-5-4H4z' fill='%23fff'/%3E%3Cpath d='M16.5 8.5a5 5 0 0 1 0 7M19 6a8.5 8.5 0 0 1 0 12'/%3E%3C/svg%3E");
}
.iw-card--store {
	--iw-card-color: #b27c12; /* live #e3a931 darkened so white text on it is readable (4.5:1) */
	--iw-card-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 3h3l2.4 11.2a1 1 0 0 0 1 .8h9.7a1 1 0 0 0 1-.8L21 7H6'/%3E%3Ccircle cx='9' cy='19.5' r='1.5' fill='%23fff'/%3E%3Ccircle cx='17' cy='19.5' r='1.5' fill='%23fff'/%3E%3C/svg%3E");
}
.iw-card--donate {
	--iw-card-color: #863131;
	--iw-card-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M12 21s-7.5-4.6-9.6-9.3C.9 8.3 3 4.5 6.7 4.5c2.1 0 3.6 1.2 4.3 2.6h2c.7-1.4 2.2-2.6 4.3-2.6 3.7 0 5.8 3.8 4.3 7.2C19.5 16.4 12 21 12 21z'/%3E%3C/svg%3E");
}
.iw-card--read {
	--iw-card-color: #3b74ab; /* live #5591ca darkened for readable white text */
	--iw-card-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 6.5C10 5 7 4.5 3 5v13c4-.5 7 0 9 1.5 2-1.5 5-2 9-1.5V5c-4-.5-7 0-9 1.5zM12 6.5v13'/%3E%3C/svg%3E");
}

/* Countries. */
.iw-countries {
	border-top: 1px solid var(--wp--preset--color--border);
	padding-top: 32px;
}
.iw-countries h2 {
	font-size: var(--wp--preset--font-size--x-large);
	margin: 0 0 12px;
}
.iw-countries__list {
	list-style: none;
	padding: 0;
	margin: 24px 0 0;
	columns: 4 200px;
	column-gap: 32px;
}
.iw-countries__list > li {
	break-inside: avoid;
	margin: 0 0 18px;
	font-weight: 600;
	font-size: var(--wp--preset--font-size--nav);
}
/* Wide screens: English in column 1, Español in column 2, and the six one-link languages three and three
   in columns 3 and 4 (Adam, 2026-11-18). Their own short rows; the 1fr row takes the tall lists' height so
   the short ones stay together. Narrower screens keep the flowing columns above. */
@media (min-width: 900px) {
	.iw-countries__list {
		columns: auto;
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		grid-template-rows: auto auto auto 1fr;
		column-gap: 32px;
	}
	.iw-countries__list > li:nth-child(1) { grid-column: 1; grid-row: 1 / 5; }
	.iw-countries__list > li:nth-child(2) { grid-column: 2; grid-row: 1 / 5; }
	.iw-countries__list > li:nth-child(3) { grid-column: 3; grid-row: 1; }
	.iw-countries__list > li:nth-child(4) { grid-column: 3; grid-row: 2; }
	.iw-countries__list > li:nth-child(5) { grid-column: 3; grid-row: 3; }
	.iw-countries__list > li:nth-child(6) { grid-column: 4; grid-row: 1; }
	.iw-countries__list > li:nth-child(7) { grid-column: 4; grid-row: 2; }
	.iw-countries__list > li:nth-child(8) { grid-column: 4; grid-row: 3; }
}
.iw-countries__list ul {
	list-style: none;
	padding: 0;
	margin: 6px 0 0;
	font-weight: 400;
	font-size: var(--wp--preset--font-size--body);
}
.iw-countries__list ul li {
	margin: 0 0 4px;
	padding-left: 14px;
	border-left: 2px solid var(--wp--preset--color--border);
}
