/* ============================================================
   Blanky Nordic - Frontend Styles
   Nordic マガジン風デザインへの変換。
   blanky テーマの既存クラスと chrome カスタムプロパティを活用。
   ============================================================ */

:root {
    --nordic-header-height: 6rem;
}

/* ============================================================
   Header
   chrome カスタムプロパティで背景/テキスト色は自動適用済み。
   ここでは構造的な変更のみ。
   ============================================================ */


.has-global-padding>.alignfull {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
}


.blanky-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 2px solid #000000;
    text-align: left;
}

/* パディング調整: モックアップの h-24 (6rem) 相当 */
.blanky-header.wp-block-group {
    padding: 1rem .5rem;
}

@media (min-width: 768px) {
    .blanky-header.wp-block-group {
        padding: 2rem 1rem;
    }
}

/* サイトタイトル: Playfair Display + アクセントアンダーライン
   blanky の style.css が .blanky-header .wp-block-site-title a (0,2,1) で
   color: var(--wp--custom--chrome--accent) を適用するため、
   body を前置して詳細度 (0,2,2) に引き上げて上書きする。 */
body .blanky-header .nordic-site-title.wp-block-site-title,
body .blanky-header .nordic-site-title.wp-block-site-title a {
    font-family: var(--wp--preset--font-family--serif);
    font-weight: 900;
    font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -0.025em;
    color: #000000;
    text-decoration: none;
    white-space: nowrap;
}

body .blanky-header .nordic-site-title.wp-block-site-title a {
    border-bottom: 4px solid var(--wp--preset--color--primary);
    padding-bottom: 0.125rem;
    display: inline-block;
}

/* タグライン非表示（Nordic デザインでは不要） */
.blanky-header .wp-block-site-tagline {
    display: none;
}

/* ナビゲーションリンク */
.blanky-header .wp-block-navigation a {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    transition: color 0.2s ease;
}

.blanky-header .wp-block-navigation a:hover {
    color: var(--wp--custom--chrome--accent);
}

/* モバイルメニューアイコン色 */
.blanky-header .wp-block-navigation__responsive-container-open svg {
    color: var(--wp--custom--chrome--text);
}

/* ============================================================
   Header Actions: 検索フォーム + メンバーシップボタン
   ============================================================ */

/* 検索フォーム: ヘッダー内ではボタン（虫眼鏡アイコン）のみ表示 */
.blanky-header-search.wp-block-search {
    display: flex;
    align-items: center;
}

.blanky-header-search .wp-block-search__inside-wrapper {
    display: flex;
    align-items: center;
}

.blanky-header-search .wp-block-search__input {
    width: 0;
    padding: 0;
    border: none;
    overflow: hidden;
    transition: width 0.3s ease;
}

.blanky-header-search .wp-block-search__button {
    background: transparent;
    border: none;
    color: var(--wp--custom--chrome--text);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    transition: color 0.2s ease;
}

.blanky-header-search .wp-block-search__button:hover {
    color: var(--wp--custom--chrome--accent);
}

/* メンバーシップボタン: 黒地白文字・大文字トラッキング */
.blanky-header-membership .blanky-membership-btn .wp-block-button__link {
    background-color: #000000;
    color: #FFFFFF;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    padding: 0.75rem 2rem;
    border-radius: 0;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.blanky-header-membership .blanky-membership-btn .wp-block-button__link:hover {
    background-color: var(--wp--preset--color--primary);
    color: #FFFFFF;
}

/* モバイル・タブレット: ヘッダーレイアウト調整 */
@media (max-width: 782px) {
    .blanky-header>.wp-block-group {
        flex-wrap: nowrap !important;
        gap: 0.5rem;
    }

    .blanky-header>.wp-block-group>.wp-block-group:first-child {
        flex: 1 1 auto;
        min-width: 0;
    }

    .blanky-header>.wp-block-group>.wp-block-navigation {
        flex: 0 0 auto;
        order: 3;
    }

    .blanky-header>.wp-block-group>.blanky-header-search {
        flex: 0 0 auto;
        order: 2;
    }
}

/* メンバーシップボタン: 小画面では非表示 */
@media (max-width: 782px) {
    .blanky-header-membership {
        display: none;
    }
}

/* ============================================================
   Footer
   ============================================================ */

body .blanky-footer.wp-block-group {
    background-color: #000000;
    color: #FFFFFF;
    border-top: none;
    padding: 2rem 1rem;
}

body .blanky-footer .wp-block-site-title,
body .blanky-footer .wp-block-site-title a {
    font-family: var(--wp--preset--font-family--serif);
    font-style: italic;
    color: #FFFFFF;
    text-decoration: none;
}

body .blanky-footer .wp-block-navigation-item a,
body .blanky-footer .wp-block-navigation-item__content {
    color: #FFFFFF;
}

.blanky-footer .nordic-footer-columns {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .blanky-footer .nordic-footer-columns {
        flex-direction: row;
    }
}

.blanky-footer .nordic-footer-title.wp-block-site-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    padding-bottom: 0.25rem;
    border-bottom: 2px solid var(--wp--preset--color--primary);
    display: inline-block;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.blanky-footer .nordic-footer-title.wp-block-site-title a {
    font-size: inherit;
    font-weight: inherit;
    border-bottom: none;
    padding-bottom: 0;
}

.blanky-footer .nordic-footer-desc {
    color: rgba(255, 255, 255, 0.55);
    font-weight: 300;
    line-height: 1.8;
    max-width: 22rem;
}

.blanky-footer .blanky-social-links.wp-block-social-links {
    margin-top: 2rem;
}

.blanky-footer .blanky-social-links.wp-block-social-links .wp-block-social-link a {
    font-size: 1.5rem;
}

/* X (Twitter) のアイコンは黒なのでフッターで白に反転 */
.blanky-footer .blanky-social-links .wp-social-link-x svg,
.blanky-footer .blanky-social-links .wp-social-link-twitter svg {
    fill: #FFFFFF !important;
}

.blanky-footer .blanky-social-links.wp-block-social-links .wp-block-social-link a:hover {
    opacity: 0.8;
}

.blanky-footer .nordic-footer-section-label {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: var(--wp--preset--color--primary);
    margin: 0 0 0.5rem;
}

.blanky-footer .nordic-footer-nav .wp-block-navigation__container {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.blanky-footer .nordic-footer-nav .wp-block-navigation-item__content {
    font-family: var(--wp--preset--font-family--serif);
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 400;
    color: #FFFFFF;
    text-decoration: none;
    transition: font-style 0.2s ease;
    display: block;
}

.blanky-footer .nordic-footer-nav .wp-block-navigation-item__content:hover {
    font-style: italic;
}

.blanky-footer .nordic-newsletter-label {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: var(--wp--preset--color--primary);
    margin: 0 0 0.5rem;
}

.nordic-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.nordic-newsletter-field {
    width: 100%;
}

.nordic-newsletter-email {
    width: 100%;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-bottom: 2px solid #FFFFFF;
    padding: 0.725rem;
    color: #FFFFFF;
    font-size: 1.25rem;
    font-weight: 300;
    font-family: var(--wp--preset--font-family--system-sans, inherit);
    line-height: 1.4;
    transition: border-bottom-color 0.2s ease;
    box-sizing: border-box;
}

.nordic-newsletter-email::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.nordic-newsletter-email:focus {
    outline: none;
    border-bottom-color: var(--wp--preset--color--primary);
}

.nordic-newsletter-submit {
    width: 100%;
    padding: 1.25rem;
    background: #FFFFFF;
    color: #000000;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
    font-family: var(--wp--preset--font-family--system-sans, inherit);
}

.nordic-newsletter-submit:hover {
    background-color: var(--wp--preset--color--primary);
    color: #FFFFFF;
}

.nordic-newsletter-submit:focus-visible {
    outline: 2px solid var(--wp--preset--color--primary);
    outline-offset: 2px;
}

.nordic-footer-bottom {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.blanky-footer-copyright,
.blanky-footer-copyright .wp-block-site-title,
.blanky-footer-copyright .wp-block-site-title a,
.blanky-footer-copyright p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.blanky-footer .nordic-footer-legal-nav .wp-block-navigation__container {
    gap: 2rem;
    align-items: center;
}

.blanky-footer .nordic-footer-legal-nav .wp-block-navigation-item__content {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.2s ease;
}

.blanky-footer .nordic-footer-legal-nav .wp-block-navigation-item__content:hover {
    color: #FFFFFF;
}

/*** Main *****/

.wp-site-blocks {
    display: flex;
    flex-direction: column;
    min-height: 100svh;
}

.blanky-nordic-main.wp-block-group,
.blanky-nordic-single.wp-block-group,
.blanky-nordic-archive.wp-block-group {
    width: 100%;
    max-width: 1440px;
    margin-inline: auto;
    padding-inline: clamp(1.25rem, 2.5vw, 2rem);

    padding: 3rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    flex: 1;
}

/* ============================================================
   Magazine Hero
   ============================================================ */

.magazine-hero.wp-block-group {
    padding: 0;
    margin-bottom: 3rem;
}

@media (min-width: 738px) {
    .magazine-hero.wp-block-group {
        padding: 0;
    }
}

.magazine-hero__header.wp-block-group {
    text-align: center;
    margin-bottom: 2rem;
    max-width: 1440px;
    margin-inline: auto;
    padding-inline: clamp(1.25rem, 2.5vw, 2rem);
}

.magazine-hero__heading {
    font-family: var(--wp--preset--font-family--serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    font-style: italic;
    line-height: 1.2;
    margin: 0 0 0.5rem;
}

.magazine-hero__subtitle {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: #D4AF37;
    margin: 0;
}

.magazine-hero__grid.wp-block-group {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 1rem;
    max-width: 1440px;
    margin-inline: auto;
    padding: 0;
    height: calc(95vh - var(--nordic-header-height) - 8rem);
    overflow: hidden;
}

.magazine-hero__main.wp-block-group {
    position: relative;
    overflow: hidden;
    min-height: 280px;
    background-color: #000000;
    padding: 0;
}

.magazine-hero__sidebar.wp-block-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0;
    overflow: hidden;
}

.magazine-hero__sub-query {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.magazine-hero__sub-query .wp-block-post-template {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.magazine-hero__sub-query .wp-block-post {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.magazine-hero__sub.wp-block-group {
    position: relative;
    overflow: hidden;
    flex: 1;
    background-color: #000000;
    padding: 0;
}

.magazine-hero__overlay--sub.wp-block-group {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
    padding: 1.25rem;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

/* Main Card image */
.magazine-hero__main-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

/* Category label */
.magazine-hero__cat {
    color: #D4AF37;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4em;
}

.magazine-hero__cat a {
    color: inherit;
    text-decoration: none;
}

/* Main Card title */
.magazine-hero__title {
    font-family: var(--wp--preset--font-family--serif);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    font-style: italic;
    line-height: 1.2;
    color: #FFFFFF;
    margin: 0;
}

.magazine-hero__title a {
    color: inherit;
    text-decoration: none;
}

/* Main Card excerpt */
.magazine-hero__excerpt {
    color: rgba(255, 255, 255, 0.7);
    font-size: clamp(0.8125rem, 1vw, 0.9375rem);
    font-weight: 300;
    line-height: 1.6;
    margin: 0;
}

/* Main Card overlay */
.magazine-hero__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 40%, transparent 100%);
    padding: 2rem;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.5rem;
}

/* Sub Card overlay text */
.magazine-hero__overlay--sub.wp-block-group .wp-block-post-terms {
    margin: 0;
}

.magazine-hero__overlay--sub.wp-block-group .wp-block-post-terms a {
    color: #D4AF37;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    text-decoration: none;
}

/* Sub Card image */
.magazine-hero__sub-image.wp-block-post-featured-image {
    position: absolute;
    inset: 0;
    margin: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.magazine-hero__sub-image.wp-block-post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s ease;
}

/* Sub Card title */
.magazine-hero__title--sub,
.magazine-hero__overlay--sub .wp-block-post-title {
    font-family: var(--wp--preset--font-family--serif);
    font-size: clamp(1rem, 1.5vw, 1.375rem);
    font-weight: 700;
    font-style: italic;
    line-height: 1.2;
    color: #FFFFFF;
    margin: 0;
}

.magazine-hero__title--sub a,
.magazine-hero__overlay--sub .wp-block-post-title a {
    color: inherit;
    text-decoration: none;
}

/* Hover */
.magazine-hero__main.wp-block-group:hover .magazine-hero__main-img {
    transform: scale(1.03);
}

.magazine-hero__sub.wp-block-group:hover .magazine-hero__sub-image.wp-block-post-featured-image img {
    transform: scale(1.03);
}

/* Focus indicators */
.magazine-hero__title a:focus-visible {
    outline: 2px solid var(--wp--preset--color--primary);
    outline-offset: 2px;
}

.magazine-hero__cat a:focus-visible {
    outline: 2px solid var(--wp--preset--color--primary);
    outline-offset: 2px;
}

.magazine-hero__overlay--sub a:focus-visible {
    outline: 2px solid var(--wp--preset--color--primary);
    outline-offset: 2px;
}

/* Responsive: mobile single column */
@media (max-width: 767px) {
    .magazine-hero__grid.wp-block-group {
        grid-template-columns: 1fr;
        height: auto;
        overflow: visible;
    }

    .magazine-hero__main.wp-block-group {
        min-height: 280px;
    }

    .magazine-hero__sub.wp-block-group {
        min-height: 200px;
    }

    .magazine-hero__sub-query {
        min-height: 200px;
    }
}

/* Japanese font-size adjustments */
:lang(ja) .magazine-hero__heading {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
}

:lang(ja) .magazine-hero__title {
    font-size: clamp(1.125rem, 2.25vw, 1.875rem);
}

/* Empty state */
.magazine-hero--empty.wp-block-group {
    padding: 4rem 2rem;
    text-align: center;
    background-color: #000000;
    color: rgba(255, 255, 255, 0.6);
}

/* Sub Card empty placeholder */
.magazine-hero__sub--empty.wp-block-group {
    background-color: rgba(0, 0, 0, 0.05);
}

/* ============================================================
   Nordic カテゴリセクション
   ============================================================ */

body .nordic-section-header {
    border-bottom: 2px solid var(--wp--preset--color--border);
    padding-bottom: 1.5rem;
}

.nordic-section-header .wp-block-heading {
    font-family: var(--wp--preset--font-family--serif);
    font-style: normal;
    font-weight: 700;
}

.nordic-section-viewall a {
    color: var(--wp--preset--color--primary);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.nordic-section-viewall a:hover {
    color: var(--wp--preset--color--foreground);
}

.nordic-category-query .is-layout-grid.wp-block-post-template {
    gap: 2rem;
}

.nordic-card {
    overflow: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
    padding: 0;
}

.nordic-card:hover {
    background-color: #000000;
    color: #FFFFFF;
}

.nordic-card:hover .wp-block-post-title a {
    color: #FFFFFF;
}

.nordic-card:hover .wp-block-post-excerpt__excerpt {
    color: rgba(255, 255, 255, 0.6);
}

.nordic-card:hover .wp-block-post-terms a {
    color: var(--wp--preset--color--primary);
}

.nordic-card-image.wp-block-post-featured-image {
    overflow: hidden;
    margin: 0;
}

.nordic-card-image.wp-block-post-featured-image img {
    transition: transform 0.7s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nordic-card:hover .nordic-card-image.wp-block-post-featured-image img {
    transform: scale(1.05);
}

.nordic-card-body {
    padding: 0 0.5rem;
}

.nordic-card .wp-block-post-terms a {
    color: var(--wp--preset--color--primary);
    text-decoration: none;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4em;
}

.nordic-card .wp-block-post-title {
    font-family: var(--wp--preset--font-family--serif);
    font-style: italic;
    font-weight: 400;
    line-height: 1.2;
}

.nordic-card .wp-block-post-title a {
    text-decoration: none;
    color: var(--wp--preset--color--foreground);
    transition: color 0.2s ease;
}

.nordic-card .wp-block-post-title a:hover {
    color: var(--wp--preset--color--primary);
}

.nordic-card .wp-block-post-excerpt__excerpt {
    color: var(--wp--preset--color--muted);
    font-weight: 300;
    line-height: 1.6;
}

@media (max-width: 600px) {
    .nordic-category-query .is-layout-grid.wp-block-post-template {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .nordic-category-query .is-layout-grid.wp-block-post-template {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================================
   Post list / Article cards
   ============================================================ */

.blanky-article {
    border: 2px solid var(--wp--preset--color--border);
    padding: 1.5rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.blanky-article:hover {
    background-color: #000000;
    color: #FFFFFF;
}

.blanky-article:hover .wp-block-post-title a {
    color: #FFFFFF;
}

.blanky-article:hover .blanky-article-meta .wp-block-post-date {
    color: rgba(255, 255, 255, 0.6);
}

.blanky-article:hover .blanky-post-excerpt .wp-block-post-excerpt__excerpt {
    color: rgba(255, 255, 255, 0.6);
}

.blanky-article:hover .wp-block-post-terms a {
    color: var(--wp--preset--color--primary);
}

.blanky-article-meta .wp-block-post-terms a {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    text-decoration: none;
}

.blanky-article-meta .wp-block-post-terms::before {
    background-color: rgba(0, 0, 0, 0.3);
}

.blanky-article:hover .blanky-article-meta .wp-block-post-terms::before {
    background-color: rgba(255, 255, 255, 0.3);
}

.blanky-article .wp-block-post-title {
    font-family: var(--wp--preset--font-family--serif);
    font-style: italic;
}

/* ============================================================
   Index list
   ============================================================ */

.blanky-list-item {
    border-bottom: 1px solid var(--wp--preset--color--border);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.blanky-list-item:hover {
    background-color: #000000;
    color: #FFFFFF;
}

.blanky-list-item:hover .wp-block-post-title a {
    color: #FFFFFF;
}

/* ============================================================
   Single post
   ============================================================ */

.blanky-category-badge.wp-block-post-terms a {
    background-color: transparent;
    border: 2px solid var(--wp--preset--color--primary);
    border-radius: 0;
}

.blanky-post-content h2,
.blanky-post-content h3,
.blanky-post-content h4 {
    font-family: var(--wp--preset--font-family--serif);
}

.blanky-more-post.wp-block-group {
    border-radius: 0;
    border-color: var(--wp--preset--color--border);
    border-width: 2px;
}

.wp-block-post-author {
    border-radius: 0;
    border-color: var(--wp--preset--color--border);
    border-width: 2px;
}

/* ============================================================
   Read More button
   ============================================================ */

.blanky-read-more.wp-block-read-more {
    border-radius: 0;
    border-width: 2px;
    border-color: var(--wp--preset--color--foreground);
    color: var(--wp--preset--color--foreground);
}

.blanky-read-more.wp-block-read-more:hover {
    background-color: var(--wp--preset--color--foreground);
    color: var(--wp--preset--color--white);
    border-color: var(--wp--preset--color--foreground);
}

/* ============================================================
   Buttons
   ============================================================ */

.wp-block-button__link {
    border-radius: 0;
}

.blanky-no-thumbnail {
    border-radius: 0;
    background-color: #ebebeb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blanky-no-thumbnail .blanky-thumbnail-placeholder {
    color: #b0b0b0;
    opacity: 0.6;
    width: 3rem;
    height: 3rem;
}

.blanky-monotone {
    border-radius: 0;
}

/* ============================================================
   Comment form
   ============================================================ */

.blanky-comment-form .comment-form input[type="text"],
.blanky-comment-form .comment-form input[type="email"],
.blanky-comment-form .comment-form input[type="url"],
.blanky-comment-form .comment-form textarea {
    border-radius: 0;
    border-color: var(--wp--preset--color--border);
}

.blanky-comment-form .comment-form .form-submit .submit {
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

/* ============================================================
   Query pagination
   ============================================================ */

.wp-block-query-pagination a {
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ============================================================
   Mock-aligned layouts
   ============================================================ */

.nordic-essays-main-title {
    font-family: var(--wp--preset--font-family--serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
}

:lang(ja) .nordic-essays-main-title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.nordic-essays-heading .wp-block-heading {
    font-family: var(--wp--preset--font-family--serif);
    font-weight: 700;
}

.nordic-essays-divider.wp-block-separator {
    max-width: 6rem;
    margin-inline: auto;
    border-top-width: 4px;
    border-color: var(--wp--preset--color--primary);
    opacity: 1;
    margin: 0 auto;
}

.nordic-essays-query {
    margin-top: 5rem;
}

.nordic-essays-query .wp-block-post-template {
    gap: 0;
    border-top: 2px solid #000000;
}

.nordic-essay-card {
    background: #ffffff;
    border-right: 2px solid #000000;
    border-bottom: 2px solid #000000;
    transition: background-color 0.25s ease, color 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
}

.nordic-essay-card>*+* {
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
}

.nordic-essays-query .wp-block-post:nth-child(3n) .nordic-essay-card {
    border-right: 0;
}

.nordic-essay-card:nth-child(3n) {
    border-right: 0;
}

.nordic-essay-card:hover {
    background-color: #000000;
    color: #ffffff;
}

.nordic-essay-image {
    margin: 0 auto;
    width: 100%;
    aspect-ratio: 3 / 4;
    max-height: 350px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--wp--preset--color--surface);
}

.nordic-essay-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.nordic-essay-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: transform 0.6s ease;
}

.nordic-essay-card:hover .nordic-essay-image img {
    transform: scale(1.05);
}

.nordic-essay-term,
.nordic-essay-term a {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    color: var(--wp--preset--color--primary);
    text-decoration: none;
    padding: 0 0.5rem;
}

.nordic-essay-title,
.nordic-essay-title a {
    font-family: var(--wp--preset--font-family--serif);
    font-style: italic;
    line-height: 1.2;
    text-decoration: none;
}

.nordic-essay-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: calc(1.2em * 2);
    padding: 0 0.5rem;
}

.nordic-essay-card:hover .nordic-essay-title a {
    color: #ffffff;
}

.nordic-essay-excerpt .wp-block-post-excerpt__excerpt {
    color: var(--wp--preset--color--muted);
    font-size: 0.875rem;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: calc(1.7em * 2);
    padding: 0 0.5rem;
}

.nordic-essay-card:hover .nordic-essay-excerpt .wp-block-post-excerpt__excerpt {
    color: rgba(255, 255, 255, 0.65);
}

.nordic-essays-cta.wp-block-button {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 3rem auto;
}

.nordic-essays-cta a.wp-block-button__link {
    border: 2px solid #000000;
    background: transparent;
    color: #000000;
    padding: 1.2rem 3rem;
    display: block;
    width: fit-content;
}

.nordic-essays-cta a.wp-block-button__link:hover {
    background: #000000;
    color: #ffffff;
}

/* Archive page */
.nordic-archive-intro {
    border-bottom: 2px solid #000000;
    padding-bottom: 3rem;
    margin-bottom: 6rem;
}

.nordic-archive-eyebrow {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.nordic-archive-eyebrow::before {
    content: '';
    display: block;
    width: 3rem;
    height: 1px;
    background-color: var(--wp--preset--color--primary);
    flex-shrink: 0;
}

.nordic-archive-eyebrow-label {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--wp--preset--color--primary);
    margin: 0;
}

.nordic-archive-intro .wp-block-query-title {
    font-family: var(--wp--preset--font-family--serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-style: italic;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 2rem;
}

:lang(ja) .nordic-archive-intro .wp-block-query-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
}

.nordic-archive-intro .wp-block-term-description.nordic-archive-term-description {
    width: 100%;
    margin: 0;
    padding-inline: clamp(1.25rem, 2.5vw, 2rem);
    text-align: left;
    max-width: 42rem;
    color: var(--wp--preset--color--muted);
    line-height: 1.8;
    opacity: 0.8;
}

.nordic-archive-query .wp-block-post-template {
    gap: 0;
    border-top: 2px solid #000000;
}

.nordic-archive-card {
    background: #ffffff;
    border-right: 2px solid #000000;
    border-bottom: 2px solid #000000;
    transition: background-color 0.25s ease, color 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2.5rem;
}

.nordic-archive-card>*+* {
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
}

.nordic-archive-query .wp-block-post:nth-child(3n) .nordic-archive-card {
    border-right: 0;
}

.nordic-archive-card:nth-child(3n) {
    border-right: 0;
}

.nordic-archive-card:hover {
    background-color: #000000;
    color: #ffffff;
}

.nordic-archive-image {
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background-color: var(--wp--preset--color--surface);
    margin-bottom: 1rem;
}

.nordic-archive-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.nordic-archive-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: transform 0.6s ease;
}

.nordic-archive-card:hover .nordic-archive-image img {
    transform: scale(1.05);
}

.nordic-archive-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nordic-archive-term,
.nordic-archive-term a {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--wp--preset--color--primary);
    text-decoration: none;
}

.nordic-archive-date {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--wp--preset--color--muted);
}

.nordic-archive-card:hover .nordic-archive-date {
    color: rgba(255, 255, 255, 0.6);
}

.nordic-archive-title,
.nordic-archive-title a {
    font-family: var(--wp--preset--font-family--serif);
    font-style: italic;
    font-size: 1.875rem;
    line-height: 1.25;
    text-decoration: none;
}

.nordic-archive-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: calc(1.25em * 2);
}

.nordic-archive-card:hover .nordic-archive-title a {
    color: #ffffff;
}

.nordic-archive-excerpt .wp-block-post-excerpt__excerpt {
    font-size: 0.875rem;
    font-weight: 300;
    line-height: 1.625;
    opacity: 0.8;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: calc(1.625em * 3);
}

.nordic-archive-card:hover .nordic-archive-excerpt .wp-block-post-excerpt__excerpt {
    opacity: 0.6;
    color: #ffffff;
}

.nordic-archive-readmore {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    border-bottom: 1px solid var(--wp--preset--color--primary);
    padding-bottom: 0.25rem;
    text-decoration: none;
}

.nordic-archive-card:hover .nordic-archive-readmore {
    border-bottom-color: #ffffff;
    color: #ffffff;
}

.nordic-archive-pagination.wp-block-query-pagination {
    align-items: center;
}

.wp-block-pagination-numbers {
    display: flex;
    align-items: center;
}

.wp-block-query-pagination .wp-block-query-pagination-numbers .current {
    border-bottom: 2px solid var(--wp--preset--color--primary);
}

.wp-block-query-pagination .wp-block-query-pagination-numbers a.page-numbers:hover {
    border-bottom: 2px solid var(--wp--preset--color--primary);
    color: var(--wp--preset--color--primary);
}

.nordic-archive-pagination a,
.nordic-archive-pagination span {
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-weight: 700;
}

/* Search no results */
.nordic-no-results {
    padding: 4rem 2rem;
    text-align: center;
}

.nordic-no-results .wp-block-search {
    margin-top: 1.5rem;
    width: 100%;
}

/* Single page */
.blanky-main.wp-block-group.blanky-nordic-single {
    gap: 0;
    padding-bottom: 6rem;
}

.nordic-single-meta {
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-weight: 700;
    margin-bottom: 2rem;
}

.nordic-single-term a {
    color: var(--wp--preset--color--primary);
    text-decoration: none;
}

.nordic-single-title {
    font-family: var(--wp--preset--font-family--serif);
    font-size: clamp(2rem, 4vw + 0.5rem, 4rem);
    font-style: italic;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 2rem;
}

.nordic-single-author {
    padding-bottom: 2rem;
    display: flex;
    gap: 1rem;
}

.nordic-single-author-label {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
}

.nordic-single-author-name,
.nordic-single-author-name a {
    font-family: var(--wp--preset--font-family--serif);
    font-style: italic;
    text-decoration: none;
    font-size: clamp(1.5rem, 2vw, 2rem);
}

.nordic-single-featured.wp-block-post-featured-image {
    overflow: hidden;
    margin-bottom: 4rem;
}

.nordic-single-featured img,
.nordic-single-featured.wp-block-post-featured-image img {
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    object-fit: cover;
    display: block;
    transition: transform 1s ease;
}

.nordic-single-featured img:hover {
    transform: scale(1.02);
}

.nordic-single-content-wrap {
    margin-bottom: 2rem;
}

.nordic-single-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.nordic-single-content p:first-child {
    font-size: 1.5rem;
    font-weight: 300;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 3rem;
}

.nordic-single-content h2,
.nordic-single-content h3,
.nordic-single-content h4 {
    font-family: var(--wp--preset--font-family--serif);
    margin-top: 3rem;
    margin-bottom: 1.25rem;
}

.nordic-single-content blockquote {
    border-left: 4px solid var(--wp--preset--color--primary);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-family: var(--wp--preset--font-family--serif);
    font-size: 1.4rem;
    font-style: italic;
}

.nordic-single-nav {
    border-top: 2px solid #000000;
    border-bottom: 2px solid #000000;
    padding: 2rem 0;
}

.nordic-single-nav a {
    text-decoration: none;
}

.nordic-single-nav .post-navigation-link__label {
    display: block;
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--wp--preset--color--muted);
    margin-bottom: 0.75rem;
}

.nordic-single-nav a {
    font-family: var(--wp--preset--font-family--serif);
    font-size: clamp(2rem, 2vw, 2.5rem);
    font-style: italic;
    line-height: 1.3;
}

.nordic-comments-wrap {
    width: 100%;
    text-align: left;
    padding: 2rem 0;
}

.wp-block-heading.nordic-comments-title {
    font-family: var(--wp--preset--font-family--serif);
    font-style: italic;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.nordic-comment-form .comment-form .submit {
    border-width: 2px;
}

.nordic-related-wrap {
    padding: 2rem 0;
    border-top: 2px solid #000000;
}

.nordic-related-header.wp-block-group {
    padding-bottom: .5rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid #000000;
}

.nordic-related-header.wp-block-group a {
    text-decoration: none;
    color: var(--wp--preset--color--primary);
}

.wp-block-heading.nordic-related-post-title {
    font-family: var(--wp--preset--font-family--serif);
    font-style: italic;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.nordic-related-link a {
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
}

.nordic-related-query .wp-block-post-template {
    gap: 0;
    border-top: 1px solid #000000;
}

.nordic-related-card {
    background: #ffffff;
    border-right: 2px solid #000000;
    border-bottom: 2px solid #000000;
    transition: background-color 0.25s ease, color 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-bottom: 2rem;
}

.nordic-related-query .wp-block-post:nth-child(3n) .nordic-related-card {
    border-right: 0;
}

.nordic-related-card:nth-child(3n) {
    border-right: 0;
}

.nordic-related-card:hover {
    background: #000000;
    color: #ffffff;
}

.nordic-related-card>*+* {
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
}

.nordic-related-image {
    margin: 0 auto;
    width: 100%;
    height: auto;
    max-height: 280px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--wp--preset--color--surface);
}

.nordic-related-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.nordic-related-image img {
    width: 100%;
    max-height: 280px;
    height: auto;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.nordic-related-term,
.nordic-related-term a {
    font-size: 0.725rem;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    font-weight: 700;
    text-decoration: none;
    padding: 0 0.5rem;
}

.nordic-related-title,
.nordic-related-title a {
    font-family: var(--wp--preset--font-family--serif);
    font-style: italic;
    text-decoration: none;
}

.nordic-related-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    height: calc(1.4em * 2);
    padding: 0 0.5rem;
}

.nordic-related-card:hover .nordic-related-title a,
.nordic-related-card:hover .nordic-related-term a {
    color: #ffffff;
}

@media (max-width: 1024px) {

    .nordic-essay-card,
    .nordic-archive-card,
    .nordic-related-card {
        border-right: 0;
    }
}

@media (max-width: 768px) {

    .nordic-single-featured img,
    .nordic-single-featured.wp-block-post-featured-image img {
        height: 70vh;
        min-height: 70vh;
    }
}

/* アイキャッチ画像が設定されていない場合は非表示 */
.nordic-single-featured.wp-block-post-featured-image:not(:has(img)) {
    display: none;
}

/* 固定ページ: コンテンツ下余白 */
.blanky-main.wp-block-group.blanky-nordic-single {
    padding-bottom: 6rem;
}