* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
}

body {
    background: #ffffff;
    color: #222222;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: #111111;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.site-header {
    background: #ffffff;
    border-bottom: 1px solid #dddddd;
}

.header-image-wrap {
    width: 100%;
    background: #ffffff;
    text-align: center;
    padding: 24px 20px 18px;
}

.header-image {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.main-nav {
    border-top: 1px solid #e7e7e7;
    border-bottom: 1px solid #e7e7e7;
    background: #fafafa;
}

.main-nav ul {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.main-nav li {
    margin: 0;
}

.main-nav a {
    display: block;
    padding: 16px 18px;
    font-size: 0.95rem;
    font-weight: 500;

    font-family: 'Roboto', Arial, Helvetica, sans-serif;

    letter-spacing: 0.04em;
    text-transform: uppercase;
	
}

.main-nav a {
    letter-spacing: 0.03em;
}

.main-nav a:hover {
    background: #f0f0f0;
    text-decoration: none;
}

.page-wrap {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.hero-post {
    margin-bottom: 40px;
}

.featured-post {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    overflow: hidden;
	border-radius:16px;
}

.featured-image-link img {
    width: 100%;
    aspect-ratio: 16 / 7;
    object-fit: cover;
}

.featured-content {
    padding: 28px;
}

.post-category {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #777777;
    margin-bottom: 10px;
}

.featured-content h1 {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 12px;
}

.featured-content h1 a:hover {
    text-decoration: none;
    color: #555555;
}

.post-meta {
    font-size: 0.9rem;
    color: #777777;
    margin-bottom: 16px;
}

.post-excerpt {
    font-size: 1.05rem;
    max-width: 850px;
    margin-bottom: 22px;
}

.read-more-btn {
    display: inline-block;
    background: #111111;
    color: #ffffff;
    padding: 12px 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.85rem;
	border-radius:10px;
}

.read-more-btn:hover {
    background: #333333;
    text-decoration: none;
}

.content-grid {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(260px, 0.8fr);
    gap: 36px;
    align-items: start;
}

.blog-main {
    display: grid;
    gap: 32px;
}

.blog-card {
    border: 1px solid #e5e5e5;
    background: #ffffff;
    overflow: hidden;
	border-radius:16px;
}

.card-image-link img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.blog-card-content {
    padding: 24px;
}

.blog-card h2 {
    font-size: 1.7rem;
    line-height: 1.25;
    margin-bottom: 10px;
}

.blog-card h2 a:hover {
    text-decoration: none;
    color: #555555;
}

.blog-card p {
    margin-bottom: 14px;
}

.text-link {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
}

.sidebar {
    display: grid;
    gap: 24px;
}

.sidebar-box {
    border: 1px solid #e5e5e5;
    padding: 22px;
    background: #fafafa;
	border-radius:16px;
}

.sidebar-box h3 {
    font-size: 1.1rem;
    margin-bottom: 14px;
}

.sidebar-box ul {
    list-style: none;
}

.sidebar-box li + li {
    margin-top: 10px;
}

.site-footer {
    margin-top: 60px;
    padding: 30px 20px;
    text-align: center;
    border-top: 1px solid #dddddd;
    color: #666666;
    font-size: 0.95rem;
    background: #ffffff;
}

@media (max-width: 900px) {
    .content-grid {
        grid-template-columns: 1fr;
    }

    .featured-content h1 {
        font-size: 1.8rem;
    }

    .blog-card h2 {
        font-size: 1.45rem;
    }
}

@media (max-width: 600px) {
    .header-image-wrap {
        padding: 18px 12px 14px;
    }

    .main-nav ul {
        justify-content: flex-start;
    }

    .main-nav a {
        padding: 14px 12px;
        font-size: 0.85rem;
    }

    .featured-content,
    .blog-card-content,
    .sidebar-box {
        padding: 18px;
    }

    .featured-content h1 {
        font-size: 1.5rem;
    }
}

.main-nav a {
    position: relative;
    display: inline-block;
}

/* The image that appears on hover */
.main-nav a::after {
    content: "";
    position: absolute;

    left: 50%;
    bottom: 6px; /* adjust this to move it up/down */

    transform: translateX(-50%) scaleX(0);
    transform-origin: center;

    width: 80%; /* adjust width of the effect */
    height: 12px; /* match your image height */

    background-image: url("https://nikku.art/images/undermenu.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;

    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Show on hover */
.main-nav a:hover::after {
    transform: translateX(-50%) scaleX(1);
    opacity: 1;
}