.site-main { min-height: 60vh; }

.page-wrap {
    max-width: 760px;
    margin: 40px auto;
    padding: 0 24px;
}
.page-title {
    font-size: 2rem;
    font-weight: 800;
    color: #0a0a14;
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}
.page-body h2 { margin-top: 2em; }
.page-body h3 { margin-top: 1.5em; }

@media (max-width: 767px) {
    .page-wrap { margin: 24px auto; }
    .page-title { font-size: 1.5rem; }
}

.single-wrap {
    display: flex;
    gap: 56px;
    max-width: 1280px;
    margin: 40px auto;
    padding: 0 24px;
    align-items: flex-start;
}
.single-content { flex: 1 1 68%; min-width: 0; max-width: 740px; }

.single-body {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.1rem;
    line-height: 1.85;
    color: #1f2937;
}
.single-body p { margin-bottom: 1.5em; }
.single-body > p:first-of-type::first-letter {
    float: left;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 4.2rem;
    line-height: 0.88;
    font-weight: 800;
    color: var(--color-primary, #1a73e8);
    padding: 6px 10px 0 0;
    margin-top: 4px;
}
.single-body h2 {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 2.5em 0 0.75em;
    color: #0a0a14;
    letter-spacing: -0.3px;
    line-height: 1.25;
    position: relative;
    padding-left: 16px;
}
.single-body h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.22em;
    bottom: 0.22em;
    width: 4px;
    background: var(--color-primary, #1a73e8);
    border-radius: 2px;
}
.single-body h3 {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 2em 0 0.5em;
    color: #0a0a14;
    line-height: 1.3;
}
.single-body ul, .single-body ol { padding-left: 1.75em; margin-bottom: 1.5em; }
.single-body li { margin-bottom: 0.5em; }
.single-body blockquote {
    position: relative;
    margin: 2.25em 0;
    padding: 22px 26px 22px 58px;
    background: #f9fafb;
    border: none;
    border-left: 4px solid var(--color-primary, #1a73e8);
    border-radius: 0 12px 12px 0;
    color: #1f2937;
    font-style: italic;
    font-size: 1.08rem;
    line-height: 1.7;
}
.single-body blockquote::before {
    content: '\201C';
    position: absolute;
    top: -6px;
    left: 14px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 4.5rem;
    line-height: 1;
    font-weight: 900;
    color: var(--color-primary, #1a73e8);
    opacity: 0.22;
}
.single-body blockquote p:last-child { margin-bottom: 0; }
.single-body img { border-radius: 12px; margin: 2em auto; box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.single-body figure { margin: 2.25em 0; }
.single-body figure img { margin: 0 auto; display: block; }
.single-body figcaption {
    margin-top: 12px;
    font-size: 0.85rem;
    color: #6b7280;
    text-align: center;
    font-style: italic;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.5;
}
.single-body a { color: var(--color-primary, #1a73e8); text-decoration: underline; text-underline-offset: 2px; }
.single-body a:hover { opacity: 0.75; }
.single-body strong { font-weight: 700; color: #0a0a14; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; }
.single-body table { width: 100%; border-collapse: collapse; margin: 2em 0; font-size: 0.9rem; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.single-body th { background: #f3f4f6; font-weight: 700; color: #0a0a14; text-align: left; padding: 10px 14px; border: 1px solid #e5e7eb; }
.single-body td { padding: 9px 14px; border: 1px solid #e5e7eb; color: #374151; vertical-align: top; }
.single-body tr:nth-child(even) td { background: #f9fafb; }
.single-body hr { border: none; border-top: 1px solid #e5e7eb; margin: 2.5em 0; }
.single-body > * { max-width: 100%; }
.single-body a { word-break: break-word; overflow-wrap: break-word; }
.single-body p, .single-body li { overflow-wrap: break-word; }
.single-body iframe, .single-body video, .single-body embed, .single-body object { max-width: 100%; }
.single-body figure { max-width: 100%; }
.single-body .wp-block-image,
.single-body .wp-block-embed,
.single-body .wp-block-video,
.single-body .wp-block-gallery { max-width: 100%; }
.single-body .wp-block-image img { height: auto; }
.single-body .wp-block-embed__wrapper { position: relative; max-width: 100%; overflow: hidden; }
.single-body .wp-block-embed iframe { width: 100%; }
.single-body .wp-block-table { max-width: 100%; overflow-x: auto; display: block; }
.single-body pre, .single-body .wp-block-code { max-width: 100%; overflow-x: auto; white-space: pre-wrap; word-break: break-word; }
.single-body code { word-break: break-word; }
.in-content-ad, .site-header-ad, .sidebar-ad, .anchor-ad, [id^="div-gpt-ad"] { max-width: 100%; overflow: hidden; }
.in-content-ad > *, [id^="div-gpt-ad"] > * { max-width: 100%; }

.single-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 0.82rem;
    color: #6b7280;
    margin-bottom: 28px;
    padding-bottom: 22px;
    border-bottom: 1px solid #e5e7eb;
}
.single-meta__dot { width: 3px; height: 3px; background: #d1d5db; border-radius: 50%; flex-shrink: 0; }
.single-meta__category {
    font-weight: 800;
    color: var(--color-primary, #1a73e8);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.68rem;
    letter-spacing: 1px;
}
.single-meta__category:hover { text-decoration: none; opacity: 0.75; }

.site-sidebar {
    flex: 0 0 28%;
    max-width: 300px;
    position: sticky;
    top: 80px;
    align-self: flex-start;
}
.site-sidebar__sticky { margin-top: 0; }
.sidebar-recent { margin-top: 8px; }
.sidebar-recent__label {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #9ca3af;
    padding-bottom: 10px;
    border-bottom: 2px solid #111827;
    margin-bottom: 4px;
}
.sidebar-recent__list { list-style: none; }
.sidebar-recent__item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
}
.sidebar-recent__thumb {
    flex-shrink: 0;
    width: 64px;
    height: 48px;
    overflow: hidden;
    border-radius: 4px;
    display: block;
    background: #e5e7eb;
}
.sidebar-recent__thumb img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-recent__title {
    color: #111827;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sidebar-recent__title:hover { color: var(--color-primary, #1a73e8); text-decoration: none; }
.sidebar-ad {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    margin-bottom: 16px;
}

.inline-related {
    margin: 2.5em 0;
    padding: 22px;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-style: normal;
}
.inline-related__label {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-primary, #1a73e8);
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-primary, #1a73e8);
    display: inline-block;
}
.inline-related__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.inline-related__card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    background: #fff;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.inline-related__card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    border-color: var(--color-primary, #1a73e8);
    text-decoration: none;
}
.inline-related__thumb {
    display: block;
    aspect-ratio: 4/3;
    border-radius: 8px;
    overflow: hidden;
    background: #e5e7eb;
    margin: 0;
}
.inline-related__thumb img,
.inline-related__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    margin: 0;
    box-shadow: none;
    transition: transform 0.35s ease;
}
.inline-related__card:hover .inline-related__img { transform: scale(1.04); }
.inline-related__title {
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.4;
    color: #0a0a14;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-style: normal;
}
.inline-related__card:hover .inline-related__title { color: var(--color-primary, #1a73e8); }

.author-box {
    display: flex;
    gap: 20px;
    margin: 48px 0 16px;
    padding: 26px;
    background: linear-gradient(135deg, #f9fafb 0%, #eef2ff 100%);
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    align-items: flex-start;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.author-box__avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin: 0;
    object-fit: cover;
}
.author-box__body { flex: 1; min-width: 0; }
.author-box__label {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #6b7280;
    margin: 0 0 4px;
}
.author-box__name {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0a0a14;
    margin: 0 0 8px;
    letter-spacing: -0.2px;
    line-height: 1.25;
}
.author-box__name a { color: inherit; text-decoration: none; }
.author-box__name a:hover { color: var(--color-primary, #1a73e8); }
.author-box__bio {
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 767px) {
    .single-wrap { flex-direction: column; gap: 32px; padding: 0 16px; margin: 24px auto; align-items: stretch; }
    .single-content { flex: none; width: 100%; max-width: 100%; min-width: 0; }
    .site-sidebar { position: static; max-width: 100%; flex: none; width: 100%; }
    .single-title { font-size: 1.55rem; letter-spacing: -0.3px; }
    .single-body { font-size: 1rem; line-height: 1.8; }
    .single-body > p:first-of-type::first-letter { font-size: 3.4rem; padding-right: 8px; }
    .single-body h2 { font-size: 1.25rem; padding-left: 12px; }
    .single-body h2::before { width: 3px; }
    .single-body h3 { font-size: 1.05rem; }
    .single-body blockquote { padding: 18px 18px 18px 46px; font-size: 1rem; margin: 1.75em 0; }
    .single-body blockquote::before { font-size: 3.6rem; left: 10px; }
    .single-meta { font-size: 0.78rem; margin-bottom: 20px; padding-bottom: 16px; }
    .single-hero { border-radius: 8px; margin-bottom: 24px; }
    .inline-related { padding: 16px; margin: 2em 0; border-radius: 10px; }
    .inline-related__grid { grid-template-columns: 1fr; gap: 12px; }
    .inline-related__card { flex-direction: row; align-items: stretch; padding: 8px; gap: 12px; }
    .inline-related__thumb { width: 108px; flex-shrink: 0; aspect-ratio: 4/3; }
    .inline-related__title { font-size: 0.9rem; -webkit-line-clamp: 3; display: flex; align-items: center; }
    .author-box { flex-direction: row; gap: 16px; padding: 20px; margin-top: 36px; border-radius: 12px; }
    .author-box__avatar { width: 60px; height: 60px; border-width: 2px; }
    .author-box__name { font-size: 1.05rem; }
    .author-box__bio { font-size: 0.85rem; }
    .author-box__label { font-size: 0.6rem; }
}

.site-footer__brand-name {
    display: block;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: -0.2px;
    margin-bottom: 10px;
}
.site-footer__brand-name:hover { color: #e5e7eb; text-decoration: none; }
.site-footer__tagline {
    color: #9ca3af;
    font-size: 0.85rem;
    line-height: 1.55;
    margin: 0;
}
.site-footer__col-title {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #9ca3af;
    margin-bottom: 10px;
}
.site-footer__col-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.site-footer__col-list a {
    color: var(--color-footer-text, #d1d5db);
    text-decoration: none;
    font-size: 0.875rem;
    opacity: 0.9;
    transition: opacity 0.15s;
}
.site-footer__col-list a:hover { opacity: 1; text-decoration: none; }
.site-footer__author { display: flex; align-items: flex-start; gap: 12px; }
.site-footer__avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    flex-shrink: 0;
    object-fit: cover;
}
.site-footer__author-info { display: flex; flex-direction: column; gap: 4px; }
.site-footer__author-name { color: #f3f4f6; font-size: 0.9rem; font-weight: 700; display: block; }
.site-footer__author-bio { color: #9ca3af; font-size: 0.8rem; line-height: 1.5; margin: 0; }
.site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid #1f2937;
}
.site-footer__copy { margin: 0; color: var(--color-footer-text, #d1d5db); font-size: 0.8rem; }
.site-footer__nav-list { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.site-footer__nav-list a, .site-footer__nav-list .menu-item a {
    color: var(--color-footer-text, #d1d5db);
    text-decoration: none;
    font-size: 0.8rem;
    opacity: 0.9;
    transition: opacity 0.15s;
}
.site-footer__nav-list a:hover, .site-footer__nav-list .menu-item a:hover { opacity: 1; text-decoration: none; }

.pagination { margin: 48px 0 16px; text-align: center; }
.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    margin: 2px;
    border: 1px solid #e5e7eb;
    color: #6b7280;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background-color 0.15s, border-color 0.15s, color 0.15s;
    background: #fff;
}
.page-numbers.current {
    background: var(--color-primary, #1a73e8);
    color: #fff;
    border-color: var(--color-primary, #1a73e8);
    font-weight: 700;
}
.page-numbers:hover:not(.current) {
    border-color: #9ca3af;
    color: #111827;
    background: #f9fafb;
    text-decoration: none;
}

.in-content-ad {
    text-align: center;
    margin: 40px 0;
    clear: both;
    padding: 8px;
    background: #f9fafb;
    border: 1px solid #f3f4f6;
    border-radius: 6px;
}
.site-footer-ad {
    text-align: center;
    padding: 10px;
    border-top: 1px solid #1f2937;
    margin-bottom: 20px;
}
.anchor-ad {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    background: #fff;
    z-index: 999;
    padding: 6px 0;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.07);
}
@media (min-width: 768px) { .anchor-ad { display: none; } }

@media (max-width: 1023px) {
    .site-header__menu-toggle { display: flex; }
    .site-nav {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: #fff;
        padding: 4px 0 16px;
        z-index: 99;
        box-shadow: 0 8px 28px rgba(0,0,0,0.12);
        border-top: 1px solid #e5e7eb;
    }
    .site-nav.is-open { display: block; }
    .site-nav ul { flex-direction: column; gap: 0; }
    .site-nav a {
        color: #111827;
        text-decoration: none;
        display: block;
        padding: 13px 24px;
        font-size: 0.95rem;
        font-weight: 600;
        border-bottom: 1px solid #f3f4f6;
        transition: background 0.1s, color 0.1s;
    }
    .site-nav a:hover { background: #f9fafb; color: var(--color-primary, #1a73e8); text-decoration: none; }
    .site-nav ul li:last-child a { border-bottom: none; }
}

.error-404 {
    max-width: 480px;
    margin: 100px auto 120px;
    padding: 0 24px;
    text-align: center;
}
.error-404__code {
    display: block;
    font-size: 10rem;
    font-weight: 900;
    line-height: 1;
    color: var(--color-primary, #1a73e8);
    opacity: 0.1;
    letter-spacing: -10px;
}
.error-404 h1 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0a0a14;
    margin: -28px 0 10px;
    position: relative;
    letter-spacing: -0.3px;
}
.error-404 > p { color: #6b7280; font-size: 0.95rem; margin-bottom: 32px; line-height: 1.6; }
.error-404__btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 28px;
    background: var(--color-primary, #1a73e8);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: opacity 0.15s, transform 0.15s;
}
.error-404__btn:hover { opacity: 0.88; transform: translateY(-1px); text-decoration: none; }

.archive-title, .search-title {
    font-size: 1.5rem;
    margin-bottom: 8px;
    font-weight: 800;
    color: #0a0a14;
    letter-spacing: -0.3px;
}
.search-title span { color: var(--color-primary, #1a73e8); }

.site-nav ul { list-style: none; }
