:root {
  --bg:#f5faff;
  --card:#ffffff;
  --accent:#4ac6f7;
  --dark:#04395e;
}

* { box-sizing:border-box; }

body {
  font-family:Arial, Helvetica, sans-serif;
  margin:0;
  background:rgb(13, 104, 84);
  color:#333;
}

/* HEADER */
.site-header {
  background:#e0bee7;;
  color:#fff;
  border-radius: 40px;
  padding:20px;
  text-align:center;
}

/* GRID – tam sayfaya ortalı */
.countries-grid {
  width:100%;
  max-width:600px;
  margin:30px auto;
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(450px, 1fr));
  gap:28px;
  padding:0 20px;

}

/* COUNTRY BOX */
.country-box {
  background:rgb(187, 250, 230);
  color:red;
  border-radius:35px;
  padding:20px;
  box-shadow:0 4px 12px rgba(0,0,0,0.1);
}

.country-box h2 {
  margin:0 0 12px;
  font-size:1.4rem;
  font-weight:bold;
  color: #000;
}

/* POSTS */
.posts .post {
  border-top:1px solid #ddd;
  padding-top:12px;
  margin-top:12px;
}

.post img,
.post video {
  width:100%;
  border-radius:8px;
  margin-bottom:8px;
}
.preview {
    max-width: 120px;   /* Görseller ve videolar %50 daha küçük */
    max-height: 120px;
    border-radius: 8px;
    margin: 10px 0;
    object-fit: cover;
    display: block;
}




.post h4 { margin:6px 0; font-size:1.1rem; }
.post p { margin:6px 0; line-height:1.5; }
.post small { color:#555; display:block; margin-top:6px; }

/* BUTTONS */
.btn {
  background:var(--accent);
  color:#fff;
  border:none;
  padding:10px 14px;
  border-radius:8px;
  cursor:pointer;
  font-weight:bold;
}

.btn.secondary {
  background:#777;
}

/* MODAL */
.modal-root {
  position:fixed;
  top:0; left:0;
  width:100%; height:100%;
  display:none;
  align-items:center;
  justify-content:center;
  background:rgb(138, 76, 76);
  z-index:9999;
}

.modal {
  background:#fff;
  border-radius:10px;
  padding:20px;
  max-width:520px;
  width:96%;
  max-height:90vh;
  overflow:auto;
}

.modal input, .modal textarea {
  width:100%;
  padding:8px;
  margin:6px 0;
  border:1px solid #ccc;
  color: #000;
  border-radius:6px;
}

.modal .row { display:flex; gap:8px; }
.modal .row .col { flex:1; }

/* FOOTER */
.site-footer {
  text-align:center;
  padding:18px;
  color:#444;
}
 p {
  color:rgb(58, 16, 155);
  margin-top:40px;

  border-radius: 20px;
  }
