/* Reset cơ bản */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


body.blog-page {
  font-family: "Segoe UI", sans-serif;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
}
.search-container {
    text-align: center;
    margin: 30px 0;
}
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #d32f2f;
    padding: 15px 20px;
    color: white;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

body {
    padding-top: 100px;
    background-color: rgba(255, 255, 128, 0.5);
    /* Đảm bảo nội dung không bị header che mất */
}
.search-container::before {
  content: "🔍";
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
}


.search-container input:hover {
  border-color: #d32f2f;
}


.search-container input:focus {
    outline: none;
    border-color: #ff0000;
    box-shadow: 0 0 8px rgba(255, 0, 0, 0.2);
}
/* Header */


nav a {
  color: #fff;
  margin: 0 15px;
  text-decoration: none;
  font-weight: bold;
}

nav a.active,
nav a:hover {
  text-decoration: underline;
}

/* Blog section */
.blog-list {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
}

.blog-post {
  background: #fff;
  border-left: 5px solid #d62828;
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-radius: 8px;
}

.blog-post:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.blog-post h2 {
  color: #d62828;
  margin-bottom: 10px;
  font-size: 22px;
}

.blog-post p {
  margin-bottom: 15px;
  font-size: 16px;
}

.blog-post a {
  color: #0077cc;
  font-weight: bold;
  text-decoration: none;
  font-size: 15px;
}

.blog-post a:hover {
  text-decoration: underline;
}

.blog-detail {
  padding-left: 10px;
  border-left: 3px solid #fca311;
  background-color: #fef9f1;
  padding: 10px;
  border-radius: 4px;
  margin-top: 10px;
}

/* Footer */
footer {
  background-color: #222;
  color: #ccc;
  text-align: center;
  padding: 15px 0;
  font-size: 14px;
  margin-top: 40px;
}
#lienhe .container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
}

#lienhe .col-left,
#lienhe .col-right {
    flex: 1;
    min-width: 320px;
}

#lienhe iframe {
    width: 100%;
    height: 100%;
    min-height: 350px;
    border: 0;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    #lienhe .container {
        flex-direction: column;
    }
}