* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Arial, sans-serif; background: #f4f7fb; color: #222; line-height: 1.7; }
header { background: linear-gradient(90deg, #0a6cbf, #1abc9c); color: #fff; padding: 25px 20px; text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
header h1 { font-size: 2.2rem; margin-bottom: 6px; }
header p { font-size: 1rem; opacity: 0.95; }
nav { background: #084d8a; padding: 12px; text-align: center; }
nav a { color: #fff; margin: 0 14px; text-decoration: none; font-weight: 500; }
nav a:hover { text-decoration: underline; }
.container { max-width: 1100px; margin: 30px auto; padding: 0 20px; }
.hero { background: #fff; padding: 30px; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); margin-bottom: 30px; }
.hero h2 { color: #0a6cbf; margin-bottom: 12px; }
.posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.post-card { background: #fff; padding: 20px; border-radius: 10px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); transition: transform 0.2s, box-shadow 0.2s; border-left: 4px solid #1abc9c; display: flex; flex-direction: column; }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 6px 16px rgba(0,0,0,0.12); }
.post-card .cat { display: inline-block; background: #e8f5f1; color: #0a8c6c; font-size: 0.72rem; padding: 3px 10px; border-radius: 20px; margin-bottom: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; align-self: flex-start; }
.post-card h3 { color: #0a6cbf; margin-bottom: 8px; font-size: 1.1rem; }
.post-card p { color: #555; font-size: 0.92rem; margin-bottom: 12px; flex-grow: 1; }
.post-card a { display: inline-block; background: #0a6cbf; color: #fff; padding: 8px 14px; border-radius: 5px; text-decoration: none; font-size: 0.88rem; align-self: flex-start; }
.post-card a:hover { background: #084d8a; }
footer { background: #084d8a; color: #fff; text-align: center; padding: 20px; margin-top: 40px; }

/* Single post page */
.post-meta { background: #e8f5f1; color: #0a8c6c; display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 14px; }
.post-content { background: #fff; padding: 35px; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.post-content h1 { color: #0a6cbf; margin-bottom: 18px; border-bottom: 2px solid #1abc9c; padding-bottom: 10px; font-size: 1.9rem; }
.post-content h2 { color: #084d8a; margin: 26px 0 12px; font-size: 1.35rem; border-left: 4px solid #1abc9c; padding-left: 12px; }
.post-content h3 { color: #0a6cbf; margin: 20px 0 10px; font-size: 1.1rem; }
.post-content p { margin-bottom: 14px; text-align: justify; }
.post-content ul, .post-content ol { margin: 10px 0 18px 30px; }
.post-content li { margin-bottom: 8px; }
.post-content blockquote { border-left: 4px solid #1abc9c; background: #f4fbf9; padding: 14px 18px; margin: 18px 0; color: #444; font-style: italic; border-radius: 4px; }
.post-content table { width: 100%; border-collapse: collapse; margin: 18px 0; }
.post-content th, .post-content td { border: 1px solid #d8e3ec; padding: 10px 12px; text-align: left; }
.post-content th { background: #0a6cbf; color: #fff; }
.post-content tr:nth-child(even) td { background: #f4f7fb; }
.faq-item { background: #f9fbfd; padding: 14px 18px; border-radius: 6px; margin-bottom: 10px; border-left: 3px solid #0a6cbf; }
.faq-item h3 { margin: 0 0 6px; color: #084d8a; font-size: 1rem; }
.faq-item p { margin: 0; }
.back-link { display: inline-block; margin-top: 25px; color: #0a6cbf; text-decoration: none; font-weight: 500; padding: 8px 16px; border: 2px solid #0a6cbf; border-radius: 5px; }
.back-link:hover { background: #0a6cbf; color: #fff; }
