/* 
  Theme: Minimalist Clean
  Font: Inter
  Primary Color: #2c3e50 (Charcoal)
  Secondary Color: #7f8c8d (Grey)
  Accent Color: #2980b9 (Blue)
  Background Color: #ecf0f1 (Light Grey)
  Card/Content Background: #ffffff (White)
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

:root {
  --primary-color: #2c3e50;
  --secondary-color: #7f8c8d;
  --accent-color: #2980b9;
  --bg-color: #f4f7f6;
  --card-bg-color: #ffffff;
  --text-color: #34495e;
  --border-color: #dde3e4;
}

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

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.7;
  color: var(--text-color);
  background-color: var(--bg-color);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  text-decoration: underline;
  color: #1f618d;
}

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

/* Header */
.site-header {
  background-color: var(--card-bg-color);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.main-nav a {
  font-weight: 600;
  color: var(--primary-color);
  padding: 5px 0;
  position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.main-nav a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Main Layout */
.main-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 40px 0;
}

@media (min-width: 992px) {
  .main-layout {
    grid-template-columns: 3fr 1fr;
  }
}

main {
  background-color: var(--card-bg-color);
  padding: 30px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

/* Homepage Hero */
.hero {
  text-align: center;
  margin-bottom: 40px;
  padding: 20px 0;
}

.hero h1 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 1.5rem;
}

/* Articles Grid */
.articles-section h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
    display: inline-block;
}

.articles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 768px) {
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .articles-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.article-card {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background-color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-content h3 {
  font-size: 1.25rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.card-content p {
  margin-bottom: 15px;
  flex-grow: 1;
}

.read-more-btn {
  display: inline-block;
  background-color: var(--accent-color);
  color: #fff;
  padding: 10px 15px;
  border-radius: 5px;
  font-weight: 600;
  text-align: center;
  align-self: flex-start;
  transition: background-color 0.3s ease;
}

.read-more-btn:hover {
  background-color: #1f618d;
  text-decoration: none;
}

/* Article Page */
.article-header {
  margin-bottom: 30px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 20px;
}

.article-header h1 {
  font-size: 2.8rem;
  color: var(--primary-color);
  line-height: 1.2;
}

.article-meta {
  margin-top: 10px;
  color: var(--secondary-color);
}

.article-content h2, .article-content h3 {
  color: var(--primary-color);
  margin: 30px 0 15px;
}

.article-content h2 {
  font-size: 1.8rem;
}

.article-content h3 {
  font-size: 1.4rem;
}

.article-content p, .article-content ul {
  margin-bottom: 1.5rem;
}

.article-content ul {
    list-style-position: inside;
    padding-left: 10px;
}
.article-content li {
    margin-bottom: 0.5rem;
}

.cta-box {
    background-color: #eaf2f8;
    border-left: 5px solid var(--accent-color);
    padding: 20px;
    margin: 30px 0;
    border-radius: 5px;
}
.cta-box p {
    margin-bottom: 0;
    font-weight: 600;
}

/* Sidebar */
.sidebar {
  padding: 30px;
  background-color: var(--card-bg-color);
  border-radius: 8px;
  border: 1px solid var(--border-color);
  height: fit-content;
}

.sidebar-widget {
  margin-bottom: 30px;
}

.sidebar-widget:last-child {
    margin-bottom: 0;
}

.sidebar-title {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 8px;
}

.sidebar-widget ul {
  list-style: none;
}

.sidebar-widget ul li {
  margin-bottom: 10px;
}

.sidebar-widget ul li a::before {
    content: '→';
    margin-right: 8px;
    color: var(--accent-color);
}

.promo-text {
  background-color: #eaf2f8;
  padding: 15px;
  border-radius: 5px;
  text-align: center;
  font-weight: 600;
}

/* Footer */
.site-footer {
  background-color: var(--primary-color);
  color: #fff;
  text-align: center;
  padding: 20px 0;
  margin-top: 40px;
}

/* Static Page Content */
.static-page-content {
    min-height: 60vh;
}
.static-page-content h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}
.static-page-content p {
    font-size: 1.1rem;
    max-width: 800px;
}
.contact-info {
    margin-top: 2rem;
}
.contact-info p {
    margin-bottom: 0.5rem;
}
.country-list {
    list-style: none;
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}
.country-list li {
    background-color: #eaf2f8;
    padding: 1rem;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
}
