/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Inter', sans-serif;
    background: #f2f4f7;
    color: #222;
}

/* ===================== HEADER ===================== */

.jap-header {
    width: 100%;
    padding: 18px 50px;
    background: white;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.jap-logo {
    height: 58px;
}

.jap-menu a {
    margin-left: 28px;
    text-decoration: none;
    color: #222;
    font-weight: 500;
    font-size: 15px;
}
.jap-menu a:hover {
    color: #d98b00;
}


/* ===================== HERO ===================== */

.jap-hero {
    width: 100%;
    height: 390px;
    background-size: cover;
    background-position: center right;
    border-bottom: 3px solid #d98b00;
    position: relative;
}

.jap-hero-inner {
    position: absolute;
    left: 70px;
    top: 50%;
    transform: translateY(-50%);
    max-width: 540px;
    color: #fff;
    text-shadow: 0 5px 12px rgba(0,0,0,0.55);
}

.jap-hero-eyebrow {
    font-size: 14px;
    color: #ffd27f;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.jap-hero-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 14px;
    line-height: 1.1;
}

.jap-hero-sub {
    font-size: 17px;
    font-weight: 400;
    opacity: 0.95;
}


/* ===================== CARDS ===================== */

.jap-section {
    padding: 40px 60px;
}

.jap-section-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
}

.jap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.jap-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.15s ease;
}
.jap-card:hover {
    transform: translateY(-6px);
}

.jap-card-img {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.jap-card-body {
    padding: 18px;
}

.jap-card-title a {
    text-decoration: none;
    color: #222;
    font-size: 18px;
    font-weight: 600;
}
.jap-card-title a:hover {
    color: #d98b00;
}

.jap-card-excerpt {
    margin: 10px 0;
    font-size: 14px;
    color: #555;
}

.jap-card-meta {
    font-size: 13px;
    color: #999;
    margin-bottom: 10px;
}

.jap-card-link {
    color: #d98b00;
    font-weight: 600;
    text-decoration: none;
}
.jap-card-link:hover {
    text-decoration: underline;
}


/* ===================== FOOTER ===================== */

.jap-footer {
    padding: 35px;
    text-align: center;
    font-size: 14px;
    color: #555;
}
