@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/


/**************************************************
**** 0. サイト全体・Cocoon基盤のダーク化（最優先）
**************************************************/
html, body, #container, .site, .content, main#main.main {
  background-color: #0b0b0b !important;
  color: #eeeeee !important;
}

/* 記事本文・基本文字色 */
.entry-content,
.entry-content p,
.entry-content li,
.entry-content dt,
.entry-content dd {
  color: #dddddd !important;
}

/* 記事タイトル・見出しの白文字化 */
.entry-title,
.article-header h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  color: #ffffff !important;
}

/* ヘッダー・フッターの黒化 */
#header-container, #header, #footer {
  background-color: #000000 !important;
  border-color: #222222 !important;
  box-shadow: none !important;
}

/* リンク色（通常白、ホバー時オレンジ） */
a {
  color: #ffffff;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}
a:hover {
  color: #ff9900 !important;
}

img {
  box-shadow: 0px 2px 5px 0 rgba(0,0,0,.6);
}

/***********************************
**** ヘッダーロゴ
************************************/
@media screen and (max-width: 1023px){
  .container {
    margin-top: -3px;
  }
}
.logo-image {
  padding: 0;
  margin-left: 1em;
  margin-top: 1em;
  margin-bottom: 1em;
  max-height: 60px;
}
.logo {
  text-align: left;
}
.logo-header img {
  box-shadow: none !important;
}

/************************************
**** モバイル表示 ヘッダーメニュー・検索アイコン
************************************/
.mobile-menu-buttons {
  height: 50px;
  background-color: #121212 !important;
  box-shadow: none;
  border-bottom: 1px solid #222222;
}
.mobile-menu-buttons > li {
  padding-top: 0;
}
.menu-button {
  margin: auto;
  color: #ffffff !important;
}
.mobile-menu-buttons .menu-button:hover {
  background-color: #1f1f1f !important;
}
span.fas.fa-search::before {
  color: #ff9900 !important;
  margin-left: 1em;
}
span.fas.fa-bars::before {
  color: #ff9900 !important;
  margin-right: 1em;
}
.navi-menu-caption.menu-caption,
.home-menu-caption.menu-caption,
.search-menu-caption.menu-caption,
.top-menu-caption.menu-caption,
.sidebar-menu-caption.menu-caption {
  display: none;
}

/************************************
** モバイルスライドインメニュー
************************************/
span.fas.fa-times::before {
  font-family: "Font Awesome 5 Free";
  content: "\f060";
  color: #ff9900 !important;
}
ul.menu-drawer {
  background-color: #121212 !important;
}
ul.menu-drawer:before {
  font-size: 1.2em;
  background: #181818 !important;
  color: #ffffff !important;
  margin-bottom: 1em;
  border-bottom: 3px solid #ff9900 !important;
  content: "メニュー";
}
ul.menu-drawer:after {
  background: #121212 !important;
}
.menu-drawer li {
  padding: 0;
  font-weight: bold;
}
.menu-drawer a {
  font-size: 1.3em;
  background-color: #1a1a1a !important;
  color: #ffffff !important;
  border-bottom: 1px solid #282828;
  margin: .5em 0;
}
.menu-drawer a:hover {
  background-color: #252525 !important;
  color: #ff9900 !important;
}
.menu-drawer .sub-menu {
  padding: 0;
  background-color: #141414 !important;
}
.menu-drawer .sub-menu li {
  font-size: .9em;
}
.menu-drawer .sub-menu li a::before {
  font-family: "Font Awesome 5 Free";
  content : "\f105";
  color: #ff9900 !important;
  margin: 0 .5em 0 1em;
}

/**********************************************
** DMMプロダクト・新着カード
**********************************************/
.dmm-product {
  background-color: #181818 !important;
  border: 1px solid #282828;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.5);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  width: calc(50% - 20px);
  text-align: center;
  cursor: pointer;
}
.dmm-product:hover {
  transform: translateY(-5px);
  border-color: #ff9900;
  box-shadow: 0 8px 16px rgba(255,153,0,0.3);
}
.dmm-product-image-container {
  height: auto;
  width: 100%;
  overflow: hidden;
  background-color: #000;
}
.dmm-product-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.dmm-product-title {
  font-size: 14px;
  color: #ffffff !important;
  padding: 10px;
  background-color: #141414 !important;
  margin: 0;
  height: auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.dmm-product-rank {
  font-weight: bold;
  color: #ff9900 !important;
  font-size: 20px;
}
@media (max-width: 1024px) {
  .dmm-product {
    width: calc(50% - 20px);
  }
}
@media (max-width: 600px) {
  .dmm-product {
    width: 100%;
  }
}

/************************************
**** 全体のバランス
************************************/
.entry-content {
  padding-bottom: 0;
  margin-bottom: 0;
}
@media (max-width: 1023px){
  article > .entry-content, article > footer.article-footer {
    padding: 0 20px;
  }
}
@media screen and (max-width: 880px){
  .page-body {
    font-size: 16px;
  }
}
@media screen and (max-width: 480px){
  .page-body {
    font-size: 15px;
  }
}
.body .article {
  background-color: #121212 !important;
  border: 1px solid #222222;
  margin-bottom: 0;
}

/************************************
**** アピールエリア
************************************/
.appeal {
  padding: 0 0 .1em;
  background-color: #000000 !important;
  box-shadow: 0px 1px 4px 0 rgba(0,0,0,.5);
}
div#appeal-in.appeal-in.wrap {
  padding: 0;
  min-height: 0px;
  max-height: 35px;
}
.appeal-content {
  background-color: #1a1a1a !important;
  border-bottom: 1px solid #333333;
  margin: auto;
  padding: 0;
  max-width: 100%;
  opacity: 1;
  line-height: 1.6;
}
a.appeal-button {
  background: #ff9900 !important;
  color: #000000 !important;
  font-weight: bold;
  font-size: .85em;
  padding: 3px 20px !important;
  margin: 0;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(255,153,0,0.4);
}
.appeal-button:hover {
  background-color: #ffa826 !important;
  transform: none;
}

/************************************
**** ヘッダーメニュー
************************************/
.navi-in {
  background-color: #0e0e0e !important;
}
.navi-in > ul {
  justify-content: flex-start;
}
.navi-in > ul li {
  line-height: 40px;
  height: 40px;
}
.navi-in a {
  font-size: 15px;
  color: #ffffff !important;
}
.navi-in a:hover {
  color: #ff9900 !important;
}
.navi-in > ul .sub-menu a {
  padding: 0;
  background-color: #181818 !important;
}
.navi-in > ul .sub-menu {
  background-color: #181818 !important;
  box-shadow: 0px 4px 10px 0 rgba(0,0,0,.7);
  border: 1px solid #282828;
}
.sub-menu .caption-wrap {
  color: #ffffff !important;
  border-top: 1px solid #282828;
  background: #181818 !important;
  padding: 0 0 0 2em;
  margin: 0;
}
div#header-container {
  box-shadow: none;
}
div.item-label {
  font-weight: bold;
}

/************************************
**** おすすめカード
************************************/
div#recommended-in.recommended-in.wrap.cf {
  margin-top: 20px;
  max-height: 220px;
}
@media screen and (min-width: 1024px){
  div#recommended-in.recommended-in.wrap.cf {
    padding: 0 2em;
  }
}
.widget-entry-cards .a-wrap {
  background-color: #1a1a1a !important;
  border: 1px solid #2a2a2a;
  transition: all .2s;
}
.widget-entry-cards .a-wrap:hover {
  transform: translateY(-2px);
  border-color: #ff9900;
  box-shadow: 0 4px 12px rgba(255,153,0,0.3);
}
figure.navi-entry-card-thumb.widget-entry-card-thumb.card-thumb {
  opacity: .9;
}
a.navi-entry-card-link.widget-entry-card-link.a-wrap {
  border-radius: 8px !important;
  margin: 1em .5em;
  background-color: #1a1a1a !important;
}
div.navi-entry-card-title.widget-entry-card-title.card-title {
  color: #ffffff !important;
  font-weight: bold;
  font-size: .8em;
  background-color: rgba(0, 0, 0, 0.75) !important;
  padding: .6em .5em;
  border-radius: 4px;
}

/************************************
**** サイドバー
************************************/
#sidebar > .widget {
  background-color: #141414 !important;
  border: 1px solid #242424;
  border-radius: 8px;
  padding: 16px;
  color: #dddddd;
}
.sidebar h3 {
  color: #ffffff !important;
  border-radius: 0%;
  border-bottom: 2px solid #ff9900 !important;
  padding-bottom: 0.3em;
  margin-top: -0.2em;
  margin-bottom: 1em;
  font-weight: bold;
}
.widget_recent_entries ul li a,
.widget_categories ul li a,
.widget_archive ul li a,
.widget_pages ul li a,
.widget_meta ul li a,
.widget_rss ul li a,
.widget_nav_menu ul li a {
  background-color: #1c1c1c !important;
  color: #cccccc !important;
  margin: 6px 0;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid #2a2a2a;
  display: block;
  transition: 0.2s;
}
.widget_recent_entries ul li a:hover,
.widget_categories ul li a:hover,
.widget_archive ul li a:hover,
.widget_pages ul li a:hover,
.widget_meta ul li a:hover,
.widget_rss ul li a:hover,
.widget_nav_menu ul li a:hover {
  background-color: #252525 !important;
  color: #ff9900 !important;
  border-color: #ff9900;
}
.tagcloud a,
.xili-tidy-tags a,
.xili-tidy-tags ul li a {
  background-color: #1c1c1c !important;
  color: #bbbbbb !important;
  border: 1px solid #2a2a2a !important;
  border-radius: 4px;
  padding: 4px 8px;
}
.tagcloud a:hover,
.xili-tidy-tags a:hover,
.xili-tidy-tags ul li a:hover {
  background-color: #ff9900 !important;
  color: #000000 !important;
  border-color: #ff9900 !important;
}

/************************************
**** 記事一覧グリッド（トップ・アーカイブ）
************************************/
@media screen and (min-width: 1024px) {
  #main .entry-cards {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
  }
  #main .entry-cards > .a-wrap {
    width: 100% !important;
    margin: 0 !important;
    background-color: #161616 !important;
    border: 1px solid #262626 !important;
  }
}

/* 一覧カードのタイトルとスニペット色 */
.entry-card-title {
  color: #ffffff !important;
}
.entry-card-snippet, .post-date, .post-update {
  color: #888888 !important;
}

/**************************************************
**** トップ一覧タブ切り替え ＆ ボタン（PH風）
**************************************************/
.ph-portal-top .tab-label {
  background-color: #1a1a1a !important;
  color: #aaaaaa !important;
  border: 1px solid #2a2a2a !important;
  border-bottom: none !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  padding: 10px 16px !important;
  border-radius: 6px 6px 0 0 !important;
  transition: all 0.2s ease !important;
}
.ph-portal-top .tab-radio:checked + .tab-label {
  background-color: #ff9900 !important;
  color: #000000 !important;
  border-color: #ff9900 !important;
}
.ph-portal-top .tab-content {
  background-color: #141414 !important;
  border: 1px solid #2a2a2a !important;
  border-radius: 0 6px 6px 6px !important;
  padding: 16px !important;
}
.ph-more-btn {
  display: inline-block !important;
  background-color: #ff9900 !important;
  color: #000000 !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  padding: 10px 24px !important;
  border-radius: 25px !important;
  text-decoration: none !important;
  box-shadow: 0 3px 10px rgba(255, 153, 0, 0.4) !important;
  transition: transform 0.2s, background-color 0.2s !important;
}
.ph-more-btn:hover {
  background-color: #ffa826 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 5px 14px rgba(255, 153, 0, 0.6) !important;
}
@media screen and (max-width: 600px) {
  .ph-portal-top .tab-label {
    font-size: 12px !important;
    padding: 8px 10px !important;
  }
  .ph-portal-top .tab-content {
    padding: 10px 6px !important;
  }
  .ph-more-btn {
    font-size: 12px !important;
    padding: 8px 18px !important;
  }
}

/**************************************************
**** 投稿内ボックス群の白浮き・グレー文字 一括ダーク化
**************************************************/
.entry-content .w-block {
  color: #dddddd !important;
}
.entry-content .w-block p,
.entry-content .w-block li,
.entry-content .w-block div {
  color: #dddddd;
}

/* 導入部・おすすめ枠・まとめ枠 */
.entry-content .w-block div[style*="background-color: #fef6f8"],
.entry-content .w-block div[style*="background-color:#fef6f8"] {
  background-color: #181818 !important;
  border-color: #2b2b2b !important;
  border-left-color: #ff9900 !important;
  color: #dddddd !important;
}
.entry-content .w-block div[style*="background-color: #fef6f8"] p[style*="color: #d81b60"],
.entry-content .w-block div[style*="background-color:#fef6f8"] p[style*="color:#d81b60"] {
  color: #ff9900 !important;
}

/* 目次・内部リンク枠 */
.entry-content .w-block div[style*="background-color: #f9f9f9"],
.entry-content .w-block div[style*="background-color:#f9f9f9"] {
  background-color: #161616 !important;
  border: 1px solid #282828 !important;
  color: #dddddd !important;
}
.entry-content .w-block div[style*="background-color: #f9f9f9"] div,
.entry-content .w-block div[style*="background-color: #f9f9f9"] p {
  color: #ffffff !important;
}
.entry-content .w-block div[style*="border-bottom: 2px solid #ff7eb3"] {
  border-bottom: 2px solid #ff9900 !important;
}
.entry-content .w-block div[style*="background-color: #f9f9f9"] a {
  color: #ff9900 !important;
}

/* スペックテーブルとレーティング */
.entry-content .w-block table[style*="background-color: #fff"],
.entry-content .w-block table[style*="background-color:#fff"] {
  background-color: #161616 !important;
  border: 1px solid #282828 !important;
}
.entry-content .w-block table tr {
  border-bottom: 1px solid #242424 !important;
}
.entry-content .w-block table th {
  background-color: #1f1f1f !important;
  color: #ff9900 !important;
  border-right: 1px solid #242424 !important;
}
.entry-content .w-block table td {
  background-color: #161616 !important;
  color: #eeeeee !important;
}
.entry-content .w-block div[style*="background-color: #fff0f5"],
.entry-content .w-block div[style*="background-color:#fff0f5"] {
  background-color: #181818 !important;
  border: 1px solid #2a2a2a !important;
  border-left: 4px solid #ff9900 !important;
}
.entry-content .w-block div[style*="background-color: #fff0f5"] p {
  color: #ff9900 !important;
}

/* メリット・デメリット枠 */
.entry-content .w-block div[style*="background-color: #f0f7ff"],
.entry-content .w-block div[style*="background-color:#f0f7ff"] {
  background-color: #141c24 !important;
  border: 1px solid #1f3347 !important;
  border-left: 5px solid #2196f3 !important;
}
.entry-content .w-block div[style*="background-color: #fff5f5"],
.entry-content .w-block div[style*="background-color:#fff5f5"] {
  background-color: #241514 !important;
  border: 1px solid #4a2420 !important;
  border-left: 5px solid #f44336 !important;
}
.entry-content .w-block p[style*="color: #1565c0"] { color: #64b5f6 !important; }
.entry-content .w-block p[style*="color: #c62828"] { color: #ff5252 !important; }

/* チャプター吹き出し枠 */
.entry-content .w-block div[style*="background-color: #f0f3f8"],
.entry-content .w-block div[style*="background-color:#f0f3f8"] {
  background-color: #1a1a1a !important;
  border: 1px solid #2a2a2a !important;
  border-left: 4px solid #ff9900 !important;
}
.entry-content .w-block div[style*="background-color: #f0f3f8"] p {
  color: #ffffff !important;
}

/* 寸止め枠 */
.entry-content .w-block div[style*="background-color: #fff9e6"],
.entry-content .w-block div[style*="background-color:#fff9e6"] {
  background-color: #221c14 !important;
  border: 1px solid #3d2f1d !important;
  border-left: 4px solid #ff9900 !important;
}
.entry-content .w-block div[style*="background-color: #fff9e6"] p[style*="color: #d84315"] {
  color: #ffaa33 !important;
}

/* 各見出し（H2・H3）と点線 */
.entry-content .w-block h2[style*="linear-gradient"] {
  background: #1a1a1a !important;
  border-left: 5px solid #ff9900 !important;
  color: #ffffff !important;
}
.entry-content .w-block h3[style*="color: #d81b60"] {
  color: #ffffff !important;
  border-left: 4px solid #ff9900 !important;
}
.entry-content .w-block hr[style*="dashed"] {
  border-top: 1px dashed #333333 !important;
}

/* CTAボタン（PHオレンジ×黒文字） */
.entry-content .w-block a.cta-btn,
.fanza-cta a {
  background: #ff9900 !important;
  color: #000000 !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 15px rgba(255, 153, 0, 0.4) !important;
}
.entry-content .w-block a.cta-btn span {
  color: #000000 !important;
}

/* 共通非表示設定 */
.home.page .entry-title,
.home.page .date-tags,
.home.page .author-info {
  display: none !important;
}
.dmm-campaign-banner,
.dmm-campaign-dates,
.dmm-campaign-dates .lab {
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}

/**************************************************
**** 新着リスト・カード一覧を1行3カラム（3列）で固定
**************************************************/

/* PC・タブレット（769px以上）：確実に1行3列で並べる */
@media screen and (min-width: 769px) {
  .ph-portal-top .ph-video-grid .widget-entry-cards,
  .ph-portal-top .ph-video-grid.widget-entry-cards,
  #main .ph-video-grid .widget-entry-cards {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important; /* 1行に3つ均等配置 */
    gap: 15px !important;                             /* カード同士の間隔 */
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 各カードの幅を100%にして枠内に収める */
  .ph-portal-top .ph-video-grid .widget-entry-cards .a-wrap,
  .ph-portal-top .ph-video-grid .a-wrap {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }
}

/* スマホ（768px以下）：画面幅に応じた最適化 */
@media screen and (max-width: 768px) {
  /* スマホでも無理やり1行3列にする場合 */
  .ph-portal-top .ph-video-grid .widget-entry-cards,
  .ph-portal-top .ph-video-grid.widget-entry-cards {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0,1fr)) !important; /* スマホは2列、狭い画面では下で1列 */
    gap: 6px !important;
  }

  .ph-portal-top .ph-video-grid .card-content {
    padding: 6px 4px !important;
  }

  .ph-portal-top .ph-video-grid .card-title {
    font-size: 11px !important;
    height: 2.6em !important;
  }
}

/**************************************************
**** 木下凛々子等のスペック表・独自評価枠 一括ダーク化
**************************************************/

/* 1. レーティング枠（#fafafa や #eee の薄白枠） */
.entry-content div[style*="background-color: #fafafa"],
.entry-content div[style*="background-color:#fafafa"] {
  background-color: #181818 !important;
  border: 1px solid #282828 !important;
  border-left: 4px solid #ff9900 !important;
  border-radius: 6px !important;
  color: #dddddd !important;
}

.entry-content div[style*="background-color: #fafafa"] p,
.entry-content div[style*="background-color:#fafafa"] p {
  color: #ff9900 !important;
}

.entry-content div[style*="background-color: #fafafa"] li,
.entry-content div[style*="background-color:#fafafa"] li {
  color: #e0e0e0 !important;
}

/* 2. 基本スペック表（#fff背景、#fff0f5見出し、#ffd1dc枠線） */
.entry-content table[style*="background-color: #fff"],
.entry-content table[style*="background-color:#fff"] {
  background-color: #161616 !important;
  border: 1px solid #282828 !important;
}

.entry-content table tr[style*="border-bottom: 1px solid #ffd1dc"],
.entry-content table tr[style*="border-bottom:1px solid #ffd1dc"] {
  border-bottom: 1px solid #242424 !important;
}

.entry-content table th[style*="background-color: #fff0f5"],
.entry-content table th[style*="background-color:#fff0f5"] {
  background-color: #1f1f1f !important;
  color: #ff9900 !important;
  border-right: 1px solid #242424 !important;
}

.entry-content table td {
  background-color: #161616 !important;
  color: #eeeeee !important;
}

/* 削除：インライン背景色をすべて黒化する包括指定。記事の個別配色を破壊するため。 */

/**************************************************
**** 「おすすめな人・合わない人」フレックス2カラム枠のダーク化
**************************************************/

/* 左側：おすすめ枠（薄緑・薄青・白背景など） */
.entry-content div[style*="flex: 1 1 280px"],
.entry-content div[style*="flex:1 1 280px"] {
  background-color: #161616 !important;
  border: 1px solid #282828 !important;
  border-left: 4px solid #ff9900 !important;
  color: #dddddd !important;
}

.entry-content div[style*="flex: 1 1 280px"] p,
.entry-content div[style*="flex:1 1 280px"] p {
  color: #ff9900 !important;
}

.entry-content div[style*="flex: 1 1 280px"] li,
.entry-content div[style*="flex:1 1 280px"] li {
  color: #e0e0e0 !important;
}

/* 右側：合わないかも枠（薄赤背景 #ffebee / 枠線 #ffcdd2） */
.entry-content div[style*="#ffebee"] {
  background-color: #211211 !important;
  border: 1px solid #3d1c1a !important;
  border-left: 4px solid #e53935 !important;
  color: #dddddd !important;
}

.entry-content div[style*="#ffebee"] p,
.entry-content div[style*="#ffebee"] p[style*="color: #c62828"],
.entry-content div[style*="#ffebee"] p[style*="color:#c62828"] {
  color: #ff6e6e !important; /* 読みやすい明るいレッド */
}

.entry-content div[style*="#ffebee"] li {
  color: #d0d0d0 !important;
}

/**************************************************
**** サイドバー外枠の白背景・白いフチ完全消去
**************************************************/

/* サイドバー全体およびウィジェット枠の白背景を黒化 */
#sidebar,
.sidebar,
aside.sidebar,
.sidebar-wrapper,
#sidebar .widget,
.sidebar .widget,
.sidebar-widget-area,
.widget-sidebar {
  background-color: #0b0b0b !important; /* サイト全体の背景色に合わせる */
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* ウィジェット（各ブロック）ごとの背景と枠線 */
#sidebar > .widget,
.sidebar > .widget {
  background-color: #121212 !important; /* 各ボックスの黒背景 */
  border: 1px solid #242424 !important;  /* 控えめなグレー境界線 */
  border-radius: 8px !important;
  padding: 16px !important;
  margin-bottom: 24px !important;
  box-shadow: none !important;
}

/* サイドバー内のカード一覧・リンク背景リセット */
.sidebar .widget-entry-cards .a-wrap,
.sidebar .entry-card-wrap {
  background-color: #161616 !important;
  border-color: #262626 !important;
}


/*************************************************************
 * トップページ専用：色分け・可読性改善
 * 必須：固定ページのカスタムHTMLに <main class="jk-home"> があること
 * 一般記事・サイドバーの配色は変更しません。
 *************************************************************/
body.home .entry-content .jk-home,
.entry-content .jk-home {
  --jk-bg:#fffaf1; --jk-surface:#ffffff; --jk-orange:#e98709;
  --jk-text:#243448; --jk-muted:#4c6170;
  display:block; box-sizing:border-box; background:#fffaf1 !important;
  color:#243448 !important; font-size:16px; line-height:1.8;
  padding:clamp(14px,3vw,30px); border:1px solid #eadfce;
  border-radius:12px; overflow-wrap:anywhere;
}
.entry-content .jk-home *, .entry-content .jk-home *::before, .entry-content .jk-home *::after {box-sizing:border-box}
.entry-content .jk-home p, .entry-content .jk-home li,
.entry-content .jk-home dd, .entry-content .jk-home dt,
.entry-content .jk-home .jk-note,
.entry-content .w-block .jk-home p, .entry-content .w-block .jk-home li {color:#34465a !important}
.entry-content .jk-home h1, .entry-content .jk-home h2,
.entry-content .jk-home h3, .entry-content .jk-home h4 {
  color:#20354b !important; line-height:1.4; overflow-wrap:anywhere;
}
.entry-content .jk-home h1 {font-size:clamp(24px,4.5vw,34px);margin:0 0 14px}
.entry-content .jk-home h2 {font-size:clamp(21px,3.5vw,27px);margin:42px 0 17px;padding:12px 15px;
  background:#fff0d6 !important; border:0 !important; border-left:6px solid #ed8c10 !important;
  border-radius:0 9px 9px 0; box-shadow:0 2px 0 #f8d7a3}
.entry-content .jk-home h3 {font-size:19px;margin:0 0 12px}
.entry-content .jk-home p {margin:0 0 14px}
.entry-content .jk-home a:not(.jk-action) {color:#116b79 !important;text-decoration:underline;text-underline-offset:3px}
.entry-content .jk-home a:not(.jk-action):hover {color:#a04d00 !important}
.entry-content .jk-home a:focus-visible {outline:3px solid #067c91;outline-offset:3px}
.entry-content .jk-home .jk-kicker {display:inline-block;padding:4px 11px;color:#141414 !important;
 background:#ffba52 !important;font-weight:800;border-radius:20px;font-size:13px;margin-bottom:13px}
.entry-content .jk-home .jk-hero, .entry-content .w-block .jk-home .jk-hero {
 background:linear-gradient(125deg,#17324c,#24566b) !important;border:1px solid #264f62 !important;
 padding:clamp(17px,3vw,28px);border-radius:13px;box-shadow:0 8px 24px #24496322
}
.entry-content .jk-home .jk-hero h1, .entry-content .jk-home .jk-hero p,
.entry-content .w-block .jk-home .jk-hero h1, .entry-content .w-block .jk-home .jk-hero p {color:#fff !important}
.entry-content .jk-home .jk-lead {font-size:17px}
.entry-content .jk-home .jk-nav {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:18px 0 0}
.entry-content .jk-home .jk-nav a {display:block;color:#18364b !important;text-align:center;text-decoration:none !important;
 background:#fff !important;border:1px solid #cfe2e7 !important;border-radius:9px;padding:11px 6px;font-weight:700;font-size:14px}
.entry-content .jk-home .jk-nav a:hover {background:#e6f6f4 !important}
.entry-content .jk-home .jk-cards {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.entry-content .jk-home .jk-card, .entry-content .w-block .jk-home .jk-card {min-width:0;
 background:#fff !important;border:1px solid #e7dccb !important;border-top:5px solid #f39a18 !important;
 border-radius:12px;padding:17px;box-shadow:0 4px 13px #46391d0d;color:#34465a !important}
.entry-content .jk-home .jk-card:nth-child(3n+2) {background:#f0f9fb !important;border-color:#cce4ea !important;border-top-color:#258ba0 !important}
.entry-content .jk-home .jk-card:nth-child(3n) {background:#fff5e7 !important;border-color:#efd8b5 !important;border-top-color:#dc8540 !important}
.entry-content .jk-home .jk-card p {font-size:15px;color:#34465a !important}
.entry-content .jk-home .jk-card .jk-tag {display:inline-block;border-left:4px solid #f39a18;
 padding-left:9px;color:#935000 !important;font-weight:800;margin-bottom:10px;font-size:14px}
.entry-content .jk-home .jk-card:nth-child(3n+2) .jk-tag {color:#116879 !important;border-left-color:#258ba0}
.entry-content .jk-home .jk-action, .entry-content .jk-home .jk-action:visited {display:block;
 width:min(100%,400px);margin:15px auto 3px;border-radius:50px;background:#e98709 !important;
 color:#172b3c !important;text-align:center;font-size:15px;font-weight:800;text-decoration:none !important;
 padding:12px 16px;line-height:1.5;box-shadow:0 3px 0 #aa610b}
.entry-content .jk-home .jk-action:hover {background:#ffb648 !important;color:#172b3c !important}
.entry-content .jk-home .jk-list {padding-left:1.3em;margin:5px 0 15px}
.entry-content .jk-home .jk-list li {padding:5px 0}
.entry-content .jk-home .jk-method, .entry-content .w-block .jk-home .jk-method {
 border-left:4px solid #198a87 !important;padding:16px 17px;
 background:#ecf7f7 !important;color:#203b48 !important;border-radius:0 10px 10px 0;margin-bottom:12px}
.entry-content .jk-home .jk-method:nth-child(even) {background:#fff4e5 !important;border-left-color:#ef9419 !important}
.entry-content .jk-home .jk-method p:last-child {margin-bottom:0}
.entry-content .jk-home .jk-faq details {background:#fff !important;border:1px solid #d7e2e7 !important;
 border-radius:9px;padding:13px 15px;margin:10px 0}
.entry-content .jk-home .jk-faq summary {cursor:pointer;font-weight:750;color:#1b5264 !important}
.entry-content .jk-home .jk-faq details p {margin:12px 0 2px}
.entry-content .jk-home .jk-foot {border-top:2px solid #e4be7f;background:#fff4e5 !important;
 padding:20px;border-radius:10px;margin-top:35px}
@media(max-width:650px){
 .entry-content .jk-home {padding:13px;font-size:15px}
 .entry-content .jk-home .jk-cards {grid-template-columns:minmax(0,1fr)}
 .entry-content .jk-home .jk-hero {padding:16px}
 .entry-content .jk-home .jk-nav a {font-size:13px;padding:12px 5px}
 .entry-content .jk-home .jk-card {padding:15px}
 .entry-content .jk-home .jk-action {width:90%}
}
@media(max-width:380px){
 .entry-content .jk-home .jk-nav {grid-template-columns:1fr}
 .ph-portal-top .ph-video-grid .widget-entry-cards,
 .ph-portal-top .ph-video-grid.widget-entry-cards {grid-template-columns:1fr !important}
}
