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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f0eb;
    color: #333;
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: inherit;
}

/* HEADER */
header {
    background: linear-gradient(135deg, #ff9a56, #e8643b);
    color: white;
    padding: 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.15);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo span {
    font-size: 2rem;
}

nav {
    display: flex;
    gap: 28px;
}

nav a {
    color: rgba(255,255,255,0.9);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
    position: relative;
}

nav a:hover {
    color: white;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s;
}

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

/* HERO */
.hero {
    background: linear-gradient(135deg, #fff5ee, #ffe8d6);
    padding: 60px 24px;
    text-align: center;
}

.hero h1 {
    font-size: 2.6rem;
    color: #2c1810;
    margin-bottom: 12px;
    font-weight: 800;
}

.hero p {
    font-size: 1.15rem;
    color: #6b5545;
    max-width: 600px;
    margin: 0 auto;
}

/* MAIN */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 24px;
}

.section-title {
    font-size: 1.6rem;
    color: #2c1810;
    margin-bottom: 28px;
    padding-bottom: 10px;
    border-bottom: 3px solid #ff9a56;
    display: inline-block;
}

/* POST CARDS */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}

.post-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}

.post-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

.post-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.post-body {
    padding: 22px 24px 26px;
}

.post-tag {
    display: inline-block;
    background: #fff0e6;
    color: #e8643b;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-body h2 {
    font-size: 1.2rem;
    color: #2c1810;
    margin-bottom: 10px;
    line-height: 1.4;
}

.post-body p {
    font-size: 0.92rem;
    color: #666;
    margin-bottom: 16px;
}

.read-more {
    color: #e8643b;
    font-weight: 700;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
}

.read-more:hover {
    gap: 10px;
}

/* FEATURED POST */
.featured {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 40px;
    transition: transform 0.3s;
}

.featured:hover {
    transform: translateY(-4px);
}

.featured .post-img {
    height: 100%;
    min-height: 300px;
}

.featured .post-body {
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured .post-body h2 {
    font-size: 1.6rem;
}

/* TIPS SECTION */
.tips {
    background: linear-gradient(135deg, #ff9a56, #e8643b);
    border-radius: 16px;
    padding: 40px 36px;
    margin: 48px 0;
    color: white;
}

.tips h2 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: white;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.tip-item {
    background: rgba(255,255,255,0.15);
    border-radius: 12px;
    padding: 20px;
    backdrop-filter: blur(10px);
}

.tip-item .tip-icon {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.tip-item h3 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.tip-item p {
    font-size: 0.85rem;
    opacity: 0.9;
    line-height: 1.5;
}

/* FOOTER */
footer {
    background: #2c1810;
    color: rgba(255,255,255,0.7);
    text-align: center;
    padding: 32px 24px;
    font-size: 0.88rem;
    margin-top: 40px;
}

footer strong {
    color: #ff9a56;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 12px;
    }
    nav {
        gap: 18px;
    }
    .hero h1 {
        font-size: 1.8rem;
    }
    .featured {
        grid-template-columns: 1fr;
    }
    .featured .post-img {
        min-height: 200px;
    }
    .posts-grid {
        grid-template-columns: 1fr;
    }
}
