/*
Theme Name: ROLE inc. Official Blog - Magazine Edition
Theme URI: https://role-inc.com/
Author: ROLE inc. Creative Team
Description: Premium Magazine style blog theme for ROLE inc. brands.
Version: 1.2.0
License: GNU General Public License v2 or later
Text Domain: role-blog
*/

/* Reset & Base */
body {
    margin: 0;
    padding: 0;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: #111;
    background-color: #ffffff;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography (Magazine Style) */
h1, h2, h3, h4, h5, .brand-font {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Header (Sticky) */
.site-header {
    padding: 40px 0;
    text-align: center;
    background: #fff;
    border-bottom: 1px solid #000;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-title {
    font-size: 36px;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 0.15em;
}

.nav-menu ul {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    display: flex;
    justify-content: center;
    gap: 40px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Category Label (MensNonNo Style) */
.post-category, .hero-category, .grid-category {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
    background: #000;
    display: inline-block;
    padding: 2px 8px;
    margin-bottom: 15px;
}

/* Hero Section */
.hero-post {
    margin: 60px 0;
    position: relative;
    overflow: hidden;
}

.hero-image-wrapper {
    width: 100%;
    height: 600px;
    overflow: hidden;
    background: #f7f7f7;
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s ease;
}

.hero-post:hover img {
    transform: scale(1.05);
}

.hero-content {
    padding: 40px 0;
    text-align: center;
}

.hero-title {
    font-size: 48px;
    line-height: 1.1;
    margin: 10px auto;
    max-width: 900px;
}

/* 2 Column Layout */
.main-content-wrapper {
    display: flex;
    gap: 60px;
    margin-top: 60px;
}

.main-content {
    flex: 1;
    min-width: 0;
}

/* Sidebar Styling & Ranking Numbers */
.sidebar {
    width: 300px;
    flex-shrink: 0;
    counter-reset: ranking-counter;
}

.sidebar ul, .sidebar li {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.sidebar li {
    margin: 0 0 35px 0 !important;
}

.sidebar-widget {
    margin-bottom: 80px;
    position: sticky;
    top: 140px;
}

.widget-title {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    border-bottom: 2px solid #000;
    padding-bottom: 8px;
    margin-bottom: 30px;
}

/* Sidebar Ranking List Item */
.sidebar-post-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    position: relative;
    counter-increment: ranking-counter;
}

.sidebar-post-thumb {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    position: relative;
}

.sidebar-post-thumb::before {
    content: counter(ranking-counter);
    position: absolute;
    top: -12px;
    left: -12px;
    width: 32px;
    height: 32px;
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    z-index: 10;
}

.sidebar-post-info {
    flex: 1;
    padding-top: 5px;
}

.sidebar-post-title {
    font-size: 15px;
    line-height: 1.4;
    margin: 0;
    font-weight: 700;
}

/* Magazine Grid */
.magazine-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 40px;
    margin-bottom: 100px;
}

.grid-item {
    display: flex;
    flex-direction: column;
}

.grid-image-wrapper {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    margin-bottom: 20px;
}

.grid-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.grid-item:hover img {
    transform: scale(1.08);
}

.grid-title {
    font-size: 22px;
    line-height: 1.3;
    margin: 10px 0 0;
    font-weight: 700;
}

/* CTA & Footer */
.ec-cta {
    background: #000;
    color: #fff;
    padding: 100px 0;
    text-align: center;
    margin-top: 100px;
}

.btn-shop {
    border: 1px solid #fff;
    padding: 15px 50px;
    margin-top: 30px;
    display: inline-block;
    letter-spacing: 0.2em;
    font-weight: 700;
}

.site-footer {
    padding: 60px 0;
    background: #fff;
    border-top: 1px solid #eee;
    text-align: center;
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* Responsive */
@media (max-width: 1100px) {
    .main-content-wrapper { flex-direction: column; gap: 80px; }
    .sidebar { width: 100%; }
    .sidebar-widget { position: static; }
    .hero-title { font-size: 32px; }
    .hero-image-wrapper { height: 400px; }
}

@media (max-width: 600px) {
    .magazine-grid { grid-template-columns: 1fr; }
    .site-title { font-size: 24px; }
    .sidebar-post-thumb { width: 80px; height: 80px; }
}
