@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Template: cocoon-master
Version: 1.1.3
*/
/* =========================================================
 * Fishlogy PC整理 STEP1 INDEX 2026-05-30
 *
 * Console checked:
 * - CSS lines: 5929
 * - Brace count before edit: open 536 / close 536
 *
 * This STEP1 file changes comments only.
 * No selector, property, value, media query, or order is changed.
 *
 * PC Single current stack:
 * - 100. PC Single legacy base layer
 * - 101. PC Single legacy wide support layer
 * - 102. PC Single final desktop layer
 * Do not remove or change media conditions until each selector is tested.
 *
 * PC Home current stack:
 * - Multiple historical repair blocks exist after the desktop Home restore.
 * - Later blocks around full-card click, image color restore, shadow, and
 *   panel background currently win by cascade order.
 * - Next cleanup should classify blocks before deleting anything.
 * ========================================================= */


/*
 * Fishlogy整理版 STEP1
 * - 元ファイル: style_fishlogy_mobile_single_eyecatch_exact_title_width_full.css 相当
 * - 見た目維持を優先し、まず危険な動き系テストだけ削除
 * - 削除: body::before の強すぎる紙ノイズテスト
 * - 削除: PC Home 粒子アニメーション / @keyframes fishlogy-particles-drift
 * - PHP / JS / HTML構造には未変更
 */

/* =========================================================
 * 00. Base display helpers
 * ========================================================= */
.fishlogy-mobile-only {
  display: none;
}

.fishlogy-pc-only {
  display: block;
}

/* =========================================================
 * 01. PC common
 * ========================================================= */
@media screen and (min-width: 769px) {
  .breadcrumb {
    margin-bottom: 12px !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
    opacity: 0.72 !important;
  }

  .breadcrumb a {
    text-decoration: none !important;
  }
}

/* =========================================================
 * 02. Mobile layout
 * ========================================================= */
@media screen and (max-width: 768px) {

  .breadcrumb {
    display: none !important;
  }

  /* =======================================================
   * 02-01. Home / Category: Swiper card UI
   * ======================================================= */
  body.home,
  body.category {
    margin: 0 !important;
    padding: 0 !important;
    background: #f8f3e8 !important;
    overflow: hidden !important;
  }

  body.home .header-container,
  body.home .navi,
  body.home .date-tags,
  body.home .footer,
  body.home .mobile-footer-menu-buttons,
  body.category .header-container,
  body.category .navi,
  body.category .date-tags,
  body.category .footer,
  body.category .mobile-footer-menu-buttons,
  body.category .archive-title,
  body.category .archive-description {
    display: none !important;
  }

  body.home .wrap,
  body.home .content,
  body.home .content-in,
  body.home .main,
  body.home .article,
  body.home .entry-content,
  body.category .wrap,
  body.category .content,
  body.category .content-in,
  body.category .main,
  body.category .article,
  body.category .entry-content,
  body.category .list {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.home .entry-content > *,
  body.category .entry-content > * {
    margin: 0 !important;
  }

  body.home .fishlogy-pc-only,
  body.category .fishlogy-pc-only {
    display: none !important;
  }

  body.home .fishlogy-mobile-only,
  body.category .fishlogy-mobile-only {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: 100vh !important;
    height: 100dvh !important;
    padding: 16px 16px calc(16px + env(safe-area-inset-bottom)) !important;
    box-sizing: border-box !important;
    background: #f8f3e8 !important;
    gap: 12px !important;
  }

  body.home .fishlogy-swiper,
  body.category .fishlogy-swiper {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    width: 100% !important;
    overflow: hidden !important;
    border-radius: 28px !important;
    clip-path: inset(0 round 28px) !important;
  }

  body.home .fishlogy-swiper .swiper-wrapper,
  body.category .fishlogy-swiper .swiper-wrapper {
    height: 100% !important;
    align-items: stretch !important;
  }

  body.home .fishlogy-swiper .swiper-slide,
  body.category .fishlogy-swiper .swiper-slide {
    width: 100% !important;
    min-width: 100% !important;
    flex-shrink: 0 !important;
    height: 100% !important;
    box-sizing: border-box !important;
  }

  body.home .fishlogy-card,
  body.category .fishlogy-card {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 28px !important;
    overflow: hidden !important;
    background: #123c4a !important;
    color: #fff !important;
    text-decoration: none !important;
  }

  body.home .fishlogy-card img,
  body.category .fishlogy-card img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transform: scale(1.02) !important;
    transform-origin: center center !important;
  }

  body.home .fishlogy-card::after,
  body.category .fishlogy-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
      to bottom,
      rgba(0,0,0,0.02),
      rgba(0,0,0,0.16) 38%,
      rgba(0,0,0,0.72) 72%,
      rgba(0,0,0,0.86)
    );
  }

  body.home .fishlogy-label,
  body.category .fishlogy-label {
    position: absolute !important;
    top: 0 !important;
    left: 22px !important;
    z-index: 2 !important;
    display: inline-block !important;
    width: auto !important;
    max-width: calc(100% - 44px) !important;
    margin: 0 !important;
    padding: 7px 13px !important;
    border-radius: 0 !important;
    background: #c9822b !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  body.home .fishlogy-card-text,
  body.category .fishlogy-card-text {
    position: absolute !important;
    left: 22px !important;
    right: 22px !important;
    bottom: 88px !important;
    z-index: 2 !important;
    display: block !important;
  }

  body.home .fishlogy-card-text h2,
  body.category .fishlogy-card-text h2 {
    display: -webkit-box !important;
    -webkit-line-clamp: 4 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    margin: 0 !important;
    color: #fff !important;
    font-size: clamp(24px, 7.4vw, 32px) !important;
    font-weight: 800 !important;
    line-height: 1.22 !important;
    letter-spacing: 0.01em !important;
    text-shadow: 0 2px 14px rgba(0,0,0,0.42) !important;
  }

  body.home .fishlogy-card-text p,
  body.category .fishlogy-card-text p {
    display: none !important;
  }

  body.home .fishlogy-card-meta,
  body.category .fishlogy-card-meta {
    position: absolute !important;
    left: 22px !important;
    right: 22px !important;
    bottom: 32px !important;
    z-index: 2 !important;
    display: block !important;
  }

  body.home .fishlogy-card-meta small,
  body.category .fishlogy-card-meta small {
    display: block !important;
    margin: 0 0 6px !important;
    color: rgba(255,255,255,0.82) !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    text-shadow: 0 1px 10px rgba(0,0,0,0.35) !important;
  }

  body.home .fishlogy-card-brand,
  body.category .fishlogy-card-brand {
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 0.12em !important;
    color: rgba(255,255,255,0.55) !important;
    line-height: 1.4 !important;
    text-transform: uppercase !important;
    text-shadow: 0 1px 10px rgba(0,0,0,0.35) !important;
  }

  body.home .fishlogy-swipe-guide,
  body.category .fishlogy-swipe-guide,
  body.home .swiper-pagination,
  body.home .swiper-pagination-bullet,
  body.category .swiper-pagination,
  body.category .swiper-pagination-bullet {
    display: none !important;
  }

  /* Home: pseudo top card */
  body.home .fishlogy-top-card {
    background: linear-gradient(135deg, #123c4a, #2f6b5f) !important;
  }

  body.home .fishlogy-top-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
      radial-gradient(circle at 20% 18%, rgba(255,255,255,0.18), transparent 28%),
      radial-gradient(circle at 82% 72%, rgba(255,255,255,0.12), transparent 34%);
  }

  body.home .fishlogy-top-card::after {
    background: linear-gradient(
      to bottom,
      rgba(0,0,0,0.08),
      rgba(0,0,0,0.22),
      rgba(0,0,0,0.45)
    );
  }

  body.home .fishlogy-top-inner {
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 28px !important;
    text-align: center !important;
    color: #fff !important;
  }

  body.home .fishlogy-top-logo {
    margin-bottom: 14px !important;
    font-size: 36px !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
  }

  body.home .fishlogy-top-text {
    margin: 0 0 28px !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
    opacity: 0.85 !important;
  }

  body.home .fishlogy-top-categories {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 10px !important;
    margin-bottom: 28px !important;
  }

  body.home .fishlogy-top-categories a {
    display: inline-block !important;
    padding: 9px 15px !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,0.16) !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
  }

  body.home .fishlogy-top-guide {
    font-size: 13px !important;
    letter-spacing: 0.08em !important;
    opacity: 0.65 !important;
  }

  /* Category pages also need the Home card as a hidden return target. */
  body.category .fishlogy-top-card {
    background: linear-gradient(135deg, #123c4a, #2f6b5f) !important;
  }

  body.category .fishlogy-top-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
      radial-gradient(circle at 20% 18%, rgba(255,255,255,0.18), transparent 28%),
      radial-gradient(circle at 82% 72%, rgba(255,255,255,0.12), transparent 34%);
  }

  body.category .fishlogy-top-card::after {
    background: linear-gradient(
      to bottom,
      rgba(0,0,0,0.08),
      rgba(0,0,0,0.22),
      rgba(0,0,0,0.45)
    ) !important;
  }

  body.category .fishlogy-top-inner {
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 28px !important;
    text-align: center !important;
    color: #fff !important;
  }

  body.category .fishlogy-top-logo {
    margin-bottom: 14px !important;
    font-size: 36px !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
  }

  body.category .fishlogy-top-text {
    margin: 0 0 28px !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
    opacity: 0.85 !important;
  }

  body.category .fishlogy-top-categories {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 10px !important;
    margin-bottom: 28px !important;
  }

  body.category .fishlogy-top-categories a {
    display: inline-block !important;
    padding: 9px 15px !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,0.16) !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
  }

  body.category .fishlogy-top-guide {
    font-size: 13px !important;
    letter-spacing: 0.08em !important;
    opacity: 0.65 !important;
  }

  /* =======================================================
   * 02-02. Single: vertical article card UI
   * ======================================================= */
  body.single {
    margin: 0 !important;
    padding: 0 !important;
    background: #f8f3e8 !important;
    overflow-x: hidden !important;
  }

  body.single .header-container,
  body.single .navi,
  body.single .breadcrumb,
  body.single .footer,
  body.single .mobile-footer-menu-buttons {
    display: none !important;
  }

  body.single .wrap,
  body.single .content,
  body.single .content-in,
  body.single .main {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #f8f3e8 !important;
    box-sizing: border-box !important;
  }

  body.single .main {
    padding: 16px 16px calc(42px + env(safe-area-inset-bottom)) !important;
    overflow-x: hidden !important;
  }

  body.single .article {
    position: relative !important;
    z-index: 4 !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 28px !important;
    overflow: hidden !important;
    background: #fffaf0 !important;
    box-shadow: 0 12px 30px rgba(18,60,74,0.14) !important;
    box-sizing: border-box !important;
    will-change: transform, opacity !important;
    transform: translate3d(0,0,0);
    backface-visibility: hidden !important;
    -webkit-backface-visibility: hidden !important;
    transition: transform 0.34s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.34s ease !important;
    touch-action: pan-y !important;
  }

  body.single .article::after {
    content: "";
    display: block;
    clear: both;
  }

  body.single .fishlogy-single-top-label {
    order: 0 !important;
    flex: 0 0 auto !important;
    align-self: flex-start !important;
    display: inline-block !important;
    width: auto !important;
    max-width: calc(100% - 44px) !important;
    margin: 0 0 0 22px !important;
    padding: 7px 13px !important;
    border-radius: 0 !important;
    background: #c9822b !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-sizing: border-box !important;
    clear: both !important;
  }

  body.single .fishlogy-single-top-label:hover,
  body.single .fishlogy-single-top-label:visited {
    color: #fff !important;
    text-decoration: none !important;
  }

  body.single .entry-header {
    order: 1 !important;
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: flex-end !important;
    width: 100% !important;
    min-height: 158px !important;
    margin: 0 !important;
    padding: 28px 22px 18px !important;
    background: #fffaf0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    clear: both !important;
    float: none !important;
  }

  body.single .entry-title {
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    width: 100% !important;
    max-height: calc(1.26em * 3) !important;
    margin: 0 !important;
    color: #123c4a !important;
    font-size: clamp(25px, 7vw, 31px) !important;
    font-weight: 800 !important;
    line-height: 1.26 !important;
    letter-spacing: 0.01em !important;
    word-break: keep-all !important;
    overflow-wrap: anywhere !important;
  }

  body.single .eye-catch-wrap,
  body.single .eye-catch {
    order: 2 !important;
    flex: 0 0 auto !important;
    align-self: center !important;
    position: relative !important;
    display: block !important;
    width: calc(100% - 44px) !important;
    max-width: calc(100% - 44px) !important;
    height: clamp(380px, 56dvh, 600px) !important;
    min-height: clamp(380px, 56dvh, 600px) !important;
    margin: 0 auto !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: #fffaf0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    clear: both !important;
    float: none !important;
    transform: translate3d(0,0,0) !important;
  }

  body.single .eye-catch-wrap .eye-catch {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    margin: 0 !important;
  }

  body.single .eye-catch a,
  body.single .eye-catch-wrap a,
  body.single .eye-catch picture,
  body.single .eye-catch-wrap picture {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.single .eye-catch img,
  body.single .eye-catch-wrap img,
  body.single .eye-catch .wp-post-image,
  body.single .eye-catch-wrap .wp-post-image {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    min-width: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
    border-radius: 0 !important;
    background: #fffaf0 !important;
    float: none !important;
    transform: translate3d(0,0,0) !important;
  }

  body.single .entry-content {
    order: 3 !important;
    flex: 0 0 auto !important;
    display: block !important;
    margin: 0 !important;
    padding: 22px 22px 56px !important;
    background: #fffaf0 !important;
    color: #1d2f35 !important;
    font-size: 16px !important;
    line-height: 1.9 !important;
    clear: both !important;
    float: none !important;
    box-sizing: border-box !important;
  }

  body.single .entry-content p {
    margin: 0 0 1.45em !important;
  }

  body.single .entry-content h2 {
    margin: 2.1em 0 0.8em !important;
    color: #123c4a !important;
    font-size: 22px !important;
    line-height: 1.45 !important;
  }

  body.single .entry-content h3 {
    margin: 1.8em 0 0.7em !important;
    color: #123c4a !important;
    font-size: 19px !important;
    line-height: 1.5 !important;
  }

  body.single .entry-content img {
    border-radius: 18px !important;
  }

  body.single .entry-content blockquote {
    margin: 1.6em 0 !important;
    padding: 16px 18px !important;
    border-left: 4px solid #c9822b !important;
    border-radius: 14px !important;
    background: rgba(201,130,43,0.08) !important;
    color: #1d2f35 !important;
  }

  /* Hide Cocoon default single parts */
  body.single .date-tags,
  body.single .date-tags *,
  body.single .entry-categories,
  body.single .entry-categories *,
  body.single .cat-label,
  body.single .cat-label *,
  body.single .cat-link,
  body.single .cat-link *,
  body.single .category-link,
  body.single .category-link *,
  body.single .related-entry-heading,
  body.single .related-list,
  body.single .related-entries,
  body.single .related-entry-card,
  body.single .under-entry-content,
  body.single .pager-post-navi,
  body.single .sns-share,
  body.single .sns-follow {
    display: none !important;
  }

  /* =======================================================
   * 02-03. Single: article end navigation
   * ======================================================= */
  body.single .fishlogy-article-end-nav {
    margin-top: 20px !important;
    padding: 22px 0 0 !important;
    border-top: 1px solid rgba(18,60,74,0.12) !important;
  }

  body.single .fishlogy-end-title {
    margin: 0 0 14px !important;
    color: #123c4a !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
  }

  body.single .fishlogy-end-title-small {
    margin-top: 22px !important;
    font-size: 15px !important;
  }

  body.single .fishlogy-end-links {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    margin-bottom: 18px !important;
  }

  body.single .fishlogy-end-links a,
  body.single .fishlogy-home-link {
    display: block !important;
    padding: 13px 14px !important;
    border-radius: 16px !important;
    background: rgba(18,60,74,0.08) !important;
    color: #123c4a !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    text-align: center !important;
    text-decoration: none !important;
  }

  body.single .fishlogy-end-categories {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 9px !important;
    margin-bottom: 16px !important;
  }

  body.single .fishlogy-end-categories a {
    display: inline-block !important;
    padding: 8px 12px !important;
    border-radius: 999px !important;
    background: rgba(201,130,43,0.12) !important;
    color: #123c4a !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
  }

  body.single .fishlogy-home-link {
    background: #123c4a !important;
    color: #fff !important;
  }

/* =======================================================
   * 02-04. Single: pseudo swipe UI
   *
   * Purpose:
   * - Keep the real article as normal WordPress HTML for SEO.
   * - Show only a lightweight visual preview while swiping.
   * - Avoid duplicated layout overrides fighting each other.
   * ======================================================= */
  body.single .fishlogy-swipe-nav-guide {
    order: 4 !important;
    display: flex !important;
    justify-content: space-between !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 22px 22px !important;
    background: #fffaf0 !important;
    color: rgba(18,60,74,0.42) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    line-height: 1.4 !important;
    pointer-events: none !important;
    user-select: none !important;
  }

  body.single .fishlogy-swipe-nav-guide span {
    display: inline-block !important;
    white-space: nowrap !important;
  }

  body.single.fishlogy-single-swiping,
  body.single.fishlogy-single-settle {
    overflow-x: hidden !important;
    background: #f8f3e8 !important;
  }

  body.single.fishlogy-single-swiping .article,
  body.single.fishlogy-single-swiping .fishlogy-swipe-preview-card {
    transition: none !important;
  }

  body.single.fishlogy-single-settle .article,
  body.single.fishlogy-single-settle .fishlogy-swipe-preview-card {
    transition: transform 0.30s cubic-bezier(0.16,0.84,0.24,1), opacity 0.24s ease !important;
  }

  body.single .fishlogy-swipe-preview-stage {
    position: fixed !important;
    inset: 0 !important;
    z-index: 3 !important;
    pointer-events: none !important;
    overflow: hidden !important;
    visibility: hidden !important;
  }

  body.single.fishlogy-single-swiping .fishlogy-swipe-preview-stage,
  body.single.fishlogy-single-settle .fishlogy-swipe-preview-stage {
    visibility: visible !important;
  }

  body.single .fishlogy-swipe-preview-card {
    position: fixed !important;
    z-index: 3 !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 28px !important;
    overflow: hidden !important;
    background: #fffaf0 !important;
    box-shadow: 0 12px 30px rgba(18,60,74,0.14) !important;
    box-sizing: border-box !important;
    pointer-events: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    will-change: transform, opacity !important;
    transform: translate3d(0,0,0);
    backface-visibility: hidden !important;
    -webkit-backface-visibility: hidden !important;
  }

  body.single .fishlogy-swipe-preview-card.is-active {
    opacity: 1 !important;
    visibility: visible !important;
  }

  body.single .fishlogy-swipe-preview-label {
    position: absolute !important;
    top: 0 !important;
    left: 22px !important;
    z-index: 2 !important;
    display: inline-block !important;
    width: auto !important;
    max-width: calc(100% - 44px) !important;
    margin: 0 !important;
    padding: 7px 13px !important;
    border-radius: 0 !important;
    background: #c9822b !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
  }

  body.single .fishlogy-swipe-preview-header {
    position: absolute !important;
    left: 0 !important;
    z-index: 1 !important;
    display: flex !important;
    align-items: flex-end !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 28px 22px 18px !important;
    background: #fffaf0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    text-align: left !important;
  }

  body.single .fishlogy-swipe-preview-title {
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    width: 100% !important;
    margin: 0 !important;
    color: #123c4a !important;
    font-size: clamp(25px, 7vw, 31px) !important;
    font-weight: 800 !important;
    line-height: 1.26 !important;
    letter-spacing: 0.01em !important;
    text-align: left !important;
    word-break: keep-all !important;
    overflow-wrap: anywhere !important;
  }

  body.single .fishlogy-swipe-preview-image-wrap {
    position: absolute !important;
    z-index: 1 !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: #fffaf0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    float: none !important;
  }

  body.single .fishlogy-swipe-preview-image {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    border-radius: 0 !important;
    object-fit: cover !important;
    object-position: center center !important;
    background: #fffaf0 !important;
    transform: translate3d(0,0,0) !important;
    backface-visibility: hidden !important;
    -webkit-backface-visibility: hidden !important;
  }

  body.single .fishlogy-swipe-preview-body {
    position: absolute !important;
    z-index: 1 !important;
    display: block !important;
    width: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 24px 22px 34px !important;
    overflow: hidden !important;
    background: #fffaf0 !important;
    color: #1d2f35 !important;
    box-sizing: border-box !important;
    text-align: left !important;
  }

  body.single .fishlogy-swipe-preview-excerpt,
  body.single .fishlogy-swipe-preview-copy {
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    margin: 0 0 24px !important;
    color: #1d2f35 !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.9 !important;
    text-align: left !important;
  }

  body.single .fishlogy-swipe-preview-divider {
    width: 100% !important;
    height: 1px !important;
    margin: 0 0 24px !important;
    background: rgba(18,60,74,0.12) !important;
  }

  body.single .fishlogy-swipe-preview-section-title {
    margin: 0 0 14px !important;
    color: #123c4a !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    line-height: 1.5 !important;
    text-align: left !important;
  }

  body.single .fishlogy-swipe-preview-section-title-small {
    margin-top: 22px !important;
    font-size: 15px !important;
  }

  body.single .fishlogy-swipe-preview-buttons {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    margin: 0 0 18px !important;
  }

  body.single .fishlogy-swipe-preview-buttons span {
    display: block !important;
    padding: 13px 14px !important;
    border-radius: 16px !important;
    background: rgba(18,60,74,0.08) !important;
    color: #123c4a !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.4 !important;
    text-align: center !important;
  }

  body.single .fishlogy-swipe-preview-chips {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 9px !important;
  }

  body.single .fishlogy-swipe-preview-chips span {
    display: inline-block !important;
    padding: 8px 12px !important;
    border-radius: 999px !important;
    background: rgba(201,130,43,0.12) !important;
    color: #123c4a !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.4 !important;
  }

  body.single .fishlogy-swipe-preview-home {
    display: block !important;
    margin-top: 18px !important;
    padding: 13px 14px !important;
    border-radius: 16px !important;
    background: #123c4a !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.4 !important;
    text-align: center !important;
  }

  body.single .fishlogy-swipe-preview-meta {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    z-index: 2 !important;
    display: block !important;
    margin: 0 0 22px !important;
    padding: 0 !important;
    pointer-events: none !important;
    text-align: left !important;
  }

  body.single .fishlogy-swipe-preview-date {
    display: block !important;
    margin: 0 0 6px !important;
    color: rgba(18,60,74,0.58) !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
  }

  body.single .fishlogy-swipe-preview-brand {
    color: rgba(18,60,74,0.45) !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 0.12em !important;
    line-height: 1.4 !important;
    text-transform: uppercase !important;
  }

  body.single::after {
    content: "Fishlogy";
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    pointer-events: none;
    color: rgba(18,60,74,0.5);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  /* =======================================================
   * 02-05. Consolidated final layout overrides
   *
   * Purpose:
   * - Replace the old 02-07 / 02-08 / 02-09 patch stack.
   * - Keep final visual rules in one place so later edits do not fight each other.
   * ======================================================= */
  body.home .fishlogy-card-text,
  body.category .fishlogy-card-text {
    left: 22px !important;
    right: 22px !important;
    bottom: 98px !important;
    text-align: left !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body.home .fishlogy-card-text h2,
  body.category .fishlogy-card-text h2 {
    background: transparent !important;
    box-shadow: none !important;
    text-align: left !important;
  }

  body.single .article {
    display: flex !important;
    flex-direction: column !important;
  }

  body.single .article > *,
  body.single .entry-header,
  body.single .entry-title,
  body.single .eye-catch-wrap,
  body.single .eye-catch,
  body.single .entry-content {
    float: none !important;
    clear: both !important;
    box-sizing: border-box !important;
  }

  body.single .entry-header {
    order: 1 !important;
    display: flex !important;
    align-items: flex-end !important;
    width: 100% !important;
    min-height: 158px !important;
    margin: 0 !important;
    padding: 28px 22px 18px !important;
    overflow: hidden !important;
    background: #fffaf0 !important;
  }

  body.single .entry-title {
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    width: 100% !important;
    max-width: 100% !important;
    max-height: calc(1.26em * 3) !important;
    margin: 0 !important;
    overflow: hidden !important;
    color: #123c4a !important;
    font-size: clamp(25px, 7vw, 31px) !important;
    font-weight: 800 !important;
    line-height: 1.26 !important;
    letter-spacing: 0.01em !important;
    word-break: keep-all !important;
    overflow-wrap: anywhere !important;
  }

  body.single .eye-catch-wrap,
  body.single .eye-catch {
    order: 2 !important;
    flex: 0 0 auto !important;
    align-self: stretch !important;
    position: relative !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: clamp(390px, 56dvh, 610px) !important;
    min-height: clamp(390px, 56dvh, 610px) !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    background: #fffaf0 !important;
  }

  body.single .eye-catch-wrap .eye-catch {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    margin: 0 !important;
  }

  body.single .eye-catch a,
  body.single .eye-catch-wrap a,
  body.single .eye-catch picture,
  body.single .eye-catch-wrap picture,
  body.single .eye-catch img,
  body.single .eye-catch-wrap img,
  body.single .eye-catch .wp-post-image,
  body.single .eye-catch-wrap .wp-post-image {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    min-height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    object-fit: cover !important;
    object-position: center center !important;
    background: #fffaf0 !important;
  }

  body.single .entry-content {
    order: 3 !important;
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 24px 22px 34px !important;
    background: #fffaf0 !important;
  }

  body.single .fishlogy-single-card-meta {
    display: block !important;
    margin: 28px 0 0 !important;
    padding: 0 !important;
    text-align: left !important;
  }

  body.single .fishlogy-single-card-meta small {
    display: block !important;
    margin: 0 0 6px !important;
    color: rgba(18,60,74,0.58) !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
  }

  body.single .fishlogy-single-card-meta div {
    color: rgba(18,60,74,0.45) !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 0.12em !important;
    line-height: 1.4 !important;
    text-transform: uppercase !important;
  }

  /* =======================================================
   * 02-06. Single stable title / eyecatch alignment fix
   *
   * Purpose:
   * - Force real Single article and swipe preview to share one vertical card skeleton.
   * - Prevent title from sliding beside/under the eyecatch.
   * - Restore eyecatch margin inside the card instead of full-bleed image.
   * - Keep this isolated so it can be removed if needed.
   * ======================================================= */

  body.single .article {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    overflow: hidden !important;
    background: #fffaf0 !important;
  }

  body.single .article > *,
  body.single .fishlogy-single-top-label,
  body.single .entry-header,
  body.single .entry-title,
  body.single .eye-catch-wrap,
  body.single .eye-catch,
  body.single .entry-content {
    position: relative !important;
    float: none !important;
    clear: both !important;
    box-sizing: border-box !important;
  }

  body.single .fishlogy-single-top-label {
    display: inline-block !important;
    margin: 0 0 0 22px !important;
  }

  body.single .entry-header {
    display: block !important;
    width: 100% !important;
    min-height: 158px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 46px 22px 18px !important;
    background: #fffaf0 !important;
    overflow: hidden !important;
  }

  body.single .entry-title {
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: calc(1.26em * 3) !important;
    max-height: calc(1.26em * 3) !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    color: #123c4a !important;
    font-size: clamp(25px, 7vw, 31px) !important;
    font-weight: 800 !important;
    line-height: 1.26 !important;
    letter-spacing: 0.01em !important;
    text-align: left !important;
    white-space: normal !important;
    writing-mode: horizontal-tb !important;
    word-break: keep-all !important;
    overflow-wrap: anywhere !important;
  }

  body.single .eye-catch-wrap,
  body.single .eye-catch {
    display: block !important;
    width: calc(100% - 44px) !important;
    max-width: calc(100% - 44px) !important;
    height: clamp(390px, 56dvh, 610px) !important;
    min-height: clamp(390px, 56dvh, 610px) !important;
    margin: 0 auto !important;
    padding: 0 !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    background: #fffaf0 !important;
  }

  body.single .eye-catch-wrap .eye-catch {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    margin: 0 !important;
  }

  body.single .eye-catch a,
  body.single .eye-catch-wrap a,
  body.single .eye-catch picture,
  body.single .eye-catch-wrap picture,
  body.single .eye-catch img,
  body.single .eye-catch-wrap img,
  body.single .eye-catch .wp-post-image,
  body.single .eye-catch-wrap .wp-post-image {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    min-height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    object-fit: cover !important;
    object-position: center center !important;
    background: #fffaf0 !important;
  }

  body.single .entry-content {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 24px 22px 34px !important;
    background: #fffaf0 !important;
  }

  body.single .fishlogy-swipe-preview-label {
    top: 0 !important;
    left: 22px !important;
  }

  body.single .fishlogy-swipe-preview-header {
    top: 28px !important;
    left: 0 !important;
    width: 100% !important;
    height: 158px !important;
    min-height: 158px !important;
    padding: 46px 22px 18px !important;
    display: block !important;
    background: #fffaf0 !important;
    text-align: left !important;
    overflow: hidden !important;
  }

  body.single .fishlogy-swipe-preview-title {
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    width: 100% !important;
    min-height: calc(1.26em * 3) !important;
    max-height: calc(1.26em * 3) !important;
    margin: 0 !important;
    overflow: hidden !important;
    font-size: clamp(25px, 7vw, 31px) !important;
    line-height: 1.26 !important;
    text-align: left !important;
    white-space: normal !important;
    writing-mode: horizontal-tb !important;
    word-break: keep-all !important;
    overflow-wrap: anywhere !important;
  }

  body.single .fishlogy-swipe-preview-image-wrap {
    top: 186px !important;
    left: 22px !important;
    width: calc(100% - 44px) !important;
    max-width: calc(100% - 44px) !important;
    height: clamp(390px, 56dvh, 610px) !important;
    min-height: clamp(390px, 56dvh, 610px) !important;
    margin: 0 !important;
    border-radius: 0 !important;
    overflow: hidden !important;
  }

  body.single .fishlogy-swipe-preview-body {
    top: calc(186px + clamp(390px, 56dvh, 610px)) !important;
    left: 0 !important;
    width: 100% !important;
    padding: 24px 22px 34px !important;
    background: #fffaf0 !important;
  }
}

/* =========================================================
 * 99. Fishlogy final requested fixes 2026-05-09
 * Purpose:
 * - Force Home / Category title left edge to align with date / FISHLOGY.
 * - Adjust real Single article-end spacing.
 * - Adjust pseudo preview article-end spacing.
 * Notes:
 * - This block is intentionally placed at the very end so it wins.
 * - Home / Category Swiper JS and Single swipe JS are not changed.
 * ========================================================= */
@media screen and (max-width: 768px) {

  /* Home / Category: title must start at the same x-position as date and FISHLOGY. */
  body.home .fishlogy-mobile-only .fishlogy-card .fishlogy-card-text,
  body.front-page .fishlogy-mobile-only .fishlogy-card .fishlogy-card-text,
  body.category .fishlogy-mobile-only .fishlogy-card .fishlogy-card-text {
    position: absolute !important;
    left: 22px !important;
    right: 22px !important;
    width: calc(100% - 44px) !important;
    max-width: calc(100% - 44px) !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    text-align: left !important;
    display: block !important;
  }

  body.home .fishlogy-mobile-only .fishlogy-card .fishlogy-card-text h2,
  body.front-page .fishlogy-mobile-only .fishlogy-card .fishlogy-card-text h2,
  body.category .fishlogy-mobile-only .fishlogy-card .fishlogy-card-text h2,
  body.home .fishlogy-mobile-only .fishlogy-card .fishlogy-card-text h2.fishlogy-title-normal,
  body.home .fishlogy-mobile-only .fishlogy-card .fishlogy-card-text h2.fishlogy-title-long,
  body.home .fishlogy-mobile-only .fishlogy-card .fishlogy-card-text h2.fishlogy-title-very-long,
  body.category .fishlogy-mobile-only .fishlogy-card .fishlogy-card-text h2.fishlogy-title-normal,
  body.category .fishlogy-mobile-only .fishlogy-card .fishlogy-card-text h2.fishlogy-title-long,
  body.category .fishlogy-mobile-only .fishlogy-card .fishlogy-card-text h2.fishlogy-title-very-long {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    text-align: left !important;
    text-indent: 0 !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    align-self: flex-start !important;
    justify-self: flex-start !important;
  }

  body.home .fishlogy-mobile-only .fishlogy-card .fishlogy-card-meta,
  body.front-page .fishlogy-mobile-only .fishlogy-card .fishlogy-card-meta,
  body.category .fishlogy-mobile-only .fishlogy-card .fishlogy-card-meta {
    left: 22px !important;
    right: 22px !important;
    width: calc(100% - 44px) !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
    transform: none !important;
  }

  /* Real Single: keep wider section rhythm, but remove excess space below Home button. */
  body.single .entry-content {
    padding-bottom: 18px !important;
  }

  body.single .fishlogy-single-card-meta {
    margin: 26px 0 20px !important;
    padding: 0 !important;
  }

  body.single .fishlogy-article-end-nav {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 24px 0 0 !important;
  }

  body.single .fishlogy-end-title {
    margin: 0 0 18px !important;
  }

  body.single .fishlogy-end-links {
    margin: 0 0 28px !important;
  }

  body.single .fishlogy-end-title-small {
    margin: 30px 0 18px !important;
  }

  body.single .fishlogy-end-categories {
    margin: 0 0 30px !important;
  }

  body.single .fishlogy-home-link {
    margin: 0 !important;
  }

  /* Pseudo preview: same order and rhythm as the real Single card. */
  body.single .fishlogy-swipe-preview-body {
    padding: 24px 22px 18px !important;
  }

  body.single .fishlogy-swipe-preview-copy {
    margin: 0 0 26px !important;
  }

  body.single .fishlogy-swipe-preview-meta {
    position: static !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    margin: 0 0 20px !important;
    padding: 0 !important;
    text-align: left !important;
  }

  body.single .fishlogy-swipe-preview-divider {
    margin: 0 0 24px !important;
  }

  body.single .fishlogy-swipe-preview-section-title {
    margin: 0 0 18px !important;
  }

  body.single .fishlogy-swipe-preview-buttons {
    margin: 0 0 28px !important;
  }

  body.single .fishlogy-swipe-preview-section-title-small {
    margin: 30px 0 18px !important;
  }

  body.single .fishlogy-swipe-preview-chips {
    margin: 0 0 30px !important;
  }

  body.single .fishlogy-swipe-preview-home {
    margin: 0 !important;
  }
}

/* =========================================================
 * PC CLEANUP MARKER: PC Single stack begins here.
 * Do not delete legacy layers yet; STEP2 must test selector-by-selector.
 * ========================================================= */

/* =========================================================
 * 100. PC Single legacy base layer 2026-05-09
 *
 * SAFE STEP2 NOTE:
 * - This block is still part of the current stable PC Single stack.
 * - Do not change its media query or remove it in bulk.
 * - Later clean-final rules override some values, but this layer may still
 *   provide required desktop/tablet base styling.
 * - CSS declarations are intentionally unchanged in this safe cleanup.
 * ========================================================= */
@media screen and (min-width: 769px) {

  body.single {
    margin: 0 !important;
    padding: 0 !important;
    background: #f2eee8 !important;
    color: #1d2f35 !important;
    overflow-x: hidden !important;
  }

  body.single .wrap,
  body.single .content,
  body.single .content-in {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #f2eee8 !important;
    box-sizing: border-box !important;
  }

  body.single .content-in {
    display: block !important;
  }

  body.single .main {
    float: none !important;
    width: min(100%, 980px) !important;
    max-width: 980px !important;
    margin: 0 auto !important;
    padding: 40px 36px 72px !important;
    background: transparent !important;
    box-sizing: border-box !important;
  }

  body.single .sidebar,
  body.single .sidebar-container {
    display: none !important;
  }

  body.single .breadcrumb {
    width: min(100%, 896px) !important;
    max-width: 896px !important;
    margin: 0 auto 18px !important;
    padding: 0 !important;
    color: rgba(18,48,71,0.62) !important;
    font-size: 13px !important;
    line-height: 1.7 !important;
  }

  body.single .breadcrumb a {
    color: rgba(18,48,71,0.72) !important;
    text-decoration: none !important;
  }

  body.single .article {
    position: relative !important;
    float: none !important;
    clear: both !important;
    width: min(100%, 896px) !important;
    max-width: 896px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    border-radius: 22px !important;
    overflow: hidden !important;
    background: #fffaf0 !important;
    box-shadow: 0 18px 44px rgba(18,60,74,0.13) !important;
    box-sizing: border-box !important;
  }

  body.single .article > *,
  body.single .fishlogy-single-top-label,
  body.single .entry-header,
  body.single .entry-title,
  body.single .eye-catch-wrap,
  body.single .eye-catch,
  body.single .entry-content {
    float: none !important;
    clear: both !important;
    box-sizing: border-box !important;
  }

  body.single .fishlogy-single-top-label {
    display: inline-block !important;
    width: auto !important;
    max-width: calc(100% - 84px) !important;
    margin: 0 0 0 42px !important;
    padding: 8px 15px !important;
    border-radius: 0 !important;
    background: #c9822b !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    letter-spacing: 0.02em !important;
    text-decoration: none !important;
    box-shadow: none !important;
  }

  body.single .fishlogy-single-top-label:hover,
  body.single .fishlogy-single-top-label:visited {
    color: #fff !important;
    text-decoration: none !important;
  }

  body.single .entry-header {
    display: block !important;
    width: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 42px 42px 28px !important;
    background: #fffaf0 !important;
    overflow: visible !important;
  }

  body.single .entry-title {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    color: #123047 !important;
    font-size: clamp(34px, 4.1vw, 48px) !important;
    font-weight: 800 !important;
    line-height: 1.22 !important;
    letter-spacing: 0.01em !important;
    text-align: left !important;
    word-break: keep-all !important;
    overflow-wrap: anywhere !important;
  }

  body.single .eye-catch-wrap,
  body.single .eye-catch {
    position: relative !important;
    display: block !important;
    width: calc(100% - 84px) !important;
    max-width: calc(100% - 84px) !important;
    height: clamp(360px, 46vw, 520px) !important;
    min-height: clamp(360px, 46vw, 520px) !important;
    margin: 0 auto !important;
    padding: 0 !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    background: #f2eee8 !important;
  }

  body.single .eye-catch-wrap .eye-catch {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    margin: 0 !important;
  }

  body.single .eye-catch a,
  body.single .eye-catch-wrap a,
  body.single .eye-catch picture,
  body.single .eye-catch-wrap picture,
  body.single .eye-catch img,
  body.single .eye-catch-wrap img,
  body.single .eye-catch .wp-post-image,
  body.single .eye-catch-wrap .wp-post-image {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    min-height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    object-fit: cover !important;
    object-position: center center !important;
    background: #f2eee8 !important;
  }

  body.single .entry-content {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 42px 42px 46px !important;
    background: #fffaf0 !important;
    color: #1d2f35 !important;
    font-size: 17px !important;
    line-height: 2 !important;
    letter-spacing: 0.01em !important;
  }

  body.single .entry-content > *:first-child {
    margin-top: 0 !important;
  }

  body.single .entry-content p {
    margin: 0 0 1.55em !important;
  }

  body.single .entry-content h2 {
    margin: 2.25em 0 0.85em !important;
    padding: 0 0 0.35em !important;
    border-bottom: 1px solid rgba(18,48,71,0.15) !important;
    color: #123047 !important;
    font-size: 25px !important;
    font-weight: 800 !important;
    line-height: 1.45 !important;
  }

  body.single .entry-content h3 {
    margin: 1.9em 0 0.7em !important;
    color: #123047 !important;
    font-size: 21px !important;
    font-weight: 800 !important;
    line-height: 1.5 !important;
  }

  body.single .entry-content img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 14px !important;
  }

  body.single .entry-content blockquote {
    margin: 1.8em 0 !important;
    padding: 18px 22px !important;
    border-left: 4px solid #c9822b !important;
    border-radius: 14px !important;
    background: rgba(201,130,43,0.08) !important;
    color: #1d2f35 !important;
  }

  body.single .date-tags,
  body.single .date-tags *,
  body.single .entry-categories,
  body.single .entry-categories *,
  body.single .cat-label,
  body.single .cat-label *,
  body.single .cat-link,
  body.single .cat-link *,
  body.single .category-link,
  body.single .category-link *,
  body.single .related-entry-heading,
  body.single .related-list,
  body.single .related-entries,
  body.single .related-entry-card,
  body.single .under-entry-content,
  body.single .pager-post-navi,
  body.single .sns-share,
  body.single .sns-follow,
  body.single .article-footer,
  body.single .entry-footer {
    display: none !important;
  }

  body.single .fishlogy-single-card-meta {
    display: block !important;
    margin: 34px 0 24px !important;
    padding: 0 !important;
    text-align: left !important;
  }

  body.single .fishlogy-single-card-meta small {
    display: block !important;
    margin: 0 0 6px !important;
    color: rgba(18,48,71,0.56) !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
  }

  body.single .fishlogy-single-card-meta div {
    color: rgba(18,48,71,0.42) !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 0.14em !important;
    line-height: 1.45 !important;
    text-transform: uppercase !important;
  }

  body.single .fishlogy-article-end-nav {
    margin: 0 !important;
    padding: 26px 0 0 !important;
    border-top: 1px solid rgba(18,48,71,0.14) !important;
  }

  body.single .fishlogy-end-title {
    margin: 0 0 16px !important;
    color: #123047 !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    line-height: 1.5 !important;
  }

  body.single .fishlogy-end-links {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
    margin: 0 0 30px !important;
  }

  body.single .fishlogy-end-links a,
  body.single .fishlogy-home-link {
    display: block !important;
    padding: 14px 18px !important;
    border-radius: 14px !important;
    background: rgba(18,48,71,0.08) !important;
    color: #123047 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.45 !important;
    text-align: center !important;
    text-decoration: none !important;
    transition: background 0.18s ease, transform 0.18s ease !important;
  }

  body.single .fishlogy-end-links a:hover,
  body.single .fishlogy-home-link:hover {
    background: rgba(18,48,71,0.13) !important;
    transform: translateY(-1px) !important;
  }

  body.single .fishlogy-end-title-small {
    margin: 32px 0 16px !important;
    font-size: 15px !important;
  }

  body.single .fishlogy-end-categories {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin: 0 0 30px !important;
  }

  body.single .fishlogy-end-categories a {
    display: inline-block !important;
    padding: 9px 13px !important;
    border-radius: 999px !important;
    background: rgba(201,130,43,0.12) !important;
    color: #123047 !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
  }

  body.single .fishlogy-home-link {
    max-width: 260px !important;
    margin: 0 !important;
    background: #123047 !important;
    color: #fff !important;
  }

  body.single .fishlogy-swipe-nav-guide,
  body.single .fishlogy-swipe-preview-stage,
  body.single .fishlogy-swipe-preview-card {
    display: none !important;
  }
}

/* =========================================================
 * 101. PC Single legacy wide support layer 2026-05-09
 *
 * SAFE STEP2 NOTE:
 * - This block widens the legacy PC Single base.
 * - It must remain active until each selector is proven redundant.
 * - Do not narrow this to tablet-only; that broke the layout in STEP2.
 * - CSS declarations are intentionally unchanged in this safe cleanup.
 * ========================================================= */
@media screen and (min-width: 769px) {

  body.single .main {
    width: min(100%, 1280px) !important;
    max-width: 1280px !important;
    padding: 44px 44px 84px !important;
  }

  body.single .breadcrumb {
    width: min(100%, 1120px) !important;
    max-width: 1120px !important;
    margin: 0 auto 20px !important;
  }

  body.single .article {
    width: min(100%, 1120px) !important;
    max-width: 1120px !important;
    border-radius: 24px !important;
    box-shadow: 0 20px 52px rgba(18,60,74,0.14) !important;
  }

  body.single .fishlogy-single-top-label {
    margin-left: 72px !important;
  }

  body.single .entry-header {
    min-height: 236px !important;
    padding: 58px 72px 34px !important;
  }

  body.single .entry-title {
    max-width: 980px !important;
    font-size: clamp(36px, 4vw, 54px) !important;
    line-height: 1.18 !important;
    letter-spacing: 0.005em !important;
  }

  body.single .eye-catch-wrap,
  body.single .eye-catch {
    width: calc(100% - 144px) !important;
    max-width: calc(100% - 144px) !important;
    height: clamp(440px, 42vw, 640px) !important;
    min-height: clamp(440px, 42vw, 640px) !important;
    margin: 0 auto !important;
  }

  body.single .entry-content {
    padding: 50px 110px 64px !important;
    font-size: 18px !important;
    line-height: 2.02 !important;
  }

  body.single .entry-content h2 {
    font-size: 28px !important;
  }

  body.single .entry-content h3 {
    font-size: 23px !important;
  }

  body.single .fishlogy-single-card-meta {
    margin: 38px 0 26px !important;
  }

  body.single .fishlogy-article-end-nav {
    padding: 30px 0 0 !important;
  }

  body.single .fishlogy-end-title {
    font-size: 19px !important;
    margin-bottom: 18px !important;
  }

  body.single .fishlogy-end-links {
    gap: 14px !important;
    margin-bottom: 34px !important;
  }

  body.single .fishlogy-end-links a,
  body.single .fishlogy-home-link {
    padding: 15px 20px !important;
    font-size: 15px !important;
  }

  body.single .fishlogy-end-title-small {
    margin: 36px 0 18px !important;
  }

  body.single .fishlogy-end-categories {
    gap: 11px !important;
    margin-bottom: 34px !important;
  }
}

@media screen and (min-width: 1360px) {

  body.single .main {
    width: min(100%, 1400px) !important;
    max-width: 1400px !important;
    padding-left: 56px !important;
    padding-right: 56px !important;
  }

  body.single .breadcrumb,
  body.single .article {
    width: min(100%, 1200px) !important;
    max-width: 1200px !important;
  }

  body.single .fishlogy-single-top-label {
    margin-left: 84px !important;
  }

  body.single .entry-header {
    padding-left: 84px !important;
    padding-right: 84px !important;
  }

  body.single .entry-title {
    max-width: 1040px !important;
  }

  body.single .eye-catch-wrap,
  body.single .eye-catch {
    width: calc(100% - 168px) !important;
    max-width: calc(100% - 168px) !important;
    height: clamp(500px, 39vw, 680px) !important;
    min-height: clamp(500px, 39vw, 680px) !important;
  }

  body.single .entry-content {
    padding-left: 132px !important;
    padding-right: 132px !important;
  }
}

/* =========================================================
 * 102. PC Single final desktop layer
 *
 * Scope:
 * - PC Single only: min-width 1181px.
 * - Does not affect mobile, tablet, Home, or Category.
 * - This is the final visual layer for normal desktop width.
 * - It currently depends on some earlier legacy base/support declarations,
 *   so remove older PC Single rules only after selector-by-selector testing.
 * ========================================================= */
@media screen and (min-width: 1181px) {

  body.single {
    background: #f2eee8 !important;
  }

  body.single .main {
    width: 100% !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 42px 0 72px !important;
    box-sizing: border-box !important;
  }

  body.single .content,
  body.single .wrap {
    width: 100% !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }

  body.single .content-in {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 280px !important;
    gap: 24px !important;
    align-items: start !important;
    justify-content: center !important;
    width: min(calc(100vw - 80px), 1204px) !important;
    max-width: min(calc(100vw - 80px), 1204px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  body.single .article {
    grid-column: 1 !important;
    grid-row: 1 !important;
    position: relative !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
    border-radius: 22px !important;
    background: #fffaf0 !important;
    box-shadow: 0 18px 46px rgba(18, 60, 74, 0.13) !important;
    box-sizing: border-box !important;
  }

  body.single .entry-header {
    min-height: 0 !important;
    padding: 70px 40px 34px !important;
    text-align: left !important;
    box-sizing: border-box !important;
  }

  body.single .entry-title {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    color: #123c4a !important;
    font-size: clamp(42px, 3.65vw, 60px) !important;
    font-weight: 800 !important;
    line-height: 1.16 !important;
    letter-spacing: 0.02em !important;
    text-align: left !important;
    box-sizing: border-box !important;
  }

  body.single .article > .fishlogy-single-top-label,
  body.single .fishlogy-single-top-label {
    position: absolute !important;
    top: -42px !important;
    left: 40px !important;
    right: auto !important;
    bottom: auto !important;
    z-index: 120 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-width: 126px !important;
    height: 42px !important;
    margin: 0 !important;
    padding: 0 22px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #c64f2e !important;
    color: #fffaf0 !important;
    box-shadow: 0 8px 18px rgba(18, 60, 74, 0.12) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    transform: none !important;
    box-sizing: border-box !important;
  }

  body.single .fishlogy-single-top-label::before,
  body.single .fishlogy-single-top-label::after {
    content: none !important;
    display: none !important;
  }

  body.single .eye-catch-wrap {
    position: relative !important;
    left: -40px !important;
    right: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 40px !important;
    margin-right: 0 !important;
    margin-top: 18px !important;
    margin-bottom: 30px !important;
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  body.single .eye-catch-wrap .eye-catch {
    position: relative !important;
    left: 0 !important;
    right: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  body.single .eye-catch-wrap img,
  body.single .eye-catch-wrap .wp-post-image {
    display: block !important;
    position: relative !important;
    left: 0 !important;
    right: auto !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    aspect-ratio: 16 / 9 !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  body.single .entry-content {
    width: 100% !important;
    max-width: none !important;
    padding: 54px 88px 62px !important;
    overflow: visible !important;
    color: #123c4a !important;
    font-size: 23px !important;
    line-height: 2.08 !important;
    letter-spacing: 0.015em !important;
    box-sizing: border-box !important;
  }

  body.single .entry-content p,
  body.single .entry-content li {
    font-size: 23px !important;
    line-height: 2.08 !important;
  }

  body.single .entry-content h2,
  body.single .entry-content h3 {
    position: relative !important;
    overflow: visible !important;
    color: #123c4a !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  body.single .entry-content h2 {
    margin-top: 2.35em !important;
    margin-bottom: 0.85em !important;
    padding-top: 0.06em !important;
    font-size: clamp(30px, 2.05vw, 36px) !important;
    line-height: 1.42 !important;
  }

  body.single .entry-content h2::before {
    content: "" !important;
    position: absolute !important;
    display: block !important;
    left: -108px !important;
    top: 0.25em !important;
    width: 20px !important;
    height: 48px !important;
    background: #e4bd32 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    pointer-events: none !important;
    z-index: 1 !important;
  }

  body.single .entry-content h2::after {
    content: none !important;
    display: none !important;
  }

  body.single .entry-content h3 {
    margin-top: 2em !important;
    margin-bottom: 0.75em !important;
    font-size: clamp(27px, 1.92vw, 34px) !important;
    line-height: 1.46 !important;
  }

  body.single .fishlogy-article-end-nav {
    margin-top: 38px !important;
  }

  body.single .fishlogy-pc-sticky-notes {
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    align-self: start !important;
    gap: 18px !important;
    width: 280px !important;
    max-width: 280px !important;
    min-width: 280px !important;
    margin: 0 !important;
    padding: 0 !important;
    position: sticky !important;
    top: 115px !important;
    z-index: 3 !important;
    box-sizing: border-box !important;
  }

  body.single .fishlogy-pc-note {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 18px 18px 20px !important;
    border: 1px solid rgba(18, 60, 74, 0.11) !important;
    border-radius: 0 !important;
    box-shadow: 0 14px 30px rgba(18, 60, 74, 0.10) !important;
    color: #123c4a !important;
    transform: none !important;
    box-sizing: border-box !important;
  }

  body.single .fishlogy-pc-note::before {
    content: "" !important;
    position: absolute !important;
    top: -1px !important;
    left: 20px !important;
    width: 78px !important;
    height: 8px !important;
    border-radius: 0 !important;
    background: rgba(201, 130, 43, 0.34) !important;
  }

  body.single .fishlogy-pc-note-sponsored,
  body.single .fishlogy-pc-note-related {
    display: none !important;
  }

  body.single .fishlogy-pc-note-ranking {
    order: 1 !important;
    display: block !important;
    background: #f4d7c5 !important;
  }

  body.single .fishlogy-pc-note-ranking::before {
    background: rgba(198, 79, 46, 0.38) !important;
  }

  body.single .fishlogy-pc-note-categories {
    order: 2 !important;
    display: block !important;
    background: #f6e5b8 !important;
  }

  body.single .fishlogy-pc-note-label {
    min-height: 16px !important;
    margin: 0 0 16px !important;
    padding: 0 !important;
    color: rgba(18, 60, 74, 0.60) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
    letter-spacing: 0.13em !important;
    text-transform: uppercase !important;
  }

  body.single .fishlogy-pc-ranking-list {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.single .fishlogy-pc-ranking-item {
    display: block !important;
    width: 100% !important;
    color: #123c4a !important;
    text-decoration: none !important;
  }

  body.single .fishlogy-pc-ranking-thumb {
    display: block !important;
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    margin: 0 0 8px !important;
    overflow: hidden !important;
    border-radius: 0 !important;
    background: rgba(255, 250, 240, 0.62) !important;
  }

  body.single .fishlogy-pc-ranking-thumb img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  body.single .fishlogy-pc-ranking-title {
    display: -webkit-box !important;
    overflow: hidden !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    color: #123c4a !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.5 !important;
    letter-spacing: 0.02em !important;
  }

  body.single .fishlogy-pc-note-chips {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 9px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.single .fishlogy-pc-note-chips a {
    display: block !important;
    padding: 9px 10px !important;
    border-radius: 0 !important;
    background: rgba(255, 250, 240, 0.50) !important;
    color: #123c4a !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
  }

  body.single .fishlogy-pc-note-categories:not(.fishlogy-pc-sticky-notes .fishlogy-pc-note-categories) {
    display: none !important;
  }
}

/* =========================================================
 * Fishlogy clean final: Home restore
 * Scope:
 * - Desktop Home only.
 * - Removes the failed PC Home generated archive experiment.
 * - Shows the existing Home PC block again.
 * ========================================================= */
@media screen and (min-width: 1181px) {
  body.home .fishlogy-pc-only,
  body.page-id-11 .fishlogy-pc-only {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  body.home .fishlogy-pc-home-archive,
  body.page-id-11 .fishlogy-pc-home-archive {
    display: none !important;
  }

  body.home .wp-block-cocoon-blocks-column-2,
  body.page-id-11 .wp-block-cocoon-blocks-column-2,
  body.home .column-wrap,
  body.page-id-11 .column-wrap {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

/* =========================================================
 * 104. Tablet safety layer
 *
 * Scope:
 * - Tablet keeps its own current layout.
 * - Desktop-only decorations do not leak into tablet.
 * - Keep this after desktop final rules.
 * ========================================================= */
@media screen and (max-width: 1180px) {
  body.single .fishlogy-pc-sticky-notes,
  body.home .fishlogy-pc-home-archive,
  body.page-id-11 .fishlogy-pc-home-archive {
    display: none !important;
  }

  body.single .entry-content h2::before,
  body.single .entry-content h2::after,
  body.single .entry-content h3::before,
  body.single .entry-content h3::after {
    content: none !important;
    display: none !important;
  }
}

/* =========================================================
 * PC CLEANUP MARKER: PC Home cascade begins here.
 * This area contains many historical repair blocks.
 * STEP1 keeps all declarations unchanged.
 * ========================================================= */

/* =========================================================
 * Fishlogy PC Home: fixed-page latest posts sticky layout
 * Check token: FISHLOGY_PC_HOME_FIXED_PAGE_LATEST_POSTS_V1
 * Scope:
 * - PC Home only: min-width 1181px.
 * - Targets the existing Home fixed-page block:
 *   .fishlogy-pc-only / wp-block-latest-posts / categories / popular-list.
 * - No PHP required.
 * - Does not affect Single, mobile, tablet, or Category.
 * ========================================================= */
@media screen and (min-width: 1181px) {

  body.home .fishlogy-pc-only,
  body.page-id-11 .fishlogy-pc-only {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: min(100%, 1420px) !important;
    max-width: 1420px !important;
    margin: 0 auto !important;
    padding: 0 0 72px !important;
    box-sizing: border-box !important;
  }

  body.home .fishlogy-pc-only > .wp-block-image.alignfull,
  body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 44px !important;
    overflow: hidden !important;
    border-radius: 0 !important;
    box-shadow: 0 18px 44px rgba(18, 60, 74, 0.12) !important;
  }

  body.home .fishlogy-pc-only > .wp-block-image.alignfull img,
  body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-width: none !important;
  }

  body.home .fishlogy-pc-only .column-wrap,
  body.page-id-11 .fishlogy-pc-only .column-wrap {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 320px !important;
    gap: 34px !important;
    align-items: start !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  body.home .fishlogy-pc-only .column-left,
  body.page-id-11 .fishlogy-pc-only .column-left,
  body.home .fishlogy-pc-only .column-right,
  body.page-id-11 .fishlogy-pc-only .column-right {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  /* Section headings as square paper tabs */
  body.home .fishlogy-pc-only .wp-block-heading,
  body.page-id-11 .fishlogy-pc-only .wp-block-heading {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 168px !important;
    height: 46px !important;
    margin: 0 0 22px !important;
    padding: 0 26px !important;
    background: #c64f2e !important;
    color: #fffaf0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: 0 10px 22px rgba(18, 60, 74, 0.12) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: 0.15em !important;
    text-transform: uppercase !important;
  }

  /* Latest posts grid */
  body.home .fishlogy-pc-only .wp-block-latest-posts,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 26px 24px !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    box-sizing: border-box !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts > li,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    min-height: 390px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 1px solid rgba(18, 60, 74, 0.13) !important;
    border-radius: 0 !important;
    background: #fffaf0 !important;
    box-shadow: 0 18px 38px rgba(18, 60, 74, 0.11) !important;
    box-sizing: border-box !important;
    transition: transform 0.16s ease, box-shadow 0.16s ease !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts > li:hover,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 24px 48px rgba(18, 60, 74, 0.15) !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts > li::before,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li::before {
    content: "" !important;
    position: absolute !important;
    top: -1px !important;
    left: 22px !important;
    width: 92px !important;
    height: 10px !important;
    background: rgba(201, 130, 43, 0.38) !important;
    border-radius: 0 !important;
    z-index: 4 !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts > li:nth-child(4n+1),
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li:nth-child(4n+1) {
    background: #f4d7c5 !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts > li:nth-child(4n+1)::before,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li:nth-child(4n+1)::before {
    background: rgba(198, 79, 46, 0.42) !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts > li:nth-child(4n+2),
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li:nth-child(4n+2) {
    background: #f6e5b8 !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts > li:nth-child(4n+3),
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li:nth-child(4n+3) {
    background: #dbe6e7 !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts > li:nth-child(4n+4),
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li:nth-child(4n+4) {
    background: #dde8d1 !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts__featured-image,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts__featured-image {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    aspect-ratio: 16 / 10 !important;
    overflow: hidden !important;
    background: rgba(255, 250, 240, 0.55) !important;
    box-sizing: border-box !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts__featured-image a,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts__featured-image a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts__featured-image img,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts__featured-image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts > li > a,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li > a {
    display: block !important;
    margin: 0 !important;
    padding: 20px 22px 10px !important;
    color: #123c4a !important;
    font-size: clamp(19px, 1.25vw, 24px) !important;
    font-weight: 800 !important;
    line-height: 1.45 !important;
    letter-spacing: 0.02em !important;
    text-align: left !important;
    text-decoration: none !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts__post-date,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts__post-date {
    display: block !important;
    margin: auto 22px 22px !important;
    padding-top: 16px !important;
    color: rgba(18, 60, 74, 0.56) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.4 !important;
    letter-spacing: 0.08em !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts__post-date::after,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts__post-date::after {
    content: " / FISHLOGY" !important;
  }

  /* Right column sticky notes */
  body.home .fishlogy-pc-only .column-right,
  body.page-id-11 .fishlogy-pc-only .column-right {
    position: sticky !important;
    top: 96px !important;
    display: grid !important;
    gap: 22px !important;
    align-self: start !important;
  }

  body.home .fishlogy-pc-only .column-right > *,
  body.page-id-11 .fishlogy-pc-only .column-right > * {
    box-sizing: border-box !important;
  }

  body.home .fishlogy-pc-only .wp-block-categories,
  body.page-id-11 .fishlogy-pc-only .wp-block-categories,
  body.home .fishlogy-pc-only .popular-list-box,
  body.page-id-11 .fishlogy-pc-only .popular-list-box {
    margin: -2px 0 0 !important;
    padding: 22px 20px 24px !important;
    border: 1px solid rgba(18, 60, 74, 0.11) !important;
    border-radius: 0 !important;
    background: #f6e5b8 !important;
    box-shadow: 0 14px 30px rgba(18, 60, 74, 0.10) !important;
    list-style: none !important;
  }

  body.home .fishlogy-pc-only .popular-list-box,
  body.page-id-11 .fishlogy-pc-only .popular-list-box {
    background: #f4d7c5 !important;
  }

  body.home .fishlogy-pc-only .wp-block-categories li,
  body.page-id-11 .fishlogy-pc-only .wp-block-categories li {
    margin: 0 0 10px !important;
    padding: 0 !important;
    list-style: none !important;
  }

  body.home .fishlogy-pc-only .wp-block-categories a,
  body.page-id-11 .fishlogy-pc-only .wp-block-categories a {
    display: block !important;
    padding: 10px 12px !important;
    background: rgba(255, 250, 240, 0.50) !important;
    color: #123c4a !important;
    border-radius: 0 !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
  }

  body.home .fishlogy-pc-only .popular-entry-card-link,
  body.page-id-11 .fishlogy-pc-only .popular-entry-card-link,
  body.home .fishlogy-pc-only .widget-entry-card-link,
  body.page-id-11 .fishlogy-pc-only .widget-entry-card-link {
    display: block !important;
    width: 100% !important;
    margin: 0 0 14px !important;
    padding: 0 !important;
    color: #123c4a !important;
    text-decoration: none !important;
  }

  body.home .fishlogy-pc-only .popular-entry-card,
  body.page-id-11 .fishlogy-pc-only .popular-entry-card,
  body.home .fishlogy-pc-only .widget-entry-card,
  body.page-id-11 .fishlogy-pc-only .widget-entry-card {
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
}

@media screen and (min-width: 1181px) and (max-width: 1360px) {
  body.home .fishlogy-pc-only .wp-block-latest-posts,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Tablet / mobile safety */
@media screen and (max-width: 1180px) {
  body.home .fishlogy-pc-only,
  body.page-id-11 .fishlogy-pc-only {
    display: none !important;
  }
}

/* =========================================================
 * Fishlogy PC Home latest-posts card width fix
 * Check token: FISHLOGY_PC_HOME_LATEST_POSTS_CARD_WIDTH_FIX_V2
 * Scope:
 * - PC Home only.
 * - Fixes WordPress Latest Posts grid li width overriding our card grid.
 * - Makes article cards fill each grid column instead of becoming thin strips.
 * - Keeps PHP untouched.
 * ========================================================= */
@media screen and (min-width: 1181px) {

  

  

  body.home .fishlogy-pc-only .wp-block-latest-posts > li,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 420px !important;
    overflow: visible !important;
    border: 1px solid rgba(18, 60, 74, 0.13) !important;
    border-radius: 0 !important;
    background: #fffaf0 !important;
    box-shadow: 0 18px 38px rgba(18, 60, 74, 0.11) !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts__featured-image,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts__featured-image {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    aspect-ratio: 16 / 10 !important;
    overflow: hidden !important;
  }

  

  body.home .fishlogy-pc-only .wp-block-latest-posts > li > a,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li > a {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 20px 22px 10px !important;
    box-sizing: border-box !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts__post-date,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts__post-date {
    margin-top: auto !important;
  }
}

@media screen and (min-width: 1181px) and (max-width: 1360px) {
  body.home .fishlogy-pc-only .wp-block-latest-posts,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts,
  body.home .fishlogy-pc-only .wp-block-latest-posts.is-grid,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts.is-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* =========================================================
 * Fishlogy PC Home: latest posts clean card style
 * Check token: FISHLOGY_PC_HOME_LATEST_POSTS_CLEAN_CARD_V1
 * Scope:
 * - PC Home only.
 * - Changes latest-posts list from sticky-note style to clean rounded cards.
 * - Keeps right column widgets, Single, mobile, tablet, and Category untouched.
 * ========================================================= */
@media screen and (min-width: 1181px) {

  

  

  body.home .fishlogy-pc-only .wp-block-latest-posts > li,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 420px !important;
    overflow: hidden !important;
    border: 1px solid rgba(18, 60, 74, 0.10) !important;
    border-radius: 22px !important;
    background: #fffaf0 !important;
    box-shadow: 0 18px 40px rgba(18, 60, 74, 0.11) !important;
    transition: transform 0.16s ease, box-shadow 0.16s ease !important;
  }

  

  /* Remove sticky-note tabs and paper-color rotation */
  body.home .fishlogy-pc-only .wp-block-latest-posts > li::before,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li::before,
  body.home .fishlogy-pc-only .wp-block-latest-posts > li::after,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li::after {
    content: none !important;
    display: none !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts > li:nth-child(n),
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li:nth-child(n) {
    background: #fffaf0 !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts__featured-image,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts__featured-image {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    aspect-ratio: 16 / 9 !important;
    overflow: hidden !important;
    background: rgba(242, 238, 232, 0.85) !important;
    box-sizing: border-box !important;
  }

  

  body.home .fishlogy-pc-only .wp-block-latest-posts__featured-image img,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts__featured-image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts > li > a,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li > a {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 22px 24px 10px !important;
    box-sizing: border-box !important;
    color: #123c4a !important;
    font-size: clamp(20px, 1.25vw, 25px) !important;
    font-weight: 800 !important;
    line-height: 1.45 !important;
    letter-spacing: 0.02em !important;
    text-align: left !important;
    text-decoration: none !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts__post-date,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts__post-date {
    display: block !important;
    margin: auto 24px 24px !important;
    padding-top: 16px !important;
    color: rgba(18, 60, 74, 0.55) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.4 !important;
    letter-spacing: 0.08em !important;
  }

  
}

@media screen and (min-width: 1181px) and (min-width: 1480px) {
  body.home .fishlogy-pc-only .wp-block-latest-posts,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts,
  body.home .fishlogy-pc-only .wp-block-latest-posts.is-grid,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts.is-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

/* =========================================================
 * Fishlogy PC Home: image-cover article cards
 * Check token: FISHLOGY_PC_HOME_IMAGE_COVER_CARDS_V1
 * Scope:
 * - PC Home only.
 * - Changes latest-posts cards to smartphone-Home-like full-image cards.
 * - Title is overlaid on the image.
 * - Keeps Single, mobile, tablet, Category, and PHP untouched.
 * ========================================================= */
@media screen and (min-width: 1181px) {

  body.home .fishlogy-pc-only .wp-block-latest-posts,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts,
  body.home .fishlogy-pc-only .wp-block-latest-posts.is-grid,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts.is-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 28px 26px !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    box-sizing: border-box !important;
  }

  

  body.home .fishlogy-pc-only .wp-block-latest-posts > li,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li {
    position: relative !important;
    display: block !important;
    min-height: 430px !important;
    height: 430px !important;
    overflow: hidden !important;
    border: 1px solid rgba(18, 60, 74, 0.10) !important;
    border-radius: 28px !important;
    background: #123c4a !important;
    box-shadow: 0 20px 46px rgba(18, 60, 74, 0.14) !important;
    transition: transform 0.16s ease, box-shadow 0.16s ease !important;
  }

  

  body.home .fishlogy-pc-only .wp-block-latest-posts > li::before,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
    display: block !important;
    background:
      linear-gradient(
        180deg,
        rgba(18, 48, 71, 0.05) 0%,
        rgba(18, 48, 71, 0.18) 43%,
        rgba(7, 22, 31, 0.78) 100%
      ) !important;
    pointer-events: none !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts > li::after,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    display: block !important;
    background: rgba(18, 48, 71, 0.08) !important;
    pointer-events: none !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts__featured-image,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts__featured-image {
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    aspect-ratio: auto !important;
    overflow: hidden !important;
    background: #123c4a !important;
    box-sizing: border-box !important;
  }

  

  body.home .fishlogy-pc-only .wp-block-latest-posts__featured-image img,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts__featured-image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center center !important;
    transform: scale(1.01) !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts > li > a,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li > a {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 3 !important;
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 30px 70px !important;
    box-sizing: border-box !important;
    color: #fffaf0 !important;
    font-size: clamp(28px, 2.2vw, 42px) !important;
    font-weight: 800 !important;
    line-height: 1.22 !important;
    letter-spacing: 0.03em !important;
    text-align: left !important;
    text-decoration: none !important;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.38) !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts__post-date,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts__post-date {
    position: absolute !important;
    left: 30px !important;
    bottom: 30px !important;
    z-index: 3 !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    color: rgba(255, 250, 240, 0.76) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.4 !important;
    letter-spacing: 0.10em !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35) !important;
  }

  
}

@media screen and (min-width: 1480px) {
  body.home .fishlogy-pc-only .wp-block-latest-posts,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts,
  body.home .fishlogy-pc-only .wp-block-latest-posts.is-grid,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts.is-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

/* =========================================================
 * Fishlogy PC Home image-cover card readability fix
 * Check token: FISHLOGY_PC_HOME_IMAGE_COVER_GRADIENT_FIX_V2
 * Scope:
 * - PC Home latest-posts image cards only.
 * - Adds a stronger dark gradient over cards so white text reads clearly.
 * - Keeps card rounded.
 * - Re-locks PC Single article card rounded corners.
 * - PHP untouched.
 * ========================================================= */
@media screen and (min-width: 1181px) {

  body.home .fishlogy-pc-only .wp-block-latest-posts > li,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li {
    position: relative !important;
    overflow: hidden !important;
    border-radius: 28px !important;
    background:
      linear-gradient(180deg, rgba(18,48,71,0.35) 0%, rgba(7,22,31,0.92) 100%),
      #123c4a !important;
  }

  /* Strong readable overlay */
  body.home .fishlogy-pc-only .wp-block-latest-posts > li::before,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
    display: block !important;
    border-radius: 28px !important;
    background:
      linear-gradient(
        180deg,
        rgba(5, 15, 22, 0.08) 0%,
        rgba(5, 15, 22, 0.24) 34%,
        rgba(5, 15, 22, 0.68) 68%,
        rgba(5, 15, 22, 0.92) 100%
      ) !important;
    pointer-events: none !important;
  }

  /* Extra bottom shade for title/date area */
  body.home .fishlogy-pc-only .wp-block-latest-posts > li::after,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li::after {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 2 !important;
    display: block !important;
    height: 52% !important;
    border-radius: 0 0 28px 28px !important;
    background:
      linear-gradient(
        180deg,
        rgba(5, 15, 22, 0) 0%,
        rgba(5, 15, 22, 0.78) 62%,
        rgba(5, 15, 22, 0.96) 100%
      ) !important;
    pointer-events: none !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts__featured-image,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts__featured-image {
    border-radius: 28px !important;
    background: #123c4a !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts__featured-image img,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts__featured-image img {
    filter: saturate(0.96) contrast(1.03) brightness(0.88) !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts > li > a,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li > a {
    z-index: 4 !important;
    color: #fffaf0 !important;
    text-shadow:
      0 2px 8px rgba(0, 0, 0, 0.58),
      0 8px 24px rgba(0, 0, 0, 0.42) !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts__post-date,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts__post-date {
    z-index: 4 !important;
    color: rgba(255, 250, 240, 0.82) !important;
    text-shadow:
      0 2px 8px rgba(0, 0, 0, 0.56),
      0 6px 18px rgba(0, 0, 0, 0.38) !important;
  }
}

/* PC Single card rounded-corner lock */
@media screen and (min-width: 1181px) {
  body.single .article {
    border-radius: 22px !important;
    overflow: visible !important;
    background: #fffaf0 !important;
    box-shadow: 0 18px 46px rgba(18, 60, 74, 0.13) !important;
  }
}

/* =========================================================
 * Fishlogy PC Home full-image card position fix
 * Check token: FISHLOGY_PC_HOME_FULL_IMAGE_CARD_POSITION_FIX_V3
 * Scope:
 * - PC Home latest-posts cards only.
 * - Forces each card to behave as one full-image card.
 * - Image fills the whole card.
 * - Dark overlay covers the whole card.
 * - Title/date stay at the bottom.
 * - Re-locks PC Single article rounded corners.
 * - PHP untouched.
 * ========================================================= */
@media screen and (min-width: 1181px) {

  body.home .fishlogy-pc-only .wp-block-latest-posts > li,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li {
    position: relative !important;
    display: block !important;
    min-height: 430px !important;
    height: 430px !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 1px solid rgba(18, 60, 74, 0.10) !important;
    border-radius: 28px !important;
    background: #123c4a !important;
    box-shadow: 0 20px 46px rgba(18, 60, 74, 0.14) !important;
    box-sizing: border-box !important;
  }

  /* Image must fill the entire card, not only the top area */
  body.home .fishlogy-pc-only .wp-block-latest-posts > li .wp-block-latest-posts__featured-image,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li .wp-block-latest-posts__featured-image {
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    aspect-ratio: auto !important;
    overflow: hidden !important;
    border-radius: 28px !important;
    background: #123c4a !important;
    box-sizing: border-box !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts > li .wp-block-latest-posts__featured-image a,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li .wp-block-latest-posts__featured-image a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts > li .wp-block-latest-posts__featured-image img,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li .wp-block-latest-posts__featured-image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    object-fit: cover !important;
    object-position: center center !important;
    border-radius: 28px !important;
    transform: none !important;
    filter: saturate(0.98) contrast(1.04) brightness(0.88) !important;
  }

  /* Full-card readable dark overlay */
  body.home .fishlogy-pc-only .wp-block-latest-posts > li::before,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 28px !important;
    background:
      linear-gradient(
        180deg,
        rgba(5, 15, 22, 0.12) 0%,
        rgba(5, 15, 22, 0.20) 36%,
        rgba(5, 15, 22, 0.66) 68%,
        rgba(5, 15, 22, 0.94) 100%
      ) !important;
    pointer-events: none !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts > li::after,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li::after {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 2 !important;
    display: block !important;
    height: 58% !important;
    border-radius: 0 0 28px 28px !important;
    background:
      linear-gradient(
        180deg,
        rgba(5, 15, 22, 0) 0%,
        rgba(5, 15, 22, 0.74) 55%,
        rgba(5, 15, 22, 0.98) 100%
      ) !important;
    pointer-events: none !important;
  }

  /* Title fixed to bottom area */
  

  

  
}

/* PC Single rounded-corner lock */
@media screen and (min-width: 1181px) {
  body.single .article {
    border-radius: 22px !important;
    background: #fffaf0 !important;
    box-shadow: 0 18px 46px rgba(18, 60, 74, 0.13) !important;
  }

  body.single .article::before {
    border-radius: 22px !important;
  }
}

/* =========================================================
 * Fishlogy PC Home image color restore
 * Check token: FISHLOGY_PC_HOME_IMAGE_COLOR_RESTORE_V4
 * Scope:
 * - PC Home latest-posts image cards only.
 * - Restores original image colors.
 * - Removes strong full-card darkening and paper-color bleed.
 * - Keeps title/date readable with a bottom-only gradient.
 * - Re-locks PC Single rounded article card.
 * - PHP untouched.
 * ========================================================= */
@media screen and (min-width: 1181px) {

  body.home .fishlogy-pc-only .wp-block-latest-posts > li,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li,
  body.home .fishlogy-pc-only .wp-block-latest-posts > li:nth-child(n),
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li:nth-child(n) {
    position: relative !important;
    display: block !important;
    height: 430px !important;
    min-height: 430px !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 1px solid rgba(18, 60, 74, 0.10) !important;
    border-radius: 28px !important;
    background: #123c4a !important;
    box-shadow: 0 20px 46px rgba(18, 60, 74, 0.14) !important;
    box-sizing: border-box !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts__featured-image,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts__featured-image {
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    aspect-ratio: auto !important;
    overflow: hidden !important;
    border-radius: 28px !important;
    background: #123c4a !important;
    box-sizing: border-box !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts__featured-image a,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts__featured-image a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts__featured-image img,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts__featured-image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    object-fit: cover !important;
    object-position: center center !important;
    border-radius: 28px !important;
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
  }

  /* Remove strong full-card overlay. */
  body.home .fishlogy-pc-only .wp-block-latest-posts > li::before,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 28px !important;
    background:
      linear-gradient(
        180deg,
        rgba(5, 15, 22, 0.00) 0%,
        rgba(5, 15, 22, 0.04) 42%,
        rgba(5, 15, 22, 0.42) 72%,
        rgba(5, 15, 22, 0.78) 100%
      ) !important;
    pointer-events: none !important;
  }

  /* Bottom-only text readability layer. */
  body.home .fishlogy-pc-only .wp-block-latest-posts > li::after,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li::after {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 2 !important;
    display: block !important;
    height: 46% !important;
    border-radius: 0 0 28px 28px !important;
    background:
      linear-gradient(
        180deg,
        rgba(5, 15, 22, 0) 0%,
        rgba(5, 15, 22, 0.58) 58%,
        rgba(5, 15, 22, 0.86) 100%
      ) !important;
    pointer-events: none !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts > li > a:not(.wp-block-latest-posts__featured-image a),
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li > a:not(.wp-block-latest-posts__featured-image a) {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 64px !important;
    z-index: 4 !important;
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 30px !important;
    box-sizing: border-box !important;
    color: #fffaf0 !important;
    font-size: clamp(28px, 2.15vw, 40px) !important;
    font-weight: 800 !important;
    line-height: 1.20 !important;
    letter-spacing: 0.03em !important;
    text-align: left !important;
    text-decoration: none !important;
    text-shadow:
      0 2px 8px rgba(0, 0, 0, 0.66),
      0 8px 24px rgba(0, 0, 0, 0.48) !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts__post-date,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts__post-date {
    position: absolute !important;
    left: 30px !important;
    right: 30px !important;
    bottom: 30px !important;
    z-index: 4 !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    color: rgba(255, 250, 240, 0.82) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.4 !important;
    letter-spacing: 0.10em !important;
    text-shadow:
      0 2px 8px rgba(0, 0, 0, 0.62),
      0 6px 18px rgba(0, 0, 0, 0.44) !important;
  }

  
}

/* PC Single rounded-corner lock */
@media screen and (min-width: 1181px) {
  body.single .article {
    border-radius: 22px !important;
    background: #fffaf0 !important;
    box-shadow: 0 18px 46px rgba(18, 60, 74, 0.13) !important;
  }
}

/* =========================================================
 * Fishlogy PC final repair: Single rounded card + Home title size
 * Check token: FISHLOGY_PC_SINGLE_ROUND_HOME_TITLE_FIX_V1
 * Scope:
 * - PC Single article card only.
 * - PC Home latest-posts image-cover card title only.
 * - PHP untouched.
 * ========================================================= */

/* PC Single: rounded article card without clipping outside category tab */
@media screen and (min-width: 1181px) {
  body.single .article {
    position: relative !important;
    isolation: isolate !important;
    overflow: visible !important;
    border-radius: 24px !important;
    background: transparent !important;
    box-shadow: 0 18px 46px rgba(18, 60, 74, 0.13) !important;
  }

  body.single .article::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: -1 !important;
    display: block !important;
    border-radius: 24px !important;
    background: #fffaf0 !important;
    box-shadow: 0 18px 46px rgba(18, 60, 74, 0.13) !important;
    pointer-events: none !important;
  }

  body.single .entry-header,
  body.single .entry-content,
  body.single .article-footer,
  body.single .entry-footer {
    background: transparent !important;
  }

  body.single .article > .fishlogy-single-top-label,
  body.single .fishlogy-single-top-label {
    z-index: 10 !important;
  }
}

/* PC Home: image-cover article card, smaller title for 2-3 lines */
@media screen and (min-width: 1181px) {
  body.home .fishlogy-pc-only .wp-block-latest-posts > li > a:not(.wp-block-latest-posts__featured-image a),
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li > a:not(.wp-block-latest-posts__featured-image a) {
    bottom: 62px !important;
    padding: 0 26px !important;
    font-size: clamp(22px, 1.58vw, 30px) !important;
    line-height: 1.24 !important;
    letter-spacing: 0.02em !important;
    max-height: calc(1.24em * 3) !important;
    overflow: hidden !important;
    color: #fffaf0 !important;
    text-shadow:
      0 2px 8px rgba(0, 0, 0, 0.66),
      0 8px 24px rgba(0, 0, 0, 0.48) !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts__post-date,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts__post-date {
    left: 26px !important;
    right: 26px !important;
    bottom: 28px !important;
    font-size: 12px !important;
  }
}

@media screen and (min-width: 1181px) and (max-width: 1360px) {
  body.home .fishlogy-pc-only .wp-block-latest-posts > li > a:not(.wp-block-latest-posts__featured-image a),
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li > a:not(.wp-block-latest-posts__featured-image a) {
    font-size: clamp(20px, 1.75vw, 27px) !important;
  }
}

/* =========================================================
 * Fishlogy PC Home hard reset: real full-image cards
 * Check token: FISHLOGY_PC_HOME_REAL_FULL_IMAGE_HARD_RESET_V1
 * Scope:
 * - PC Home latest-posts cards only.
 * - Forces the WordPress Latest Posts structure into true full-image cards.
 * - Removes previous two-layer/top-thumbnail broken state.
 * - Re-locks PC Single article rounded card.
 * - PHP untouched.
 * ========================================================= */
@media screen and (min-width: 1181px) {

  body.home .fishlogy-pc-only .wp-block-latest-posts,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts,
  body.home .fishlogy-pc-only .wp-block-latest-posts.is-grid,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts.is-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 28px 26px !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    box-sizing: border-box !important;
  }

  

  body.home .fishlogy-pc-only .wp-block-latest-posts > li,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li,
  body.home .fishlogy-pc-only .wp-block-latest-posts > li:nth-child(n),
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li:nth-child(n) {
    position: relative !important;
    display: block !important;
    height: 430px !important;
    min-height: 430px !important;
    max-height: 430px !important;
    overflow: hidden !important;
    border: 1px solid rgba(18, 60, 74, 0.12) !important;
    border-radius: 28px !important;
    background: #123c4a !important;
    box-shadow: 0 20px 46px rgba(18, 60, 74, 0.14) !important;
    isolation: isolate !important;
    transform: none !important;
  }

  

  /* The featured image must be the full card background. */
  body.home .fishlogy-pc-only .wp-block-latest-posts > li > .wp-block-latest-posts__featured-image,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li > .wp-block-latest-posts__featured-image {
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    max-height: none !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    aspect-ratio: auto !important;
    overflow: hidden !important;
    border-radius: 28px !important;
    background: #123c4a !important;
    box-shadow: none !important;
    transform: none !important;
    box-sizing: border-box !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts > li > .wp-block-latest-posts__featured-image > a,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li > .wp-block-latest-posts__featured-image > a {
    position: static !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts > li > .wp-block-latest-posts__featured-image img,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li > .wp-block-latest-posts__featured-image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    max-height: none !important;
    min-height: 0 !important;
    object-fit: cover !important;
    object-position: center center !important;
    border-radius: 28px !important;
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
  }

  /* One full-card gradient only. No top black box. */
  body.home .fishlogy-pc-only .wp-block-latest-posts > li::before,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 28px !important;
    background:
      linear-gradient(
        180deg,
        rgba(5, 15, 22, 0.00) 0%,
        rgba(5, 15, 22, 0.06) 32%,
        rgba(5, 15, 22, 0.42) 66%,
        rgba(5, 15, 22, 0.88) 100%
      ) !important;
    pointer-events: none !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts > li::after,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li::after {
    content: none !important;
    display: none !important;
    background: none !important;
  }

  /* Title link. WP Latest Posts title link is .wp-block-latest-posts__post-title. */
  body.home .fishlogy-pc-only .wp-block-latest-posts > li > a.wp-block-latest-posts__post-title,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li > a.wp-block-latest-posts__post-title,
  body.home .fishlogy-pc-only .wp-block-latest-posts > li > a:not(:has(img)),
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li > a:not(:has(img)) {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 62px !important;
    z-index: 3 !important;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 26px !important;
    box-sizing: border-box !important;
    color: #fffaf0 !important;
    font-size: clamp(20px, 1.55vw, 30px) !important;
    font-weight: 800 !important;
    line-height: 1.24 !important;
    letter-spacing: 0.02em !important;
    text-align: left !important;
    text-decoration: none !important;
    text-shadow:
      0 2px 8px rgba(0, 0, 0, 0.70),
      0 8px 24px rgba(0, 0, 0, 0.52) !important;
    background: transparent !important;
    border: 0 !important;
    transform: none !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts__post-date,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts__post-date {
    position: absolute !important;
    left: 26px !important;
    right: 26px !important;
    bottom: 28px !important;
    z-index: 3 !important;
    display: block !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    color: rgba(255, 250, 240, 0.82) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.4 !important;
    letter-spacing: 0.10em !important;
    text-align: left !important;
    text-shadow:
      0 2px 8px rgba(0, 0, 0, 0.62),
      0 6px 18px rgba(0, 0, 0, 0.44) !important;
    background: transparent !important;
    border: 0 !important;
  }

  
}

@media screen and (min-width: 1181px) and (max-width: 1420px) {
  body.home .fishlogy-pc-only .wp-block-latest-posts,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts,
  body.home .fishlogy-pc-only .wp-block-latest-posts.is-grid,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts.is-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* PC Single rounded-corner hard lock */
@media screen and (min-width: 1181px) {
  body.single .article {
    position: relative !important;
    isolation: isolate !important;
    overflow: visible !important;
    border-radius: 24px !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body.single .article::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: -1 !important;
    display: block !important;
    border-radius: 24px !important;
    background: #fffaf0 !important;
    box-shadow: 0 18px 46px rgba(18, 60, 74, 0.13) !important;
    pointer-events: none !important;
  }

  body.single .entry-header,
  body.single .entry-content,
  body.single .article-footer,
  body.single .entry-footer {
    background: transparent !important;
  }
}

/* =========================================================
 * Fishlogy PC Home: Single-matched stable 3-column cards
 * Check token: FISHLOGY_PC_HOME_SINGLE_MATCHED_3COL_CARDS_V1
 * Scope:
 * - PC Home latest-posts cards only.
 * - Always 3 columns on desktop.
 * - Matches PC Single paper/card colors.
 * - Removes failed full-image overlay / black top-box state.
 * - PHP untouched.
 * ========================================================= */
@media screen and (min-width: 1181px) {

  body.home,
  body.page-id-11 {
    background: #f2eee8 !important;
  }

  body.home .fishlogy-pc-only,
  body.page-id-11 .fishlogy-pc-only {
    width: min(100%, 1420px) !important;
    max-width: 1420px !important;
    margin: 0 auto !important;
    padding: 0 0 72px !important;
    box-sizing: border-box !important;
  }

  body.home .fishlogy-pc-only .column-wrap,
  body.page-id-11 .fishlogy-pc-only .column-wrap {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 320px !important;
    gap: 34px !important;
    align-items: start !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  body.home .fishlogy-pc-only .column-left,
  body.page-id-11 .fishlogy-pc-only .column-left {
    min-width: 0 !important;
    width: 100% !important;
  }

  body.home .fishlogy-pc-only .column-right,
  body.page-id-11 .fishlogy-pc-only .column-right {
    width: 320px !important;
    max-width: 320px !important;
  }

  body.home .fishlogy-pc-only .wp-block-heading,
  body.page-id-11 .fishlogy-pc-only .wp-block-heading {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 168px !important;
    height: 46px !important;
    margin: 0 0 22px !important;
    padding: 0 26px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #c64f2e !important;
    color: #fffaf0 !important;
    box-shadow: 0 10px 22px rgba(18, 60, 74, 0.12) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: 0.15em !important;
    text-transform: uppercase !important;
  }

  

  

  body.home .fishlogy-pc-only .wp-block-latest-posts > li,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li,
  body.home .fishlogy-pc-only .wp-block-latest-posts > li:nth-child(n),
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li:nth-child(n) {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    min-height: 360px !important;
    max-height: none !important;
    overflow: hidden !important;
    border: 1px solid rgba(18, 60, 74, 0.10) !important;
    border-radius: 22px !important;
    background: #fffaf0 !important;
    box-shadow: 0 18px 40px rgba(18, 60, 74, 0.11) !important;
    isolation: auto !important;
    transform: none !important;
    transition: transform 0.16s ease, box-shadow 0.16s ease !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts > li:hover,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 24px 52px rgba(18, 60, 74, 0.15) !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts > li::before,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li::before,
  body.home .fishlogy-pc-only .wp-block-latest-posts > li::after,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li::after {
    content: none !important;
    display: none !important;
    background: none !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts__featured-image,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts__featured-image,
  body.home .fishlogy-pc-only .wp-block-latest-posts > li > .wp-block-latest-posts__featured-image,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li > .wp-block-latest-posts__featured-image {
    position: relative !important;
    inset: auto !important;
    z-index: auto !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    max-height: none !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    aspect-ratio: 16 / 10 !important;
    overflow: hidden !important;
    border-radius: 0 !important;
    background: rgba(242, 238, 232, 0.85) !important;
    box-shadow: none !important;
    transform: none !important;
    box-sizing: border-box !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts__featured-image a,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts__featured-image a {
    position: static !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts__featured-image img,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts__featured-image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    max-height: none !important;
    min-height: 0 !important;
    object-fit: cover !important;
    object-position: center center !important;
    border-radius: 0 !important;
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts > li > a,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li > a,
  body.home .fishlogy-pc-only .wp-block-latest-posts > li > a.wp-block-latest-posts__post-title,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li > a.wp-block-latest-posts__post-title {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    z-index: auto !important;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 18px 20px 8px !important;
    box-sizing: border-box !important;
    color: #123c4a !important;
    background: transparent !important;
    border: 0 !important;
    font-size: clamp(16px, 1.05vw, 20px) !important;
    font-weight: 800 !important;
    line-height: 1.45 !important;
    letter-spacing: 0.02em !important;
    text-align: left !important;
    text-decoration: none !important;
    text-shadow: none !important;
    transform: none !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts__post-date,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts__post-date {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    z-index: auto !important;
    display: block !important;
    width: auto !important;
    margin: auto 20px 20px !important;
    padding: 14px 0 0 !important;
    color: rgba(18, 60, 74, 0.56) !important;
    background: transparent !important;
    border: 0 !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 1.4 !important;
    letter-spacing: 0.08em !important;
    text-align: left !important;
    text-shadow: none !important;
  }

  

  body.home .fishlogy-pc-only .wp-block-categories,
  body.page-id-11 .fishlogy-pc-only .wp-block-categories {
    background: #f6e5b8 !important;
    border-radius: 0 !important;
  }

  body.home .fishlogy-pc-only .popular-list-box,
  body.page-id-11 .fishlogy-pc-only .popular-list-box {
    background: #f4d7c5 !important;
    border-radius: 0 !important;
  }
}

@media screen and (min-width: 1181px) and (max-width: 1420px) {
  
}

/* =========================================================
 * Fishlogy PC Home: 3-column card image full-width / no border
 * Check token: FISHLOGY_PC_HOME_3COL_IMAGE_FULL_NO_BORDER_V1
 * Scope:
 * - PC Home latest-posts cards only.
 * - Keeps 3 columns.
 * - Makes thumbnail fill the full card width.
 * - Removes gray card border to match Single article card tone.
 * - PHP untouched.
 * ========================================================= */
@media screen and (min-width: 1181px) {

  /* Keep Latest Articles as 3 columns */
  body.home .fishlogy-pc-only .wp-block-latest-posts,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts,
  body.home .fishlogy-pc-only .wp-block-latest-posts.is-grid,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts.is-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 26px 24px !important;
  }

  /* Match Single card: no gray outline */
  body.home .fishlogy-pc-only .wp-block-latest-posts > li,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li,
  body.home .fishlogy-pc-only .wp-block-latest-posts > li:nth-child(n),
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li:nth-child(n) {
    border: 0 !important;
    outline: 0 !important;
    border-radius: 22px !important;
    background: #fffaf0 !important;
    box-shadow: 0 18px 40px rgba(18, 60, 74, 0.11) !important;
    overflow: hidden !important;
  }

  /* Image area must be flush to the card edges */
  body.home .fishlogy-pc-only .wp-block-latest-posts__featured-image,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts__featured-image,
  body.home .fishlogy-pc-only .wp-block-latest-posts > li > .wp-block-latest-posts__featured-image,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li > .wp-block-latest-posts__featured-image {
    display: block !important;
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    aspect-ratio: 16 / 10 !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 22px 22px 0 0 !important;
    background: rgba(242, 238, 232, 0.85) !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts__featured-image a,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts__featured-image a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts__featured-image img,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts__featured-image img {
    display: block !important;
    width: 100% !important;
    min-width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center center !important;
    border: 0 !important;
    border-radius: 22px 22px 0 0 !important;
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
  }

  /* Text spacing after full-width image */
  body.home .fishlogy-pc-only .wp-block-latest-posts > li > a,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li > a,
  body.home .fishlogy-pc-only .wp-block-latest-posts > li > a.wp-block-latest-posts__post-title,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li > a.wp-block-latest-posts__post-title {
    padding: 18px 20px 8px !important;
    color: #123c4a !important;
    font-size: clamp(16px, 1.02vw, 19px) !important;
    line-height: 1.48 !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts__post-date,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts__post-date {
    margin: auto 20px 20px !important;
  }
}

@media screen and (min-width: 1181px) and (max-width: 1420px) {
  
}

/* =========================================================
 * Fishlogy PC Home: 3-column true full-cover image cards
 * Check token: FISHLOGY_PC_HOME_3COL_TRUE_FULL_COVER_CARDS_V2
 * Scope:
 * - PC Home latest-posts cards only.
 * - Keeps 3 columns.
 * - Makes each article card a full-cover image card.
 * - Title/date are overlaid on the image.
 * - Removes gray border and paper-color bleed.
 * - PHP untouched.
 * ========================================================= */
@media screen and (min-width: 1181px) {

  body.home .fishlogy-pc-only .wp-block-latest-posts,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts,
  body.home .fishlogy-pc-only .wp-block-latest-posts.is-grid,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts.is-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 26px 24px !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    box-sizing: border-box !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts > li,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li,
  body.home .fishlogy-pc-only .wp-block-latest-posts.is-grid > li,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts.is-grid > li,
  body.home .fishlogy-pc-only .wp-block-latest-posts.columns-2 > li,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts.columns-2 > li,
  body.home .fishlogy-pc-only .wp-block-latest-posts.columns-3 > li,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts.columns-3 > li,
  body.home .fishlogy-pc-only .wp-block-latest-posts.columns-4 > li,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts.columns-4 > li {
    float: none !important;
    clear: none !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  /* The card itself */
  body.home .fishlogy-pc-only .wp-block-latest-posts > li,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li,
  body.home .fishlogy-pc-only .wp-block-latest-posts > li:nth-child(n),
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li:nth-child(n) {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 430px !important;
    min-height: 430px !important;
    max-height: 430px !important;
    overflow: hidden !important;
    border: 0 !important;
    outline: 0 !important;
    border-radius: 28px !important;
    background: #123c4a !important;
    box-shadow: 0 20px 46px rgba(18, 60, 74, 0.14) !important;
    isolation: isolate !important;
    transform: none !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts > li:hover,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 28px 58px rgba(18, 60, 74, 0.18) !important;
  }

  /* Featured image becomes the full card background */
  body.home .fishlogy-pc-only .wp-block-latest-posts > li .wp-block-latest-posts__featured-image,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li .wp-block-latest-posts__featured-image {
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    min-width: 100% !important;
    max-height: none !important;
    min-height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    aspect-ratio: auto !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 28px !important;
    background: #123c4a !important;
    box-shadow: none !important;
    transform: none !important;
    box-sizing: border-box !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts > li .wp-block-latest-posts__featured-image a,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li .wp-block-latest-posts__featured-image a {
    display: block !important;
    position: static !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts > li .wp-block-latest-posts__featured-image img,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li .wp-block-latest-posts__featured-image img {
    display: block !important;
    width: 100% !important;
    min-width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center center !important;
    border: 0 !important;
    border-radius: 28px !important;
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
  }

  /* One clean dark gradient over the whole card */
  body.home .fishlogy-pc-only .wp-block-latest-posts > li::before,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 28px !important;
    background:
      linear-gradient(
        180deg,
        rgba(5, 15, 22, 0.03) 0%,
        rgba(5, 15, 22, 0.08) 34%,
        rgba(5, 15, 22, 0.44) 68%,
        rgba(5, 15, 22, 0.86) 100%
      ) !important;
    pointer-events: none !important;
  }

  

  /* Title link: overlay. Exclude the image link. */
  body.home .fishlogy-pc-only .wp-block-latest-posts > li > a:not(:has(img)),
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li > a:not(:has(img)),
  body.home .fishlogy-pc-only .wp-block-latest-posts > li > a.wp-block-latest-posts__post-title,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li > a.wp-block-latest-posts__post-title {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 62px !important;
    z-index: 3 !important;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 26px !important;
    box-sizing: border-box !important;
    color: #fffaf0 !important;
    background: transparent !important;
    border: 0 !important;
    font-size: clamp(19px, 1.42vw, 28px) !important;
    font-weight: 800 !important;
    line-height: 1.24 !important;
    letter-spacing: 0.02em !important;
    text-align: left !important;
    text-decoration: none !important;
    text-shadow:
      0 2px 8px rgba(0, 0, 0, 0.66),
      0 8px 24px rgba(0, 0, 0, 0.50) !important;
    transform: none !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts__post-date,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts__post-date {
    position: absolute !important;
    left: 26px !important;
    right: 26px !important;
    bottom: 28px !important;
    z-index: 3 !important;
    display: block !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    color: rgba(255, 250, 240, 0.84) !important;
    background: transparent !important;
    border: 0 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.4 !important;
    letter-spacing: 0.10em !important;
    text-align: left !important;
    text-shadow:
      0 2px 8px rgba(0, 0, 0, 0.60),
      0 6px 18px rgba(0, 0, 0, 0.42) !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts__post-date::after,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts__post-date::after {
    content: " / FISHLOGY" !important;
  }
}

/* Keep 3 columns at normal PC sizes */
@media screen and (min-width: 1181px) and (max-width: 1420px) {
  body.home .fishlogy-pc-only .wp-block-latest-posts,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts,
  body.home .fishlogy-pc-only .wp-block-latest-posts.is-grid,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts.is-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

/* =========================================================
 * Fishlogy PC Home: full-card clickable latest-post cards
 * Check token: FISHLOGY_PC_HOME_FULL_CARD_CLICKABLE_V1
 * Scope:
 * - PC Home latest-posts cards only.
 * - Makes the whole article card clickable via the post title link.
 * - Date remains visible but does not block clicks.
 * - PHP untouched.
 * ========================================================= */
@media screen and (min-width: 1181px) {

  

  /* Image link stays behind the full-card title link. */
  body.home .fishlogy-pc-only .wp-block-latest-posts > li .wp-block-latest-posts__featured-image,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li .wp-block-latest-posts__featured-image,
  body.home .fishlogy-pc-only .wp-block-latest-posts > li .wp-block-latest-posts__featured-image a,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li .wp-block-latest-posts__featured-image a {
    z-index: 0 !important;
  }

  /* The title link becomes the full-card click layer. */
  body.home .fishlogy-pc-only .wp-block-latest-posts > li > a.wp-block-latest-posts__post-title,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li > a.wp-block-latest-posts__post-title,
  body.home .fishlogy-pc-only .wp-block-latest-posts > li > a:not(:has(img)),
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li > a:not(:has(img)) {
    position: absolute !important;
    inset: 0 !important;
    z-index: 6 !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: flex-start !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 26px 62px !important;
    box-sizing: border-box !important;
    color: #fffaf0 !important;
    background: transparent !important;
    border: 0 !important;
    font-size: clamp(19px, 1.42vw, 28px) !important;
    font-weight: 800 !important;
    line-height: 1.24 !important;
    letter-spacing: 0.02em !important;
    text-align: left !important;
    text-decoration: none !important;
    text-shadow:
      0 2px 8px rgba(0, 0, 0, 0.66),
      0 8px 24px rgba(0, 0, 0, 0.50) !important;
  }

  /* Date is visual only, so clicks pass through to the full-card link. */
  body.home .fishlogy-pc-only .wp-block-latest-posts__post-date,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts__post-date {
    z-index: 7 !important;
    pointer-events: none !important;
  }

  /* Overlay remains behind the click layer. */
  body.home .fishlogy-pc-only .wp-block-latest-posts > li::before,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li::before {
    z-index: 1 !important;
    pointer-events: none !important;
  }
}

/* =========================================================
 * Fishlogy PC Home: clickable full-card title position fix
 * Check token: FISHLOGY_PC_HOME_CLICKABLE_TITLE_BOTTOM_FIX_V1
 * Scope:
 * - PC Home latest-posts cards only.
 * - Keeps the whole card clickable.
 * - Moves title/date back to the bottom.
 * - Prevents the title link from stretching text to the top.
 * - PHP untouched.
 * ========================================================= */
@media screen and (min-width: 1181px) {

  body.home .fishlogy-pc-only .wp-block-latest-posts > li,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li {
    cursor: pointer !important;
  }

  /* Use the featured-image link as the full-card click layer. */
  body.home .fishlogy-pc-only .wp-block-latest-posts > li .wp-block-latest-posts__featured-image,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li .wp-block-latest-posts__featured-image {
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
    width: 100% !important;
    height: 100% !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts > li .wp-block-latest-posts__featured-image a,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li .wp-block-latest-posts__featured-image a {
    position: absolute !important;
    inset: 0 !important;
    z-index: 5 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
  }

  /* Overlay stays visible but never blocks clicks. */
  

  /* Title returns to visual bottom position instead of becoming a full-card flex layer. */
  body.home .fishlogy-pc-only .wp-block-latest-posts > li > a.wp-block-latest-posts__post-title,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li > a.wp-block-latest-posts__post-title,
  body.home .fishlogy-pc-only .wp-block-latest-posts > li > a:not(:has(img)),
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li > a:not(:has(img)) {
    position: absolute !important;
    inset: auto 0 62px 0 !important;
    z-index: 7 !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 26px !important;
    box-sizing: border-box !important;
    color: #fffaf0 !important;
    background: transparent !important;
    border: 0 !important;
    font-size: clamp(19px, 1.42vw, 28px) !important;
    font-weight: 800 !important;
    line-height: 1.24 !important;
    letter-spacing: 0.02em !important;
    text-align: left !important;
    text-decoration: none !important;
    text-shadow:
      0 2px 8px rgba(0, 0, 0, 0.66),
      0 8px 24px rgba(0, 0, 0, 0.50) !important;
    transform: none !important;
    pointer-events: none !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts__post-date,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts__post-date {
    position: absolute !important;
    left: 26px !important;
    right: 26px !important;
    bottom: 28px !important;
    z-index: 7 !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    color: rgba(255, 250, 240, 0.84) !important;
    background: transparent !important;
    border: 0 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.4 !important;
    letter-spacing: 0.10em !important;
    text-align: left !important;
    text-shadow:
      0 2px 8px rgba(0, 0, 0, 0.60),
      0 6px 18px rgba(0, 0, 0, 0.42) !important;
    pointer-events: none !important;
  }
}

/* =========================================================
 * Fishlogy PC Home: full-card click layer final fix
 * Check token: FISHLOGY_PC_HOME_FULL_CARD_CLICK_LAYER_FIX_V2
 * Scope:
 * - PC Home latest-posts cards only.
 * - Makes the image permalink cover the whole card.
 * - Title/date remain visible at the bottom and do not block clicks.
 * - PHP untouched.
 * ========================================================= */
@media screen and (min-width: 1181px) {

  

  /* Featured image wrapper is both background holder and full-card click holder. */
  body.home .fishlogy-pc-only .wp-block-latest-posts > li .wp-block-latest-posts__featured-image,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li .wp-block-latest-posts__featured-image {
    position: absolute !important;
    inset: 0 !important;
    z-index: 5 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: 28px !important;
    pointer-events: auto !important;
  }

  /* This anchor becomes the real full-card clickable layer. */
  body.home .fishlogy-pc-only .wp-block-latest-posts > li .wp-block-latest-posts__featured-image > a,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li .wp-block-latest-posts__featured-image > a {
    position: absolute !important;
    inset: 0 !important;
    z-index: 8 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    text-indent: -9999px !important;
    overflow: hidden !important;
    pointer-events: auto !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts > li .wp-block-latest-posts__featured-image img,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li .wp-block-latest-posts__featured-image img {
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center center !important;
    border-radius: 28px !important;
    pointer-events: none !important;
  }

  /* Gradient overlay must never steal clicks. */
  body.home .fishlogy-pc-only .wp-block-latest-posts > li::before,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li::before,
  body.home .fishlogy-pc-only .wp-block-latest-posts > li::after,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li::after {
    pointer-events: none !important;
  }

  /* Title is visual only; click goes through to full-card image link. */
  body.home .fishlogy-pc-only .wp-block-latest-posts > li > a.wp-block-latest-posts__post-title,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li > a.wp-block-latest-posts__post-title,
  body.home .fishlogy-pc-only .wp-block-latest-posts > li > a:not(:has(img)),
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li > a:not(:has(img)) {
    position: absolute !important;
    inset: auto 0 62px 0 !important;
    z-index: 12 !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 26px !important;
    box-sizing: border-box !important;
    color: #fffaf0 !important;
    background: transparent !important;
    border: 0 !important;
    font-size: clamp(19px, 1.42vw, 28px) !important;
    font-weight: 800 !important;
    line-height: 1.24 !important;
    letter-spacing: 0.02em !important;
    text-align: left !important;
    text-decoration: none !important;
    text-shadow:
      0 2px 8px rgba(0, 0, 0, 0.66),
      0 8px 24px rgba(0, 0, 0, 0.50) !important;
    pointer-events: none !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts__post-date,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts__post-date {
    z-index: 12 !important;
    pointer-events: none !important;
  }
}

/* =========================================================
 * Fishlogy PC Home: full-cover card click/date final repair
 * Check token: FISHLOGY_PC_HOME_FULL_COVER_CLICK_DATE_FINAL_V3
 * Scope:
 * - PC Home latest-posts cards only.
 * - Keeps 3 columns.
 * - Keeps full-cover image card.
 * - Makes whole card clickable through the thumbnail permalink.
 * - Restores title position/visibility.
 * - Shows only the date; removes " / FISHLOGY".
 * - PHP untouched.
 * ========================================================= */
@media screen and (min-width: 1181px) {

  body.home .fishlogy-pc-only .wp-block-latest-posts,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts,
  body.home .fishlogy-pc-only .wp-block-latest-posts.is-grid,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts.is-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 26px 24px !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts > li,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li {
    position: relative !important;
    display: block !important;
    height: 430px !important;
    min-height: 430px !important;
    max-height: 430px !important;
    overflow: hidden !important;
    border: 0 !important;
    outline: 0 !important;
    border-radius: 28px !important;
    background: #123c4a !important;
    box-shadow: 0 20px 46px rgba(18, 60, 74, 0.14) !important;
    cursor: pointer !important;
    isolation: isolate !important;
  }

  /* Image wrapper fills the card. */
  body.home .fishlogy-pc-only .wp-block-latest-posts > li .wp-block-latest-posts__featured-image,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li .wp-block-latest-posts__featured-image {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    min-width: 100% !important;
    max-height: none !important;
    min-height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    aspect-ratio: auto !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 28px !important;
    background: #123c4a !important;
    box-shadow: none !important;
    transform: none !important;
    box-sizing: border-box !important;
    pointer-events: auto !important;
  }

  /* This existing image permalink becomes the full-card click layer. */
  body.home .fishlogy-pc-only .wp-block-latest-posts > li .wp-block-latest-posts__featured-image > a,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li .wp-block-latest-posts__featured-image > a {
    position: absolute !important;
    inset: 0 !important;
    z-index: 6 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;
    text-decoration: none !important;
    pointer-events: auto !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts > li .wp-block-latest-posts__featured-image img,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li .wp-block-latest-posts__featured-image img {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    display: block !important;
    width: 100% !important;
    min-width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center center !important;
    border: 0 !important;
    border-radius: 28px !important;
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
    pointer-events: none !important;
  }

  /* Readability gradient sits above image, below text, and never blocks clicks. */
  body.home .fishlogy-pc-only .wp-block-latest-posts > li::before,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 7 !important;
    display: block !important;
    border-radius: 28px !important;
    background:
      linear-gradient(
        180deg,
        rgba(5, 15, 22, 0.02) 0%,
        rgba(5, 15, 22, 0.08) 34%,
        rgba(5, 15, 22, 0.42) 68%,
        rgba(5, 15, 22, 0.86) 100%
      ) !important;
    pointer-events: none !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts > li::after,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li::after {
    content: none !important;
    display: none !important;
  }

  /* Title is visual only; click passes to full-card image link below. */
  body.home .fishlogy-pc-only .wp-block-latest-posts > li > a.wp-block-latest-posts__post-title,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li > a.wp-block-latest-posts__post-title {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 58px !important;
    z-index: 10 !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 26px !important;
    box-sizing: border-box !important;
    color: #fffaf0 !important;
    background: transparent !important;
    border: 0 !important;
    font-size: clamp(19px, 1.42vw, 28px) !important;
    font-weight: 800 !important;
    line-height: 1.24 !important;
    letter-spacing: 0.02em !important;
    text-align: left !important;
    text-decoration: none !important;
    text-shadow:
      0 2px 8px rgba(0, 0, 0, 0.66),
      0 8px 24px rgba(0, 0, 0, 0.50) !important;
    pointer-events: none !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts__post-date,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts__post-date {
    position: absolute !important;
    left: 26px !important;
    right: 26px !important;
    bottom: 28px !important;
    z-index: 10 !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    color: rgba(255, 250, 240, 0.84) !important;
    background: transparent !important;
    border: 0 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.4 !important;
    letter-spacing: 0.10em !important;
    text-align: left !important;
    text-shadow:
      0 2px 8px rgba(0, 0, 0, 0.60),
      0 6px 18px rgba(0, 0, 0, 0.42) !important;
    pointer-events: none !important;
  }

  /* Date only. Remove the added site name. */
  
}

/* =========================================================
 * Fishlogy PC Home: clickable cards and category links repair
 * Check token: FISHLOGY_PC_HOME_CLICKABLE_CARD_CATEGORY_REPAIR_V4
 * Scope:
 * - PC Home latest-posts cards.
 * - PC Home category note links.
 * - Uses the post title permalink as the real full-card click layer.
 * - Category links are restored to pointer-enabled clickable links.
 * - PHP untouched.
 * ========================================================= */
@media screen and (min-width: 1181px) {

  body.home .fishlogy-pc-only .wp-block-latest-posts > li,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li {
    position: relative !important;
    cursor: pointer !important;
  }

  /* Image is visual only. */
  body.home .fishlogy-pc-only .wp-block-latest-posts > li .wp-block-latest-posts__featured-image,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li .wp-block-latest-posts__featured-image,
  body.home .fishlogy-pc-only .wp-block-latest-posts > li .wp-block-latest-posts__featured-image a,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li .wp-block-latest-posts__featured-image a,
  body.home .fishlogy-pc-only .wp-block-latest-posts > li .wp-block-latest-posts__featured-image img,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li .wp-block-latest-posts__featured-image img {
    pointer-events: none !important;
  }

  /* Real full-card click layer: the post-title permalink. */
  body.home .fishlogy-pc-only .wp-block-latest-posts > li > a.wp-block-latest-posts__post-title,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li > a.wp-block-latest-posts__post-title {
    position: absolute !important;
    inset: 0 !important;
    z-index: 30 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    align-items: flex-start !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 26px 62px !important;
    box-sizing: border-box !important;
    color: #fffaf0 !important;
    background: transparent !important;
    border: 0 !important;
    font-size: clamp(19px, 1.42vw, 28px) !important;
    font-weight: 800 !important;
    line-height: 1.24 !important;
    letter-spacing: 0.02em !important;
    text-align: left !important;
    text-decoration: none !important;
    text-shadow:
      0 2px 8px rgba(0, 0, 0, 0.66),
      0 8px 24px rgba(0, 0, 0, 0.50) !important;
    pointer-events: auto !important;
  }

  /* Gradient/date should never block the full-card link. */
  body.home .fishlogy-pc-only .wp-block-latest-posts > li::before,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li::before,
  body.home .fishlogy-pc-only .wp-block-latest-posts > li::after,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li::after,
  body.home .fishlogy-pc-only .wp-block-latest-posts__post-date,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts__post-date {
    pointer-events: none !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts__post-date,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts__post-date {
    z-index: 40 !important;
  }

  

  /* Category note links must be clickable. */
  body.home .fishlogy-pc-only .wp-block-categories,
  body.page-id-11 .fishlogy-pc-only .wp-block-categories,
  body.home .fishlogy-pc-only .wp-block-categories li,
  body.page-id-11 .fishlogy-pc-only .wp-block-categories li {
    position: relative !important;
    z-index: 50 !important;
    pointer-events: auto !important;
  }

  body.home .fishlogy-pc-only .wp-block-categories a,
  body.page-id-11 .fishlogy-pc-only .wp-block-categories a {
    position: relative !important;
    z-index: 60 !important;
    display: block !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    text-decoration: none !important;
  }
}

/* =========================================================
 * Fishlogy PC Home: card/category click final repair
 * Check token: FISHLOGY_PC_HOME_CARD_CATEGORY_CLICK_FINAL_V5
 * Scope:
 * - PC Home latest-posts cards only.
 * - PC Home category note links only.
 * - Uses the post title permalink as the full-card link.
 * - Keeps title visually at the bottom.
 * - Restores category links.
 * - PHP untouched.
 * ========================================================= */
@media screen and (min-width: 1181px) {

  

  body.home .fishlogy-pc-only .column-left,
  body.page-id-11 .fishlogy-pc-only .column-left {
    position: relative !important;
    z-index: 1 !important;
  }

  body.home .fishlogy-pc-only .column-right,
  body.page-id-11 .fishlogy-pc-only .column-right {
    position: relative !important;
    z-index: 100 !important;
    pointer-events: auto !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts > li,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li {
    position: relative !important;
    z-index: 1 !important;
    cursor: pointer !important;
    overflow: hidden !important;
    border-radius: 28px !important;
  }

  /* Image is visual background only. */
  body.home .fishlogy-pc-only .wp-block-latest-posts > li .wp-block-latest-posts__featured-image,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li .wp-block-latest-posts__featured-image {
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
    width: 100% !important;
    height: 100% !important;
    pointer-events: none !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts > li .wp-block-latest-posts__featured-image a,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li .wp-block-latest-posts__featured-image a,
  body.home .fishlogy-pc-only .wp-block-latest-posts > li .wp-block-latest-posts__featured-image img,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li .wp-block-latest-posts__featured-image img {
    pointer-events: none !important;
  }

  /* Gradient is visual only. */
  body.home .fishlogy-pc-only .wp-block-latest-posts > li::before,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li::before {
    z-index: 2 !important;
    pointer-events: none !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts > li::after,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li::after {
    content: none !important;
    display: none !important;
    pointer-events: none !important;
  }

  /*
   * This is the real click layer.
   * It is the actual post-title permalink, expanded across the full card.
   * The text stays at the bottom by flex alignment.
   */
  body.home .fishlogy-pc-only .wp-block-latest-posts > li > a.wp-block-latest-posts__post-title,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li > a.wp-block-latest-posts__post-title {
    position: absolute !important;
    inset: 0 !important;
    z-index: 20 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    align-items: flex-start !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 26px 62px !important;
    box-sizing: border-box !important;
    color: #fffaf0 !important;
    background: transparent !important;
    border: 0 !important;
    font-size: clamp(19px, 1.42vw, 28px) !important;
    font-weight: 800 !important;
    line-height: 1.24 !important;
    letter-spacing: 0.02em !important;
    text-align: left !important;
    text-decoration: none !important;
    text-shadow:
      0 2px 8px rgba(0, 0, 0, 0.66),
      0 8px 24px rgba(0, 0, 0, 0.50) !important;
    pointer-events: auto !important;
    cursor: pointer !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts__post-date,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts__post-date {
    position: absolute !important;
    left: 26px !important;
    right: 26px !important;
    bottom: 28px !important;
    z-index: 30 !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    color: rgba(255, 250, 240, 0.84) !important;
    background: transparent !important;
    border: 0 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.4 !important;
    letter-spacing: 0.10em !important;
    text-align: left !important;
    text-shadow:
      0 2px 8px rgba(0, 0, 0, 0.60),
      0 6px 18px rgba(0, 0, 0, 0.42) !important;
    pointer-events: none !important;
  }

  

  /* Category links: force clickable and above any left-column layer. */
  body.home .fishlogy-pc-only .column-right .wp-block-categories,
  body.page-id-11 .fishlogy-pc-only .column-right .wp-block-categories,
  body.home .fishlogy-pc-only .column-right .wp-block-categories li,
  body.page-id-11 .fishlogy-pc-only .column-right .wp-block-categories li {
    position: relative !important;
    z-index: 110 !important;
    pointer-events: auto !important;
  }

  body.home .fishlogy-pc-only .column-right .wp-block-categories a,
  body.page-id-11 .fishlogy-pc-only .column-right .wp-block-categories a {
    position: relative !important;
    z-index: 120 !important;
    display: block !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    text-decoration: none !important;
  }
}

/* =========================================================
 * Fishlogy PC Home: measured clickable repair
 * Check token: FISHLOGY_PC_HOME_MEASURED_CLICK_REPAIR_V6
 * Based on console:
 * - .wp-block-latest-posts__post-title existed.
 * - It was only w=339 h=88 z=4.
 * - It must be forced to full card size.
 * - Category links have href/pe:auto, so lift right column above overlays.
 * PHP untouched.
 * ========================================================= */
@media screen and (min-width: 1181px) {

  body.home .fishlogy-pc-only .column-wrap,
  body.page-id-11 .fishlogy-pc-only .column-wrap {
    position: relative !important;
    overflow: visible !important;
  }

  body.home .fishlogy-pc-only .column-left,
  body.page-id-11 .fishlogy-pc-only .column-left {
    position: relative !important;
    z-index: 1 !important;
    isolation: isolate !important;
  }

  body.home .fishlogy-pc-only .column-right,
  body.page-id-11 .fishlogy-pc-only .column-right {
    position: relative !important;
    z-index: 9999 !important;
    isolation: isolate !important;
    pointer-events: auto !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts > li,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li {
    position: relative !important;
    z-index: 1 !important;
    isolation: isolate !important;
    cursor: pointer !important;
    overflow: hidden !important;
  }

  /* Image and overlays are visual only. */
  body.home .fishlogy-pc-only .wp-block-latest-posts > li .wp-block-latest-posts__featured-image,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li .wp-block-latest-posts__featured-image,
  body.home .fishlogy-pc-only .wp-block-latest-posts > li .wp-block-latest-posts__featured-image *,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li .wp-block-latest-posts__featured-image *,
  body.home .fishlogy-pc-only .wp-block-latest-posts > li::before,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li::before,
  body.home .fishlogy-pc-only .wp-block-latest-posts > li::after,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li::after,
  body.home .fishlogy-pc-only .wp-block-latest-posts__post-date,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts__post-date {
    pointer-events: none !important;
  }

  /*
   * Actual measured link:
   * A.wp-block-latest-posts__post-title
   * Force it to cover the full card.
   */
  body.home .fishlogy-pc-only ul.wp-block-latest-posts > li > a.wp-block-latest-posts__post-title,
  body.page-id-11 .fishlogy-pc-only ul.wp-block-latest-posts > li > a.wp-block-latest-posts__post-title,
  body.home .fishlogy-pc-only .wp-block-latest-posts > li > a.wp-block-latest-posts__post-title,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li > a.wp-block-latest-posts__post-title {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    inset: 0 !important;
    z-index: 999 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    align-items: flex-start !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    min-width: 100% !important;
    min-height: 100% !important;
    margin: 0 !important;
    padding: 0 26px 62px !important;
    box-sizing: border-box !important;
    color: #fffaf0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 28px !important;
    font-size: clamp(19px, 1.42vw, 28px) !important;
    font-weight: 800 !important;
    line-height: 1.24 !important;
    letter-spacing: 0.02em !important;
    text-align: left !important;
    text-decoration: none !important;
    text-shadow:
      0 2px 8px rgba(0, 0, 0, 0.66),
      0 8px 24px rgba(0, 0, 0, 0.50) !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    cursor: pointer !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts__post-date,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts__post-date {
    z-index: 1000 !important;
    pointer-events: none !important;
  }

  

  /* Category block must sit above the article-card column and receive clicks. */
  body.home .fishlogy-pc-only .column-right *,
  body.page-id-11 .fishlogy-pc-only .column-right * {
    pointer-events: auto !important;
  }

  body.home .fishlogy-pc-only .column-right .wp-block-categories,
  body.page-id-11 .fishlogy-pc-only .column-right .wp-block-categories {
    position: relative !important;
    z-index: 10000 !important;
    pointer-events: auto !important;
  }

  body.home .fishlogy-pc-only .column-right .wp-block-categories li,
  body.page-id-11 .fishlogy-pc-only .column-right .wp-block-categories li,
  body.home .fishlogy-pc-only .column-right .wp-block-categories a,
  body.page-id-11 .fishlogy-pc-only .column-right .wp-block-categories a {
    position: relative !important;
    z-index: 10001 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
  }
}

/* =========================================================
 * Fishlogy PC Home: remove red overlay / restore image color
 * Check token: FISHLOGY_PC_HOME_REMOVE_RED_OVERLAY_RESTORE_IMAGE_V7
 * Based on console:
 * - card::before was rgba(198, 79, 46, 0.42), causing red/brown cast.
 * - Some cards have no img; image cards must show natural colors.
 * Scope:
 * - PC Home latest-posts cards only.
 * - Keeps 3 columns and full-card click behavior.
 * - Removes red overlays and paper-color bleed.
 * - Uses neutral black gradient only for readability.
 * - PHP untouched.
 * ========================================================= */
@media screen and (min-width: 1181px) {

  body.home .fishlogy-pc-only .wp-block-latest-posts > li,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li,
  body.home .fishlogy-pc-only .wp-block-latest-posts > li:nth-child(n),
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li:nth-child(n) {
    background: #123c4a !important;
    background-color: #123c4a !important;
    background-image: none !important;
    filter: none !important;
    opacity: 1 !important;
    mix-blend-mode: normal !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts > li .wp-block-latest-posts__featured-image,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li .wp-block-latest-posts__featured-image,
  body.home .fishlogy-pc-only .wp-block-latest-posts > li .wp-block-latest-posts__featured-image a,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li .wp-block-latest-posts__featured-image a,
  body.home .fishlogy-pc-only .wp-block-latest-posts > li .wp-block-latest-posts__featured-image img,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li .wp-block-latest-posts__featured-image img {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    filter: none !important;
    opacity: 1 !important;
    mix-blend-mode: normal !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts > li .wp-block-latest-posts__featured-image img,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li .wp-block-latest-posts__featured-image img {
    object-fit: cover !important;
    object-position: center center !important;
  }

  /*
   * IMPORTANT:
   * Old CSS used red/orange ::before backgrounds.
   * Replace them with ONE neutral black gradient.
   */
  body.home .fishlogy-pc-only .wp-block-latest-posts > li::before,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li::before,
  body.home .fishlogy-pc-only .wp-block-latest-posts > li:nth-child(n)::before,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li:nth-child(n)::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 28px !important;
    background-color: transparent !important;
    background-image:
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.00) 0%,
        rgba(0, 0, 0, 0.00) 42%,
        rgba(0, 0, 0, 0.24) 72%,
        rgba(0, 0, 0, 0.62) 100%
      ) !important;
    opacity: 1 !important;
    filter: none !important;
    mix-blend-mode: normal !important;
    pointer-events: none !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts > li::after,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li::after,
  body.home .fishlogy-pc-only .wp-block-latest-posts > li:nth-child(n)::after,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li:nth-child(n)::after {
    content: none !important;
    display: none !important;
    background: none !important;
    background-color: transparent !important;
    background-image: none !important;
    filter: none !important;
    opacity: 1 !important;
    mix-blend-mode: normal !important;
    pointer-events: none !important;
  }

  /* Keep full-card click layer above image/gradient. */
  body.home .fishlogy-pc-only ul.wp-block-latest-posts > li > a.wp-block-latest-posts__post-title,
  body.page-id-11 .fishlogy-pc-only ul.wp-block-latest-posts > li > a.wp-block-latest-posts__post-title,
  body.home .fishlogy-pc-only .wp-block-latest-posts > li > a.wp-block-latest-posts__post-title,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li > a.wp-block-latest-posts__post-title {
    z-index: 999 !important;
    color: #fffaf0 !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    filter: none !important;
    opacity: 1 !important;
    mix-blend-mode: normal !important;
    pointer-events: auto !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts__post-date,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts__post-date {
    z-index: 1000 !important;
    color: rgba(255, 250, 240, 0.84) !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    filter: none !important;
    opacity: 1 !important;
    mix-blend-mode: normal !important;
    pointer-events: none !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts__post-date::after,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts__post-date::after {
    content: "" !important;
    display: none !important;
  }
}

/* =========================================================
 * Fishlogy Mobile Single: eyecatch aligns to title only
 * Check token: FISHLOGY_MOBILE_SINGLE_EYECATCH_ALIGN_TO_TITLE_ONLY_V4
 * Scope:
 * - Mobile Single article pages only.
 * - The title is NOT moved.
 * - Eyecatch uses the same horizontal inset as entry-header/title.
 * - Left/right margins are equal.
 * - Image remains centered inside its frame via object-position:center.
 * - PC/Home/Category/PHP untouched.
 * ========================================================= */
@media screen and (max-width: 768px) {

  /*
   * IMPORTANT:
   * Do not move .entry-title in this patch.
   * The title position remains controlled by the existing entry-header padding.
   */

  body.single .eye-catch-wrap,
  body.single .eye-catch {
    order: 2 !important;
    flex: 0 0 auto !important;
    align-self: auto !important;
    position: relative !important;
    display: block !important;

    /*
     * Match the title's visual left/right edge.
     * In the current mobile layout, title is inside .entry-header with 22px horizontal padding.
     */
    width: calc(100% - 44px) !important;
    max-width: calc(100% - 44px) !important;
    min-width: 0 !important;
    margin-left: 22px !important;
    margin-right: 22px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;

    height: clamp(390px, 56dvh, 610px) !important;
    min-height: clamp(390px, 56dvh, 610px) !important;
    max-height: none !important;

    border-radius: 0 !important;
    overflow: hidden !important;
    background: #fffaf0 !important;
    box-sizing: border-box !important;
    clear: both !important;
    float: none !important;
    transform: translate3d(0,0,0) !important;
  }

  body.single .eye-catch-wrap .eye-catch {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    margin: 0 !important;
  }

  body.single .eye-catch a,
  body.single .eye-catch-wrap a,
  body.single .eye-catch picture,
  body.single .eye-catch-wrap picture {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    min-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.single .eye-catch img,
  body.single .eye-catch-wrap img,
  body.single .eye-catch .wp-post-image,
  body.single .eye-catch-wrap .wp-post-image,
  body.single img.eye-catch-image,
  body.single img.wp-post-image.eye-catch-image {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    min-height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    object-fit: cover !important;
    object-position: center center !important;
    background: #fffaf0 !important;
    transform: translate3d(0,0,0) !important;
  }
}

/* =========================================================
 * Fishlogy Mobile Single: eyecatch exact title width fix
 * Check token: FISHLOGY_MOBILE_SINGLE_EYECATCH_EXACT_TITLE_WIDTH_V5
 * Based on console:
 * - title: left=38 right=337 width=299
 * - eyecatch: left=60 right=315 width=255
 * - eyecatch was 22px inset on both sides inside the header.
 * Fix:
 * - Do not move the title.
 * - Make eyecatch fill the same content width as the title.
 * - Keep image centered inside the frame.
 * Scope:
 * - Mobile Single article pages only.
 * - PC/Home/Category/PHP untouched.
 * ========================================================= */
@media screen and (max-width: 768px) {

  /* Do not touch .entry-title. It is the reference. */

  body.single .entry-header .eye-catch-wrap,
  body.single .entry-header .eye-catch {
    position: relative !important;
    display: block !important;

    /*
     * The eyecatch is inside .entry-header.
     * .entry-title already fills the header content width.
     * Therefore eyecatch must be 100% with no extra margin.
     */
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;

    height: clamp(390px, 56dvh, 610px) !important;
    min-height: clamp(390px, 56dvh, 610px) !important;
    max-height: none !important;

    border-radius: 0 !important;
    overflow: hidden !important;
    background: #fffaf0 !important;
    box-sizing: border-box !important;
    clear: both !important;
    float: none !important;
    transform: translate3d(0,0,0) !important;
  }

  body.single .entry-header .eye-catch-wrap .eye-catch {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    margin: 0 !important;
  }

  body.single .entry-header .eye-catch a,
  body.single .entry-header .eye-catch-wrap a,
  body.single .entry-header .eye-catch picture,
  body.single .entry-header .eye-catch-wrap picture {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    min-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.single .entry-header .eye-catch img,
  body.single .entry-header .eye-catch-wrap img,
  body.single .entry-header .eye-catch .wp-post-image,
  body.single .entry-header .eye-catch-wrap .wp-post-image,
  body.single .entry-header img.eye-catch-image,
  body.single .entry-header img.wp-post-image.eye-catch-image {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    min-height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    object-fit: cover !important;
    object-position: center center !important;
    background: #fffaf0 !important;
    transform: translate3d(0,0,0) !important;
  }
}


/* =========================================================
 * PC CLEANUP MARKER: latest known adopted PC Home final overrides.
 * These late rules currently restore card shadow and panel background.
 * ========================================================= */

/* =========================================================
 * Fishlogy PC Home: article card shadow adjustment
 * Scope:
 * - PC Home only: min-width 1181px.
 * - Apply shadow to Latest Articles cards themselves.
 * - Do not apply shadow to .main or the whole Home panel.
 * ========================================================= */
@media screen and (min-width: 1181px) {

  body.home .main,
  body.page-id-11 .main {
    box-shadow: none !important;
  }

  body.home .fishlogy-pc-only,
  body.page-id-11 .fishlogy-pc-only,
  body.home .fishlogy-pc-only::before,
  body.page-id-11 .fishlogy-pc-only::before {
    box-shadow: none !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts > li,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li {
    box-shadow: 0 18px 42px rgba(18, 60, 74, 0.16) !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts > li:hover,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li:hover {
    box-shadow: 0 24px 56px rgba(18, 60, 74, 0.22) !important;
  }
}


/* =========================================================
 * Fishlogy PC Home: restore panel background color
 * Scope:
 * - PC Home only: min-width 1181px.
 * - Restore the surrounding Home content background to the article-card paper color.
 * - Keep panel shadow disabled; shadows belong only to article cards.
 * ========================================================= */
@media screen and (min-width: 1181px) {

  body.home .main,
  body.page-id-11 .main {
    background: #fffaf0 !important;
    box-shadow: none !important;
  }
}

/* =========================================================
 * Fishlogy PC Home: right sticky notes match PC Single notes
 * Check token: FISHLOGY_PC_HOME_RIGHT_NOTES_MATCH_SINGLE_V1
 * Scope:
 * - PC Home fixed-page right column only.
 * - Makes Top ranking/category notes visually match Single RANKING/FIELD INDEX notes.
 * - CSS only. PHP, mobile, Single article layout are untouched.
 * ========================================================= */
@media screen and (min-width: 1181px) {

  body.home .fishlogy-pc-only .column-wrap,
  body.page-id-11 .fishlogy-pc-only .column-wrap {
    grid-template-columns: minmax(0, 1fr) 280px !important;
    gap: 24px !important;
  }

  body.home .fishlogy-pc-only .column-right,
  body.page-id-11 .fishlogy-pc-only .column-right {
    position: sticky !important;
    top: 115px !important;
    z-index: 9999 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    align-self: start !important;
    gap: 18px !important;
    width: 280px !important;
    max-width: 280px !important;
    min-width: 280px !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    isolation: isolate !important;
    pointer-events: auto !important;
  }

  /* Hide Home's separate red heading tabs in the right column.
   * The note labels below recreate the Single-page note labels inside each note.
   */
  body.home .fishlogy-pc-only .column-right > .wp-block-heading,
  body.page-id-11 .fishlogy-pc-only .column-right > .wp-block-heading {
    display: none !important;
  }

  body.home .fishlogy-pc-only .column-right .popular-list-box,
  body.page-id-11 .fishlogy-pc-only .column-right .popular-list-box,
  body.home .fishlogy-pc-only .column-right .wp-block-categories,
  body.page-id-11 .fishlogy-pc-only .column-right .wp-block-categories {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 18px 18px 20px !important;
    border: 1px solid rgba(18, 60, 74, 0.11) !important;
    border-radius: 0 !important;
    box-shadow: 0 14px 30px rgba(18, 60, 74, 0.10) !important;
    color: #123c4a !important;
    transform: none !important;
    box-sizing: border-box !important;
    list-style: none !important;
    pointer-events: auto !important;
  }

  body.home .fishlogy-pc-only .column-right .popular-list-box,
  body.page-id-11 .fishlogy-pc-only .column-right .popular-list-box {
    order: 1 !important;
    background: #f4d7c5 !important;
  }

  body.home .fishlogy-pc-only .column-right .wp-block-categories,
  body.page-id-11 .fishlogy-pc-only .column-right .wp-block-categories {
    order: 2 !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 9px !important;
    background: #f6e5b8 !important;
  }

  /* Note labels: match .fishlogy-pc-note-label on Single. */
  body.home .fishlogy-pc-only .column-right .popular-list-box::before,
  body.page-id-11 .fishlogy-pc-only .column-right .popular-list-box::before,
  body.home .fishlogy-pc-only .column-right .wp-block-categories::before,
  body.page-id-11 .fishlogy-pc-only .column-right .wp-block-categories::before {
    display: block !important;
    min-height: 16px !important;
    margin: 0 0 16px !important;
    padding: 0 !important;
    color: rgba(18, 60, 74, 0.60) !important;
    background: transparent !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
    letter-spacing: 0.13em !important;
    text-transform: uppercase !important;
    box-shadow: none !important;
    pointer-events: none !important;
  }

  body.home .fishlogy-pc-only .column-right .popular-list-box::before,
  body.page-id-11 .fishlogy-pc-only .column-right .popular-list-box::before {
    content: "RANKING" !important;
  }

  body.home .fishlogy-pc-only .column-right .wp-block-categories::before,
  body.page-id-11 .fishlogy-pc-only .column-right .wp-block-categories::before {
    content: "FIELD INDEX" !important;
    grid-column: 1 / -1 !important;
  }

  /* Tape strips: match Single note tape placement. */
  body.home .fishlogy-pc-only .column-right .popular-list-box::after,
  body.page-id-11 .fishlogy-pc-only .column-right .popular-list-box::after,
  body.home .fishlogy-pc-only .column-right .wp-block-categories::after,
  body.page-id-11 .fishlogy-pc-only .column-right .wp-block-categories::after {
    content: "" !important;
    position: absolute !important;
    top: -1px !important;
    left: 20px !important;
    display: block !important;
    width: 78px !important;
    height: 8px !important;
    border-radius: 0 !important;
    pointer-events: none !important;
  }

  body.home .fishlogy-pc-only .column-right .popular-list-box::after,
  body.page-id-11 .fishlogy-pc-only .column-right .popular-list-box::after {
    background: rgba(198, 79, 46, 0.38) !important;
  }

  body.home .fishlogy-pc-only .column-right .wp-block-categories::after,
  body.page-id-11 .fishlogy-pc-only .column-right .wp-block-categories::after {
    background: rgba(201, 130, 43, 0.34) !important;
  }

  /* FIELD INDEX links: match Single note chips. */
  body.home .fishlogy-pc-only .column-right .wp-block-categories li,
  body.page-id-11 .fishlogy-pc-only .column-right .wp-block-categories li {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  body.home .fishlogy-pc-only .column-right .wp-block-categories a,
  body.page-id-11 .fishlogy-pc-only .column-right .wp-block-categories a {
    display: block !important;
    width: 100% !important;
    padding: 9px 10px !important;
    border-radius: 0 !important;
    background: rgba(255, 250, 240, 0.50) !important;
    color: #123c4a !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    pointer-events: auto !important;
    cursor: pointer !important;
  }

  /* RANKING entries: map Cocoon popular cards to the Single ranking-note tone. */
  body.home .fishlogy-pc-only .column-right .popular-list-box .widget-title,
  body.page-id-11 .fishlogy-pc-only .column-right .popular-list-box .widget-title,
  body.home .fishlogy-pc-only .column-right .popular-list-box .popular-list-title,
  body.page-id-11 .fishlogy-pc-only .column-right .popular-list-box .popular-list-title {
    display: none !important;
  }

  body.home .fishlogy-pc-only .column-right .popular-entry-card-link,
  body.page-id-11 .fishlogy-pc-only .column-right .popular-entry-card-link,
  body.home .fishlogy-pc-only .column-right .widget-entry-card-link,
  body.page-id-11 .fishlogy-pc-only .column-right .widget-entry-card-link {
    display: block !important;
    width: 100% !important;
    margin: 0 0 14px !important;
    padding: 0 !important;
    color: #123c4a !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    pointer-events: auto !important;
    cursor: pointer !important;
  }

  body.home .fishlogy-pc-only .column-right .popular-entry-card-link:last-child,
  body.page-id-11 .fishlogy-pc-only .column-right .popular-entry-card-link:last-child,
  body.home .fishlogy-pc-only .column-right .widget-entry-card-link:last-child,
  body.page-id-11 .fishlogy-pc-only .column-right .widget-entry-card-link:last-child {
    margin-bottom: 0 !important;
  }

  body.home .fishlogy-pc-only .column-right .popular-entry-card,
  body.page-id-11 .fishlogy-pc-only .column-right .popular-entry-card,
  body.home .fishlogy-pc-only .column-right .widget-entry-card,
  body.page-id-11 .fishlogy-pc-only .column-right .widget-entry-card {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #123c4a !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
  }

  body.home .fishlogy-pc-only .column-right .popular-entry-card-thumb,
  body.page-id-11 .fishlogy-pc-only .column-right .popular-entry-card-thumb,
  body.home .fishlogy-pc-only .column-right .widget-entry-card-thumb,
  body.page-id-11 .fishlogy-pc-only .column-right .widget-entry-card-thumb {
    display: block !important;
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    margin: 0 0 8px !important;
    overflow: hidden !important;
    border-radius: 0 !important;
    background: rgba(255, 250, 240, 0.62) !important;
    box-sizing: border-box !important;
  }

  body.home .fishlogy-pc-only .column-right .popular-entry-card-thumb img,
  body.page-id-11 .fishlogy-pc-only .column-right .popular-entry-card-thumb img,
  body.home .fishlogy-pc-only .column-right .widget-entry-card-thumb img,
  body.page-id-11 .fishlogy-pc-only .column-right .widget-entry-card-thumb img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  body.home .fishlogy-pc-only .column-right .popular-entry-card-title,
  body.page-id-11 .fishlogy-pc-only .column-right .popular-entry-card-title,
  body.home .fishlogy-pc-only .column-right .widget-entry-card-title,
  body.page-id-11 .fishlogy-pc-only .column-right .widget-entry-card-title {
    display: -webkit-box !important;
    overflow: hidden !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    color: #123c4a !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.5 !important;
    letter-spacing: 0.02em !important;
  }
}

/* =========================================================
 * Fishlogy PC Home: hide latest heading and add mobile-style category label
 * Check token: FISHLOGY_PC_HOME_CARD_CATEGORY_MOBILE_STYLE_V1
 * Scope:
 * - PC Home latest-posts cards only.
 * - Hide the left-column LATEST ARTICLES heading.
 * - Style PHP-injected .fishlogy-pc-card-label like the mobile card category tab.
 * - Keep right-column note headings, Single, mobile, and Category pages untouched.
 * ========================================================= */
@media screen and (min-width: 1181px) {

  body.home .fishlogy-pc-only .column-left > .wp-block-heading,
  body.page-id-11 .fishlogy-pc-only .column-left > .wp-block-heading {
    display: none !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts > li,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li {
    position: relative !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts > li .fishlogy-pc-card-label,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li .fishlogy-pc-card-label {
    position: absolute !important;
    top: 0 !important;
    left: 22px !important;
    z-index: 1200 !important;
    display: inline-block !important;
    width: auto !important;
    max-width: calc(100% - 44px) !important;
    margin: 0 !important;
    padding: 7px 13px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #c9822b !important;
    color: #fff !important;
    box-shadow: none !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
    text-align: left !important;
    text-decoration: none !important;
    text-shadow: none !important;
    text-transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts > li .fishlogy-pc-card-label:hover,
  body.home .fishlogy-pc-only .wp-block-latest-posts > li .fishlogy-pc-card-label:visited,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li .fishlogy-pc-card-label:hover,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li .fishlogy-pc-card-label:visited {
    color: #fff !important;
    text-decoration: none !important;
  }

  body.home .fishlogy-pc-only ul.wp-block-latest-posts > li > a.wp-block-latest-posts__post-title,
  body.page-id-11 .fishlogy-pc-only ul.wp-block-latest-posts > li > a.wp-block-latest-posts__post-title,
  body.home .fishlogy-pc-only .wp-block-latest-posts > li > a.wp-block-latest-posts__post-title,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li > a.wp-block-latest-posts__post-title {
    padding-left: 22px !important;
    padding-right: 22px !important;
    padding-bottom: 88px !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts__post-date,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts__post-date {
    left: 22px !important;
    right: 22px !important;
    bottom: 32px !important;
  }
}

/* =========================================================
 * Fishlogy PC Home: fix card category label overlay
 * Check token: FISHLOGY_PC_HOME_CARD_CATEGORY_LABEL_OVERLAY_FIX_V1
 * Scope:
 * - PC Home latest-posts cards only.
 * - Fix PHP-injected category labels being treated as full-card title links.
 * - Keep Single, mobile, and right-column notes untouched.
 * ========================================================= */
@media screen and (min-width: 1181px) {

  body.home .fishlogy-pc-only ul.wp-block-latest-posts > li > a.fishlogy-pc-card-label,
  body.page-id-11 .fishlogy-pc-only ul.wp-block-latest-posts > li > a.fishlogy-pc-card-label,
  body.home .fishlogy-pc-only .wp-block-latest-posts > li > a.fishlogy-pc-card-label,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li > a.fishlogy-pc-card-label,
  body.home .fishlogy-pc-only .wp-block-latest-posts > li > a.fishlogy-pc-card-label:not(:has(img)),
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li > a.fishlogy-pc-card-label:not(:has(img)) {
    position: absolute !important;
    top: 0 !important;
    right: auto !important;
    bottom: auto !important;
    left: 22px !important;
    inset: auto auto auto 22px !important;
    z-index: 1400 !important;
    display: inline-block !important;
    flex-direction: initial !important;
    justify-content: initial !important;
    align-items: initial !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: calc(100% - 44px) !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 7px 13px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #c9822b !important;
    background-color: #c9822b !important;
    background-image: none !important;
    color: #fff !important;
    box-shadow: none !important;
    filter: none !important;
    mix-blend-mode: normal !important;
    opacity: 1 !important;
    visibility: visible !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
    text-align: left !important;
    text-decoration: none !important;
    text-shadow: none !important;
    text-transform: none !important;
    white-space: normal !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    transform: none !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts > li > a.fishlogy-pc-card-label:hover,
  body.home .fishlogy-pc-only .wp-block-latest-posts > li > a.fishlogy-pc-card-label:visited,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li > a.fishlogy-pc-card-label:hover,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li > a.fishlogy-pc-card-label:visited {
    color: #fff !important;
    background: #c9822b !important;
    text-decoration: none !important;
    transform: none !important;
  }
}

/* =========================================================
 * Fishlogy PC Home: balance card category tags and reduce bottom gap
 * Check token: FISHLOGY_PC_HOME_NOTES_BALANCE_GAP_V1
 * Scope:
 * - PC Home fixed-page cards and right notes only.
 * - Make card category tags closer to the right note tone.
 * - Reduce the empty space caused by the right column running lower than cards.
 * - CSS only. PHP, Single, mobile, and article content are untouched.
 * ========================================================= */
@media screen and (min-width: 1181px) {

  body.home .fishlogy-pc-only,
  body.page-id-11 .fishlogy-pc-only {
    padding-bottom: 32px !important;
  }

  body.home .main,
  body.page-id-11 .main,
  body.home .entry-content,
  body.page-id-11 .entry-content {
    padding-bottom: 32px !important;
    margin-bottom: 0 !important;
  }

  /* Card category tags: restored to the previous mobile-style orange tab.
   * Bottom gap and right-column density adjustments below are kept.
   */
  /* Top ranking note: match article-page density by keeping the first three items. */
  body.home .fishlogy-pc-only .column-right .popular-entry-card-link:nth-of-type(n+4),
  body.page-id-11 .fishlogy-pc-only .column-right .popular-entry-card-link:nth-of-type(n+4),
  body.home .fishlogy-pc-only .column-right .widget-entry-card-link:nth-of-type(n+4),
  body.page-id-11 .fishlogy-pc-only .column-right .widget-entry-card-link:nth-of-type(n+4) {
    display: none !important;
  }

  body.home .fishlogy-pc-only .column-right .popular-list-box,
  body.page-id-11 .fishlogy-pc-only .column-right .popular-list-box,
  body.home .fishlogy-pc-only .column-right .wp-block-categories,
  body.page-id-11 .fishlogy-pc-only .column-right .wp-block-categories {
    padding: 16px 16px 18px !important;
  }

  body.home .fishlogy-pc-only .column-right .popular-list-box::before,
  body.page-id-11 .fishlogy-pc-only .column-right .popular-list-box::before,
  body.home .fishlogy-pc-only .column-right .wp-block-categories::before,
  body.page-id-11 .fishlogy-pc-only .column-right .wp-block-categories::before {
    margin-bottom: 14px !important;
  }

  body.home .fishlogy-pc-only .column-right .popular-entry-card-link,
  body.page-id-11 .fishlogy-pc-only .column-right .popular-entry-card-link,
  body.home .fishlogy-pc-only .column-right .widget-entry-card-link,
  body.page-id-11 .fishlogy-pc-only .column-right .widget-entry-card-link {
    margin-bottom: 12px !important;
  }

  body.home .fishlogy-pc-only .column-right .wp-block-categories,
  body.page-id-11 .fishlogy-pc-only .column-right .wp-block-categories {
    gap: 8px !important;
  }

  body.home .fishlogy-pc-only .column-right .wp-block-categories a,
  body.page-id-11 .fishlogy-pc-only .column-right .wp-block-categories a {
    padding: 8px 9px !important;
    font-size: 11px !important;
    line-height: 1.35 !important;
  }
}


/* =========================================================
 * Fishlogy PC Home: compact hero and clean navy header
 * Check token: FISHLOGY_PC_HOME_HEADER_HERO_COMPACT_V1
 * Scope:
 * - PC Top only: min-width 1181px.
 * - Makes the header feel intentional and reduces the oversized hero.
 * - Keeps footer, PHP, mobile, Single, cards, and right notes untouched.
 * ========================================================= */
@media screen and (min-width: 1181px) {

  body.home,
  body.page-id-11 {
    background: #f2eee8 !important;
  }

  body.home .header-container,
  body.page-id-11 .header-container {
    display: block !important;
    width: 100% !important;
    min-height: 64px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #123047 !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  body.home .header,
  body.page-id-11 .header,
  body.home .header-in,
  body.page-id-11 .header-in {
    display: flex !important;
    align-items: center !important;
    width: min(calc(100vw - 80px), 1420px) !important;
    max-width: min(calc(100vw - 80px), 1420px) !important;
    min-height: 64px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    background: transparent !important;
    box-sizing: border-box !important;
  }

  body.home .logo,
  body.page-id-11 .logo,
  body.home .site-name,
  body.page-id-11 .site-name {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
  }

  body.home .site-name-text,
  body.page-id-11 .site-name-text,
  body.home .logo a,
  body.page-id-11 .logo a,
  body.home .site-name a,
  body.page-id-11 .site-name a {
    color: #fffaf0 !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: 0.04em !important;
    text-decoration: none !important;
    text-shadow: none !important;
  }

  body.home .tagline,
  body.page-id-11 .tagline,
  body.home .navi,
  body.page-id-11 .navi,
  body.home .date-tags,
  body.page-id-11 .date-tags {
    display: none !important;
  }

  body.home .main,
  body.page-id-11 .main {
    padding-top: 30px !important;
    background: #fffaf0 !important;
  }

  body.home .fishlogy-pc-only,
  body.page-id-11 .fishlogy-pc-only {
    padding-bottom: 56px !important;
  }

  body.home .fishlogy-pc-only > .wp-block-image.alignfull,
  body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull {
    height: clamp(360px, 28vw, 500px) !important;
    max-height: 500px !important;
    margin: 0 0 36px !important;
    overflow: hidden !important;
    background: #f2eee8 !important;
    box-shadow: 0 16px 38px rgba(18, 60, 74, 0.11) !important;
  }

  body.home .fishlogy-pc-only > .wp-block-image.alignfull img,
  body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center center !important;
  }
}

/* =========================================================
 * 108. PC Home: Compact Species Index 2026-05-31
 *
 * Scope:
 * - PC Top only.
 * - Keeps the species search above the article grid.
 * - Shrinks the trial cards to a compact navigation strip.
 * - Keeps mobile Swiper, Single pages, and Category pages untouched.
 * ========================================================= */
@media screen and (min-width: 1181px) {

  body.home .fishlogy-species-index,
  body.page-id-11 .fishlogy-species-index {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 24px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  body.home .fishlogy-species-index__head,
  body.page-id-11 .fishlogy-species-index__head {
    display: flex !important;
    align-items: center !important;
    gap: 13px !important;
    margin: 0 0 12px !important;
    color: #123c4a !important;
    box-sizing: border-box !important;
  }

  body.home .fishlogy-species-index__label,
  body.page-id-11 .fishlogy-species-index__label {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 30px !important;
    padding: 0 15px !important;
    background: #123c4a !important;
    color: #fffaf0 !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
    box-shadow: 0 8px 18px rgba(18, 60, 74, 0.10) !important;
  }

  body.home .fishlogy-species-index__sub,
  body.page-id-11 .fishlogy-species-index__sub {
    display: block !important;
    margin: 0 !important;
    color: rgba(18, 60, 74, 0.62) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
  }

  body.home .fishlogy-species-grid,
  body.page-id-11 .fishlogy-species-grid {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  body.home .fishlogy-species-card,
  body.page-id-11 .fishlogy-species-card {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 52px minmax(0, 1fr) !important;
    gap: 9px !important;
    align-items: center !important;
    min-height: 68px !important;
    padding: 10px 12px !important;
    border: 1px solid rgba(18, 60, 74, 0.15) !important;
    border-radius: 0 !important;
    background: #fffaf0 !important;
    color: #123c4a !important;
    text-decoration: none !important;
    box-shadow: 0 10px 22px rgba(18, 60, 74, 0.075) !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease !important;
  }

  body.home .fishlogy-species-card::before,
  body.page-id-11 .fishlogy-species-card::before {
    content: "" !important;
    position: absolute !important;
    top: -1px !important;
    left: 12px !important;
    width: 48px !important;
    height: 6px !important;
    background: rgba(201, 130, 43, 0.38) !important;
    z-index: 2 !important;
  }

  body.home .fishlogy-species-card:hover,
  body.page-id-11 .fishlogy-species-card:hover {
    transform: translateY(-2px) !important;
    border-color: rgba(18, 60, 74, 0.28) !important;
    box-shadow: 0 15px 30px rgba(18, 60, 74, 0.12) !important;
  }

  body.home .fishlogy-species-card__figure,
  body.page-id-11 .fishlogy-species-card__figure {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 52px !important;
    height: 42px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: rgba(18, 60, 74, 0.045) !important;
    box-sizing: border-box !important;
  }

  body.home .fishlogy-species-card__figure svg,
  body.page-id-11 .fishlogy-species-card__figure svg {
    display: block !important;
    width: 48px !important;
    height: auto !important;
    overflow: visible !important;
  }

  body.home .fishlogy-species-card__figure path,
  body.home .fishlogy-species-card__figure ellipse,
  body.home .fishlogy-species-card__figure circle,
  body.home .fishlogy-species-card__figure line,
  body.page-id-11 .fishlogy-species-card__figure path,
  body.page-id-11 .fishlogy-species-card__figure ellipse,
  body.page-id-11 .fishlogy-species-card__figure circle,
  body.page-id-11 .fishlogy-species-card__figure line {
    vector-effect: non-scaling-stroke !important;
  }

  body.home .fishlogy-species-card__body,
  body.page-id-11 .fishlogy-species-card__body {
    display: block !important;
    min-width: 0 !important;
    padding: 2px 0 0 !important;
    box-sizing: border-box !important;
  }

  body.home .fishlogy-species-card__en,
  body.page-id-11 .fishlogy-species-card__en {
    display: block !important;
    margin: 0 0 4px !important;
    color: #c9822b !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    letter-spacing: 0.11em !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  body.home .fishlogy-species-card__name,
  body.page-id-11 .fishlogy-species-card__name {
    display: block !important;
    margin: 0 !important;
    color: #123c4a !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    letter-spacing: 0.02em !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  body.home .fishlogy-species-card__copy,
  body.page-id-11 .fishlogy-species-card__copy {
    display: none !important;
  }
}

@media screen and (min-width: 1181px) and (max-width: 1320px) {
  body.home .fishlogy-species-grid,
  body.page-id-11 .fishlogy-species-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media screen and (max-width: 1180px) {
  body.home .fishlogy-species-index,
  body.page-id-11 .fishlogy-species-index {
    display: none !important;
  }
}


/* =========================================================
 * Fishlogy PC Home STEP10: magazine-style article cards
 * Scope:
 * - PC Top latest-post cards only.
 * - Mobile Swiper, Single pages, Category pages are untouched.
 * - Convert PC cards from full-image overlay cards to calm magazine cards:
 *   image top / paper body / category / title / date / excerpt.
 * ========================================================= */
@media screen and (min-width: 1181px) {

  body.home .fishlogy-pc-only .column-left > .wp-block-heading,
  body.page-id-11 .fishlogy-pc-only .column-left > .wp-block-heading {
    display: inline-flex !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 0 0 22px !important;
    padding: 0 0 9px !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(18, 48, 71, 0.48) !important;
    background: transparent !important;
    color: #123047 !important;
    box-shadow: none !important;
    font-size: 23px !important;
    font-weight: 900 !important;
    line-height: 1.18 !important;
    letter-spacing: 0.045em !important;
    text-transform: uppercase !important;
  }

  body.home .fishlogy-pc-only .column-left > .wp-block-heading::before,
  body.page-id-11 .fishlogy-pc-only .column-left > .wp-block-heading::before {
    content: "" !important;
    display: inline-block !important;
    width: 24px !important;
    height: 18px !important;
    margin: 2px 10px 0 0 !important;
    background:
      linear-gradient(135deg, transparent 0 42%, #123047 43% 58%, transparent 59%) left bottom / 12px 12px no-repeat,
      linear-gradient(135deg, transparent 0 42%, #123047 43% 58%, transparent 59%) right bottom / 16px 16px no-repeat !important;
    opacity: 0.94 !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts,
  body.home .fishlogy-pc-only .wp-block-latest-posts.is-grid,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts.is-grid {
    gap: 22px 22px !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts > li,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li,
  body.home .fishlogy-pc-only .wp-block-latest-posts > li:nth-child(n),
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li:nth-child(n) {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 1px solid rgba(18, 48, 71, 0.42) !important;
    border-radius: 0 !important;
    background: #fff7df !important;
    background-color: #fff7df !important;
    background-image: none !important;
    box-shadow: 0 10px 22px rgba(18, 60, 74, 0.10) !important;
    color: #123047 !important;
    cursor: pointer !important;
    isolation: isolate !important;
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts > li:hover,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li:hover {
    transform: translateY(-3px) !important;
    border-color: rgba(18, 48, 71, 0.62) !important;
    box-shadow: 0 16px 30px rgba(18, 60, 74, 0.14) !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts > li::before,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li::before,
  body.home .fishlogy-pc-only .wp-block-latest-posts > li:nth-child(n)::before,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li:nth-child(n)::before,
  body.home .fishlogy-pc-only .wp-block-latest-posts > li::after,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li::after,
  body.home .fishlogy-pc-only .wp-block-latest-posts > li:nth-child(n)::after,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li:nth-child(n)::after {
    content: none !important;
    display: none !important;
    background: none !important;
    box-shadow: none !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts > li .wp-block-latest-posts__featured-image,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li .wp-block-latest-posts__featured-image {
    order: 1 !important;
    position: relative !important;
    inset: auto !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    aspect-ratio: 16 / 9 !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #e7dcc5 !important;
    pointer-events: none !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts > li .wp-block-latest-posts__featured-image a,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li .wp-block-latest-posts__featured-image a,
  body.home .fishlogy-pc-only .wp-block-latest-posts > li .wp-block-latest-posts__featured-image img,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li .wp-block-latest-posts__featured-image img {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 100% !important;
    min-height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    object-fit: cover !important;
    object-position: center center !important;
    filter: saturate(0.92) contrast(0.98) !important;
    transform: none !important;
    pointer-events: none !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts > li .fishlogy-pc-card-label,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li .fishlogy-pc-card-label,
  body.home .fishlogy-pc-only .wp-block-latest-posts > li > a.fishlogy-pc-card-label,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li > a.fishlogy-pc-card-label,
  body.home .fishlogy-pc-only .wp-block-latest-posts > li > a.fishlogy-pc-card-label:not(:has(img)),
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li > a.fishlogy-pc-card-label:not(:has(img)) {
    order: 2 !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    inset: auto !important;
    z-index: 4 !important;
    display: inline-block !important;
    align-self: flex-start !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: calc(100% - 28px) !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 13px 14px 7px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #c64f2e !important;
    box-shadow: none !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    line-height: 1.25 !important;
    letter-spacing: 0.09em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    text-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    cursor: pointer !important;
  }

  body.home .fishlogy-pc-only ul.wp-block-latest-posts > li > a.wp-block-latest-posts__post-title,
  body.page-id-11 .fishlogy-pc-only ul.wp-block-latest-posts > li > a.wp-block-latest-posts__post-title,
  body.home .fishlogy-pc-only .wp-block-latest-posts > li > a.wp-block-latest-posts__post-title,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li > a.wp-block-latest-posts__post-title,
  body.home .fishlogy-pc-only .wp-block-latest-posts > li > a.wp-block-latest-posts__post-title:not(:has(img)),
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li > a.wp-block-latest-posts__post-title:not(:has(img)) {
    order: 3 !important;
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    inset: auto !important;
    z-index: 3 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    min-height: calc(1.42em * 2) !important;
    max-height: calc(1.42em * 2) !important;
    margin: 0 14px 7px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #123047 !important;
    box-shadow: none !important;
    font-size: clamp(15px, 1.05vw, 18px) !important;
    font-weight: 900 !important;
    line-height: 1.42 !important;
    letter-spacing: 0.01em !important;
    text-align: left !important;
    text-decoration: none !important;
    text-shadow: none !important;
    transform: none !important;
    pointer-events: auto !important;
    cursor: pointer !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts__post-date,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts__post-date {
    order: 4 !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    z-index: 2 !important;
    display: block !important;
    width: auto !important;
    margin: 0 14px 9px !important;
    padding: 0 !important;
    background: transparent !important;
    color: rgba(18, 48, 71, 0.58) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    letter-spacing: 0.02em !important;
    text-shadow: none !important;
    pointer-events: none !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts__post-date::after,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts__post-date::after {
    content: none !important;
    display: none !important;
  }

  body.home .fishlogy-pc-only .fishlogy-pc-card-excerpt,
  body.page-id-11 .fishlogy-pc-only .fishlogy-pc-card-excerpt {
    order: 5 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    margin: 0 14px 18px !important;
    color: rgba(18, 48, 71, 0.82) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.65 !important;
    letter-spacing: 0.01em !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts > li:not(:has(.wp-block-latest-posts__featured-image))::before,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li:not(:has(.wp-block-latest-posts__featured-image))::before {
    content: "Fishlogy" !important;
    order: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    background: #123047 !important;
    color: rgba(255, 250, 240, 0.62) !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    letter-spacing: 0.18em !important;
    text-transform: uppercase !important;
  }
}

/* =========================================================
 * Fishlogy PC Home STEP11: magazine-style right column
 * Scope:
 * - PC Home / fixed page only.
 * - Keep 3-column article cards.
 * - Replace the sticky-note look with a calm editorial sidebar.
 * - CSS only. PHP, mobile, Single pages are untouched.
 * ========================================================= */
@media screen and (min-width: 1181px) {

  body.home .fishlogy-pc-only .column-wrap,
  body.page-id-11 .fishlogy-pc-only .column-wrap {
    grid-template-columns: minmax(0, 1fr) 300px !important;
    gap: 38px !important;
  }

  body.home .fishlogy-pc-only .column-right,
  body.page-id-11 .fishlogy-pc-only .column-right {
    position: sticky !important;
    top: 96px !important;
    z-index: 3 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 16px !important;
    width: 300px !important;
    max-width: 300px !important;
    min-width: 300px !important;
    margin: 0 !important;
    padding: 0 0 0 28px !important;
    border-left: 1px solid rgba(18, 60, 74, 0.32) !important;
    background: transparent !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
  }

  body.home .fishlogy-pc-only .column-right > .wp-block-heading,
  body.page-id-11 .fishlogy-pc-only .column-right > .wp-block-heading {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    min-width: 0 !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 0 6px !important;
    padding: 0 0 11px !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(18, 60, 74, 0.55) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #123c4a !important;
    font-size: 21px !important;
    font-weight: 900 !important;
    line-height: 1.15 !important;
    letter-spacing: 0.04em !important;
    text-align: left !important;
    text-transform: uppercase !important;
  }

  body.home .fishlogy-pc-only .column-right > .wp-block-heading::before,
  body.page-id-11 .fishlogy-pc-only .column-right > .wp-block-heading::before {
    content: "" !important;
    display: block !important;
    width: 9px !important;
    height: 22px !important;
    margin: 0 10px 0 0 !important;
    background: #123c4a !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  body.home .fishlogy-pc-only .column-right > .wp-block-heading::after,
  body.page-id-11 .fishlogy-pc-only .column-right > .wp-block-heading::after {
    content: none !important;
    display: none !important;
  }

  body.home .fishlogy-pc-only .column-right .popular-list-box,
  body.page-id-11 .fishlogy-pc-only .column-right .popular-list-box,
  body.home .fishlogy-pc-only .column-right .wp-block-categories,
  body.page-id-11 .fishlogy-pc-only .column-right .wp-block-categories {
    order: initial !important;
    position: relative !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 26px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #123c4a !important;
    list-style: none !important;
    box-sizing: border-box !important;
  }

  body.home .fishlogy-pc-only .column-right .popular-list-box::before,
  body.page-id-11 .fishlogy-pc-only .column-right .popular-list-box::before,
  body.home .fishlogy-pc-only .column-right .popular-list-box::after,
  body.page-id-11 .fishlogy-pc-only .column-right .popular-list-box::after,
  body.home .fishlogy-pc-only .column-right .wp-block-categories::before,
  body.page-id-11 .fishlogy-pc-only .column-right .wp-block-categories::before,
  body.home .fishlogy-pc-only .column-right .wp-block-categories::after,
  body.page-id-11 .fishlogy-pc-only .column-right .wp-block-categories::after {
    content: none !important;
    display: none !important;
  }

  body.home .fishlogy-pc-only .column-right .wp-block-categories,
  body.page-id-11 .fishlogy-pc-only .column-right .wp-block-categories {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  body.home .fishlogy-pc-only .column-right .wp-block-categories li,
  body.page-id-11 .fishlogy-pc-only .column-right .wp-block-categories li {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 9px 0 !important;
    border-bottom: 1px solid rgba(18, 60, 74, 0.12) !important;
    list-style: none !important;
    color: rgba(18, 60, 74, 0.72) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
  }

  body.home .fishlogy-pc-only .column-right .wp-block-categories li:last-child,
  body.page-id-11 .fishlogy-pc-only .column-right .wp-block-categories li:last-child {
    border-bottom: 0 !important;
  }

  body.home .fishlogy-pc-only .column-right .wp-block-categories a,
  body.page-id-11 .fishlogy-pc-only .column-right .wp-block-categories a {
    display: inline-flex !important;
    align-items: center !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #123c4a !important;
    box-shadow: none !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.45 !important;
    letter-spacing: 0.01em !important;
    text-decoration: none !important;
  }

  body.home .fishlogy-pc-only .column-right .wp-block-categories a::before,
  body.page-id-11 .fishlogy-pc-only .column-right .wp-block-categories a::before {
    content: "" !important;
    display: inline-block !important;
    width: 7px !important;
    height: 7px !important;
    margin: 0 9px 0 0 !important;
    background: #c9822b !important;
    border-radius: 50% !important;
    flex: 0 0 auto !important;
  }

  body.home .fishlogy-pc-only .column-right .popular-list-box .widget-title,
  body.page-id-11 .fishlogy-pc-only .column-right .popular-list-box .widget-title,
  body.home .fishlogy-pc-only .column-right .popular-list-box .popular-list-title,
  body.page-id-11 .fishlogy-pc-only .column-right .popular-list-box .popular-list-title {
    display: none !important;
  }

  body.home .fishlogy-pc-only .column-right .popular-entry-card-link,
  body.page-id-11 .fishlogy-pc-only .column-right .popular-entry-card-link,
  body.home .fishlogy-pc-only .column-right .widget-entry-card-link,
  body.page-id-11 .fishlogy-pc-only .column-right .widget-entry-card-link {
    display: block !important;
    width: 100% !important;
    margin: 0 0 13px !important;
    padding: 0 0 13px !important;
    border-bottom: 1px solid rgba(18, 60, 74, 0.12) !important;
    color: #123c4a !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
  }

  body.home .fishlogy-pc-only .column-right .popular-entry-card-link:last-child,
  body.page-id-11 .fishlogy-pc-only .column-right .popular-entry-card-link:last-child,
  body.home .fishlogy-pc-only .column-right .widget-entry-card-link:last-child,
  body.page-id-11 .fishlogy-pc-only .column-right .widget-entry-card-link:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: 0 !important;
  }

  body.home .fishlogy-pc-only .column-right .popular-entry-card,
  body.page-id-11 .fishlogy-pc-only .column-right .popular-entry-card,
  body.home .fishlogy-pc-only .column-right .widget-entry-card,
  body.page-id-11 .fishlogy-pc-only .widget-entry-card {
    display: grid !important;
    grid-template-columns: 76px minmax(0, 1fr) !important;
    gap: 11px !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
  }

  body.home .fishlogy-pc-only .column-right .popular-entry-card-thumb,
  body.page-id-11 .fishlogy-pc-only .column-right .popular-entry-card-thumb,
  body.home .fishlogy-pc-only .column-right .widget-entry-card-thumb,
  body.page-id-11 .fishlogy-pc-only .column-right .widget-entry-card-thumb {
    display: block !important;
    width: 76px !important;
    height: 54px !important;
    aspect-ratio: auto !important;
    margin: 0 !important;
    overflow: hidden !important;
    border: 1px solid rgba(18, 60, 74, 0.18) !important;
    border-radius: 0 !important;
    background: rgba(255, 250, 240, 0.68) !important;
    box-sizing: border-box !important;
  }

  body.home .fishlogy-pc-only .column-right .popular-entry-card-thumb img,
  body.page-id-11 .fishlogy-pc-only .column-right .popular-entry-card-thumb img,
  body.home .fishlogy-pc-only .column-right .widget-entry-card-thumb img,
  body.page-id-11 .fishlogy-pc-only .column-right .widget-entry-card-thumb img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  body.home .fishlogy-pc-only .column-right .popular-entry-card-title,
  body.page-id-11 .fishlogy-pc-only .column-right .popular-entry-card-title,
  body.home .fishlogy-pc-only .column-right .widget-entry-card-title,
  body.page-id-11 .fishlogy-pc-only .column-right .widget-entry-card-title {
    display: -webkit-box !important;
    overflow: hidden !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    margin: 0 0 4px !important;
    color: #123c4a !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    line-height: 1.45 !important;
    letter-spacing: 0.01em !important;
  }

  body.home .fishlogy-pc-only .column-right .popular-entry-card-date,
  body.page-id-11 .fishlogy-pc-only .column-right .popular-entry-card-date,
  body.home .fishlogy-pc-only .column-right .widget-entry-card-date,
  body.page-id-11 .fishlogy-pc-only .column-right .widget-entry-card-date {
    display: block !important;
    color: rgba(18, 60, 74, 0.55) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
  }
}


/* =========================================================
 * STEP12. PC Home: Fishlogy navy footer
 * Scope:
 * - PC Home only: min-width 1181px.
 * - Adds a dedicated Fishlogy footer and hides the default Cocoon footer on PC Home.
 * - Does not affect mobile, Single, Category, or archive pages.
 * ========================================================= */
@media screen and (min-width: 1181px) {
  body.home .footer,
  body.page-id-11 .footer,
  body.home .footer-container,
  body.page-id-11 .footer-container,
  body.home #footer,
  body.page-id-11 #footer {
    display: none !important;
  }

  body.home .fishlogy-home-footer,
  body.page-id-11 .fishlogy-home-footer {
    display: block !important;
    width: 100vw !important;
    margin: 46px calc(50% - 50vw) 0 !important;
    padding: 0 !important;
    background: #123047 !important;
    color: #fffaf0 !important;
    border-top: 1px solid rgba(255, 250, 240, 0.14) !important;
    box-shadow: 0 -18px 40px rgba(18, 48, 71, 0.12) !important;
    box-sizing: border-box !important;
  }

  body.home .fishlogy-home-footer__inner,
  body.page-id-11 .fishlogy-home-footer__inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr) auto !important;
    gap: 34px !important;
    align-items: start !important;
    width: min(calc(100vw - 80px), 1204px) !important;
    max-width: min(calc(100vw - 80px), 1204px) !important;
    margin: 0 auto !important;
    padding: 34px 0 28px !important;
    box-sizing: border-box !important;
  }

  body.home .fishlogy-home-footer__brand,
  body.page-id-11 .fishlogy-home-footer__brand {
    min-width: 0 !important;
  }

  body.home .fishlogy-home-footer__logo,
  body.page-id-11 .fishlogy-home-footer__logo {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin: 0 0 12px !important;
    color: #fffaf0 !important;
    text-decoration: none !important;
  }

  body.home .fishlogy-home-footer__mark,
  body.page-id-11 .fishlogy-home-footer__mark {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 54px !important;
    height: 24px !important;
    color: #d9a231 !important;
    flex: 0 0 auto !important;
  }

  body.home .fishlogy-home-footer__mark svg,
  body.page-id-11 .fishlogy-home-footer__mark svg {
    display: block !important;
    width: 54px !important;
    height: 24px !important;
  }

  body.home .fishlogy-home-footer__name,
  body.page-id-11 .fishlogy-home-footer__name {
    display: block !important;
    color: #fffaf0 !important;
    font-size: 28px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: 0.02em !important;
  }

  body.home .fishlogy-home-footer__tagline,
  body.page-id-11 .fishlogy-home-footer__tagline {
    margin: 0 !important;
    max-width: 380px !important;
    color: rgba(255, 250, 240, 0.82) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.8 !important;
    letter-spacing: 0.03em !important;
  }

  body.home .fishlogy-home-footer__nav,
  body.page-id-11 .fishlogy-home-footer__nav {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px 22px !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 4px 0 0 !important;
    padding: 0 !important;
  }

  body.home .fishlogy-home-footer__nav a,
  body.page-id-11 .fishlogy-home-footer__nav a {
    color: rgba(255, 250, 240, 0.92) !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    line-height: 1.4 !important;
    letter-spacing: 0.09em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
  }

  body.home .fishlogy-home-footer__nav a:hover,
  body.page-id-11 .fishlogy-home-footer__nav a:hover {
    color: #d9a231 !important;
  }

  body.home .fishlogy-home-footer__meta,
  body.page-id-11 .fishlogy-home-footer__meta {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 10px !important;
    min-width: 160px !important;
    margin: 3px 0 0 !important;
    color: rgba(255, 250, 240, 0.68) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
    letter-spacing: 0.04em !important;
    text-align: right !important;
  }

  body.home .fishlogy-home-footer__small-links,
  body.page-id-11 .fishlogy-home-footer__small-links {
    display: flex !important;
    gap: 12px !important;
    align-items: center !important;
    justify-content: flex-end !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.home .fishlogy-home-footer__small-links a,
  body.page-id-11 .fishlogy-home-footer__small-links a {
    color: rgba(255, 250, 240, 0.68) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
  }

  body.home .fishlogy-home-footer__small-links a:hover,
  body.page-id-11 .fishlogy-home-footer__small-links a:hover {
    color: #d9a231 !important;
  }
}


/* =========================================================
 * STEP13. PC Home: thin paper header / footer with horizontal logo navigation
 * Scope:
 * - PC Home only: min-width 1181px.
 * - Replaces the heavy navy bar look with a light natural-history header/footer.
 * - Keeps mobile, Single, Swiper, Species Index and article cards untouched.
 * ========================================================= */
.fishlogy-home-header {
  display: none;
}

@media screen and (min-width: 1181px) {
  body.home .header-container,
  body.page-id-11 .header-container {
    display: none !important;
  }

  body.home .fishlogy-home-header,
  body.page-id-11 .fishlogy-home-header {
    display: block !important;
    width: 100vw !important;
    margin: 0 calc(50% - 50vw) !important;
    padding: 0 !important;
    background: rgba(255, 250, 240, 0.92) !important;
    border-bottom: 1px solid rgba(18, 48, 71, 0.18) !important;
    box-shadow: none !important;
    color: #123047 !important;
    box-sizing: border-box !important;
  }

  body.home .fishlogy-home-header__inner,
  body.page-id-11 .fishlogy-home-header__inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 34px !important;
    width: min(calc(100vw - 80px), 1204px) !important;
    max-width: min(calc(100vw - 80px), 1204px) !important;
    min-height: 68px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  body.home .fishlogy-home-header__logo,
  body.page-id-11 .fishlogy-home-header__logo {
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    min-width: 0 !important;
    color: #123047 !important;
    text-decoration: none !important;
  }

  body.home .fishlogy-home-header__mark,
  body.page-id-11 .fishlogy-home-header__mark {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 60px !important;
    height: 30px !important;
    color: #123047 !important;
    flex: 0 0 auto !important;
  }

  body.home .fishlogy-home-header__mark svg,
  body.page-id-11 .fishlogy-home-header__mark svg {
    display: block !important;
    width: 60px !important;
    height: 30px !important;
  }

  body.home .fishlogy-home-header__name,
  body.page-id-11 .fishlogy-home-header__name {
    display: block !important;
    color: #123047 !important;
    font-size: 28px !important;
    font-weight: 900 !important;
    line-height: 0.95 !important;
    letter-spacing: 0.045em !important;
    text-transform: uppercase !important;
  }

  body.home .fishlogy-home-header__tagline,
  body.page-id-11 .fishlogy-home-header__tagline {
    display: block !important;
    margin-top: 4px !important;
    color: rgba(18, 48, 71, 0.78) !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: 0.18em !important;
    text-transform: uppercase !important;
  }

  body.home .fishlogy-home-header__nav,
  body.page-id-11 .fishlogy-home-header__nav {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 26px !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.home .fishlogy-home-header__nav a,
  body.page-id-11 .fishlogy-home-header__nav a {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    min-height: 68px !important;
    color: #123047 !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: 0.10em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    white-space: nowrap !important;
  }

  body.home .fishlogy-home-header__nav a::after,
  body.page-id-11 .fishlogy-home-header__nav a::after {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 17px !important;
    height: 2px !important;
    background: transparent !important;
  }

  body.home .fishlogy-home-header__nav a:hover,
  body.page-id-11 .fishlogy-home-header__nav a:hover,
  body.home .fishlogy-home-header__nav a.is-current,
  body.page-id-11 .fishlogy-home-header__nav a.is-current {
    color: #c9822b !important;
  }

  body.home .fishlogy-home-header__nav a.is-current::after,
  body.page-id-11 .fishlogy-home-header__nav a.is-current::after,
  body.home .fishlogy-home-header__nav a:hover::after,
  body.page-id-11 .fishlogy-home-header__nav a:hover::after {
    background: #123047 !important;
  }

  body.home .fishlogy-home-header__search,
  body.page-id-11 .fishlogy-home-header__search {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 24px !important;
    height: 24px !important;
    color: #123047 !important;
    text-decoration: none !important;
  }

  body.home .fishlogy-home-header__search svg,
  body.page-id-11 .fishlogy-home-header__search svg {
    display: block !important;
    width: 19px !important;
    height: 19px !important;
  }

  body.home .main,
  body.page-id-11 .main {
    padding-top: 30px !important;
  }

  body.home .fishlogy-home-footer,
  body.page-id-11 .fishlogy-home-footer {
    margin-top: 34px !important;
    background: rgba(255, 250, 240, 0.94) !important;
    color: #123047 !important;
    border-top: 1px solid rgba(18, 48, 71, 0.20) !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
  }

  body.home .fishlogy-home-footer__inner,
  body.page-id-11 .fishlogy-home-footer__inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 30px !important;
    min-height: 92px !important;
    padding: 0 !important;
  }

  body.home .fishlogy-home-footer__brand,
  body.page-id-11 .fishlogy-home-footer__brand {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    min-width: 260px !important;
  }

  body.home .fishlogy-home-footer__logo,
  body.page-id-11 .fishlogy-home-footer__logo {
    gap: 10px !important;
    margin: 0 !important;
    color: #123047 !important;
  }

  body.home .fishlogy-home-footer__mark,
  body.page-id-11 .fishlogy-home-footer__mark {
    width: 56px !important;
    height: 28px !important;
    color: #123047 !important;
  }

  body.home .fishlogy-home-footer__mark svg,
  body.page-id-11 .fishlogy-home-footer__mark svg {
    width: 56px !important;
    height: 28px !important;
  }

  body.home .fishlogy-home-footer__name,
  body.page-id-11 .fishlogy-home-footer__name {
    color: #123047 !important;
    font-size: 26px !important;
    font-weight: 900 !important;
    letter-spacing: 0.045em !important;
    text-transform: uppercase !important;
  }

  body.home .fishlogy-home-footer__tagline,
  body.page-id-11 .fishlogy-home-footer__tagline {
    max-width: 270px !important;
    margin: 0 !important;
    color: rgba(18, 48, 71, 0.72) !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 1.55 !important;
    letter-spacing: 0.06em !important;
  }

  body.home .fishlogy-home-footer__nav,
  body.page-id-11 .fishlogy-home-footer__nav {
    flex: 1 1 auto !important;
    justify-content: center !important;
    gap: 22px !important;
    margin: 0 !important;
  }

  body.home .fishlogy-home-footer__nav a,
  body.page-id-11 .fishlogy-home-footer__nav a {
    color: #123047 !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    letter-spacing: 0.10em !important;
  }

  body.home .fishlogy-home-footer__nav a:hover,
  body.page-id-11 .fishlogy-home-footer__nav a:hover {
    color: #c9822b !important;
  }

  body.home .fishlogy-home-footer__meta,
  body.page-id-11 .fishlogy-home-footer__meta {
    align-items: flex-end !important;
    justify-content: center !important;
    min-width: 150px !important;
    margin: 0 !important;
    color: rgba(18, 48, 71, 0.64) !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    text-align: right !important;
  }

  body.home .fishlogy-home-footer__small-links a,
  body.page-id-11 .fishlogy-home-footer__small-links a {
    color: rgba(18, 48, 71, 0.64) !important;
    font-size: 11px !important;
  }
}

/* =========================================================
 * Fishlogy PC Home STEP14: Species Index as category tiles
 * Scope:
 * - PC Top Species Index only.
 * - Make fish species links look like the reference CATEGORY tiles.
 * - Does not affect article cards, sidebar, header, footer, mobile, or Single.
 * ========================================================= */
@media screen and (min-width: 1181px) {

  body.home .fishlogy-species-index,
  body.page-id-11 .fishlogy-species-index {
    margin: 0 0 26px !important;
    padding: 0 !important;
  }

  body.home .fishlogy-species-index__head,
  body.page-id-11 .fishlogy-species-index__head {
    display: flex !important;
    align-items: baseline !important;
    justify-content: flex-start !important;
    gap: 14px !important;
    margin: 0 0 13px !important;
    padding: 0 !important;
    border: 0 !important;
  }

  body.home .fishlogy-species-index__label,
  body.page-id-11 .fishlogy-species-index__label {
    display: inline-block !important;
    min-height: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    color: #123c4a !important;
    box-shadow: none !important;
    font-size: 24px !important;
    font-weight: 900 !important;
    line-height: 1.15 !important;
    letter-spacing: 0.035em !important;
    text-transform: uppercase !important;
  }

  body.home .fishlogy-species-index__label::before,
  body.page-id-11 .fishlogy-species-index__label::before {
    content: "" !important;
    display: inline-block !important;
    width: 12px !important;
    height: 22px !important;
    margin: 0 10px 0 0 !important;
    vertical-align: -3px !important;
    background: #123c4a !important;
  }

  body.home .fishlogy-species-index__sub,
  body.page-id-11 .fishlogy-species-index__sub {
    margin: 0 !important;
    color: rgba(18, 60, 74, 0.62) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
  }

  body.home .fishlogy-species-grid,
  body.page-id-11 .fishlogy-species-grid {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 14px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.home .fishlogy-species-card,
  body.page-id-11 .fishlogy-species-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    min-height: 112px !important;
    padding: 14px 10px 13px !important;
    border: 1.5px solid rgba(18, 60, 74, 0.72) !important;
    border-radius: 0 !important;
    background: rgba(255, 250, 240, 0.66) !important;
    color: #123c4a !important;
    box-shadow: none !important;
    text-align: center !important;
    overflow: hidden !important;
  }

  body.home .fishlogy-species-card::before,
  body.page-id-11 .fishlogy-species-card::before {
    content: none !important;
    display: none !important;
  }

  body.home .fishlogy-species-card:hover,
  body.page-id-11 .fishlogy-species-card:hover {
    transform: translateY(-2px) !important;
    border-color: #123c4a !important;
    background: rgba(255, 250, 240, 0.86) !important;
    box-shadow: 0 10px 22px rgba(18, 60, 74, 0.08) !important;
  }

  body.home .fishlogy-species-card__figure,
  body.page-id-11 .fishlogy-species-card__figure {
    width: 64px !important;
    height: 38px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    background: transparent !important;
  }

  body.home .fishlogy-species-card__figure svg,
  body.page-id-11 .fishlogy-species-card__figure svg {
    width: 62px !important;
    max-width: 100% !important;
  }

  body.home .fishlogy-species-card__body,
  body.page-id-11 .fishlogy-species-card__body {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    text-align: center !important;
  }

  body.home .fishlogy-species-card__en,
  body.page-id-11 .fishlogy-species-card__en {
    display: block !important;
    margin: 0 0 5px !important;
    color: #123c4a !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    line-height: 1.15 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  body.home .fishlogy-species-card__name,
  body.page-id-11 .fishlogy-species-card__name {
    display: block !important;
    margin: 0 !important;
    color: #123c4a !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
    letter-spacing: 0.02em !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }

  body.home .fishlogy-species-card__copy,
  body.page-id-11 .fishlogy-species-card__copy {
    display: none !important;
  }
}

@media screen and (min-width: 1181px) and (max-width: 1320px) {
  body.home .fishlogy-species-grid,
  body.page-id-11 .fishlogy-species-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

/* =========================================================
 * STEP15. PC Home: integrated hero header / copy overlay
 *
 * Purpose:
 * - Use the new wide hero image as a poster-like first view.
 * - Overlay the existing Fishlogy home header on the hero.
 * - Add visual catch copy and CTA by CSS only.
 * - Match the site background to the hero's warm off-white paper tone.
 *
 * Notes:
 * - CSS-only CTA is visual only. Make it clickable later with minimal PHP if needed.
 * - PC Home only. Mobile / Single are not touched.
 * ========================================================= */
@media screen and (min-width: 1181px) {

  body.home,
  body.page-id-11 {
    background: #f6ebd4 !important;
  }

  body.home #container,
  body.page-id-11 #container,
  body.home .container,
  body.page-id-11 .container,
  body.home .content,
  body.page-id-11 .content,
  body.home .content-in,
  body.page-id-11 .content-in,
  body.home .main,
  body.page-id-11 .main,
  body.home .wrap,
  body.page-id-11 .wrap {
    background: #f6ebd4 !important;
  }

  body.home,
  body.page-id-11 {
    position: relative !important;
  }

  body.home .fishlogy-home-header,
  body.page-id-11 .fishlogy-home-header {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 60 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  body.admin-bar.home .fishlogy-home-header,
  body.admin-bar.page-id-11 .fishlogy-home-header {
    top: 32px !important;
  }

  body.home .fishlogy-home-header__inner,
  body.page-id-11 .fishlogy-home-header__inner {
    width: min(100%, 1440px) !important;
    min-height: 92px !important;
    padding: 24px clamp(42px, 4.8vw, 84px) 12px !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 32px !important;
    background: linear-gradient(180deg, rgba(246, 235, 212, 0.66), rgba(246, 235, 212, 0.08)) !important;
    border-bottom: 1px solid rgba(18, 48, 71, 0.16) !important;
  }

  body.home .fishlogy-home-header__logo,
  body.page-id-11 .fishlogy-home-header__logo {
    align-items: flex-start !important;
    gap: 12px !important;
    color: #123047 !important;
    text-decoration: none !important;
    text-shadow: 0 1px 0 rgba(246, 235, 212, 0.48) !important;
  }

  body.home .fishlogy-home-header__mark,
  body.page-id-11 .fishlogy-home-header__mark {
    width: 48px !important;
    height: 32px !important;
    margin-top: 2px !important;
    color: #123047 !important;
  }

  body.home .fishlogy-home-header__name,
  body.page-id-11 .fishlogy-home-header__name {
    font-size: clamp(28px, 2.7vw, 45px) !important;
    line-height: 0.88 !important;
    letter-spacing: 0.01em !important;
    color: #123047 !important;
  }

  body.home .fishlogy-home-header__tagline,
  body.page-id-11 .fishlogy-home-header__tagline {
    margin-top: 7px !important;
    font-size: 11px !important;
    line-height: 1 !important;
    letter-spacing: 0.16em !important;
    color: rgba(18, 48, 71, 0.88) !important;
  }

  body.home .fishlogy-home-header__nav,
  body.page-id-11 .fishlogy-home-header__nav {
    gap: clamp(16px, 2.1vw, 34px) !important;
    align-items: center !important;
    padding-top: 6px !important;
    flex-wrap: nowrap !important;
  }

  body.home .fishlogy-home-header__nav a,
  body.page-id-11 .fishlogy-home-header__nav a {
    color: #123047 !important;
    font-size: clamp(12px, 0.92vw, 15px) !important;
    letter-spacing: 0.105em !important;
    font-weight: 800 !important;
    text-shadow: 0 1px 0 rgba(246, 235, 212, 0.5) !important;
  }

  body.home .fishlogy-home-header__nav a::after,
  body.page-id-11 .fishlogy-home-header__nav a::after {
    background: #d49a2a !important;
  }

  body.home .fishlogy-home-header__search,
  body.page-id-11 .fishlogy-home-header__search {
    width: 30px !important;
    height: 30px !important;
    margin-left: 2px !important;
  }

  body.home .fishlogy-pc-only,
  body.page-id-11 .fishlogy-pc-only {
    position: relative !important;
    background: #f6ebd4 !important;
    padding-top: 0 !important;
  }

  body.home .fishlogy-pc-only > .wp-block-image.alignfull,
  body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull {
    position: relative !important;
    width: 100vw !important;
    max-width: none !important;
    height: clamp(610px, 56.3vw, 880px) !important;
    margin: 0 calc(50% - 50vw) 34px !important;
    overflow: hidden !important;
    background: #f6ebd4 !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  body.home .fishlogy-pc-only > .wp-block-image.alignfull img,
  body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center center !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  body.home .fishlogy-pc-only::before,
  body.page-id-11 .fishlogy-pc-only::before {
    content: "釣りを、\A感覚から科学へ。" !important;
    white-space: pre-line !important;
    position: absolute !important;
    z-index: 25 !important;
    top: clamp(330px, 31.5vw, 505px) !important;
    left: max(64px, calc((100vw - 1320px) / 2 + 72px)) !important;
    width: min(620px, 42vw) !important;
    color: #fff4dc !important;
    font-family: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Noto Serif JP", serif !important;
    font-size: clamp(48px, 4.7vw, 92px) !important;
    font-weight: 800 !important;
    line-height: 1.12 !important;
    letter-spacing: 0.03em !important;
    text-shadow: 0 3px 0 rgba(4, 21, 31, 0.26), 0 14px 38px rgba(4, 21, 31, 0.34) !important;
    pointer-events: none !important;
    box-shadow: none !important;
  }

  body.home .fishlogy-pc-only::after,
  body.page-id-11 .fishlogy-pc-only::after {
    content: "魚の行動には理由がある。" !important;
    position: absolute !important;
    z-index: 25 !important;
    top: clamp(505px, 45vw, 700px) !important;
    left: max(68px, calc((100vw - 1320px) / 2 + 78px)) !important;
    color: rgba(255, 244, 220, 0.96) !important;
    font-family: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Noto Serif JP", serif !important;
    font-size: clamp(19px, 1.45vw, 30px) !important;
    font-weight: 700 !important;
    line-height: 1.65 !important;
    letter-spacing: 0.09em !important;
    text-shadow: 0 2px 0 rgba(4, 21, 31, 0.24), 0 10px 28px rgba(4, 21, 31, 0.3) !important;
    pointer-events: none !important;
  }

  body.home .fishlogy-pc-only > .wp-block-image.alignfull::after,
  body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull::after {
    content: "記事を読む  →" !important;
    position: absolute !important;
    z-index: 26 !important;
    left: max(70px, calc((100vw - 1320px) / 2 + 80px)) !important;
    top: clamp(590px, 50.6vw, 780px) !important;
    min-width: 214px !important;
    padding: 16px 32px 17px !important;
    border: 2px solid rgba(18, 48, 71, 0.9) !important;
    background: linear-gradient(180deg, #f0bd4a 0%, #d99b2a 100%) !important;
    color: #123047 !important;
    font-family: "Yu Gothic", "Hiragino Sans", "Noto Sans JP", sans-serif !important;
    font-size: clamp(18px, 1.35vw, 25px) !important;
    font-weight: 900 !important;
    letter-spacing: 0.1em !important;
    line-height: 1 !important;
    text-align: center !important;
    box-shadow: 0 12px 30px rgba(4, 21, 31, 0.18), inset 0 1px 0 rgba(255, 244, 220, 0.35) !important;
    pointer-events: none !important;
  }

  body.home .fishlogy-species-index,
  body.page-id-11 .fishlogy-species-index {
    margin-top: 20px !important;
  }
}

/* =========================================================
 * STEP16. PC Home: hero overlay position fix
 *
 * Fixes:
 * - Pull the hero image up so it starts at the top of the PC Top content.
 * - Keep the custom header over the hero instead of creating a separate band.
 * - Move catch copy/button upward so they stay inside the hero and do not overlap SPECIES INDEX.
 * - PC Home only. Mobile / Single are not touched.
 * ========================================================= */
@media screen and (min-width: 1181px) {

  body.home,
  body.page-id-11,
  body.home #container,
  body.page-id-11 #container,
  body.home .container,
  body.page-id-11 .container,
  body.home .content,
  body.page-id-11 .content,
  body.home .content-in,
  body.page-id-11 .content-in,
  body.home .main,
  body.page-id-11 .main,
  body.home .article,
  body.page-id-11 .article,
  body.home .entry-content,
  body.page-id-11 .entry-content {
    background: #f8efdd !important;
  }

  body.home .main,
  body.page-id-11 .main,
  body.home .article,
  body.page-id-11 .article,
  body.home .entry-content,
  body.page-id-11 .entry-content,
  body.home .fishlogy-pc-only,
  body.page-id-11 .fishlogy-pc-only {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  body.home .fishlogy-home-header,
  body.page-id-11 .fishlogy-home-header {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 80 !important;
    width: 100vw !important;
    margin: 0 calc(50% - 50vw) !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  body.admin-bar.home .fishlogy-home-header,
  body.admin-bar.page-id-11 .fishlogy-home-header {
    top: 32px !important;
  }

  body.home .fishlogy-home-header__inner,
  body.page-id-11 .fishlogy-home-header__inner {
    width: min(100%, 1480px) !important;
    min-height: 84px !important;
    padding: 20px clamp(44px, 5vw, 92px) 10px !important;
    margin: 0 auto !important;
    background: linear-gradient(180deg, rgba(248, 239, 221, 0.72) 0%, rgba(248, 239, 221, 0.22) 62%, rgba(248, 239, 221, 0) 100%) !important;
    border-bottom: 0 !important;
  }

  body.home .fishlogy-pc-only > .wp-block-image.alignfull,
  body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull {
    height: clamp(650px, 56.25vw, 900px) !important;
    margin-top: 0 !important;
    margin-bottom: 22px !important;
    background: #f8efdd !important;
  }

  body.home .fishlogy-pc-only > .wp-block-image.alignfull img,
  body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull img {
    object-position: center top !important;
  }

  body.home .fishlogy-pc-only::before,
  body.page-id-11 .fishlogy-pc-only::before {
    top: clamp(250px, 26.5vw, 420px) !important;
    left: max(64px, calc((100vw - 1320px) / 2 + 78px)) !important;
    width: min(610px, 43vw) !important;
    font-size: clamp(44px, 4.15vw, 78px) !important;
    line-height: 1.12 !important;
    z-index: 35 !important;
  }

  body.home .fishlogy-pc-only::after,
  body.page-id-11 .fishlogy-pc-only::after {
    top: clamp(430px, 40vw, 610px) !important;
    left: max(68px, calc((100vw - 1320px) / 2 + 82px)) !important;
    font-size: clamp(18px, 1.3vw, 26px) !important;
    z-index: 35 !important;
  }

  body.home .fishlogy-pc-only > .wp-block-image.alignfull::after,
  body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull::after {
    top: clamp(492px, 45.8vw, 700px) !important;
    left: max(70px, calc((100vw - 1320px) / 2 + 84px)) !important;
    z-index: 36 !important;
  }

  body.home .fishlogy-species-index,
  body.page-id-11 .fishlogy-species-index {
    margin-top: 28px !important;
  }
}

/* =========================================================
 * STEP17. PC Home: real DOM hero sizing / overlay fix
 *
 * Console result showed the real hero is:
 * - .fishlogy-pc-only > .wp-block-image.alignfull
 * - .fishlogy-pc-only > .wp-block-image.alignfull img
 * and custom .fishlogy-pc-home-hero-* nodes do not exist.
 *
 * Fixes:
 * - Use the actual wp-block-image as the hero frame.
 * - Give the hero enough height so overlay copy and button stay inside.
 * - Keep SPECIES INDEX below the hero, never overlapped.
 * - PC Home only. Mobile / Single are not touched.
 * ========================================================= */
@media screen and (min-width: 1181px) {

  body.home,
  body.page-id-11,
  body.home #container,
  body.page-id-11 #container,
  body.home .container,
  body.page-id-11 .container,
  body.home .content,
  body.page-id-11 .content,
  body.home .content-in,
  body.page-id-11 .content-in,
  body.home .main,
  body.page-id-11 .main,
  body.home .article,
  body.page-id-11 .article,
  body.home .entry-content,
  body.page-id-11 .entry-content,
  body.home .fishlogy-pc-only,
  body.page-id-11 .fishlogy-pc-only {
    background-color: #f8efdd !important;
  }

  body.home .content,
  body.page-id-11 .content {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  body.home .main,
  body.page-id-11 .main,
  body.home .article,
  body.page-id-11 .article,
  body.home .entry-content,
  body.page-id-11 .entry-content,
  body.home .fishlogy-pc-only,
  body.page-id-11 .fishlogy-pc-only {
    position: relative !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    overflow: visible !important;
  }

  body.home .fishlogy-pc-only > .wp-block-image.alignfull,
  body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull {
    position: relative !important;
    z-index: 1 !important;
    display: block !important;
    width: 100vw !important;
    max-width: none !important;
    height: clamp(620px, 56.3vw, 820px) !important;
    min-height: 620px !important;
    margin-top: 0 !important;
    margin-right: calc(50% - 50vw) !important;
    margin-bottom: 24px !important;
    margin-left: calc(50% - 50vw) !important;
    padding: 0 !important;
    overflow: hidden !important;
    background-color: #f8efdd !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  body.home .fishlogy-pc-only > .wp-block-image.alignfull img,
  body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    min-height: 620px !important;
    object-fit: cover !important;
    object-position: center top !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  body.home .fishlogy-home-header,
  body.page-id-11 .fishlogy-home-header {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 70 !important;
    width: 100vw !important;
    margin: 0 calc(50% - 50vw) !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  body.admin-bar.home .fishlogy-home-header,
  body.admin-bar.page-id-11 .fishlogy-home-header {
    top: 32px !important;
  }

  body.home .fishlogy-home-header__inner,
  body.page-id-11 .fishlogy-home-header__inner {
    min-height: 78px !important;
    padding: 18px clamp(44px, 5vw, 92px) 8px !important;
    background: linear-gradient(180deg, rgba(248, 239, 221, 0.74) 0%, rgba(248, 239, 221, 0.32) 58%, rgba(248, 239, 221, 0) 100%) !important;
  }

  body.home .fishlogy-pc-only::before,
  body.page-id-11 .fishlogy-pc-only::before {
    content: "釣りを、\A感覚から科学へ。" !important;
    white-space: pre-line !important;
    position: absolute !important;
    z-index: 35 !important;
    top: clamp(270px, 28vw, 405px) !important;
    left: max(70px, calc((100vw - 1320px) / 2 + 86px)) !important;
    width: min(660px, 48vw) !important;
    color: #fff4dc !important;
    font-family: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Noto Serif JP", serif !important;
    font-size: clamp(48px, 4.55vw, 82px) !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    letter-spacing: 0.03em !important;
    text-shadow: 0 3px 0 rgba(4, 21, 31, 0.28), 0 16px 42px rgba(4, 21, 31, 0.38) !important;
    pointer-events: none !important;
    box-shadow: none !important;
  }

  body.home .fishlogy-pc-only::after,
  body.page-id-11 .fishlogy-pc-only::after {
    content: "魚の行動には理由がある。" !important;
    position: absolute !important;
    z-index: 35 !important;
    top: clamp(445px, 43.4vw, 575px) !important;
    left: max(74px, calc((100vw - 1320px) / 2 + 90px)) !important;
    color: rgba(255, 244, 220, 0.96) !important;
    font-family: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Noto Serif JP", serif !important;
    font-size: clamp(19px, 1.35vw, 27px) !important;
    font-weight: 700 !important;
    line-height: 1.55 !important;
    letter-spacing: 0.08em !important;
    text-shadow: 0 2px 0 rgba(4, 21, 31, 0.24), 0 10px 28px rgba(4, 21, 31, 0.3) !important;
    pointer-events: none !important;
  }

  body.home .fishlogy-pc-only > .wp-block-image.alignfull::after,
  body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull::after {
    content: "記事を読む  →" !important;
    position: absolute !important;
    z-index: 36 !important;
    top: clamp(505px, 48.6vw, 655px) !important;
    left: max(76px, calc((100vw - 1320px) / 2 + 92px)) !important;
    min-width: 216px !important;
    padding: 15px 31px 16px !important;
    border: 2px solid rgba(18, 48, 71, 0.9) !important;
    background: linear-gradient(180deg, #f2bd42 0%, #d99b2a 100%) !important;
    color: #123047 !important;
    font-family: "Yu Gothic", "Hiragino Sans", "Noto Sans JP", sans-serif !important;
    font-size: clamp(18px, 1.28vw, 24px) !important;
    font-weight: 900 !important;
    letter-spacing: 0.1em !important;
    line-height: 1 !important;
    text-align: center !important;
    box-shadow: 0 12px 30px rgba(4, 21, 31, 0.18), inset 0 1px 0 rgba(255, 244, 220, 0.35) !important;
    pointer-events: none !important;
  }

  body.home .fishlogy-species-index,
  body.page-id-11 .fishlogy-species-index {
    position: relative !important;
    z-index: 3 !important;
    margin-top: 26px !important;
    clear: both !important;
  }
}

/* =========================================================
 * STEP18. PC Home: show the full hero image without cropping
 *
 * The previous hero used object-fit: cover, so the generated
 * 16:9 hero image was cropped vertically. This override keeps
 * the whole image visible and positions the overlay by viewport
 * ratio so the copy remains inside the artwork.
 * PC Home only. Mobile / Single are not touched.
 * ========================================================= */
@media screen and (min-width: 1181px) {

  body.home,
  body.page-id-11,
  body.home #container,
  body.page-id-11 #container,
  body.home .container,
  body.page-id-11 .container,
  body.home .content,
  body.page-id-11 .content,
  body.home .content-in,
  body.page-id-11 .content-in,
  body.home .main,
  body.page-id-11 .main,
  body.home .article,
  body.page-id-11 .article,
  body.home .entry-content,
  body.page-id-11 .entry-content,
  body.home .fishlogy-pc-only,
  body.page-id-11 .fishlogy-pc-only {
    background-color: #f8efdd !important;
  }

  body.home .fishlogy-pc-only > .wp-block-image.alignfull,
  body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull {
    width: 100vw !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 1672 / 941 !important;
    margin-top: 0 !important;
    margin-right: calc(50% - 50vw) !important;
    margin-bottom: 26px !important;
    margin-left: calc(50% - 50vw) !important;
    padding: 0 !important;
    overflow: visible !important;
    background-color: #f8efdd !important;
  }

  body.home .fishlogy-pc-only > .wp-block-image.alignfull img,
  body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-width: none !important;
    aspect-ratio: 1672 / 941 !important;
    object-fit: contain !important;
    object-position: center center !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.home .fishlogy-home-header,
  body.page-id-11 .fishlogy-home-header {
    top: 0 !important;
  }

  body.admin-bar.home .fishlogy-home-header,
  body.admin-bar.page-id-11 .fishlogy-home-header {
    top: 32px !important;
  }

  body.home .fishlogy-home-header__inner,
  body.page-id-11 .fishlogy-home-header__inner {
    padding-top: clamp(18px, 2.1vw, 34px) !important;
    padding-bottom: 10px !important;
    background: linear-gradient(180deg, rgba(248, 239, 221, 0.52) 0%, rgba(248, 239, 221, 0.18) 70%, rgba(248, 239, 221, 0) 100%) !important;
  }

  body.home .fishlogy-pc-only::before,
  body.page-id-11 .fishlogy-pc-only::before {
    top: clamp(285px, 26.9vw, 430px) !important;
    left: max(72px, calc((100vw - 1320px) / 2 + 92px)) !important;
    width: min(650px, 48vw) !important;
    font-size: clamp(48px, 4.55vw, 80px) !important;
    line-height: 1.08 !important;
  }

  body.home .fishlogy-pc-only::after,
  body.page-id-11 .fishlogy-pc-only::after {
    top: clamp(462px, 42.8vw, 625px) !important;
    left: max(76px, calc((100vw - 1320px) / 2 + 96px)) !important;
  }

  body.home .fishlogy-pc-only > .wp-block-image.alignfull::after,
  body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull::after {
    top: clamp(520px, 48vw, 705px) !important;
    left: max(78px, calc((100vw - 1320px) / 2 + 98px)) !important;
  }

  body.home .fishlogy-species-index,
  body.page-id-11 .fishlogy-species-index {
    margin-top: 28px !important;
  }
}

/* =========================================================
 * STEP19. PC Home: reset failed hero overlay / top header / navy footer
 *
 * Purpose:
 * - Stop placing copy, button and species over the hero image.
 * - Put the logo/category navigation at the very top as a normal header.
 * - Keep the hero image fully visible under the header.
 * - Make the footer navy with white text.
 * PC Home only. Mobile / Single are not touched.
 * ========================================================= */
@media screen and (min-width: 1181px) {

  body.home,
  body.page-id-11,
  body.home #container,
  body.page-id-11 #container,
  body.home .container,
  body.page-id-11 .container,
  body.home .content,
  body.page-id-11 .content,
  body.home .content-in,
  body.page-id-11 .content-in,
  body.home .main,
  body.page-id-11 .main,
  body.home .article,
  body.page-id-11 .article,
  body.home .entry-content,
  body.page-id-11 .entry-content,
  body.home .fishlogy-pc-only,
  body.page-id-11 .fishlogy-pc-only {
    background-color: #f8efdd !important;
  }

  body.home .content,
  body.page-id-11 .content,
  body.home .content-in,
  body.page-id-11 .content-in,
  body.home .main,
  body.page-id-11 .main,
  body.home .article,
  body.page-id-11 .article,
  body.home .entry-content,
  body.page-id-11 .entry-content,
  body.home .fishlogy-pc-only,
  body.page-id-11 .fishlogy-pc-only {
    margin-top: 0 !important;
    padding-top: 0 !important;
    overflow: visible !important;
  }

  /* Header: use the footer-like logo/category row at the top. */
  body.home .fishlogy-home-header,
  body.page-id-11 .fishlogy-home-header {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    z-index: 20 !important;
    display: block !important;
    width: 100vw !important;
    margin: 0 calc(50% - 50vw) !important;
    padding: 0 !important;
    background: #f8efdd !important;
    border-top: 0 !important;
    border-bottom: 1px solid rgba(18, 48, 71, 0.18) !important;
    box-shadow: none !important;
    color: #123047 !important;
  }

  body.admin-bar.home .fishlogy-home-header,
  body.admin-bar.page-id-11 .fishlogy-home-header {
    top: auto !important;
  }

  body.home .fishlogy-home-header__inner,
  body.page-id-11 .fishlogy-home-header__inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 28px !important;
    width: min(calc(100vw - 80px), 1204px) !important;
    max-width: min(calc(100vw - 80px), 1204px) !important;
    min-height: 78px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    background: transparent !important;
  }

  body.home .fishlogy-home-header__logo,
  body.page-id-11 .fishlogy-home-header__logo {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    color: #123047 !important;
    text-decoration: none !important;
    flex: 0 0 auto !important;
  }

  body.home .fishlogy-home-header__mark,
  body.page-id-11 .fishlogy-home-header__mark {
    width: 54px !important;
    height: 27px !important;
    color: #123047 !important;
  }

  body.home .fishlogy-home-header__mark svg,
  body.page-id-11 .fishlogy-home-header__mark svg {
    display: block !important;
    width: 54px !important;
    height: 27px !important;
  }

  body.home .fishlogy-home-header__name,
  body.page-id-11 .fishlogy-home-header__name {
    color: #123047 !important;
    font-size: 28px !important;
    font-weight: 900 !important;
    line-height: 0.95 !important;
    letter-spacing: 0.045em !important;
    text-transform: uppercase !important;
  }

  body.home .fishlogy-home-header__tagline,
  body.page-id-11 .fishlogy-home-header__tagline {
    display: block !important;
    margin-top: 4px !important;
    color: rgba(18, 48, 71, 0.72) !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: 0.16em !important;
    text-transform: uppercase !important;
  }

  body.home .fishlogy-home-header__nav,
  body.page-id-11 .fishlogy-home-header__nav {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 22px !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }

  body.home .fishlogy-home-header__nav a,
  body.page-id-11 .fishlogy-home-header__nav a {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    min-height: 78px !important;
    color: #123047 !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: 0.10em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    white-space: nowrap !important;
  }

  body.home .fishlogy-home-header__nav a::after,
  body.page-id-11 .fishlogy-home-header__nav a::after {
    bottom: 22px !important;
    background: transparent !important;
  }

  body.home .fishlogy-home-header__nav a:hover,
  body.page-id-11 .fishlogy-home-header__nav a:hover,
  body.home .fishlogy-home-header__nav a.is-current,
  body.page-id-11 .fishlogy-home-header__nav a.is-current {
    color: #c9822b !important;
  }

  body.home .fishlogy-home-header__search,
  body.page-id-11 .fishlogy-home-header__search {
    color: #123047 !important;
    flex: 0 0 auto !important;
  }

  /* Hero: show image as an image, not a container for pseudo text. */
  body.home .fishlogy-pc-only > .wp-block-image.alignfull,
  body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull {
    position: relative !important;
    z-index: 1 !important;
    display: block !important;
    width: 100vw !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 1672 / 941 !important;
    margin-top: 0 !important;
    margin-right: calc(50% - 50vw) !important;
    margin-bottom: 26px !important;
    margin-left: calc(50% - 50vw) !important;
    padding: 0 !important;
    overflow: visible !important;
    background: #f8efdd !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  body.home .fishlogy-pc-only > .wp-block-image.alignfull img,
  body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-width: none !important;
    aspect-ratio: 1672 / 941 !important;
    object-fit: contain !important;
    object-position: center center !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  /* Remove the failed CSS-only hero copy and fake button. */
  body.home .fishlogy-pc-only::before,
  body.page-id-11 .fishlogy-pc-only::before,
  body.home .fishlogy-pc-only::after,
  body.page-id-11 .fishlogy-pc-only::after,
  body.home .fishlogy-pc-only > .wp-block-image.alignfull::after,
  body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull::after {
    content: none !important;
    display: none !important;
  }

  body.home .fishlogy-species-index,
  body.page-id-11 .fishlogy-species-index {
    position: relative !important;
    z-index: 2 !important;
    clear: both !important;
    margin-top: 0 !important;
    margin-bottom: 28px !important;
  }

  /* Footer: navy with white reversed text. */
  body.home .fishlogy-home-footer,
  body.page-id-11 .fishlogy-home-footer {
    margin-top: 42px !important;
    background: #123047 !important;
    color: #fffaf0 !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
  }

  body.home .fishlogy-home-footer__inner,
  body.page-id-11 .fishlogy-home-footer__inner {
    min-height: 104px !important;
    padding: 0 !important;
  }

  body.home .fishlogy-home-footer__logo,
  body.page-id-11 .fishlogy-home-footer__logo,
  body.home .fishlogy-home-footer__mark,
  body.page-id-11 .fishlogy-home-footer__mark,
  body.home .fishlogy-home-footer__name,
  body.page-id-11 .fishlogy-home-footer__name,
  body.home .fishlogy-home-footer__nav a,
  body.page-id-11 .fishlogy-home-footer__nav a,
  body.home .fishlogy-home-footer__small-links a,
  body.page-id-11 .fishlogy-home-footer__small-links a {
    color: #fffaf0 !important;
  }

  body.home .fishlogy-home-footer__tagline,
  body.page-id-11 .fishlogy-home-footer__tagline,
  body.home .fishlogy-home-footer__meta,
  body.page-id-11 .fishlogy-home-footer__meta {
    color: rgba(255, 250, 240, 0.76) !important;
  }

  body.home .fishlogy-home-footer__nav a:hover,
  body.page-id-11 .fishlogy-home-footer__nav a:hover,
  body.home .fishlogy-home-footer__small-links a:hover,
  body.page-id-11 .fishlogy-home-footer__small-links a:hover {
    color: #e2a53a !important;
  }
}

/* =========================================================
 * STEP20. PC Home: 1920x720 hero ratio + integrated overlay header
 * Scope: PC Home only. Real DOM based on console results.
 * - Hero image is 1920x720 (8:3), so the figure and img are forced to 8:3.
 * - Header is no longer a separated block; it overlays the hero.
 * - Species Index returns below the hero.
 * ========================================================= */
@media screen and (min-width: 1181px) {
  body.home,
  body.page-id-11 {
    background: #f8efdd !important;
  }

  body.home .container,
  body.page-id-11 .container,
  body.home .content,
  body.page-id-11 .content,
  body.home .content-in,
  body.page-id-11 .content-in,
  body.home .main,
  body.page-id-11 .main,
  body.home .article,
  body.page-id-11 .article,
  body.home .fishlogy-pc-only,
  body.page-id-11 .fishlogy-pc-only {
    background: #f8efdd !important;
  }

  body.home .content,
  body.page-id-11 .content {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  body.home .main,
  body.page-id-11 .main {
    padding-top: 0 !important;
  }

  body.home .article,
  body.page-id-11 .article {
    padding-top: 0 !important;
  }

  body.home .fishlogy-pc-only,
  body.page-id-11 .fishlogy-pc-only {
    position: relative !important;
    z-index: 1 !important;
    padding-top: 0 !important;
    overflow: visible !important;
  }

  body.home .fishlogy-home-header,
  body.page-id-11 .fishlogy-home-header {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: auto !important;
    z-index: 30 !important;
    display: block !important;
    width: 100vw !important;
    margin: 0 calc(50% - 50vw) !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #123047 !important;
    pointer-events: auto !important;
  }

  body.admin-bar.home .fishlogy-home-header,
  body.admin-bar.page-id-11 .fishlogy-home-header {
    top: 32px !important;
  }

  body.home .fishlogy-home-header__inner,
  body.page-id-11 .fishlogy-home-header__inner {
    width: min(calc(100vw - 96px), 1204px) !important;
    max-width: min(calc(100vw - 96px), 1204px) !important;
    min-height: 72px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    background: transparent !important;
  }

  body.home .fishlogy-home-header__name,
  body.page-id-11 .fishlogy-home-header__name {
    font-size: 27px !important;
    color: #123047 !important;
    text-shadow: 0 1px 0 rgba(248, 239, 221, 0.55) !important;
  }

  body.home .fishlogy-home-header__tagline,
  body.page-id-11 .fishlogy-home-header__tagline,
  body.home .fishlogy-home-header__nav a,
  body.page-id-11 .fishlogy-home-header__nav a,
  body.home .fishlogy-home-header__search,
  body.page-id-11 .fishlogy-home-header__search {
    color: #123047 !important;
    text-shadow: 0 1px 0 rgba(248, 239, 221, 0.50) !important;
  }

  body.home .fishlogy-home-header__nav,
  body.page-id-11 .fishlogy-home-header__nav {
    gap: 21px !important;
  }

  body.home .fishlogy-home-header__nav a,
  body.page-id-11 .fishlogy-home-header__nav a {
    min-height: 72px !important;
    font-size: 11px !important;
  }

  body.home .fishlogy-home-header__nav a::after,
  body.page-id-11 .fishlogy-home-header__nav a::after {
    bottom: 19px !important;
  }

  body.home .fishlogy-pc-only > .wp-block-image.alignfull,
  body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull {
    position: relative !important;
    z-index: 1 !important;
    display: block !important;
    width: 100vw !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 8 / 3 !important;
    margin-top: 0 !important;
    margin-right: calc(50% - 50vw) !important;
    margin-bottom: 30px !important;
    margin-left: calc(50% - 50vw) !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: #f8efdd !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  body.home .fishlogy-pc-only > .wp-block-image.alignfull img,
  body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    aspect-ratio: 8 / 3 !important;
    object-fit: cover !important;
    object-position: center center !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  body.home .fishlogy-pc-only::before,
  body.page-id-11 .fishlogy-pc-only::before,
  body.home .fishlogy-pc-only::after,
  body.page-id-11 .fishlogy-pc-only::after,
  body.home .fishlogy-pc-only > .wp-block-image.alignfull::before,
  body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull::before,
  body.home .fishlogy-pc-only > .wp-block-image.alignfull::after,
  body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull::after {
    content: none !important;
    display: none !important;
  }

  body.home .fishlogy-species-index,
  body.page-id-11 .fishlogy-species-index {
    position: relative !important;
    z-index: 2 !important;
    clear: both !important;
    margin-top: 0 !important;
    margin-bottom: 28px !important;
    transform: none !important;
  }
}

/* =========================================================
 * STEP21. PC Home: 1920x800 hero + top-integrated header + CSS copy/button
 * Scope: PC Home only. Real DOM based on console results.
 * - Hero uses the new 1920x800-ish artwork ratio: 12:5.
 * - Header is flush to the very top of the hero image.
 * - ABOUT is hidden from the PC hero header nav when present.
 * - Catch copy and CTA are CSS overlays for visual confirmation.
 *   Note: the CTA made with CSS is visual only. A real clickable button needs PHP/HTML.
 * ========================================================= */
@media screen and (min-width: 1181px) {
  body.home,
  body.page-id-11,
  body.home .container,
  body.page-id-11 .container,
  body.home .content,
  body.page-id-11 .content,
  body.home .content-in,
  body.page-id-11 .content-in,
  body.home .main,
  body.page-id-11 .main,
  body.home .article,
  body.page-id-11 .article,
  body.home .fishlogy-pc-only,
  body.page-id-11 .fishlogy-pc-only {
    background: #f8efdd !important;
  }

  body.home .content,
  body.page-id-11 .content,
  body.home .main,
  body.page-id-11 .main,
  body.home .article,
  body.page-id-11 .article,
  body.home .fishlogy-pc-only,
  body.page-id-11 .fishlogy-pc-only {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  body.home .fishlogy-pc-only,
  body.page-id-11 .fishlogy-pc-only {
    position: relative !important;
    z-index: 1 !important;
    overflow: visible !important;
    padding-bottom: 56px !important;
  }

  /* Use the current 1920x800 style art ratio. */
  body.home .fishlogy-pc-only > .wp-block-image.alignfull,
  body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull {
    position: relative !important;
    z-index: 1 !important;
    display: block !important;
    width: 100vw !important;
    max-width: none !important;
    height: auto !important;
    aspect-ratio: 12 / 5 !important;
    margin-top: 0 !important;
    margin-right: calc(50% - 50vw) !important;
    margin-bottom: 28px !important;
    margin-left: calc(50% - 50vw) !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: #f8efdd !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  body.home .fishlogy-pc-only > .wp-block-image.alignfull img,
  body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    aspect-ratio: 12 / 5 !important;
    object-fit: cover !important;
    object-position: center center !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  /* Header: flush to the hero's very top, not separated. */
  body.home .fishlogy-home-header,
  body.page-id-11 .fishlogy-home-header {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: auto !important;
    z-index: 40 !important;
    display: block !important;
    width: 100vw !important;
    margin: 0 calc(50% - 50vw) !important;
    padding: 0 !important;
    background: linear-gradient(180deg, rgba(248, 239, 221, 0.66), rgba(248, 239, 221, 0.00)) !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #123047 !important;
    pointer-events: auto !important;
  }

  body.admin-bar.home .fishlogy-home-header,
  body.admin-bar.page-id-11 .fishlogy-home-header {
    top: 0 !important;
  }

  body.home .fishlogy-home-header__inner,
  body.page-id-11 .fishlogy-home-header__inner {
    width: min(calc(100vw - 104px), 1240px) !important;
    max-width: min(calc(100vw - 104px), 1240px) !important;
    min-height: 78px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    background: transparent !important;
  }

  body.home .fishlogy-home-header__logo,
  body.page-id-11 .fishlogy-home-header__logo {
    min-height: 78px !important;
  }

  body.home .fishlogy-home-header__name,
  body.page-id-11 .fishlogy-home-header__name {
    font-size: 29px !important;
    letter-spacing: 0.02em !important;
    color: #123047 !important;
    text-shadow: 0 1px 0 rgba(248, 239, 221, 0.72) !important;
  }

  body.home .fishlogy-home-header__tagline,
  body.page-id-11 .fishlogy-home-header__tagline,
  body.home .fishlogy-home-header__nav a,
  body.page-id-11 .fishlogy-home-header__nav a,
  body.home .fishlogy-home-header__search,
  body.page-id-11 .fishlogy-home-header__search {
    color: #123047 !important;
    text-shadow: 0 1px 0 rgba(248, 239, 221, 0.72) !important;
  }

  body.home .fishlogy-home-header__nav,
  body.page-id-11 .fishlogy-home-header__nav {
    gap: 23px !important;
  }

  body.home .fishlogy-home-header__nav a,
  body.page-id-11 .fishlogy-home-header__nav a {
    min-height: 78px !important;
    font-size: 11px !important;
    letter-spacing: 0.11em !important;
  }

  body.home .fishlogy-home-header__nav a[href*="about"],
  body.page-id-11 .fishlogy-home-header__nav a[href*="about"],
  body.home .fishlogy-home-header__nav a[href*="about-us"],
  body.page-id-11 .fishlogy-home-header__nav a[href*="about-us"] {
    display: none !important;
  }

  body.home .fishlogy-home-header__nav a::after,
  body.page-id-11 .fishlogy-home-header__nav a::after {
    bottom: 20px !important;
  }

  /* Subtle readability layer only in the lower-left copy zone. */
  body.home .fishlogy-pc-only > .wp-block-image.alignfull::before,
  body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull::before {
    content: "" !important;
    position: absolute !important;
    z-index: 2 !important;
    left: 0 !important;
    bottom: 0 !important;
    width: min(54vw, 760px) !important;
    height: 55% !important;
    display: block !important;
    pointer-events: none !important;
    background: radial-gradient(circle at 18% 72%, rgba(3, 29, 42, 0.30), rgba(3, 29, 42, 0.08) 45%, rgba(3, 29, 42, 0.00) 72%) !important;
  }

  /* CSS-only hero copy. */
  body.home .fishlogy-pc-only::before,
  body.page-id-11 .fishlogy-pc-only::before {
    content: "釣りを、\A感覚から科学へ。\A魚の行動には理由がある。" !important;
    white-space: pre !important;
    position: absolute !important;
    z-index: 12 !important;
    top: clamp(190px, 20.5vw, 330px) !important;
    left: max(54px, calc((100vw - 1240px) / 2 + 70px)) !important;
    display: block !important;
    color: #fff4d7 !important;
    font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif !important;
    font-size: clamp(34px, 4.2vw, 64px) !important;
    line-height: 1.26 !important;
    letter-spacing: 0.045em !important;
    font-weight: 700 !important;
    text-shadow: 0 2px 0 rgba(2, 23, 33, 0.36), 0 8px 20px rgba(2, 23, 33, 0.24) !important;
    pointer-events: none !important;
  }

  /* Make the third line feel like a sub-copy by scaling the whole block modestly. */
  body.home .fishlogy-pc-only::after,
  body.page-id-11 .fishlogy-pc-only::after {
    content: "記事を読む  →" !important;
    position: absolute !important;
    z-index: 13 !important;
    top: clamp(392px, 34.2vw, 610px) !important;
    left: max(54px, calc((100vw - 1240px) / 2 + 70px)) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 178px !important;
    height: 52px !important;
    padding: 0 30px !important;
    border: 1px solid rgba(18, 48, 71, 0.78) !important;
    border-radius: 4px !important;
    background: #e2a53a !important;
    color: #123047 !important;
    font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif !important;
    font-size: 18px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: 0.09em !important;
    box-shadow: 0 2px 0 rgba(18, 48, 71, 0.34), 0 10px 22px rgba(2, 23, 33, 0.18) !important;
    pointer-events: none !important;
  }

  body.home .fishlogy-species-index,
  body.page-id-11 .fishlogy-species-index {
    position: relative !important;
    z-index: 2 !important;
    clear: both !important;
    margin-top: 0 !important;
    margin-bottom: 28px !important;
    transform: none !important;
  }
}

/* =========================================================
 * STEP22. PC Home: 1920x800 hero overlay position refinement
 * Scope: PC Home only. Based on console values:
 * - .wp-block-image: 1190 x 496
 * - .wp-block-image img: 1190 x 496
 * - .fishlogy-species-index top: 557
 * Goal:
 * - keep 12:5 hero size
 * - raise and slim header
 * - keep catch/button inside hero and away from SPECIES INDEX
 * - separate headline, subcopy, and CTA for better balance
 * ========================================================= */
@media screen and (min-width: 1181px) {
  body.home .fishlogy-pc-only > .wp-block-image.alignfull,
  body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull {
    aspect-ratio: 12 / 5 !important;
    height: auto !important;
    min-height: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 28px !important;
    overflow: hidden !important;
  }

  body.home .fishlogy-pc-only > .wp-block-image.alignfull img,
  body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull img {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 12 / 5 !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  /* Header: thinner and closer to the top edge of the hero. */
  body.home .fishlogy-home-header,
  body.page-id-11 .fishlogy-home-header {
    top: 0 !important;
    background: linear-gradient(180deg, rgba(248, 239, 221, 0.54), rgba(248, 239, 221, 0.00) 94%) !important;
  }

  body.home .fishlogy-home-header__inner,
  body.page-id-11 .fishlogy-home-header__inner {
    width: min(calc(100vw - 104px), 1240px) !important;
    max-width: min(calc(100vw - 104px), 1240px) !important;
    min-height: 64px !important;
    align-items: flex-start !important;
    padding-top: 10px !important;
  }

  body.home .fishlogy-home-header__logo,
  body.page-id-11 .fishlogy-home-header__logo {
    min-height: 54px !important;
    align-items: flex-start !important;
    padding-top: 0 !important;
  }

  body.home .fishlogy-home-header__name,
  body.page-id-11 .fishlogy-home-header__name {
    font-size: 27px !important;
    line-height: 1.02 !important;
  }

  body.home .fishlogy-home-header__tagline,
  body.page-id-11 .fishlogy-home-header__tagline {
    font-size: 8px !important;
    line-height: 1.1 !important;
    margin-top: 3px !important;
  }

  body.home .fishlogy-home-header__nav,
  body.page-id-11 .fishlogy-home-header__nav {
    gap: 19px !important;
    align-items: flex-start !important;
  }

  body.home .fishlogy-home-header__nav a,
  body.page-id-11 .fishlogy-home-header__nav a,
  body.home .fishlogy-home-header__search,
  body.page-id-11 .fishlogy-home-header__search {
    min-height: 54px !important;
    padding-top: 7px !important;
    font-size: 10px !important;
    letter-spacing: 0.10em !important;
  }

  body.home .fishlogy-home-header__nav a[href*="about"],
  body.page-id-11 .fishlogy-home-header__nav a[href*="about"],
  body.home .fishlogy-home-header__nav a[href*="about-us"],
  body.page-id-11 .fishlogy-home-header__nav a[href*="about-us"] {
    display: none !important;
  }

  body.home .fishlogy-home-header__nav a::after,
  body.page-id-11 .fishlogy-home-header__nav a::after {
    bottom: 10px !important;
  }

  /* Lower-left readability glow, kept inside the hero only. */
  body.home .fishlogy-pc-only > .wp-block-image.alignfull::before,
  body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull::before {
    content: "" !important;
    position: absolute !important;
    z-index: 2 !important;
    left: 0 !important;
    bottom: 0 !important;
    width: min(50vw, 650px) !important;
    height: 48% !important;
    display: block !important;
    pointer-events: none !important;
    background: radial-gradient(circle at 18% 68%, rgba(3, 29, 42, 0.24), rgba(3, 29, 42, 0.07) 46%, rgba(3, 29, 42, 0.00) 74%) !important;
  }

  /* Headline only: smaller and higher so it no longer collides with the next section. */
  body.home .fishlogy-pc-only::before,
  body.page-id-11 .fishlogy-pc-only::before {
    content: "釣りを、\A感覚から科学へ。" !important;
    white-space: pre !important;
    position: absolute !important;
    z-index: 12 !important;
    top: clamp(168px, 17.2vw, 230px) !important;
    left: max(54px, calc((100vw - 1240px) / 2 + 70px)) !important;
    display: block !important;
    color: #fff4d7 !important;
    font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif !important;
    font-size: clamp(31px, 3.45vw, 46px) !important;
    line-height: 1.22 !important;
    letter-spacing: 0.045em !important;
    font-weight: 700 !important;
    text-shadow: 0 2px 0 rgba(2, 23, 33, 0.34), 0 8px 18px rgba(2, 23, 33, 0.22) !important;
    pointer-events: none !important;
  }

  /* Subcopy line. */
  body.home .fishlogy-pc-only::after,
  body.page-id-11 .fishlogy-pc-only::after {
    content: "魚の行動には理由がある。" !important;
    white-space: nowrap !important;
    position: absolute !important;
    z-index: 13 !important;
    top: clamp(294px, 27.2vw, 350px) !important;
    left: max(54px, calc((100vw - 1240px) / 2 + 70px)) !important;
    display: block !important;
    color: #fff4d7 !important;
    font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif !important;
    font-size: clamp(16px, 1.7vw, 23px) !important;
    line-height: 1.2 !important;
    letter-spacing: 0.06em !important;
    font-weight: 700 !important;
    text-shadow: 0 2px 0 rgba(2, 23, 33, 0.30), 0 8px 18px rgba(2, 23, 33, 0.20) !important;
    pointer-events: none !important;
  }

  /* CSS-only visual CTA. Real clickable CTA should be added with PHP/HTML later. */
  body.home .fishlogy-pc-only > .wp-block-image.alignfull::after,
  body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull::after {
    content: "記事を読む  →" !important;
    position: absolute !important;
    z-index: 14 !important;
    top: clamp(337px, 31.0vw, 398px) !important;
    left: max(54px, calc((100vw - 1240px) / 2 + 70px)) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 150px !important;
    height: 42px !important;
    padding: 0 24px !important;
    border: 1px solid rgba(18, 48, 71, 0.78) !important;
    border-radius: 4px !important;
    background: #e2a53a !important;
    color: #123047 !important;
    font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif !important;
    font-size: 15px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: 0.09em !important;
    box-shadow: 0 2px 0 rgba(18, 48, 71, 0.30), 0 10px 20px rgba(2, 23, 33, 0.16) !important;
    pointer-events: none !important;
  }

  body.home .fishlogy-species-index,
  body.page-id-11 .fishlogy-species-index {
    position: relative !important;
    z-index: 2 !important;
    clear: both !important;
    margin-top: 0 !important;
    margin-bottom: 28px !important;
    transform: none !important;
  }
}

/* =========================================================
 * STEP23. PC Home: fit actual 1942x809 hero without cropping
 * Scope: PC Home only
 * Console state before fix:
 * - hero figure: 1190 x 496
 * - hero img:    1190 x 496
 * Actual uploaded hero ratio: 1942 / 809 = 2.40049
 * Goal:
 * - never crop the hero image
 * - use the real image ratio instead of rounded 12:5
 * - keep header at the top of the artwork
 * - move catch copy onto the dark navy underwater area
 * - keep SPECIES INDEX outside the hero
 * ========================================================= */
@media screen and (min-width: 1181px) {
  body.home,
  body.page-id-11,
  body.home .container,
  body.page-id-11 .container,
  body.home .content,
  body.page-id-11 .content,
  body.home .content-in,
  body.page-id-11 .content-in,
  body.home .main,
  body.page-id-11 .main,
  body.home .article,
  body.page-id-11 .article,
  body.home .fishlogy-pc-only,
  body.page-id-11 .fishlogy-pc-only {
    background-color: #f8efdd !important;
  }

  body.home .content,
  body.page-id-11 .content {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  body.home .main,
  body.page-id-11 .main,
  body.home .article,
  body.page-id-11 .article,
  body.home .fishlogy-pc-only,
  body.page-id-11 .fishlogy-pc-only {
    margin-top: 0 !important;
  }

  body.home .fishlogy-pc-only,
  body.page-id-11 .fishlogy-pc-only {
    position: relative !important;
    z-index: 1 !important;
    overflow: visible !important;
    padding-bottom: 56px !important;
  }

  /* Use the real generated image ratio. This prevents top/bottom trimming. */
  body.home .fishlogy-pc-only > .wp-block-image.alignfull,
  body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull {
    position: relative !important;
    z-index: 1 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    margin-top: 0 !important;
    margin-bottom: 30px !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 1942 / 809 !important;
    overflow: hidden !important;
    background: #f8efdd !important;
  }

  body.home .fishlogy-pc-only > .wp-block-image.alignfull img,
  body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    aspect-ratio: 1942 / 809 !important;
    object-fit: contain !important;
    object-position: center center !important;
    background: #f8efdd !important;
  }

  /* Header: attached to the very top of the hero image. */
  body.home .fishlogy-home-header,
  body.page-id-11 .fishlogy-home-header {
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 78px !important;
    min-height: 78px !important;
    z-index: 20 !important;
    background: linear-gradient(180deg, rgba(248, 239, 221, 0.48), rgba(248, 239, 221, 0.00) 96%) !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  body.home .fishlogy-home-header__inner,
  body.page-id-11 .fishlogy-home-header__inner {
    width: min(calc(100vw - 112px), 1320px) !important;
    max-width: min(calc(100vw - 112px), 1320px) !important;
    min-height: 78px !important;
    padding-top: 11px !important;
    align-items: flex-start !important;
  }

  body.home .fishlogy-home-header__name,
  body.page-id-11 .fishlogy-home-header__name {
    font-size: 27px !important;
    line-height: 1 !important;
  }

  body.home .fishlogy-home-header__tagline,
  body.page-id-11 .fishlogy-home-header__tagline {
    font-size: 8px !important;
    margin-top: 3px !important;
  }

  body.home .fishlogy-home-header__nav,
  body.page-id-11 .fishlogy-home-header__nav {
    gap: 18px !important;
    align-items: flex-start !important;
  }

  body.home .fishlogy-home-header__nav a,
  body.page-id-11 .fishlogy-home-header__nav a,
  body.home .fishlogy-home-header__search,
  body.page-id-11 .fishlogy-home-header__search {
    min-height: 54px !important;
    padding-top: 8px !important;
    font-size: 10px !important;
    letter-spacing: 0.10em !important;
    color: #123047 !important;
  }

  body.home .fishlogy-home-header__nav a[href*="about"],
  body.page-id-11 .fishlogy-home-header__nav a[href*="about"],
  body.home .fishlogy-home-header__nav a[href*="about-us"],
  body.page-id-11 .fishlogy-home-header__nav a[href*="about-us"] {
    display: none !important;
  }

  /* Gentle readability shade only behind the left dark-water copy area. */
  body.home .fishlogy-pc-only > .wp-block-image.alignfull::before,
  body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull::before {
    content: "" !important;
    position: absolute !important;
    z-index: 2 !important;
    left: 0 !important;
    bottom: 0 !important;
    width: min(47vw, 620px) !important;
    height: 52% !important;
    display: block !important;
    pointer-events: none !important;
    background: radial-gradient(circle at 18% 40%, rgba(2, 23, 33, 0.26), rgba(2, 23, 33, 0.09) 48%, rgba(2, 23, 33, 0.00) 76%) !important;
  }

  /* Put the headline clearly inside the navy underwater area. */
  body.home .fishlogy-pc-only::before,
  body.page-id-11 .fishlogy-pc-only::before {
    content: "釣りを、\A感覚から科学へ。" !important;
    white-space: pre !important;
    position: absolute !important;
    z-index: 12 !important;
    top: clamp(220px, 24.2vw, 350px) !important;
    left: max(54px, calc((100vw - 1320px) / 2 + 84px)) !important;
    display: block !important;
    color: #fff4d7 !important;
    font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif !important;
    font-size: clamp(30px, 3.15vw, 48px) !important;
    line-height: 1.22 !important;
    letter-spacing: 0.045em !important;
    font-weight: 700 !important;
    text-shadow: 0 2px 0 rgba(2, 23, 33, 0.40), 0 9px 18px rgba(2, 23, 33, 0.28) !important;
    pointer-events: none !important;
  }

  body.home .fishlogy-pc-only::after,
  body.page-id-11 .fishlogy-pc-only::after {
    content: "魚の行動には理由がある。" !important;
    white-space: nowrap !important;
    position: absolute !important;
    z-index: 13 !important;
    top: clamp(330px, 34.4vw, 460px) !important;
    left: max(54px, calc((100vw - 1320px) / 2 + 84px)) !important;
    display: block !important;
    color: #fff4d7 !important;
    font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif !important;
    font-size: clamp(15px, 1.55vw, 23px) !important;
    line-height: 1.2 !important;
    letter-spacing: 0.06em !important;
    font-weight: 700 !important;
    text-shadow: 0 2px 0 rgba(2, 23, 33, 0.34), 0 8px 18px rgba(2, 23, 33, 0.22) !important;
    pointer-events: none !important;
  }

  body.home .fishlogy-pc-only > .wp-block-image.alignfull::after,
  body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull::after {
    content: "記事を読む  →" !important;
    position: absolute !important;
    z-index: 14 !important;
    top: clamp(378px, 39.0vw, 520px) !important;
    left: max(54px, calc((100vw - 1320px) / 2 + 84px)) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 150px !important;
    height: 42px !important;
    padding: 0 24px !important;
    border: 1px solid rgba(18, 48, 71, 0.78) !important;
    border-radius: 4px !important;
    background: #e2a53a !important;
    color: #123047 !important;
    font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif !important;
    font-size: 15px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: 0.09em !important;
    box-shadow: 0 2px 0 rgba(18, 48, 71, 0.30), 0 10px 20px rgba(2, 23, 33, 0.16) !important;
    pointer-events: none !important;
  }

  body.home .fishlogy-species-index,
  body.page-id-11 .fishlogy-species-index {
    position: relative !important;
    z-index: 2 !important;
    clear: both !important;
    margin-top: 0 !important;
    margin-bottom: 28px !important;
    transform: none !important;
  }
}

/* =========================================================
 * STEP24. PC Home: final 1920x800 hero overlay
 * Scope: PC Home only
 * Assumption:
 * - the actual uploaded hero image is 1920 x 800px
 * - aspect ratio is exactly 12:5
 * Goals:
 * - make the hero fill the full PC width without side gaps
 * - avoid section overlap
 * - keep the header flush to the top of the hero
 * - put the white headline on the dark navy underwater area
 * - keep the CTA button inside the hero
 * ========================================================= */
@media screen and (min-width: 1181px) {
  body.home,
  body.page-id-11,
  body.home .container,
  body.page-id-11 .container,
  body.home .content,
  body.page-id-11 .content,
  body.home .content-in,
  body.page-id-11 .content-in,
  body.home .main,
  body.page-id-11 .main,
  body.home .article,
  body.page-id-11 .article,
  body.home .fishlogy-pc-only,
  body.page-id-11 .fishlogy-pc-only {
    background-color: #f8efdd !important;
  }

  body.home .content,
  body.page-id-11 .content,
  body.home .main,
  body.page-id-11 .main,
  body.home .article,
  body.page-id-11 .article,
  body.home .fishlogy-pc-only,
  body.page-id-11 .fishlogy-pc-only {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  body.home .fishlogy-pc-only,
  body.page-id-11 .fishlogy-pc-only {
    position: relative !important;
    z-index: 1 !important;
    overflow: visible !important;
    padding-bottom: 56px !important;
  }

  body.home .fishlogy-pc-only > .wp-block-image.alignfull,
  body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull {
    position: relative !important;
    z-index: 1 !important;
    display: block !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    margin-top: 0 !important;
    margin-bottom: 32px !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 12 / 5 !important;
    overflow: hidden !important;
    background: #f8efdd !important;
  }

  body.home .fishlogy-pc-only > .wp-block-image.alignfull img,
  body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    aspect-ratio: 12 / 5 !important;
    object-fit: cover !important;
    object-position: center center !important;
    background: #f8efdd !important;
  }

  /* Header: make it part of the hero, not a separated block. */
  body.home .fishlogy-home-header,
  body.page-id-11 .fishlogy-home-header {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: auto !important;
    z-index: 80 !important;
    display: block !important;
    width: 100vw !important;
    margin: 0 calc(50% - 50vw) !important;
    padding: 0 !important;
    background: linear-gradient(180deg, rgba(248, 239, 221, 0.42), rgba(248, 239, 221, 0.00) 92%) !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  body.home .fishlogy-home-header__inner,
  body.page-id-11 .fishlogy-home-header__inner {
    width: min(calc(100vw - 96px), 1280px) !important;
    max-width: min(calc(100vw - 96px), 1280px) !important;
    min-height: 66px !important;
    margin: 0 auto !important;
    padding-top: 8px !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 24px !important;
  }

  body.home .fishlogy-home-header__logo,
  body.page-id-11 .fishlogy-home-header__logo {
    min-height: 54px !important;
    align-items: flex-start !important;
    padding-top: 0 !important;
  }

  body.home .fishlogy-home-header__mark,
  body.page-id-11 .fishlogy-home-header__mark {
    width: 44px !important;
    height: 24px !important;
  }

  body.home .fishlogy-home-header__name,
  body.page-id-11 .fishlogy-home-header__name {
    font-size: 27px !important;
    line-height: 1.02 !important;
    letter-spacing: 0.04em !important;
  }

  body.home .fishlogy-home-header__tagline,
  body.page-id-11 .fishlogy-home-header__tagline {
    font-size: 8px !important;
    line-height: 1.1 !important;
    margin-top: 2px !important;
  }

  body.home .fishlogy-home-header__nav,
  body.page-id-11 .fishlogy-home-header__nav {
    gap: 18px !important;
    align-items: flex-start !important;
    padding-top: 3px !important;
  }

  body.home .fishlogy-home-header__nav a,
  body.page-id-11 .fishlogy-home-header__nav a,
  body.home .fishlogy-home-header__search,
  body.page-id-11 .fishlogy-home-header__search {
    min-height: 48px !important;
    padding-top: 5px !important;
    font-size: 10px !important;
    letter-spacing: 0.10em !important;
    color: #123047 !important;
  }

  body.home .fishlogy-home-header__nav a[href*="about"],
  body.page-id-11 .fishlogy-home-header__nav a[href*="about"],
  body.home .fishlogy-home-header__nav a[href*="about-us"],
  body.page-id-11 .fishlogy-home-header__nav a[href*="about-us"] {
    display: none !important;
  }

  body.home .fishlogy-home-header__nav a::after,
  body.page-id-11 .fishlogy-home-header__nav a::after {
    bottom: 8px !important;
  }

  /* Dark-water readability only, no visible box. */
  body.home .fishlogy-pc-only > .wp-block-image.alignfull::before,
  body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull::before {
    content: "" !important;
    position: absolute !important;
    z-index: 2 !important;
    left: 0 !important;
    bottom: 0 !important;
    width: min(47vw, 610px) !important;
    height: 56% !important;
    display: block !important;
    pointer-events: none !important;
    background: radial-gradient(circle at 22% 54%, rgba(2, 23, 33, 0.24), rgba(2, 23, 33, 0.08) 46%, rgba(2, 23, 33, 0.00) 76%) !important;
  }

  /* Headline: intentionally starts in the dark navy underwater part. */
  body.home .fishlogy-pc-only::before,
  body.page-id-11 .fishlogy-pc-only::before {
    content: "釣りを、\A感覚から科学へ。" !important;
    white-space: pre !important;
    position: absolute !important;
    z-index: 12 !important;
    top: clamp(215px, 21vw, 370px) !important;
    left: max(56px, calc((100vw - 1280px) / 2 + 74px)) !important;
    display: block !important;
    color: #fff4d7 !important;
    font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif !important;
    font-size: clamp(30px, 3.05vw, 56px) !important;
    line-height: 1.20 !important;
    letter-spacing: 0.045em !important;
    font-weight: 700 !important;
    text-shadow: 0 2px 0 rgba(2, 23, 33, 0.40), 0 10px 20px rgba(2, 23, 33, 0.25) !important;
    pointer-events: none !important;
  }

  body.home .fishlogy-pc-only::after,
  body.page-id-11 .fishlogy-pc-only::after {
    content: "魚の行動には理由がある。" !important;
    white-space: nowrap !important;
    position: absolute !important;
    z-index: 13 !important;
    top: clamp(322px, 31.2vw, 505px) !important;
    left: max(56px, calc((100vw - 1280px) / 2 + 74px)) !important;
    display: block !important;
    color: #fff4d7 !important;
    font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif !important;
    font-size: clamp(14px, 1.35vw, 24px) !important;
    line-height: 1.2 !important;
    letter-spacing: 0.06em !important;
    font-weight: 700 !important;
    text-shadow: 0 2px 0 rgba(2, 23, 33, 0.34), 0 8px 18px rgba(2, 23, 33, 0.22) !important;
    pointer-events: none !important;
  }

  body.home .fishlogy-pc-only > .wp-block-image.alignfull::after,
  body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull::after {
    content: "記事を読む  →" !important;
    position: absolute !important;
    z-index: 14 !important;
    top: clamp(365px, 35.4vw, 562px) !important;
    left: max(56px, calc((100vw - 1280px) / 2 + 74px)) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 142px !important;
    height: 40px !important;
    padding: 0 22px !important;
    border: 1px solid rgba(18, 48, 71, 0.76) !important;
    border-radius: 4px !important;
    background: #e2a53a !important;
    color: #123047 !important;
    font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif !important;
    font-size: 14px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: 0.09em !important;
    box-shadow: 0 2px 0 rgba(18, 48, 71, 0.30), 0 10px 20px rgba(2, 23, 33, 0.16) !important;
    pointer-events: none !important;
  }

  body.home .fishlogy-species-index,
  body.page-id-11 .fishlogy-species-index {
    position: relative !important;
    z-index: 2 !important;
    clear: both !important;
    margin-top: 0 !important;
    margin-bottom: 28px !important;
    transform: none !important;
  }
}

/* =========================================================
   STEP 29: Emergency responsive rebuild
   Goal:
   - stop the broken narrow-browser state
   - keep the desktop hero from overlapping SPECIES INDEX
   - do not let default Cocoon logo/SVG become huge
   Scope: Home / page-id-11 only
   ========================================================= */

body.home,
body.page-id-11,
body.home .container,
body.page-id-11 .container,
body.home .content,
body.page-id-11 .content,
body.home .content-in,
body.page-id-11 .content-in,
body.home .main,
body.page-id-11 .main,
body.home .article,
body.page-id-11 .article {
  background: #f8efdd !important;
}

/* The Cocoon default header/date/footer creates the giant fish/logo in narrow widths. */
body.home .header-container,
body.page-id-11 .header-container,
body.home .article-header,
body.page-id-11 .article-header,
body.home .date-tags,
body.page-id-11 .date-tags,
body.home .footer.footer-container,
body.page-id-11 .footer.footer-container {
  display: none !important;
}

/* Tablet and desktop: use the PC top. This avoids the broken middle-width state. */
@media screen and (min-width: 641px) {
  body.home .fishlogy-mobile-only,
  body.page-id-11 .fishlogy-mobile-only {
    display: none !important;
  }

  body.home .fishlogy-pc-only,
  body.page-id-11 .fishlogy-pc-only {
    display: block !important;
    position: relative !important;
    z-index: 1 !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 0 28px !important;
    overflow: visible !important;
    background: #f8efdd !important;
  }

  body.home .fishlogy-pc-only > .wp-block-image.alignfull,
  body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull {
    display: block !important;
    position: relative !important;
    z-index: 1 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    aspect-ratio: 12 / 5 !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 calc(50% - 50vw) 24px !important;
    padding: 0 !important;
    overflow: hidden !important;
    line-height: 0 !important;
    background: #f8efdd !important;
  }

  body.home .fishlogy-pc-only > .wp-block-image.alignfull img,
  body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center center !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Hero overlay: all positions are tied to the 12:5 hero height so they cannot fall into SPECIES. */
  body.home .fishlogy-pc-only::before,
  body.page-id-11 .fishlogy-pc-only::before {
    content: "釣りを、\A感覚から科学へ。" !important;
    white-space: pre !important;
    position: absolute !important;
    z-index: 12 !important;
    top: clamp(150px, 21.8vw, 360px) !important;
    left: max(42px, calc((100vw - 1280px) / 2 + 70px)) !important;
    display: block !important;
    color: #fff4d7 !important;
    font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif !important;
    font-size: clamp(28px, 3.0vw, 54px) !important;
    line-height: 1.16 !important;
    letter-spacing: 0.045em !important;
    font-weight: 700 !important;
    text-shadow: 0 2px 0 rgba(2, 23, 33, 0.44), 0 10px 20px rgba(2, 23, 33, 0.25) !important;
    pointer-events: none !important;
  }

  body.home .fishlogy-pc-only::after,
  body.page-id-11 .fishlogy-pc-only::after {
    content: "魚の行動には理由がある。" !important;
    white-space: nowrap !important;
    position: absolute !important;
    z-index: 13 !important;
    top: clamp(235px, 31.2vw, 490px) !important;
    left: max(42px, calc((100vw - 1280px) / 2 + 70px)) !important;
    display: block !important;
    color: #fff4d7 !important;
    font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif !important;
    font-size: clamp(12px, 1.25vw, 22px) !important;
    line-height: 1.2 !important;
    letter-spacing: 0.06em !important;
    font-weight: 700 !important;
    text-shadow: 0 2px 0 rgba(2, 23, 33, 0.36), 0 8px 18px rgba(2, 23, 33, 0.22) !important;
    pointer-events: none !important;
  }

  body.home .fishlogy-pc-only > .wp-block-image.alignfull::after,
  body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull::after {
    content: "記事を読む  →" !important;
    position: absolute !important;
    z-index: 14 !important;
    top: clamp(262px, 34.9vw, 545px) !important;
    left: max(42px, calc((100vw - 1280px) / 2 + 70px)) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: clamp(116px, 12vw, 180px) !important;
    height: clamp(30px, 3.2vw, 46px) !important;
    padding: 0 clamp(14px, 2vw, 24px) !important;
    border: 1px solid rgba(18, 48, 71, 0.76) !important;
    border-radius: 4px !important;
    background: #e2a53a !important;
    color: #123047 !important;
    font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif !important;
    font-size: clamp(10px, 1.05vw, 14px) !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: 0.09em !important;
    box-shadow: 0 2px 0 rgba(18, 48, 71, 0.30), 0 10px 20px rgba(2, 23, 33, 0.16) !important;
    pointer-events: none !important;
  }

  body.home .fishlogy-species-index,
  body.page-id-11 .fishlogy-species-index {
    display: block !important;
    position: relative !important;
    z-index: 20 !important;
    clear: both !important;
    width: 100% !important;
    margin: 0 0 28px !important;
    padding: 0 !important;
    transform: none !important;
    background: transparent !important;
    overflow: visible !important;
  }

  body.home .fishlogy-species-grid,
  body.page-id-11 .fishlogy-species-grid {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 12px !important;
    margin: 14px 0 0 !important;
  }

  body.home .fishlogy-species-card,
  body.page-id-11 .fishlogy-species-card,
  body.home .fishlogy-species-card a,
  body.page-id-11 .fishlogy-species-card a {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 76px !important;
    padding: 10px 8px !important;
    overflow: hidden !important;
    text-align: center !important;
  }

  body.home .fishlogy-species-card svg,
  body.page-id-11 .fishlogy-species-card svg,
  body.home .fishlogy-species-card img,
  body.page-id-11 .fishlogy-species-card img {
    width: auto !important;
    max-width: 70px !important;
    height: auto !important;
    max-height: 30px !important;
    object-fit: contain !important;
  }
}

/* Narrow tablet: keep PC layout, but hide the heavy nav and shrink overlays. */
@media screen and (min-width: 641px) and (max-width: 900px) {
  body.home .fishlogy-home-header__nav,
  body.page-id-11 .fishlogy-home-header__nav {
    display: none !important;
  }

  body.home .fishlogy-home-header__inner,
  body.page-id-11 .fishlogy-home-header__inner {
    width: calc(100vw - 32px) !important;
    max-width: calc(100vw - 32px) !important;
    min-height: 52px !important;
    padding-top: 5px !important;
  }

  body.home .fishlogy-home-header__mark,
  body.page-id-11 .fishlogy-home-header__mark {
    width: 34px !important;
    height: 20px !important;
  }

  body.home .fishlogy-home-header__name,
  body.page-id-11 .fishlogy-home-header__name {
    font-size: 20px !important;
  }

  body.home .fishlogy-pc-only::before,
  body.page-id-11 .fishlogy-pc-only::before {
    top: clamp(136px, 21vw, 180px) !important;
    left: 42px !important;
    font-size: clamp(24px, 4.2vw, 34px) !important;
  }

  body.home .fishlogy-pc-only::after,
  body.page-id-11 .fishlogy-pc-only::after {
    top: clamp(218px, 31vw, 260px) !important;
    left: 42px !important;
    font-size: clamp(10px, 1.8vw, 13px) !important;
  }

  body.home .fishlogy-pc-only > .wp-block-image.alignfull::after,
  body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull::after {
    top: clamp(246px, 35vw, 296px) !important;
    left: 42px !important;
  }

  body.home .fishlogy-species-grid,
  body.page-id-11 .fishlogy-species-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

/* True mobile: do not show the PC hero. Prevent every Fishlogy SVG/logo from exploding. */
@media screen and (max-width: 640px) {
  body.home .fishlogy-pc-only,
  body.page-id-11 .fishlogy-pc-only,
  body.home .fishlogy-home-header,
  body.page-id-11 .fishlogy-home-header,
  body.home .header-container,
  body.page-id-11 .header-container,
  body.home .footer.footer-container,
  body.page-id-11 .footer.footer-container {
    display: none !important;
  }

  body.home .fishlogy-mobile-only,
  body.page-id-11 .fishlogy-mobile-only {
    display: block !important;
  }

  body.home .entry-content svg,
  body.page-id-11 .entry-content svg,
  body.home .article svg,
  body.page-id-11 .article svg {
    width: auto !important;
    max-width: 68px !important;
    height: auto !important;
    max-height: 38px !important;
    display: inline-block !important;
    vertical-align: middle !important;
  }

  body.home .entry-content img,
  body.page-id-11 .entry-content img,
  body.home .article img,
  body.page-id-11 .article img {
    max-width: 100% !important;
    height: auto !important;
  }

  body.home .fishlogy-species-index,
  body.page-id-11 .fishlogy-species-index {
    display: none !important;
  }

  body.home .fishlogy-home-footer,
  body.page-id-11 .fishlogy-home-footer {
    display: block !important;
    width: auto !important;
    margin: 28px 14px 0 !important;
    overflow: hidden !important;
  }

  body.home .fishlogy-home-footer svg,
  body.page-id-11 .fishlogy-home-footer svg,
  body.home .fishlogy-home-footer img,
  body.page-id-11 .fishlogy-home-footer img {
    width: auto !important;
    max-width: 68px !important;
    height: auto !important;
    max-height: 38px !important;
  }
}

/* =========================================================
   Fishlogy PC Home STEP30
   Stable responsive rebuild after STEP29.
   Goal:
   - Do not let the home page go blank at small widths.
   - Keep the PC hero visible down to narrow widths.
   - Hide heavy overlay copy/buttons on narrow widths.
   - Keep the Fishlogy logo visible on tablet widths.
   - Stop fish SVG marks from becoming huge.
   ========================================================= */

/* Base safety: Home should not expose Cocoon page title/date layout over the visual top. */
body.home .article-header,
body.page-id-11 .article-header,
body.home .date-tags,
body.page-id-11 .date-tags {
  display: none !important;
}

/* Keep the custom home header visible on PC/tablet and pinned to the hero top. */
@media screen and (min-width: 641px) {
  body.home .fishlogy-home-header,
  body.page-id-11 .fishlogy-home-header {
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 40 !important;
    width: 100% !important;
    height: auto !important;
    background: transparent !important;
    pointer-events: auto !important;
  }

  body.home .fishlogy-home-header__inner,
  body.page-id-11 .fishlogy-home-header__inner {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 20px !important;
    width: calc(100vw - 56px) !important;
    max-width: 1320px !important;
    min-height: 54px !important;
    margin: 0 auto !important;
    padding: 8px 0 0 !important;
    box-sizing: border-box !important;
  }

  body.home .fishlogy-home-header__logo,
  body.page-id-11 .fishlogy-home-header__logo {
    display: inline-flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
    width: auto !important;
    max-width: 260px !important;
    height: auto !important;
    color: #123047 !important;
    text-decoration: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  body.home .fishlogy-home-header__logo svg,
  body.page-id-11 .fishlogy-home-header__logo svg,
  body.home .fishlogy-home-header__mark,
  body.page-id-11 .fishlogy-home-header__mark {
    flex: 0 0 auto !important;
    width: 40px !important;
    max-width: 40px !important;
    height: 24px !important;
    max-height: 24px !important;
    display: inline-block !important;
  }

  body.home .fishlogy-home-header__name,
  body.page-id-11 .fishlogy-home-header__name {
    display: block !important;
    color: #123047 !important;
    font-size: clamp(18px, 2.2vw, 30px) !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  body.home .fishlogy-home-header__tagline,
  body.page-id-11 .fishlogy-home-header__tagline {
    display: block !important;
    margin-top: 2px !important;
    color: #123047 !important;
    font-size: clamp(7px, 0.75vw, 10px) !important;
    line-height: 1 !important;
    letter-spacing: 0.08em !important;
    opacity: 0.88 !important;
    visibility: visible !important;
  }
}

/* True PC: keep copy/button inside the hero and away from SPECIES. */
@media screen and (min-width: 901px) {
  body.home .fishlogy-pc-only,
  body.page-id-11 .fishlogy-pc-only {
    display: block !important;
    position: relative !important;
    z-index: 1 !important;
    padding: 0 0 34px !important;
    overflow: visible !important;
  }

  body.home .fishlogy-pc-only > .wp-block-image.alignfull,
  body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull {
    display: block !important;
    position: relative !important;
    width: 100vw !important;
    max-width: 100vw !important;
    aspect-ratio: 12 / 5 !important;
    margin: 0 calc(50% - 50vw) 34px !important;
    overflow: hidden !important;
  }

  body.home .fishlogy-pc-only > .wp-block-image.alignfull img,
  body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    display: block !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  body.home .fishlogy-pc-only::before,
  body.page-id-11 .fishlogy-pc-only::before {
    top: clamp(170px, 20.2vw, 322px) !important;
    left: max(42px, calc((100vw - 1280px) / 2 + 74px)) !important;
    font-size: clamp(30px, 2.7vw, 50px) !important;
    line-height: 1.14 !important;
  }

  body.home .fishlogy-pc-only::after,
  body.page-id-11 .fishlogy-pc-only::after {
    top: clamp(268px, 29.0vw, 454px) !important;
    left: max(42px, calc((100vw - 1280px) / 2 + 74px)) !important;
    font-size: clamp(12px, 1.05vw, 18px) !important;
  }

  body.home .fishlogy-pc-only > .wp-block-image.alignfull::after,
  body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull::after {
    top: clamp(298px, 32.2vw, 504px) !important;
    left: max(42px, calc((100vw - 1280px) / 2 + 74px)) !important;
  }

  body.home .fishlogy-species-index,
  body.page-id-11 .fishlogy-species-index {
    display: block !important;
    position: relative !important;
    z-index: 20 !important;
    clear: both !important;
    margin-top: 0 !important;
  }
}

/* Tablet/narrow browser: keep the hero and logo, but remove copy/button/nav to prevent overlap. */
@media screen and (min-width: 641px) and (max-width: 900px) {
  body.home .fishlogy-pc-only,
  body.page-id-11 .fishlogy-pc-only {
    display: block !important;
    position: relative !important;
    z-index: 1 !important;
    padding-bottom: 24px !important;
    overflow: visible !important;
  }

  body.home .fishlogy-pc-only > .wp-block-image.alignfull,
  body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull {
    display: block !important;
    width: 100vw !important;
    max-width: 100vw !important;
    aspect-ratio: 12 / 5 !important;
    margin: 0 calc(50% - 50vw) 24px !important;
    overflow: hidden !important;
  }

  body.home .fishlogy-pc-only > .wp-block-image.alignfull img,
  body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  body.home .fishlogy-home-header__nav,
  body.page-id-11 .fishlogy-home-header__nav,
  body.home .fishlogy-home-header__search,
  body.page-id-11 .fishlogy-home-header__search {
    display: none !important;
  }

  body.home .fishlogy-pc-only::before,
  body.page-id-11 .fishlogy-pc-only::before,
  body.home .fishlogy-pc-only::after,
  body.page-id-11 .fishlogy-pc-only::after,
  body.home .fishlogy-pc-only > .wp-block-image.alignfull::after,
  body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull::after {
    content: none !important;
    display: none !important;
  }

  body.home .fishlogy-species-grid,
  body.page-id-11 .fishlogy-species-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

/* Small browser/mobile: keep a compact home instead of going blank. */
@media screen and (max-width: 640px) {
  body.home .header-container,
  body.page-id-11 .header-container,
  body.home .footer.footer-container,
  body.page-id-11 .footer.footer-container,
  body.home .article-header,
  body.page-id-11 .article-header,
  body.home .date-tags,
  body.page-id-11 .date-tags {
    display: none !important;
  }

  body.home .fishlogy-mobile-only,
  body.page-id-11 .fishlogy-mobile-only {
    display: none !important;
  }

  body.home .fishlogy-pc-only,
  body.page-id-11 .fishlogy-pc-only {
    display: block !important;
    position: relative !important;
    padding: 0 0 22px !important;
    overflow: visible !important;
  }

  body.home .fishlogy-home-header,
  body.page-id-11 .fishlogy-home-header {
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 40 !important;
    background: transparent !important;
  }

  body.home .fishlogy-home-header__inner,
  body.page-id-11 .fishlogy-home-header__inner {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    width: calc(100vw - 24px) !important;
    min-height: 42px !important;
    margin: 0 auto !important;
    padding: 6px 0 0 !important;
  }

  body.home .fishlogy-home-header__nav,
  body.page-id-11 .fishlogy-home-header__nav,
  body.home .fishlogy-home-header__search,
  body.page-id-11 .fishlogy-home-header__search {
    display: none !important;
  }

  body.home .fishlogy-home-header__logo,
  body.page-id-11 .fishlogy-home-header__logo {
    display: inline-flex !important;
    align-items: flex-start !important;
    gap: 6px !important;
    max-width: 190px !important;
    color: #123047 !important;
    text-decoration: none !important;
  }

  body.home .fishlogy-home-header__logo svg,
  body.page-id-11 .fishlogy-home-header__logo svg,
  body.home .fishlogy-home-header__mark,
  body.page-id-11 .fishlogy-home-header__mark {
    width: 30px !important;
    max-width: 30px !important;
    height: 18px !important;
    max-height: 18px !important;
    display: inline-block !important;
  }

  body.home .fishlogy-home-header__name,
  body.page-id-11 .fishlogy-home-header__name {
    display: block !important;
    color: #123047 !important;
    font-size: 18px !important;
    line-height: 1 !important;
  }

  body.home .fishlogy-home-header__tagline,
  body.page-id-11 .fishlogy-home-header__tagline {
    display: block !important;
    color: #123047 !important;
    font-size: 7px !important;
    line-height: 1 !important;
    opacity: 0.88 !important;
  }

  body.home .fishlogy-pc-only > .wp-block-image.alignfull,
  body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull {
    display: block !important;
    width: 100vw !important;
    max-width: 100vw !important;
    aspect-ratio: 12 / 5 !important;
    margin: 0 calc(50% - 50vw) 20px !important;
    overflow: hidden !important;
  }

  body.home .fishlogy-pc-only > .wp-block-image.alignfull img,
  body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  body.home .fishlogy-pc-only::before,
  body.page-id-11 .fishlogy-pc-only::before,
  body.home .fishlogy-pc-only::after,
  body.page-id-11 .fishlogy-pc-only::after,
  body.home .fishlogy-pc-only > .wp-block-image.alignfull::after,
  body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull::after {
    content: none !important;
    display: none !important;
  }

  body.home .fishlogy-species-index,
  body.page-id-11 .fishlogy-species-index {
    display: block !important;
    margin: 0 0 24px !important;
    padding: 0 14px !important;
    overflow: visible !important;
  }

  body.home .fishlogy-species-grid,
  body.page-id-11 .fishlogy-species-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  body.home .fishlogy-species-card,
  body.page-id-11 .fishlogy-species-card,
  body.home .fishlogy-species-card a,
  body.page-id-11 .fishlogy-species-card a {
    min-height: 62px !important;
    padding: 8px 6px !important;
    overflow: hidden !important;
    text-align: center !important;
  }

  body.home .fishlogy-species-card svg,
  body.page-id-11 .fishlogy-species-card svg,
  body.home .fishlogy-species-index svg,
  body.page-id-11 .fishlogy-species-index svg {
    width: auto !important;
    max-width: 56px !important;
    height: auto !important;
    max-height: 24px !important;
    display: inline-block !important;
  }

  body.home .fishlogy-home-footer,
  body.page-id-11 .fishlogy-home-footer {
    display: block !important;
    width: auto !important;
    margin: 30px 14px 0 !important;
    overflow: hidden !important;
  }

  body.home .fishlogy-home-footer svg,
  body.page-id-11 .fishlogy-home-footer svg {
    width: auto !important;
    max-width: 58px !important;
    height: auto !important;
    max-height: 28px !important;
  }
}

/* =========================================================
   STEP 31: Responsive reset / safe rebuild
   Purpose:
   - stop the narrow-browser mixed state
   - keep the hero visible at every width
   - stop giant SVG logos
   - prevent copy/button overlap with SPECIES INDEX
   Scope: Home / page-id-11 only
   ========================================================= */

/* Hide Cocoon default chrome on the custom home so it cannot mix in at narrow widths. */
body.home .header-container,
body.page-id-11 .header-container,
body.home .article-header,
body.page-id-11 .article-header,
body.home .date-tags,
body.page-id-11 .date-tags,
body.home .footer.footer-container,
body.page-id-11 .footer.footer-container {
  display: none !important;
}

body.home,
body.page-id-11,
body.home .container,
body.page-id-11 .container,
body.home .content,
body.page-id-11 .content,
body.home .content-in,
body.page-id-11 .content-in,
body.home .main,
body.page-id-11 .main,
body.home .article,
body.page-id-11 .article {
  overflow-x: hidden !important;
  overflow-y: visible !important;
  height: auto !important;
  max-height: none !important;
  background: #f8efdd !important;
}

/* Until the mobile HTML is rebuilt, keep one stable top structure at all widths. */
body.home .fishlogy-mobile-only,
body.page-id-11 .fishlogy-mobile-only {
  display: none !important;
}

body.home .fishlogy-pc-only,
body.page-id-11 .fishlogy-pc-only {
  display: block !important;
  position: relative !important;
  z-index: 1 !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 0 34px !important;
  overflow: visible !important;
  background: #f8efdd !important;
}

/* One hero rule for every viewport: the image never disappears. */
body.home .fishlogy-pc-only > .wp-block-image.alignfull,
body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull {
  display: block !important;
  position: relative !important;
  z-index: 1 !important;
  width: 100vw !important;
  max-width: 100vw !important;
  aspect-ratio: 12 / 5 !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 calc(50% - 50vw) 34px !important;
  padding: 0 !important;
  overflow: hidden !important;
  line-height: 0 !important;
  background: #f8efdd !important;
}

body.home .fishlogy-pc-only > .wp-block-image.alignfull img,
body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: cover !important;
  object-position: center center !important;
}

/* Desktop overlay only. It is hidden below 1181px to avoid the cramped mixed state. */
@media screen and (min-width: 1181px) {
  body.home .fishlogy-home-header,
  body.page-id-11 .fishlogy-home-header {
    display: block !important;
    position: absolute !important;
    z-index: 30 !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 74px !important;
    background: transparent !important;
  }

  body.home .fishlogy-home-header__inner,
  body.page-id-11 .fishlogy-home-header__inner {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    width: min(1180px, calc(100vw - 72px)) !important;
    margin: 0 auto !important;
    padding: 14px 0 0 !important;
  }

  body.home .fishlogy-home-header__nav a[href*="about"],
  body.page-id-11 .fishlogy-home-header__nav a[href*="about"] {
    display: none !important;
  }

  body.home .fishlogy-pc-only::before,
  body.page-id-11 .fishlogy-pc-only::before {
    content: "釣りを、\A感覚から科学へ。" !important;
    white-space: pre !important;
    position: absolute !important;
    z-index: 12 !important;
    top: clamp(180px, 20.4vw, 330px) !important;
    left: max(54px, calc((100vw - 1280px) / 2 + 72px)) !important;
    display: block !important;
    color: #fff4d7 !important;
    font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif !important;
    font-size: clamp(30px, 2.75vw, 50px) !important;
    line-height: 1.15 !important;
    letter-spacing: 0.045em !important;
    font-weight: 700 !important;
    text-shadow: 0 2px 0 rgba(2, 23, 33, 0.44), 0 10px 20px rgba(2, 23, 33, 0.25) !important;
    pointer-events: none !important;
  }

  body.home .fishlogy-pc-only::after,
  body.page-id-11 .fishlogy-pc-only::after {
    content: "魚の行動には理由がある。" !important;
    white-space: nowrap !important;
    position: absolute !important;
    z-index: 13 !important;
    top: clamp(286px, 29.0vw, 455px) !important;
    left: max(54px, calc((100vw - 1280px) / 2 + 72px)) !important;
    display: block !important;
    color: #fff4d7 !important;
    font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif !important;
    font-size: clamp(13px, 1.18vw, 21px) !important;
    line-height: 1.2 !important;
    letter-spacing: 0.06em !important;
    font-weight: 700 !important;
    text-shadow: 0 2px 0 rgba(2, 23, 33, 0.36), 0 8px 18px rgba(2, 23, 33, 0.22) !important;
    pointer-events: none !important;
  }

  body.home .fishlogy-pc-only > .wp-block-image.alignfull::after,
  body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull::after {
    content: "記事を読む  →" !important;
    position: absolute !important;
    z-index: 14 !important;
    top: clamp(324px, 32.8vw, 510px) !important;
    left: max(54px, calc((100vw - 1280px) / 2 + 72px)) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 136px !important;
    height: 38px !important;
    padding: 0 20px !important;
    border: 1px solid rgba(18, 48, 71, 0.76) !important;
    border-radius: 4px !important;
    background: #e2a53a !important;
    color: #123047 !important;
    font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif !important;
    font-size: 13px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: 0.09em !important;
    box-shadow: 0 2px 0 rgba(18, 48, 71, 0.30), 0 10px 20px rgba(2, 23, 33, 0.16) !important;
    pointer-events: none !important;
  }
}

/* Narrow desktop/tablet: keep the hero and logo, but remove overlay text/buttons/nav. */
@media screen and (max-width: 1180px) {
  body.home .fishlogy-home-header,
  body.page-id-11 .fishlogy-home-header {
    display: block !important;
    position: absolute !important;
    z-index: 30 !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 48px !important;
    background: transparent !important;
  }

  body.home .fishlogy-home-header__inner,
  body.page-id-11 .fishlogy-home-header__inner {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    width: calc(100vw - 32px) !important;
    margin: 0 auto !important;
    padding: 8px 0 0 !important;
  }

  body.home .fishlogy-home-header__nav,
  body.page-id-11 .fishlogy-home-header__nav,
  body.home .fishlogy-home-header__search,
  body.page-id-11 .fishlogy-home-header__search,
  body.home .fishlogy-pc-only::before,
  body.page-id-11 .fishlogy-pc-only::before,
  body.home .fishlogy-pc-only::after,
  body.page-id-11 .fishlogy-pc-only::after,
  body.home .fishlogy-pc-only > .wp-block-image.alignfull::before,
  body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull::before,
  body.home .fishlogy-pc-only > .wp-block-image.alignfull::after,
  body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull::after {
    content: none !important;
    display: none !important;
  }

  body.home .fishlogy-home-header__logo,
  body.page-id-11 .fishlogy-home-header__logo {
    display: inline-flex !important;
    align-items: flex-start !important;
    gap: 6px !important;
    max-width: 190px !important;
    color: #123047 !important;
    text-decoration: none !important;
  }

  body.home .fishlogy-home-header__logo svg,
  body.page-id-11 .fishlogy-home-header__logo svg,
  body.home .fishlogy-home-header__mark,
  body.page-id-11 .fishlogy-home-header__mark {
    display: inline-block !important;
    width: 30px !important;
    max-width: 30px !important;
    height: 18px !important;
    max-height: 18px !important;
  }

  body.home .fishlogy-home-header__name,
  body.page-id-11 .fishlogy-home-header__name {
    display: block !important;
    color: #123047 !important;
    font-size: 18px !important;
    line-height: 1 !important;
  }

  body.home .fishlogy-home-header__tagline,
  body.page-id-11 .fishlogy-home-header__tagline {
    display: block !important;
    color: #123047 !important;
    font-size: 7px !important;
    line-height: 1 !important;
    opacity: 0.85 !important;
  }
}

/* Species: never fall back to huge inline SVG/text. */
body.home .fishlogy-species-index,
body.page-id-11 .fishlogy-species-index {
  display: block !important;
  position: relative !important;
  z-index: 2 !important;
  clear: both !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 0 30px !important;
  padding: 0 !important;
  overflow: visible !important;
  background: transparent !important;
}

body.home .fishlogy-species-grid,
body.page-id-11 .fishlogy-species-grid {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 12px !important;
  width: 100% !important;
}

body.home .fishlogy-species-card,
body.page-id-11 .fishlogy-species-card,
body.home .fishlogy-species-card a,
body.page-id-11 .fishlogy-species-card a {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 74px !important;
  padding: 10px 8px !important;
  overflow: hidden !important;
  text-align: center !important;
  text-decoration: none !important;
}

body.home .fishlogy-species-index svg,
body.page-id-11 .fishlogy-species-index svg,
body.home .fishlogy-species-card svg,
body.page-id-11 .fishlogy-species-card svg {
  display: inline-block !important;
  width: auto !important;
  max-width: 62px !important;
  height: auto !important;
  max-height: 24px !important;
  flex: 0 0 auto !important;
}

@media screen and (max-width: 980px) {
  body.home .fishlogy-species-grid,
  body.page-id-11 .fishlogy-species-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
}

@media screen and (max-width: 560px) {
  body.home .fishlogy-species-grid,
  body.page-id-11 .fishlogy-species-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Footer: keep navy footer, hide oversized mark in narrow layouts. */
body.home .fishlogy-home-footer,
body.page-id-11 .fishlogy-home-footer {
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 44px 0 0 !important;
  padding: 22px 28px !important;
  overflow: hidden !important;
  background: #123047 !important;
  color: #fff4d7 !important;
}

body.home .fishlogy-home-footer a,
body.page-id-11 .fishlogy-home-footer a,
body.home .fishlogy-home-footer__name,
body.page-id-11 .fishlogy-home-footer__name,
body.home .fishlogy-home-footer__tagline,
body.page-id-11 .fishlogy-home-footer__tagline {
  color: #fff4d7 !important;
}

body.home .fishlogy-home-footer svg,
body.page-id-11 .fishlogy-home-footer svg,
body.home .fishlogy-home-footer__mark,
body.page-id-11 .fishlogy-home-footer__mark {
  width: 34px !important;
  max-width: 34px !important;
  height: 20px !important;
  max-height: 20px !important;
  display: inline-block !important;
}

@media screen and (max-width: 1180px) {
  body.home .fishlogy-home-footer svg,
  body.page-id-11 .fishlogy-home-footer svg,
  body.home .fishlogy-home-footer__mark,
  body.page-id-11 .fishlogy-home-footer__mark {
    display: none !important;
  }
}

/* =========================================================
   Fishlogy STEP32 - Home responsive final reset
   Goal:
   - Hero stays full viewport width.
   - Hero image is not cropped vertically.
   - Species index stays as cards, not raw blue text links.
   - Mid/narrow widths do not show huge fish SVG/logo.
   - Small widths remain scrollable and visible.
   ========================================================= */

body.home,
body.page-id-11 {
  overflow-x: hidden !important;
  background: #f8efdd !important;
}

body.home .content,
body.page-id-11 .content,
body.home .content-in,
body.page-id-11 .content-in,
body.home .main,
body.page-id-11 .main,
body.home .article,
body.page-id-11 .article,
body.home .entry-content,
body.page-id-11 .entry-content,
body.home .fishlogy-pc-only,
body.page-id-11 .fishlogy-pc-only {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
}

/* Keep the custom home layout visible; prevent fallback raw blocks from taking over. */
body.home .fishlogy-pc-only,
body.page-id-11 .fishlogy-pc-only {
  display: block !important;
  position: relative !important;
  width: 100% !important;
  max-width: none !important;
  padding: 0 0 44px !important;
  margin: 0 !important;
  z-index: 1 !important;
  background: #f8efdd !important;
}

/* Hide the old/mobile duplicate layout for the home page while this PC-responsive home is active. */
body.home .fishlogy-mobile-only,
body.page-id-11 .fishlogy-mobile-only {
  display: none !important;
}

/* Hide Cocoon default clutter on the home page. */
body.home .article-header,
body.page-id-11 .article-header,
body.home .entry-header,
body.page-id-11 .entry-header,
body.home .date-tags,
body.page-id-11 .date-tags,
body.home .eye-catch-wrap,
body.page-id-11 .eye-catch-wrap,
body.home .footer-container,
body.page-id-11 .footer-container,
body.home .author-info,
body.page-id-11 .author-info {
  display: none !important;
}

/* HERO: break out of Cocoon/article width and show the full image. */
body.home .fishlogy-pc-only > .wp-block-image.alignfull,
body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull,
body.home .fishlogy-pc-only > .wp-block-image:first-of-type,
body.page-id-11 .fishlogy-pc-only > .wp-block-image:first-of-type {
  display: block !important;
  position: relative !important;
  width: 100vw !important;
  max-width: 100vw !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  margin-top: 0 !important;
  margin-right: calc(50% - 50vw) !important;
  margin-bottom: 34px !important;
  margin-left: calc(50% - 50vw) !important;
  padding: 0 !important;
  overflow: visible !important;
  background: #f8efdd !important;
  z-index: 1 !important;
}

body.home .fishlogy-pc-only > .wp-block-image.alignfull img,
body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull img,
body.home .fishlogy-pc-only > .wp-block-image:first-of-type img,
body.page-id-11 .fishlogy-pc-only > .wp-block-image:first-of-type img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center center !important;
  margin: 0 !important;
  padding: 0 !important;
  clip-path: none !important;
}

/* Header/logo overlay should only exist on comfortable desktop widths. */
@media (min-width: 1181px) {
  body.home .fishlogy-pc-only::before,
  body.page-id-11 .fishlogy-pc-only::before {
    display: block !important;
    position: absolute !important;
    left: clamp(28px, 5vw, 92px) !important;
    top: clamp(18px, 2vw, 38px) !important;
    z-index: 5 !important;
    color: #123047 !important;
  }

  body.home .fishlogy-pc-only::after,
  body.page-id-11 .fishlogy-pc-only::after {
    display: block !important;
    position: absolute !important;
    left: clamp(48px, 8vw, 152px) !important;
    top: clamp(210px, 24vw, 355px) !important;
    z-index: 5 !important;
    color: #fff7e2 !important;
    text-shadow: 0 3px 12px rgba(0,0,0,.35) !important;
  }

  body.home .fishlogy-pc-only > .wp-block-image.alignfull::after,
  body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull::after,
  body.home .fishlogy-pc-only > .wp-block-image:first-of-type::after,
  body.page-id-11 .fishlogy-pc-only > .wp-block-image:first-of-type::after {
    display: block !important;
    position: absolute !important;
    left: clamp(48px, 8vw, 152px) !important;
    top: clamp(360px, 35vw, 560px) !important;
    z-index: 6 !important;
  }
}

/* At intermediate and small widths, keep the hero image and cards, but remove overlay text/navigation to avoid collisions. */
@media (max-width: 1180px) {
  body.home .fishlogy-pc-only::before,
  body.page-id-11 .fishlogy-pc-only::before,
  body.home .fishlogy-pc-only::after,
  body.page-id-11 .fishlogy-pc-only::after,
  body.home .fishlogy-pc-only > .wp-block-image.alignfull::before,
  body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull::before,
  body.home .fishlogy-pc-only > .wp-block-image.alignfull::after,
  body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull::after,
  body.home .fishlogy-pc-only > .wp-block-image:first-of-type::before,
  body.page-id-11 .fishlogy-pc-only > .wp-block-image:first-of-type::before,
  body.home .fishlogy-pc-only > .wp-block-image:first-of-type::after,
  body.page-id-11 .fishlogy-pc-only > .wp-block-image:first-of-type::after {
    display: none !important;
    content: none !important;
  }
}

/* SPECIES: restore card/grid appearance and prevent raw blue link layout. */
body.home .fishlogy-species-index,
body.page-id-11 .fishlogy-species-index {
  display: block !important;
  position: relative !important;
  clear: both !important;
  width: min(1180px, calc(100vw - 48px)) !important;
  max-width: 1180px !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 auto 34px !important;
  padding: 0 !important;
  overflow: visible !important;
  background: transparent !important;
  z-index: 2 !important;
}

body.home .fishlogy-species-grid,
body.page-id-11 .fishlogy-species-grid {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 12px !important;
  width: 100% !important;
  margin: 18px 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.home .fishlogy-species-card,
body.page-id-11 .fishlogy-species-card,
body.home .fishlogy-species-grid > a,
body.page-id-11 .fishlogy-species-grid > a,
body.home .fishlogy-species-card a,
body.page-id-11 .fishlogy-species-card a {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 88px !important;
  padding: 14px 10px !important;
  border: 1px solid rgba(18,48,71,.45) !important;
  border-radius: 0 !important;
  background: rgba(255,248,229,.68) !important;
  color: #123047 !important;
  text-decoration: none !important;
  text-align: center !important;
  line-height: 1.45 !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

body.home .fishlogy-species-card a:link,
body.page-id-11 .fishlogy-species-card a:link,
body.home .fishlogy-species-card a:visited,
body.page-id-11 .fishlogy-species-card a:visited,
body.home .fishlogy-species-grid > a:link,
body.page-id-11 .fishlogy-species-grid > a:link,
body.home .fishlogy-species-grid > a:visited,
body.page-id-11 .fishlogy-species-grid > a:visited {
  color: #123047 !important;
  text-decoration: none !important;
}

body.home .fishlogy-species-index svg,
body.page-id-11 .fishlogy-species-index svg,
body.home .fishlogy-species-card svg,
body.page-id-11 .fishlogy-species-card svg,
body.home .fishlogy-species-grid svg,
body.page-id-11 .fishlogy-species-grid svg,
body.home .fishlogy-species-index img,
body.page-id-11 .fishlogy-species-index img {
  display: block !important;
  width: auto !important;
  max-width: 54px !important;
  height: 24px !important;
  max-height: 24px !important;
  margin: 0 auto 8px !important;
  object-fit: contain !important;
}

/* Latest/cards/sidebar should not become raw full-width text when width is reduced. */
body.home .fishlogy-home-footer,
body.page-id-11 .fishlogy-home-footer {
  display: block !important;
  width: min(1180px, calc(100vw - 48px)) !important;
  max-width: 1180px !important;
  height: auto !important;
  margin: 42px auto 0 !important;
  padding: 22px 28px !important;
  overflow: hidden !important;
  background: #123047 !important;
  color: #fff7e2 !important;
}

body.home .fishlogy-home-footer svg,
body.page-id-11 .fishlogy-home-footer svg,
body.home .fishlogy-home-footer__mark,
body.page-id-11 .fishlogy-home-footer__mark {
  width: 28px !important;
  max-width: 28px !important;
  height: 18px !important;
  max-height: 18px !important;
  overflow: hidden !important;
}

body.home .fishlogy-home-footer a,
body.page-id-11 .fishlogy-home-footer a,
body.home .fishlogy-home-footer__name,
body.page-id-11 .fishlogy-home-footer__name,
body.home .fishlogy-home-footer__tagline,
body.page-id-11 .fishlogy-home-footer__tagline {
  color: #fff7e2 !important;
}

@media (max-width: 900px) {
  body.home .article,
  body.page-id-11 .article,
  body.home .main,
  body.page-id-11 .main {
    width: 100% !important;
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body.home .fishlogy-species-index,
  body.page-id-11 .fishlogy-species-index,
  body.home .fishlogy-home-footer,
  body.page-id-11 .fishlogy-home-footer {
    width: min(100%, calc(100vw - 28px)) !important;
  }

  body.home .fishlogy-species-grid,
  body.page-id-11 .fishlogy-species-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  body.home .fishlogy-species-card,
  body.page-id-11 .fishlogy-species-card,
  body.home .fishlogy-species-grid > a,
  body.page-id-11 .fishlogy-species-grid > a,
  body.home .fishlogy-species-card a,
  body.page-id-11 .fishlogy-species-card a {
    min-height: 76px !important;
    padding: 10px 8px !important;
    font-size: 13px !important;
  }
}

@media (max-width: 640px) {
  body.home .fishlogy-species-grid,
  body.page-id-11 .fishlogy-species-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.home .fishlogy-species-index svg,
  body.page-id-11 .fishlogy-species-index svg,
  body.home .fishlogy-species-card svg,
  body.page-id-11 .fishlogy-species-card svg,
  body.home .fishlogy-species-grid svg,
  body.page-id-11 .fishlogy-species-grid svg,
  body.home .fishlogy-species-index img,
  body.page-id-11 .fishlogy-species-index img {
    max-width: 46px !important;
    height: 20px !important;
    max-height: 20px !important;
  }
}

@media (max-width: 420px) {
  body.home .fishlogy-species-grid,
  body.page-id-11 .fishlogy-species-grid {
    grid-template-columns: 1fr !important;
  }
}

/* =========================================================
 * STEP33. Home responsive final correction
 * Goals:
 * - keep hero full-bleed at every width
 * - keep the hero bottom visible with width:100% / height:auto
 * - show logo/catch on tablet-ish widths instead of disappearing
 * - keep species as cards, not raw blue text links
 * - keep footer full-bleed navy
 * ========================================================= */

body.home,
body.page-id-11 {
  overflow-x: hidden !important;
  background: #f8efdd !important;
}

body.home .content,
body.page-id-11 .content,
body.home .content-in,
body.page-id-11 .content-in,
body.home .main,
body.page-id-11 .main,
body.home .article,
body.page-id-11 .article {
  overflow: visible !important;
  background: #f8efdd !important;
}

/* Keep Cocoon standard page chrome from mixing into the custom home layout. */
body.home .article-header,
body.page-id-11 .article-header,
body.home .date-tags,
body.page-id-11 .date-tags,
body.home .footer.footer-container,
body.page-id-11 .footer.footer-container {
  display: none !important;
}

/* Hero: always full viewport width, no cropping, bottom visible. */
body.home .fishlogy-pc-only,
body.page-id-11 .fishlogy-pc-only {
  display: block !important;
  position: relative !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 0 clamp(24px, 3vw, 42px) !important;
  overflow: visible !important;
  background: #f8efdd !important;
  z-index: 1 !important;
}

body.home .fishlogy-pc-only > .wp-block-image.alignfull,
body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull,
body.home .fishlogy-pc-only > .wp-block-image:first-of-type,
body.page-id-11 .fishlogy-pc-only > .wp-block-image:first-of-type {
  display: block !important;
  position: relative !important;
  width: 100vw !important;
  max-width: 100vw !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 calc(50% - 50vw) clamp(22px, 3vw, 38px) !important;
  padding: 0 !important;
  overflow: visible !important;
  aspect-ratio: auto !important;
  background: #f8efdd !important;
  z-index: 1 !important;
}

body.home .fishlogy-pc-only > .wp-block-image.alignfull img,
body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull img,
body.home .fishlogy-pc-only > .wp-block-image:first-of-type img,
body.page-id-11 .fishlogy-pc-only > .wp-block-image:first-of-type img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: contain !important;
  object-position: center center !important;
  clip-path: none !important;
}

/* Real header overlay: keep logo visible. Hide full nav only when space is tight. */
body.home .fishlogy-home-header,
body.page-id-11 .fishlogy-home-header {
  display: flex !important;
  position: absolute !important;
  top: 0 !important;
  left: calc(50% - 50vw) !important;
  right: auto !important;
  width: 100vw !important;
  height: clamp(48px, 6vw, 78px) !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 clamp(18px, 4vw, 72px) !important;
  box-sizing: border-box !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  z-index: 20 !important;
  background: linear-gradient(180deg, rgba(248,239,221,.58), rgba(248,239,221,0)) !important;
  pointer-events: auto !important;
}

body.home .fishlogy-home-header__inner,
body.page-id-11 .fishlogy-home-header__inner {
  display: flex !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: clamp(6px, 1.2vw, 14px) 0 0 !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 18px !important;
}

body.home .fishlogy-home-header__logo,
body.page-id-11 .fishlogy-home-header__logo,
body.home .fishlogy-home-header__name,
body.page-id-11 .fishlogy-home-header__name,
body.home .fishlogy-home-header__tagline,
body.page-id-11 .fishlogy-home-header__tagline {
  color: #123047 !important;
  text-decoration: none !important;
}

body.home .fishlogy-home-header__name,
body.page-id-11 .fishlogy-home-header__name {
  font-size: clamp(20px, 3.5vw, 36px) !important;
  line-height: 1 !important;
}

body.home .fishlogy-home-header__tagline,
body.page-id-11 .fishlogy-home-header__tagline {
  display: block !important;
  font-size: clamp(7px, 1vw, 10px) !important;
  line-height: 1.1 !important;
  margin-top: 3px !important;
}

body.home .fishlogy-home-header__nav,
body.page-id-11 .fishlogy-home-header__nav {
  display: flex !important;
  gap: clamp(10px, 1.8vw, 22px) !important;
  align-items: flex-start !important;
  justify-content: flex-end !important;
  white-space: nowrap !important;
}

body.home .fishlogy-home-header__nav a,
body.page-id-11 .fishlogy-home-header__nav a,
body.home .fishlogy-home-header__search,
body.page-id-11 .fishlogy-home-header__search {
  color: #123047 !important;
  font-size: clamp(8px, .9vw, 11px) !important;
  line-height: 1 !important;
  text-decoration: none !important;
}

body.home .fishlogy-home-header__nav a[href*="about"],
body.page-id-11 .fishlogy-home-header__nav a[href*="about"],
body.home .fishlogy-home-header__nav a[href*="about-us"],
body.page-id-11 .fishlogy-home-header__nav a[href*="about-us"] {
  display: none !important;
}

@media (max-width: 900px) {
  body.home .fishlogy-home-header__nav,
  body.page-id-11 .fishlogy-home-header__nav,
  body.home .fishlogy-home-header__search,
  body.page-id-11 .fishlogy-home-header__search {
    display: none !important;
  }
}

/* Copy and CTA: visible on PC and tablet, hidden only when truly small. */
body.home .fishlogy-pc-only::before,
body.page-id-11 .fishlogy-pc-only::before {
  content: "釣りを、\A感覚から科学へ。" !important;
  display: block !important;
  white-space: pre !important;
  position: absolute !important;
  z-index: 12 !important;
  left: clamp(32px, 6.4vw, 110px) !important;
  top: clamp(210px, 25.5vw, 360px) !important;
  color: #fff4d7 !important;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif !important;
  font-size: clamp(23px, 3.6vw, 48px) !important;
  line-height: 1.18 !important;
  letter-spacing: .045em !important;
  font-weight: 700 !important;
  text-shadow: 0 2px 0 rgba(2,23,33,.40), 0 9px 18px rgba(2,23,33,.28) !important;
  pointer-events: none !important;
}

body.home .fishlogy-pc-only::after,
body.page-id-11 .fishlogy-pc-only::after {
  content: "魚の行動には理由がある。" !important;
  display: block !important;
  white-space: nowrap !important;
  position: absolute !important;
  z-index: 13 !important;
  left: clamp(32px, 6.4vw, 110px) !important;
  top: clamp(295px, 35.5vw, 470px) !important;
  color: #fff4d7 !important;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif !important;
  font-size: clamp(12px, 1.65vw, 23px) !important;
  line-height: 1.2 !important;
  letter-spacing: .06em !important;
  font-weight: 700 !important;
  text-shadow: 0 2px 0 rgba(2,23,33,.34), 0 8px 18px rgba(2,23,33,.22) !important;
  pointer-events: none !important;
}

body.home .fishlogy-pc-only > .wp-block-image.alignfull::after,
body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull::after,
body.home .fishlogy-pc-only > .wp-block-image:first-of-type::after,
body.page-id-11 .fishlogy-pc-only > .wp-block-image:first-of-type::after {
  content: "記事を読む  →" !important;
  display: inline-flex !important;
  position: absolute !important;
  z-index: 14 !important;
  left: clamp(32px, 6.4vw, 110px) !important;
  top: clamp(330px, 40.0vw, 535px) !important;
  min-width: clamp(118px, 15vw, 164px) !important;
  height: clamp(34px, 4vw, 44px) !important;
  padding: 0 clamp(16px, 2.4vw, 26px) !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid rgba(18,48,71,.78) !important;
  border-radius: 4px !important;
  background: #e2a53a !important;
  color: #123047 !important;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif !important;
  font-size: clamp(12px, 1.4vw, 15px) !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  letter-spacing: .09em !important;
  box-shadow: 0 2px 0 rgba(18,48,71,.30), 0 10px 20px rgba(2,23,33,.16) !important;
  pointer-events: none !important;
}

@media (max-width: 640px) {
  body.home .fishlogy-pc-only::before,
  body.page-id-11 .fishlogy-pc-only::before,
  body.home .fishlogy-pc-only::after,
  body.page-id-11 .fishlogy-pc-only::after,
  body.home .fishlogy-pc-only > .wp-block-image.alignfull::after,
  body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull::after,
  body.home .fishlogy-pc-only > .wp-block-image:first-of-type::after,
  body.page-id-11 .fishlogy-pc-only > .wp-block-image:first-of-type::after {
    display: none !important;
    content: none !important;
  }
}

/* Species: force card layout even when the underlying HTML would otherwise render as blue text links. */
body.home .fishlogy-species-index,
body.page-id-11 .fishlogy-species-index {
  display: block !important;
  width: min(1180px, calc(100vw - 48px)) !important;
  max-width: 1180px !important;
  margin: 0 auto clamp(28px, 4vw, 44px) !important;
  padding: 0 !important;
  color: #123047 !important;
  background: transparent !important;
  overflow: visible !important;
}

body.home .fishlogy-species-index__head,
body.page-id-11 .fishlogy-species-index__head {
  display: block !important;
  margin: 0 0 16px !important;
}

body.home .fishlogy-species-grid,
body.page-id-11 .fishlogy-species-grid {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 12px !important;
  width: 100% !important;
  margin: 16px 0 0 !important;
  padding: 0 !important;
}

body.home .fishlogy-species-index a,
body.page-id-11 .fishlogy-species-index a {
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  width: calc(16.666% - 12px) !important;
  min-height: 86px !important;
  margin: 6px !important;
  padding: 12px 10px !important;
  border: 1px solid rgba(18,48,71,.45) !important;
  background: rgba(255,248,229,.72) !important;
  color: #123047 !important;
  text-decoration: none !important;
  text-align: center !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
  vertical-align: top !important;
  overflow: hidden !important;
}

body.home .fishlogy-species-grid > a,
body.page-id-11 .fishlogy-species-grid > a,
body.home .fishlogy-species-card,
body.page-id-11 .fishlogy-species-card,
body.home .fishlogy-species-card a,
body.page-id-11 .fishlogy-species-card a {
  width: auto !important;
  margin: 0 !important;
}

body.home .fishlogy-species-index svg,
body.page-id-11 .fishlogy-species-index svg,
body.home .fishlogy-species-index img,
body.page-id-11 .fishlogy-species-index img {
  display: block !important;
  width: auto !important;
  max-width: 54px !important;
  height: 24px !important;
  max-height: 24px !important;
  margin: 0 auto 8px !important;
  object-fit: contain !important;
}

@media (max-width: 900px) {
  body.home .fishlogy-species-index,
  body.page-id-11 .fishlogy-species-index {
    width: min(100%, calc(100vw - 28px)) !important;
  }

  body.home .fishlogy-species-grid,
  body.page-id-11 .fishlogy-species-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  body.home .fishlogy-species-index a,
  body.page-id-11 .fishlogy-species-index a {
    width: calc(33.333% - 12px) !important;
    min-height: 76px !important;
    padding: 10px 8px !important;
    font-size: 12px !important;
  }
}

@media (max-width: 640px) {
  body.home .fishlogy-species-grid,
  body.page-id-11 .fishlogy-species-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.home .fishlogy-species-index a,
  body.page-id-11 .fishlogy-species-index a {
    width: calc(50% - 12px) !important;
  }
}

@media (max-width: 420px) {
  body.home .fishlogy-species-grid,
  body.page-id-11 .fishlogy-species-grid {
    grid-template-columns: 1fr !important;
  }

  body.home .fishlogy-species-index a,
  body.page-id-11 .fishlogy-species-index a {
    width: calc(100% - 12px) !important;
  }
}

/* Footer: full-bleed navy, always. */
body.home .fishlogy-home-footer,
body.page-id-11 .fishlogy-home-footer {
  display: block !important;
  box-sizing: border-box !important;
  width: 100vw !important;
  max-width: 100vw !important;
  height: auto !important;
  margin: clamp(36px, 5vw, 58px) calc(50% - 50vw) 0 !important;
  padding: clamp(22px, 3vw, 34px) clamp(26px, 7vw, 96px) !important;
  overflow: hidden !important;
  background: #123047 !important;
  color: #fff7e2 !important;
}

body.home .fishlogy-home-footer__inner,
body.page-id-11 .fishlogy-home-footer__inner {
  width: min(1180px, 100%) !important;
  max-width: 1180px !important;
  margin: 0 auto !important;
}

body.home .fishlogy-home-footer a,
body.page-id-11 .fishlogy-home-footer a,
body.home .fishlogy-home-footer__name,
body.page-id-11 .fishlogy-home-footer__name,
body.home .fishlogy-home-footer__tagline,
body.page-id-11 .fishlogy-home-footer__tagline {
  color: #fff7e2 !important;
}

body.home .fishlogy-home-footer svg,
body.page-id-11 .fishlogy-home-footer svg,
body.home .fishlogy-home-footer__mark,
body.page-id-11 .fishlogy-home-footer__mark {
  width: 34px !important;
  max-width: 34px !important;
  height: 22px !important;
  max-height: 22px !important;
  overflow: hidden !important;
}

/* =========================================================
   Fishlogy PC Home STEP 34
   Stable full-bleed hero + real card grids at narrow widths
   Goal:
   - Hero stays full-bleed and image bottom remains visible.
   - Species never becomes narrow text-only links.
   - Latest posts keep card layout when browser is narrowed.
   - Footer stays full-bleed navy.
   ========================================================= */

body.home,
body.page-id-11 {
  overflow-x: hidden !important;
  background: #f8efdd !important;
}

body.home .content,
body.page-id-11 .content,
body.home .content-in,
body.page-id-11 .content-in,
body.home .main,
body.page-id-11 .main,
body.home .article,
body.page-id-11 .article,
body.home .entry-content,
body.page-id-11 .entry-content,
body.home .fishlogy-pc-only,
body.page-id-11 .fishlogy-pc-only {
  overflow: visible !important;
}

/* Hero: full-bleed, natural height. Do not crop the bottom. */
body.home .fishlogy-pc-only > .wp-block-image.alignfull,
body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull,
body.home .fishlogy-pc-only > figure.wp-block-image:first-of-type,
body.page-id-11 .fishlogy-pc-only > figure.wp-block-image:first-of-type {
  display: block !important;
  position: relative !important;
  z-index: 1 !important;
  box-sizing: border-box !important;
  width: 100vw !important;
  max-width: 100vw !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  margin: 0 calc(50% - 50vw) clamp(34px, 4vw, 56px) !important;
  padding: 0 !important;
  overflow: visible !important;
  background: #f8efdd !important;
}

body.home .fishlogy-pc-only > .wp-block-image.alignfull img,
body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull img,
body.home .fishlogy-pc-only > figure.wp-block-image:first-of-type img,
body.page-id-11 .fishlogy-pc-only > figure.wp-block-image:first-of-type img {
  display: block !important;
  width: 100vw !important;
  max-width: 100vw !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center center !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Header overlay: keep logo visible; hide only nav on constrained widths. */
body.home .fishlogy-home-header,
body.page-id-11 .fishlogy-home-header {
  display: flex !important;
  position: absolute !important;
  z-index: 20 !important;
  top: max(0px, env(safe-area-inset-top)) !important;
  left: 0 !important;
  width: 100vw !important;
  max-width: 100vw !important;
  height: clamp(44px, 4.8vw, 72px) !important;
  padding: clamp(8px, 1.3vw, 18px) clamp(18px, 5.2vw, 92px) !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  box-sizing: border-box !important;
  background: transparent !important;
  pointer-events: none !important;
}

body.home .fishlogy-home-header a,
body.page-id-11 .fishlogy-home-header a {
  pointer-events: auto !important;
}

body.home .fishlogy-home-header__logo,
body.page-id-11 .fishlogy-home-header__logo {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  max-width: 42vw !important;
  color: #123047 !important;
  text-decoration: none !important;
}

body.home .fishlogy-home-header__name,
body.page-id-11 .fishlogy-home-header__name {
  display: block !important;
  font-size: clamp(18px, 2.35vw, 38px) !important;
  line-height: 1 !important;
  color: #123047 !important;
}

body.home .fishlogy-home-header__tagline,
body.page-id-11 .fishlogy-home-header__tagline {
  display: block !important;
  font-size: clamp(8px, .9vw, 13px) !important;
  line-height: 1.1 !important;
  color: #123047 !important;
  letter-spacing: .08em !important;
}

@media (max-width: 1180px) {
  body.home .fishlogy-home-header__nav,
  body.page-id-11 .fishlogy-home-header__nav,
  body.home .fishlogy-home-header__search,
  body.page-id-11 .fishlogy-home-header__search {
    display: none !important;
  }
}

/* Copy/CTA: only where there is enough height. Avoid overlap with Species. */
@media (max-width: 1180px) {
  body.home .fishlogy-pc-only::before,
  body.page-id-11 .fishlogy-pc-only::before,
  body.home .fishlogy-pc-only::after,
  body.page-id-11 .fishlogy-pc-only::after,
  body.home .fishlogy-pc-only > .wp-block-image.alignfull::after,
  body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull::after,
  body.home .fishlogy-pc-only > figure.wp-block-image:first-of-type::after,
  body.page-id-11 .fishlogy-pc-only > figure.wp-block-image:first-of-type::after {
    display: none !important;
    content: none !important;
  }
}

/* Species: real cards, never skinny columns or plain blue text. */
body.home .fishlogy-species-index,
body.page-id-11 .fishlogy-species-index {
  display: block !important;
  box-sizing: border-box !important;
  width: min(1180px, calc(100vw - 48px)) !important;
  max-width: 1180px !important;
  margin: 0 auto clamp(30px, 4.5vw, 56px) !important;
  padding: 0 !important;
  background: transparent !important;
  color: #123047 !important;
  overflow: visible !important;
}

body.home .fishlogy-species-grid,
body.page-id-11 .fishlogy-species-grid {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: clamp(10px, 1.2vw, 14px) !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 18px 0 0 !important;
  padding: 0 !important;
  align-items: stretch !important;
}

body.home .fishlogy-species-grid > *,
body.page-id-11 .fishlogy-species-grid > *,
body.home .fishlogy-species-card,
body.page-id-11 .fishlogy-species-card {
  box-sizing: border-box !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.home .fishlogy-species-index a,
body.page-id-11 .fishlogy-species-index a,
body.home .fishlogy-species-grid a,
body.page-id-11 .fishlogy-species-grid a,
body.home .fishlogy-species-card a,
body.page-id-11 .fishlogy-species-card a {
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  min-height: clamp(86px, 8vw, 112px) !important;
  margin: 0 !important;
  padding: 14px 10px !important;
  border: 1px solid rgba(18,48,71,.42) !important;
  background: rgba(255,248,229,.76) !important;
  color: #123047 !important;
  text-decoration: none !important;
  text-align: center !important;
  font-size: clamp(11px, .95vw, 13px) !important;
  line-height: 1.45 !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  overflow: hidden !important;
}

body.home .fishlogy-species-index a:visited,
body.page-id-11 .fishlogy-species-index a:visited {
  color: #123047 !important;
}

body.home .fishlogy-species-index svg,
body.page-id-11 .fishlogy-species-index svg,
body.home .fishlogy-species-index img,
body.page-id-11 .fishlogy-species-index img {
  flex: 0 0 auto !important;
  display: block !important;
  width: auto !important;
  max-width: 58px !important;
  height: 24px !important;
  max-height: 24px !important;
  margin: 0 auto 8px !important;
  object-fit: contain !important;
}

@media (max-width: 1180px) {
  body.home .fishlogy-species-index,
  body.page-id-11 .fishlogy-species-index {
    width: min(100%, calc(100vw - 32px)) !important;
  }

  body.home .fishlogy-species-grid,
  body.page-id-11 .fishlogy-species-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  body.home .fishlogy-species-grid,
  body.page-id-11 .fishlogy-species-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.home .fishlogy-species-index a,
  body.page-id-11 .fishlogy-species-index a {
    min-height: 82px !important;
    padding: 12px 8px !important;
    font-size: 11px !important;
  }
}

@media (max-width: 430px) {
  body.home .fishlogy-species-grid,
  body.page-id-11 .fishlogy-species-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Latest articles: keep card grid instead of raw WordPress link list. */
body.home .fishlogy-pc-only .wp-block-latest-posts,
body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts,
body.home .fishlogy-pc-only .wp-block-latest-posts.is-grid,
body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts.is-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(18px, 2vw, 28px) !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 22px 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.home .fishlogy-pc-only .wp-block-latest-posts > li,
body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 0 16px !important;
  border: 1px solid rgba(18,48,71,.34) !important;
  background: rgba(255,248,229,.78) !important;
  box-shadow: 0 12px 28px rgba(18,48,71,.08) !important;
  overflow: hidden !important;
}

body.home .fishlogy-pc-only .wp-block-latest-posts__featured-image,
body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts__featured-image {
  display: block !important;
  width: 100% !important;
  margin: 0 0 12px !important;
}

body.home .fishlogy-pc-only .wp-block-latest-posts__featured-image a,
body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts__featured-image a,
body.home .fishlogy-pc-only .wp-block-latest-posts__featured-image img,
body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts__featured-image img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  aspect-ratio: 16 / 10 !important;
  height: auto !important;
  object-fit: cover !important;
  margin: 0 !important;
}

body.home .fishlogy-pc-only .wp-block-latest-posts > li > a,
body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li > a,
body.home .fishlogy-pc-only .wp-block-latest-posts__post-title,
body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts__post-title {
  display: block !important;
  padding: 0 16px !important;
  color: #123047 !important;
  font-size: clamp(16px, 1.35vw, 20px) !important;
  line-height: 1.5 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

body.home .fishlogy-pc-only .wp-block-latest-posts__post-date,
body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts__post-date,
body.home .fishlogy-pc-only .wp-block-latest-posts__post-excerpt,
body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts__post-excerpt {
  display: block !important;
  padding: 0 16px !important;
  color: rgba(18,48,71,.78) !important;
  font-size: 13px !important;
  line-height: 1.7 !important;
}

@media (max-width: 900px) {
  body.home .fishlogy-pc-only .wp-block-latest-posts,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts,
  body.home .fishlogy-pc-only .wp-block-latest-posts.is-grid,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts.is-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 520px) {
  body.home .fishlogy-pc-only .wp-block-latest-posts,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts,
  body.home .fishlogy-pc-only .wp-block-latest-posts.is-grid,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts.is-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Home footer: full-bleed navy with controlled mark size. */
body.home .fishlogy-home-footer,
body.page-id-11 .fishlogy-home-footer {
  display: block !important;
  box-sizing: border-box !important;
  width: 100vw !important;
  max-width: 100vw !important;
  margin: clamp(38px, 5vw, 64px) calc(50% - 50vw) 0 !important;
  padding: clamp(22px, 3vw, 34px) clamp(24px, 7vw, 96px) !important;
  background: #123047 !important;
  color: #fff7e2 !important;
  overflow: hidden !important;
}

body.home .fishlogy-home-footer__inner,
body.page-id-11 .fishlogy-home-footer__inner {
  width: min(1180px, 100%) !important;
  max-width: 1180px !important;
  margin: 0 auto !important;
}

body.home .fishlogy-home-footer svg,
body.page-id-11 .fishlogy-home-footer svg {
  width: 34px !important;
  max-width: 34px !important;
  height: 22px !important;
  max-height: 22px !important;
  overflow: hidden !important;
}

@media (max-width: 640px) {
  body.home .fishlogy-home-footer__mark,
  body.page-id-11 .fishlogy-home-footer__mark {
    display: none !important;
  }
}

/* =========================================================
   Fishlogy STEP35: keep hero logo/copy/CTA on medium widths
   - Fixes the later max-width:1180px rule that hid the catch and button.
   - Keeps the copy inside the navy underwater area until true mobile width.
   ========================================================= */
@media (min-width: 641px) and (max-width: 1180px) {
  body.home .fishlogy-home-header,
  body.page-id-11 .fishlogy-home-header {
    display: flex !important;
    position: absolute !important;
    z-index: 30 !important;
    top: max(0px, env(safe-area-inset-top)) !important;
    left: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: clamp(42px, 6vw, 64px) !important;
    padding: clamp(8px, 1.6vw, 14px) clamp(18px, 4.5vw, 52px) !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    background: transparent !important;
    box-sizing: border-box !important;
    pointer-events: none !important;
  }

  body.home .fishlogy-home-header__logo,
  body.page-id-11 .fishlogy-home-header__logo,
  body.home .fishlogy-home-header__name,
  body.page-id-11 .fishlogy-home-header__name,
  body.home .fishlogy-home-header__tagline,
  body.page-id-11 .fishlogy-home-header__tagline {
    display: block !important;
    color: #123047 !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  body.home .fishlogy-home-header__name,
  body.page-id-11 .fishlogy-home-header__name {
    font-size: clamp(18px, 2.6vw, 30px) !important;
    line-height: 1 !important;
  }

  body.home .fishlogy-home-header__tagline,
  body.page-id-11 .fishlogy-home-header__tagline {
    font-size: clamp(7px, 1vw, 10px) !important;
    line-height: 1.1 !important;
    letter-spacing: .08em !important;
  }

  body.home .fishlogy-pc-only::before,
  body.page-id-11 .fishlogy-pc-only::before {
    content: "釣りを、\A感覚から科学へ。" !important;
    display: block !important;
    white-space: pre !important;
    position: absolute !important;
    z-index: 22 !important;
    left: clamp(28px, 6.2vw, 76px) !important;
    top: clamp(150px, 17vw, 230px) !important;
    color: #fff4d7 !important;
    font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif !important;
    font-size: clamp(23px, 3.4vw, 36px) !important;
    line-height: 1.16 !important;
    letter-spacing: .045em !important;
    font-weight: 700 !important;
    text-shadow: 0 2px 0 rgba(2,23,33,.42), 0 8px 18px rgba(2,23,33,.28) !important;
    pointer-events: none !important;
  }

  body.home .fishlogy-pc-only::after,
  body.page-id-11 .fishlogy-pc-only::after {
    content: "魚の行動には理由がある。" !important;
    display: block !important;
    white-space: nowrap !important;
    position: absolute !important;
    z-index: 23 !important;
    left: clamp(28px, 6.2vw, 76px) !important;
    top: clamp(232px, 24vw, 315px) !important;
    color: #fff4d7 !important;
    font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif !important;
    font-size: clamp(12px, 1.65vw, 18px) !important;
    line-height: 1.25 !important;
    letter-spacing: .06em !important;
    font-weight: 700 !important;
    text-shadow: 0 2px 0 rgba(2,23,33,.34), 0 8px 18px rgba(2,23,33,.22) !important;
    pointer-events: none !important;
  }

  body.home .fishlogy-pc-only > .wp-block-image.alignfull::after,
  body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull::after,
  body.home .fishlogy-pc-only > figure.wp-block-image:first-of-type::after,
  body.page-id-11 .fishlogy-pc-only > figure.wp-block-image:first-of-type::after {
    content: "記事を読む  →" !important;
    display: inline-flex !important;
    position: absolute !important;
    z-index: 24 !important;
    left: clamp(28px, 6.2vw, 76px) !important;
    top: clamp(266px, 28vw, 360px) !important;
    min-width: clamp(112px, 14vw, 150px) !important;
    height: clamp(32px, 4vw, 40px) !important;
    padding: 0 clamp(14px, 2.2vw, 22px) !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(18,48,71,.78) !important;
    border-radius: 4px !important;
    background: #e2a53a !important;
    color: #123047 !important;
    font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif !important;
    font-size: clamp(11px, 1.35vw, 14px) !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .09em !important;
    box-shadow: 0 2px 0 rgba(18,48,71,.30), 0 10px 20px rgba(2,23,33,.16) !important;
    pointer-events: none !important;
  }
}

/* =========================================================
   Fishlogy PC Home STEP 36
   Final responsive polish
   - Keep hero copy/CTA visible on narrow desktop/tablet widths.
   - Pull copy/CTA upward on large screens so they do not leave the hero.
   - Match latest-article side margins to Species on small widths.
   ========================================================= */

/* Large screens: previous max clamp could push CTA below the hero image. */
@media (min-width: 1181px) {
  body.home .fishlogy-pc-only::before,
  body.page-id-11 .fishlogy-pc-only::before {
    display: block !important;
    content: "釣りを、\A感覚から科学へ。" !important;
    top: clamp(150px, 18.5vw, 300px) !important;
    left: clamp(44px, 6.4vw, 110px) !important;
    font-size: clamp(30px, 3.35vw, 46px) !important;
    line-height: 1.15 !important;
  }

  body.home .fishlogy-pc-only::after,
  body.page-id-11 .fishlogy-pc-only::after {
    display: block !important;
    content: "魚の行動には理由がある。" !important;
    top: clamp(235px, 27vw, 390px) !important;
    left: clamp(44px, 6.4vw, 110px) !important;
    font-size: clamp(14px, 1.45vw, 20px) !important;
  }

  body.home .fishlogy-pc-only > .wp-block-image.alignfull::after,
  body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull::after,
  body.home .fishlogy-pc-only > figure.wp-block-image:first-of-type::after,
  body.page-id-11 .fishlogy-pc-only > figure.wp-block-image:first-of-type::after {
    display: inline-flex !important;
    content: "記事を読む  →" !important;
    top: clamp(270px, 30.5vw, 440px) !important;
    left: clamp(44px, 6.4vw, 110px) !important;
    height: clamp(34px, 3.3vw, 42px) !important;
    min-width: clamp(120px, 13vw, 160px) !important;
  }
}

/* Medium and narrow widths: override older rules that hid copy/CTA under 640px. */
@media (max-width: 1180px) {
  body.home .fishlogy-pc-only::before,
  body.page-id-11 .fishlogy-pc-only::before {
    display: block !important;
    content: "釣りを、\A感覚から科学へ。" !important;
    white-space: pre !important;
    position: absolute !important;
    z-index: 22 !important;
    left: clamp(20px, 5.8vw, 70px) !important;
    top: clamp(96px, 18.8vw, 210px) !important;
    color: #fff4d7 !important;
    font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif !important;
    font-size: clamp(18px, 3.2vw, 34px) !important;
    line-height: 1.14 !important;
    letter-spacing: .04em !important;
    font-weight: 700 !important;
    text-shadow: 0 2px 0 rgba(2,23,33,.40), 0 8px 18px rgba(2,23,33,.26) !important;
    pointer-events: none !important;
  }

  body.home .fishlogy-pc-only::after,
  body.page-id-11 .fishlogy-pc-only::after {
    display: block !important;
    content: "魚の行動には理由がある。" !important;
    white-space: nowrap !important;
    position: absolute !important;
    z-index: 23 !important;
    left: clamp(20px, 5.8vw, 70px) !important;
    top: clamp(158px, 26.2vw, 288px) !important;
    color: #fff4d7 !important;
    font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif !important;
    font-size: clamp(10px, 1.55vw, 16px) !important;
    line-height: 1.2 !important;
    letter-spacing: .05em !important;
    font-weight: 700 !important;
    text-shadow: 0 2px 0 rgba(2,23,33,.32), 0 8px 18px rgba(2,23,33,.20) !important;
    pointer-events: none !important;
  }

  body.home .fishlogy-pc-only > .wp-block-image.alignfull::after,
  body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull::after,
  body.home .fishlogy-pc-only > figure.wp-block-image:first-of-type::after,
  body.page-id-11 .fishlogy-pc-only > figure.wp-block-image:first-of-type::after {
    display: inline-flex !important;
    content: "記事を読む  →" !important;
    position: absolute !important;
    z-index: 24 !important;
    left: clamp(20px, 5.8vw, 70px) !important;
    top: clamp(184px, 30.2vw, 326px) !important;
    min-width: clamp(104px, 13.5vw, 146px) !important;
    height: clamp(30px, 3.8vw, 38px) !important;
    padding: 0 clamp(12px, 2vw, 20px) !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(18,48,71,.78) !important;
    border-radius: 4px !important;
    background: #e2a53a !important;
    color: #123047 !important;
    font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif !important;
    font-size: clamp(10px, 1.25vw, 13px) !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .08em !important;
    box-shadow: 0 2px 0 rgba(18,48,71,.30), 0 10px 18px rgba(2,23,33,.14) !important;
    pointer-events: none !important;
  }
}

/* Very small widths: keep the copy/CTA, but make them compact enough to stay in the navy water area. */
@media (max-width: 640px) {
  body.home .fishlogy-pc-only::before,
  body.page-id-11 .fishlogy-pc-only::before {
    display: block !important;
    content: "釣りを、\A感覚から科学へ。" !important;
    left: clamp(14px, 5vw, 28px) !important;
    top: clamp(82px, 22vw, 132px) !important;
    font-size: clamp(16px, 5vw, 23px) !important;
    line-height: 1.1 !important;
  }

  body.home .fishlogy-pc-only::after,
  body.page-id-11 .fishlogy-pc-only::after {
    display: block !important;
    content: "魚の行動には理由がある。" !important;
    left: clamp(14px, 5vw, 28px) !important;
    top: clamp(134px, 35vw, 202px) !important;
    font-size: clamp(9px, 2.7vw, 12px) !important;
  }

  body.home .fishlogy-pc-only > .wp-block-image.alignfull::after,
  body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull::after,
  body.home .fishlogy-pc-only > figure.wp-block-image:first-of-type::after,
  body.page-id-11 .fishlogy-pc-only > figure.wp-block-image:first-of-type::after {
    display: inline-flex !important;
    content: "記事を読む  →" !important;
    left: clamp(14px, 5vw, 28px) !important;
    top: clamp(156px, 41vw, 232px) !important;
    min-width: 94px !important;
    height: 28px !important;
    padding: 0 12px !important;
    font-size: 10px !important;
  }
}

/* If the viewport is extremely narrow, the full copy cannot fit safely on the image. */
@media (max-width: 360px) {
  body.home .fishlogy-pc-only::before,
  body.page-id-11 .fishlogy-pc-only::before {
    font-size: 14px !important;
    top: 76px !important;
  }

  body.home .fishlogy-pc-only::after,
  body.page-id-11 .fishlogy-pc-only::after {
    display: none !important;
    content: none !important;
  }

  body.home .fishlogy-pc-only > .wp-block-image.alignfull::after,
  body.page-id-11 .fishlogy-pc-only > .wp-block-image.alignfull::after,
  body.home .fishlogy-pc-only > figure.wp-block-image:first-of-type::after,
  body.page-id-11 .fishlogy-pc-only > figure.wp-block-image:first-of-type::after {
    top: 126px !important;
    height: 26px !important;
    min-width: 86px !important;
    font-size: 9px !important;
  }
}

/* Small-width latest articles: keep the card form, but match the Species section side margin. */
@media (max-width: 640px) {
  body.home .fishlogy-pc-only .wp-block-latest-posts,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts,
  body.home .fishlogy-pc-only .wp-block-latest-posts.is-grid,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts.is-grid {
    width: min(100%, calc(100vw - 28px)) !important;
    max-width: calc(100vw - 28px) !important;
    margin: 22px auto 0 !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts > li,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li {
    min-width: 0 !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts > li > a,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts > li > a,
  body.home .fishlogy-pc-only .wp-block-latest-posts__post-title,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts__post-title {
    padding-left: 10px !important;
    padding-right: 10px !important;
    font-size: clamp(13px, 3.5vw, 16px) !important;
  }

  body.home .fishlogy-pc-only .wp-block-latest-posts__post-date,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts__post-date,
  body.home .fishlogy-pc-only .wp-block-latest-posts__post-excerpt,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts__post-excerpt {
    padding-left: 10px !important;
    padding-right: 10px !important;
    font-size: 12px !important;
  }
}

@media (max-width: 390px) {
  body.home .fishlogy-pc-only .wp-block-latest-posts,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts,
  body.home .fishlogy-pc-only .wp-block-latest-posts.is-grid,
  body.page-id-11 .fishlogy-pc-only .wp-block-latest-posts.is-grid {
    grid-template-columns: 1fr !important;
  }
}