:root {
	--primary: #0a3161;
	--secondary: #b31942;
	--accent: #f5f5f5;
	--light: #ffffff;
	--dark: #333333;
	--gray: #6c757d;
  }

  * {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
  }

  body {
	font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
	line-height: 1.6;
	color: var(--dark);
	background-color: var(--accent);
	padding-top: 170px;
  }

  h1,
  h2,
  h3,
  h4 {
	color: var(--primary);
	margin-bottom: 20px;
  }

  .container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
  }

  header {
	background-color: var(--light);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 1000;
  }

  .header-top {
	background: linear-gradient(to right, var(--primary), var(--secondary));
	color: var(--light);
	padding: 8px 0;
	font-size: 0.9rem;
  }

  .header-main {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 0;
  }

  .logo-text h1 {
	font-size: 1.8rem;
	margin: 0;
  }

  .logo-text span {
	font-size: 0.9rem;
	color: var(--gray);
  }

  nav ul {
	display: flex;
	list-style: none;
  }

  nav li {
	margin-left: 25px;
  }

  nav a {
	font-weight: 500;
	font-size: 1.1rem;
	color: var(--primary);
	text-decoration: none;
	position: relative;
  }

  nav a:after {
	content: "";
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 0;
	height: 2px;
	background-color: var(--secondary);
	transition: width 0.3s;
  }

  nav a:hover:after {
	width: 100%;
  }

  .hero {
	background: linear-gradient(
		rgba(10, 49, 97, 0.65),
		rgba(10, 49, 97, 0.75)
	  ),
	  url("assets/us-flag.gif") center/cover no-repeat;
	color: var(--light);
	text-align: center;
	padding: 80px 20px;
	margin-bottom: 40px;
	background-blend-mode: overlay;
  }

  .section {
	padding: 40px 0;
  }

  .section-title {
	text-align: center;
	margin-bottom: 40px;
	position: relative;
  }

  .section-title:after {
	content: "";
	position: absolute;
	bottom: -10px;
	left: 50%;
	transform: translateX(-50%);
	width: 80px;
	height: 3px;
	background-color: var(--secondary);
  }

  .card {
	background-color: var(--light);
	border-radius: 8px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
	padding: 25px;
	margin-bottom: 25px;
  }

  .search-section {
	background-color: var(--primary);
	padding: 15px 0;
	position: sticky;
	top: 120px;
	z-index: 900;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }

  .filter-container {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 15px;
	align-items: center;
  }

  .filter-group {
	flex: 1;
	min-width: 200px;
  }

  .filter-label {
	color: white;
	margin-bottom: 5px;
	font-size: 0.9rem;
  }

  .filter-select {
	width: 100%;
	padding: 8px 12px;
	border-radius: 4px;
	border: none;
	background: rgba(255, 255, 255, 0.2);
	color: white;
	font-size: 0.9rem;
  }

  .filter-select option {
	background: var(--primary);
	color: white;
  }

  .search-box {
	display: flex;
	background: var(--light);
	border-radius: 50px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	max-width: 800px;
	margin: 0 auto;
  }

  .search-box input {
	flex-grow: 1;
	border: none;
	padding: 15px 25px;
	font-size: 1rem;
  }

  .search-box button {
	background: var(--secondary);
	color: var(--light);
	border: none;
	padding: 0 30px;
	cursor: pointer;
	transition: background 0.3s;
  }

  .search-box button:hover {
	background: #8c0031;
  }

  .sanctions-list {
	margin-top: 30px;
  }

  .sanction-item {
	background: var(--light);
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
	margin-bottom: 15px;
	overflow: hidden;
	transition: all 0.3s;
  }

  .sanction-header {
	display: flex;
	align-items: center;
	padding: 15px;
	cursor: pointer;
  }

  .sanction-img {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background-color: #e9ecef;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #6c757d;
	margin-right: 15px;
	flex-shrink: 0;
  }

  .sanction-info {
	flex-grow: 1;
	min-width: 0;
  }

  .sanction-name {
	font-weight: 600;
	font-size: 1.1rem;
	margin-bottom: 5px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
  }

  .sanction-type {
	display: inline-block;
	padding: 3px 8px;
	background: #e9ecef;
	border-radius: 4px;
	font-size: 0.8rem;
	margin-right: 5px;
  }

  .sanction-country {
	display: flex;
	align-items: center;
	color: var(--gray);
	font-size: 0.9rem;
	margin-top: 5px;
  }

  .country-flag {
	width: 20px;
	height: 15px;
	margin-right: 8px;
	background: #ddd;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #e0e0e0;
  }

  .sanction-date {
	background-color: var(--secondary);
	color: var(--light);
	padding: 6px 12px;
	border-radius: 4px;
	font-size: 0.85rem;
	flex-shrink: 0;
  }

  .sanction-details {
	padding: 0 15px;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.5s ease;
  }

  .sanction-item.expanded .sanction-details {
	padding: 15px;
	max-height: 1000px;
	border-top: 1px solid #eee;
  }

  .detail-section {
	margin-bottom: 15px;
  }

  .detail-section h4 {
	margin-bottom: 8px;
	color: var(--primary);
	border-bottom: 1px solid #eee;
	padding-bottom: 5px;
	font-size: 0.95rem;
  }

  .detail-list {
	list-style: none;
	padding-left: 15px;
  }

  .detail-list li {
	margin-bottom: 6px;
	position: relative;
	font-size: 0.9rem;
  }

  .detail-list li:before {
	content: "•";
	position: absolute;
	left: -12px;
	color: var(--secondary);
  }

  .badge {
	display: inline-block;
	padding: 3px 8px;
	border-radius: 20px;
	font-size: 0.8rem;
	font-weight: 500;
	margin-right: 4px;
	margin-bottom: 4px;
  }

  .badge-red {
	background-color: #f8d7da;
	color: #721c24;
  }

  .badge-blue {
	background-color: #cce5ff;
	color: #004085;
  }

  .badge-green {
	background-color: #d4edda;
	color: #155724;
  }

  .badge-purple {
	background-color: #e2d4f0;
	color: #4a1e7c;
  }

  .badge-orange {
	background-color: #ffe8cc;
	color: #e67700;
  }

  .latest-list {
	list-style: none;
  }

  .latest-item {
	background: var(--light);
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
	margin-bottom: 10px;
	overflow: hidden;
	transition: all 0.3s;
  }

  .latest-header {
	display: flex;
	align-items: center;
	padding: 12px 15px;
	cursor: pointer;
	justify-content: space-between;
  }

  .latest-name {
	font-weight: 600;
	font-size: 1rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	flex: 1;
  }

  .latest-date {
	background-color: var(--secondary);
	color: var(--light);
	padding: 4px 8px;
	border-radius: 4px;
	font-size: 0.8rem;
	margin-left: 10px;
	flex-shrink: 0;
  }

  .latest-details {
	padding: 0 15px;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.5s ease;
  }

  .latest-item.expanded .latest-details {
	padding: 15px;
	max-height: 1000px;
	border-top: 1px solid #eee;
  }

  .pagination {
	display: flex;
	justify-content: center;
	margin-top: 30px;
	flex-wrap: wrap;
  }

  .pagination button {
	margin: 0 5px 10px;
	padding: 8px 15px;
	border: 1px solid #ddd;
	background: var(--light);
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.3s;
  }

  .pagination button.active {
	background: var(--primary);
	color: var(--light);
	border-color: var(--primary);
  }

  .pagination button:hover:not(.active) {
	background: #e9ecef;
  }

  .pagination button:disabled {
	opacity: 0.5;
	cursor: not-allowed;
  }

  footer {
	background-color: var(--dark);
	color: var(--light);
	padding: 60px 0 30px;
	margin-top: 50px;
  }

  .footer-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 30px;
	margin-bottom: 40px;
  }

  .footer-column h3 {
	color: var(--light);
	margin-bottom: 20px;
	position: relative;
	padding-bottom: 10px;
  }

  .footer-column h3:after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 50px;
	height: 2px;
	background-color: var(--secondary);
  }

  .footer-links {
	list-style: none;
  }

  .footer-links li {
	margin-bottom: 10px;
  }

  .footer-links a {
	color: #aaa;
	text-decoration: none;
	transition: color 0.3s;
  }

  .footer-links a:hover {
	color: var(--light);
  }

  .copyright {
	text-align: center;
	padding-top: 30px;
	border-top: 1px solid #444;
	color: #aaa;
	font-size: 0.9rem;
  }

  .loading {
	text-align: center;
	padding: 30px 0;
  }

  .spinner {
	border: 4px solid rgba(0, 0, 0, 0.1);
	border-left-color: var(--primary);
	border-radius: 50%;
	width: 40px;
	height: 40px;
	animation: spin 1s linear infinite;
	margin: 0 auto 20px;
  }

  .sanction-programs {
	margin-top: 10px;
  }

  .program-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	margin-top: 20px;
	justify-content: center;
  }

  .program-card {
	background: white;
	border-radius: 8px;
	padding: 15px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	min-width: 200px;
	text-align: center;
  }

  .program-card h4 {
	color: var(--primary);
	margin-bottom: 10px;
	font-size: 1rem;
  }

  .program-card .count {
	font-size: 1.8rem;
	font-weight: bold;
	color: var(--secondary);
	line-height: 1.2;
  }

  .program-card div:last-child {
	font-size: 0.9rem;
	color: var(--gray);
  }

  .latest-section {
	margin-bottom: 40px;
  }

  .programs-explained {
	margin-top: 30px;
  }

  .program-explained-item {
	margin-bottom: 25px;
	padding-bottom: 15px;
	border-bottom: 1px solid #eee;
  }

  .program-explained-item h3 {
	color: var(--primary);
	margin-bottom: 10px;
  }

  .program-explained-item p {
	margin-bottom: 10px;
	line-height: 1.6;
  }

  .modal {
	display: none;
	position: fixed;
	z-index: 2000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.7);
  }

  .modal-content {
	background-color: #fefefe;
	margin: 10% auto;
	padding: 30px;
	border: 1px solid #888;
	width: 80%;
	max-width: 700px;
	border-radius: 8px;
	position: relative;
	max-height: 80vh;
	overflow-y: auto;
  }

  .close-modal {
	color: #aaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
	position: absolute;
	top: 15px;
	right: 20px;
	cursor: pointer;
  }

  .close-modal:hover,
  .close-modal:focus {
	color: black;
	text-decoration: none;
  }

  .modal-title {
	margin-bottom: 20px;
	color: var(--primary);
	padding-right: 30px;
  }

  @keyframes spin {
	to {
	  transform: rotate(360deg);
	}
  }

  @media (max-width: 768px) {
	body {
	  padding-top: 200px;
	}

	.header-main {
	  flex-direction: column;
	  text-align: center;
	}

	nav ul {
	  margin-top: 15px;
	  justify-content: center;
	}

	nav li {
	  margin: 0 10px;
	}

	.sanction-header {
	  flex-direction: column;
	  text-align: center;
	}

	.sanction-img {
	  margin: 0 auto 10px;
	}

	.sanction-date {
	  margin-top: 10px;
	}

	.filter-container {
	  flex-direction: column;
	}

	.filter-group {
	  width: 100%;
	}

	.latest-header {
	  flex-direction: column;
	  align-items: flex-start;
	}

	.latest-date {
	  margin-left: 0;
	  margin-top: 8px;
	}

	.program-stats {
	  flex-direction: column;
	}

	.program-card {
	  width: 100%;
	}
  }