/* =============================================
   Shoe Guide Page
   ============================================= */

/* Hero */
.sg-hero {
    position: relative;
    height: 520px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.sg-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.sg-hero-inner {
    position: relative;
    z-index: 1;
    padding: 0 0 60px 100px;
    max-width: 680px;
}

.sg-hero-title {
    font-size: 52px;
    line-height: 1.05;
    color: #1a1a1a;
    margin: 0 0 20px;
}

.sg-hero-text {
    font-size: 14px;
    line-height: 1.7;
    color: #444;
    max-width: 555px;
    margin: 0;
    padding-left: 155px;
    margin-top: -70px;
}

/* List section */
.sg-list-section {
    padding: 64px 100px 80px;
}

.sg-list-label {
    text-align: center;
    font-size: 14px;
    letter-spacing: 0.04em;
    color: #888;
    margin: 0 0 40px;
}

.sg-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

/* Card */
.sg-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

.sg-card-img-wrap {
    width: 100%;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    margin-bottom: 18px;
}

.sg-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.sg-card:hover .sg-card-img {
    transform: scale(1.04);
}

.sg-card-title {
    font-size: 20px;
    color: #1a1a1a;
    margin: 0 0 10px;
    line-height: 1.3;
}

.sg-card-text {
    font-size: 13px;
    line-height: 1.65;
    color: #666;
    margin: 0 0 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sg-card-arrow {
    font-size: 18px;
    color: #1a1a1a;
    display: block;
}

/* =============================================
   Shoe Guide Detail (Show) Page
   ============================================= */

/* Hero */
.sg-show-hero {
    position: relative;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    height: 420px;
    overflow: hidden;
    margin-top: 120px;
    margin-bottom: 56px;
}

.sg-show-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.sg-show-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.10) 55%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    padding: 0 24px 48px;
}

.sg-show-hero-title {
    font-size: 42px;
    line-height: 1.15;
    color: #fff;
    margin: 0 0 12px;
}

.sg-show-hero-date {
    font-size: 12px;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.8);
}

/* Body */
.sg-show-body {
    max-width: 760px;
    margin: 0 auto;
    padding: 56px 24px 64px;
}

.sg-show-summary-title {
    font-size: 22px;
    color: #1a1a1a;
    margin: 0 0 16px;
}

.sg-show-summary-text {
    font-size: 14px;
    line-height: 1.8;
    color: #444;
}

.sg-show-summary-text ul,
.sg-show-summary-text ol {
    margin: 0;
    padding-left: 20px;
}

.sg-show-summary-text li {
    margin-bottom: 6px;
}

.sg-show-divider {
    border: none;
    border-top: 1px solid #e8e4e0;
    margin: 36px 0;
}

.sg-show-content {
    font-size: 15px;
    line-height: 1.85;
    color: #333;
}

.sg-show-content h2 {
    font-family: 'Baskervville', serif;
    font-size: 22px;
    color: #1a1a1a;
    margin: 36px 0 14px;
    text-align: center;
}

.sg-show-content h3 {
    font-family: 'Baskervville', serif;
    font-size: 18px;
    color: #1a1a1a;
    margin: 28px 0 10px;
}

.sg-show-content p {
    margin: 0 0 20px;
}

.sg-show-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 14px;
}

.sg-show-content th,
.sg-show-content td {
    border: 1px solid #ddd;
    padding: 10px 16px;
    text-align: center;
}

.sg-show-content th {
    background: #f5f3f0;
    font-weight: 600;
}

.sg-show-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 24px auto;
}

/* Other Guides */
.sg-show-others {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 24px 80px;
}

.sg-show-others-title {
    font-size: 14px;
    letter-spacing: 0.04em;
    color: #888;
    text-align: center;
    margin: 0 0 32px;
}

.sg-show-others-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

.sg-show-other-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-decoration: none;
    color: inherit;
    padding: 0;
}

.sg-show-other-label {
    font-size: 12px;
    color: #888;
    letter-spacing: 0.03em;
}

.sg-show-other-name {
    font-size: 20px;
    color: #1a1a1a;
    line-height: 1.25;
}

.sg-show-other-arrow {
    font-size: 18px;
    color: #1a1a1a;
    margin-top: 4px;
}
