/*
Theme Name: 動画まとめX
Author: T.Green
Description: 自動入稿と複数ジャンル展開に対応した軽量アフィリエイトテーマ。
Version: 1.6.6
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
Text Domain: douga-matome-x
*/

:root {
  --kl-accent: #6995bf;
  --kl-accent-dark: color-mix(in srgb, var(--kl-accent) 76%, #000);
  --kl-accent-soft: #87a4c0;
  --kl-heading-color: var(--kl-accent);
  --kl-bg: #ececec;
  --kl-surface: #fff;
  --kl-border: #d8d8d8;
  --kl-text: #333;
  --kl-muted: #777;
  --kl-link: #2367a6;
  --kl-header-bg: #fff;
  --kl-header-text: #333;
  --kl-tag: #f4a460;
  --kl-tag-text: #fff;
  --kl-heading-gradient-end: var(--kl-accent-soft);
  --kl-width: 1240px;
  --kl-content: 860px;
  --kl-radius: 2px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--kl-text);
  background: var(--kl-bg);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  font-size: 15px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
img { max-width: 100%; height: auto; vertical-align: middle; }
iframe { max-width: 100%; border: 0; }
a { color: var(--kl-link); text-decoration: none; }
a:hover { color: #c43b3b; text-decoration: underline; }
button, input, select, textarea { font: inherit; }
.wpcf7 input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.wpcf7 textarea,
.wpcf7 button { width: 100%; max-width: 100%; box-sizing: border-box; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus { position: fixed !important; z-index: 100000; top: 8px; left: 8px; width: auto; height: auto; padding: 10px 14px; clip: auto; background: #fff; }

.site-header { color: var(--kl-header-text); background: var(--kl-header-bg); border-top: 4px solid var(--kl-accent); }
.site-header__inner { max-width: var(--kl-width); min-height: 104px; margin: auto; padding: 20px 16px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.site-branding { min-width: 0; }
.custom-logo { display: block; max-height: 72px; width: auto; }
.site-title { margin: 0; font-size: clamp(25px, 4vw, 36px); font-weight: 800; line-height: 1.25; letter-spacing: .02em; overflow-wrap: anywhere; }
.site-title a { color: var(--kl-header-text); text-decoration: none; }
.site-description { margin: 5px 0 0; color: var(--kl-header-text); font-size: 12px; opacity: .72; }
.kl-header-compact .site-header__inner { min-height: 66px; padding-top: 9px; padding-bottom: 9px; }
.kl-header-compact .custom-logo { max-height: 48px; }
.kl-header-compact .site-title { font-size: 27px; }
.kl-header-centered .site-header__inner { justify-content: center; min-height: 125px; text-align: center; }
.kl-header-centered .custom-logo { margin: auto; }
.kl-header-centered .primary-nav ul { justify-content: center; }

.primary-nav { background: var(--kl-accent); border-bottom: 3px solid var(--kl-accent-dark); }
.primary-nav__inner { max-width: var(--kl-width); margin: auto; padding: 0 16px; }
.primary-nav ul { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.primary-nav li { border-right: 1px solid rgba(255,255,255,.26); }
.primary-nav a { display: block; padding: 10px 18px; color: #fff; font-weight: 700; font-size: 14px; text-align: center; }
.primary-nav a:hover, .primary-nav .current-menu-item > a { background: rgba(0,0,0,.16); text-decoration: none; }
.menu-toggle { display: none; width: 100%; padding: 10px 14px; color: #fff; background: var(--kl-accent); border: 0; font-weight: 700; text-align: left; }

.header-cardlinks-wrap { background: #fff; border-bottom: 1px solid var(--kl-border); }
.header-cardlinks { display: grid; max-width: var(--kl-width); margin: 0 auto; padding: 10px 16px; gap: 10px; }
.header-cardlinks--1 { grid-template-columns: 1fr; }
.header-cardlinks--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.header-cardlinks--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.header-cardlinks--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.header-cardlink { position: relative; display: grid; min-width: 0; aspect-ratio: 4/1; overflow: hidden; place-items: center; color: #fff; background: #333; box-shadow: 0 2px 3px rgba(0,0,0,.2); font-size: 17px; font-weight: 700; line-height: 1.3; text-align: center; text-shadow: 1px 1px 1px #222; transition: box-shadow .2s ease, opacity .2s ease; }
.header-cardlink:hover { color: #fff; box-shadow: 0 1px 1px rgba(0,0,0,.18); text-decoration: none; }
.header-cardlink__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.header-cardlink__shade { position: absolute; inset: 0; z-index: 1; background: rgba(0,0,0,.45); transition: opacity .35s ease; }
.header-cardlinks-wrap--light .header-cardlink__shade { background: rgba(0,0,0,.25); }
.header-cardlinks-wrap--strong .header-cardlink__shade { background: rgba(0,0,0,.62); }
.header-cardlink__text { position: relative; z-index: 2; display: block; max-width: calc(100% - 20px); }
.header-cardlink__text small { display: block; margin-top: 5px; font-size: 10px; font-weight: 400; text-shadow: none; }
.header-cardlink:hover .header-cardlink__image { transform: scale(1.04); }
.header-cardlink:hover .header-cardlink__shade { opacity: .55; }

.site-wrap { max-width: var(--kl-width); margin: 18px auto 30px; padding: 0 16px; }
.site-grid { display: grid; grid-template-columns: minmax(0, var(--kl-content)) minmax(220px, 1fr); gap: 22px; align-items: start; }
.site-grid--no-sidebar { grid-template-columns: minmax(0, 980px); justify-content: center; }
.site-main, .sidebar-box, .post-card { background: var(--kl-surface); border: 1px solid var(--kl-border); box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.site-main { min-width: 0; padding: 28px 46px; }

.breadcrumbs { margin: 0 0 12px; color: var(--kl-muted); font-size: 12px; }
.breadcrumbs a { color: var(--kl-muted); }
.archive-title, .entry-title {
  margin: 0 0 20px; padding: 10px 13px; color: #fff; background: var(--kl-heading-color);
  border-left: 7px solid color-mix(in srgb, var(--kl-heading-color) 76%, #000); font-size: clamp(20px, 3vw, 27px); line-height: 1.45;
}
.entry-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; margin: -12px 0 18px; color: var(--kl-muted); font-size: 12px; }
.entry-meta__categories { display: flex; flex-wrap: wrap; gap: 5px; min-width: 0; }
.entry-meta__category { display: inline-block; padding: 2px 7px; color: var(--kl-tag-text); background: var(--kl-category-color, var(--kl-tag)); font-size: 10px; line-height: 1.5; }
.entry-meta__category:hover { color: var(--kl-tag-text); opacity: .82; text-decoration: none; }
.entry-meta__dates { margin-left: auto; white-space: nowrap; text-align: right; }
.entry-meta__dates span + span::before { content: " / "; }
.entry-featured-image { margin: 0 0 24px; }
.entry-featured-image img { display: block; width: 100%; height: auto; margin: 0; }

.post-recommendations { display: grid; gap: 28px; margin: 8px 0 30px; }
.recommendation-box { position: relative; min-width: 0; padding: 34px 18px 18px; background: #fafafa; border: 2px solid #8ed1fc; border-radius: 4px; }
.recommendation-box__heading { position: absolute; top: -17px; left: 18px; max-width: calc(100% - 36px); margin: 0; padding: 3px 11px 3px 2px; color: #0693e3; background: #fafafa; font-size: 17px; font-weight: 700; line-height: 1.5; }
.recommendation-box__heading::before { display: inline-grid; width: 19px; height: 19px; margin-right: 5px; color: #fff; background: #23b36b; border-radius: 50%; content: "✓"; font-size: 13px; line-height: 1; place-items: center; vertical-align: 2px; }
.recommendation-box__top { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 18px; align-items: start; }
.recommendation-box__jacket { display: flex; min-height: 190px; align-items: flex-start; justify-content: center; }
.recommendation-box__jacket a { display: block; }
.recommendation-box__jacket img { display: block; width: auto; max-width: 130px; height: auto; margin: 0 auto; }
.recommendation-box__placeholder { display: grid; width: 130px; min-height: 184px; color: #888; background: #eee; font-weight: 700; place-items: center; }
.recommendation-box__product { min-width: 0; }
.recommendation-box__title { margin: 0 0 8px; padding: 0; color: #333; background: transparent; font-size: 15px; line-height: 1.5; }
.recommendation-box__preview { position: relative; display: grid; width: 100%; aspect-ratio: 16/9; overflow: hidden; color: #999; background: #111; place-items: center; }
.recommendation-box__preview > a { position: relative; display: block; width: 100%; height: 100%; }
.recommendation-box__preview img { display: block; width: 100%; height: 100%; object-fit: cover; }
.recommendation-box__preview iframe, .recommendation-box__preview video { display: block; width: 100%; height: 100%; border: 0; }
.recommendation-box__play { position: absolute; top: 50%; left: 50%; width: 62px; height: 62px; background: rgba(255,255,255,.9); border-radius: 50%; box-shadow: 0 1px 8px rgba(0,0,0,.35); transform: translate(-50%,-50%); }
.recommendation-box__play::after { position: absolute; top: 18px; left: 24px; width: 0; height: 0; border-top: 13px solid transparent; border-bottom: 13px solid transparent; border-left: 20px solid #333; content: ""; }
.recommendation-box__preview-empty { font-size: 13px; font-weight: 700; letter-spacing: .12em; }
.recommendation-box__details { position: relative; margin-top: 20px; padding: 25px 12px 8px; background: #fff; border: 1px solid #e7e7e7; border-radius: 2px; }
.recommendation-box__details::before { position: absolute; top: -14px; left: 12px; padding: 2px 8px; color: #424242; background: #fff; content: "ⓘ 詳細"; font-size: 13px; font-weight: 700; }
.recommendation-box__details p { display: flex; gap: 10px; justify-content: space-between; margin: 0; padding: 4px 0; border-bottom: 1px dotted #ddd; font-size: 13px; }
.recommendation-box__details p:last-child { border-bottom: 0; }
.recommendation-box__details strong { color: #d84343; }
.recommendation-box__description { margin: 18px 0 0; padding: 10px 12px; background: #fff; border: 1px solid #e7e7e7; font-size: 13px; line-height: 1.75; }
.recommendation-box__description > :first-child { margin-top: 0; }
.recommendation-box__description > :last-child { margin-bottom: 0; }
.recommendation-box__gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 24px; }
.recommendation-box__gallery a { position: relative; display: block; aspect-ratio: 16/9; overflow: hidden; background: #ddd; cursor: zoom-in; }
.recommendation-box__gallery a::after { position: absolute; right: 6px; bottom: 6px; display: grid; width: 25px; height: 25px; color: #fff; background: rgba(0,0,0,.62); border-radius: 50%; content: "+"; font-size: 18px; line-height: 1; place-items: center; }
.recommendation-box__gallery img { display: block; width: 100%; height: 100%; object-fit: cover; }
.recommendation-box__cta-list { display: grid; gap: 12px; margin: 26px auto; }
.recommendation-box__cta-wrap { margin: 0; text-align: center; }
.recommendation-box__button { position: relative; display: inline-block; width: min(100%, 410px); padding: 13px 42px 13px 24px; color: var(--kl-rec-button-text, #fff); background: var(--kl-rec-button-bg, #ed5c62); border-radius: 50px; box-shadow: 0 3px 0 rgba(0,0,0,.24); font-size: 15px; font-weight: 700; }
.recommendation-box__button span { position: absolute; top: 50%; right: 20px; font-size: 25px; line-height: 1; transform: translateY(-54%); }
.recommendation-box__button:hover { color: var(--kl-rec-button-text, #fff); opacity: .88; text-decoration: none; }
.recommendation-box__points { position: relative; margin-top: 36px; padding: 27px 15px 10px; background: #fffde7; border: 1px solid #ffc107; border-radius: 5px; }
.recommendation-box__points h3 { position: absolute; top: -19px; left: 13px; display: inline-block; margin: 0; padding: 7px 13px; color: #fff; background: #ffc107; border-radius: 5px 5px 0 0; font-size: 15px; line-height: 1.4; }
.recommendation-box__points h3::before { margin-right: 5px; content: "✓"; }
.recommendation-box__points ul { margin: 0; padding-left: 1.4em; }
.recommendation-box__points li { margin-bottom: 6px; line-height: 1.7; }
.recommendation-lightbox { width: min(94vw, 1100px); max-width: none; padding: 0; overflow: visible; background: transparent; border: 0; }
.recommendation-lightbox::backdrop { background: rgba(0,0,0,.86); }
.recommendation-lightbox__inner { position: relative; display: grid; min-height: 120px; place-items: center; }
.recommendation-lightbox__image { display: block; width: auto; max-width: 100%; height: auto; max-height: 88vh; margin: auto; box-shadow: 0 5px 28px rgba(0,0,0,.45); object-fit: contain; }
.recommendation-lightbox__close, .recommendation-lightbox__nav { position: absolute; z-index: 2; display: grid; padding: 0; color: #fff; background: rgba(0,0,0,.68); border: 1px solid rgba(255,255,255,.65); border-radius: 50%; line-height: 1; place-items: center; cursor: pointer; }
.recommendation-lightbox__close { top: -16px; right: -5px; width: 38px; height: 38px; font-size: 27px; }
.recommendation-lightbox__nav { top: 50%; width: 44px; height: 44px; font-size: 33px; transform: translateY(-50%); }
.recommendation-lightbox__nav--prev { left: 8px; }
.recommendation-lightbox__nav--next { right: 8px; }
.recommendation-lightbox__nav[hidden] { display: none; }

.service-ad { position: relative; margin: 50px 0 32px; padding: 0; background: #fafafa; border: 3px solid var(--kl-service-accent, #0693e3); border-radius: 5px; }
.service-ad__label { position: absolute; top: -20px; left: 13px; z-index: 1; max-width: calc(100% - 26px); margin: 0; padding: 7px 13px; color: #fff; background: var(--kl-service-accent, #0693e3); border-radius: 5px 5px 0 0; font-size: 15px; font-weight: 700; line-height: 1.4; }
.service-ad__icon { display: inline-block; width: 1.05em; height: 1.05em; margin-right: 6px; fill: currentColor; vertical-align: -.14em; }
.service-ad__body { padding: 40px 24px 25px; }
.service-ad__banner { margin: 0 auto 24px; text-align: center; }
.service-ad__banner a { display: inline-block; }
.service-ad__banner img { display: block; width: auto; max-width: min(100%, 360px); max-height: 320px; margin: auto; object-fit: contain; }
.service-ad__title { position: relative; margin: 0 auto 24px; padding: 0 8px 7px; color: #333; background: transparent; border: 0; border-bottom: 2px solid var(--kl-service-accent, #0693e3); font-size: 24px; line-height: 1.45; text-align: center; }
.service-ad__copy { text-align: center; }
.service-ad__copy p { margin: 0 0 1.45em; }
.service-ad__copy mark, .service-ad__genres mark { padding: 0 .12em; color: inherit; background: linear-gradient(transparent 58%, rgba(255, 217, 0, .5) 58%); }
.service-ad__copy .kl-red { color: #d60000; font-weight: 700; }
.service-ad__cta { margin: 36px auto 48px; text-align: center; }
.service-ad__cta a { display: inline-block; width: min(100%, 430px); padding: 13px 22px; color: var(--kl-service-button-text, #fff); background: var(--kl-service-accent, #0693e3); border-radius: 10px; box-shadow: 0 3px 0 #313131; font-weight: 700; }
.service-ad__cta a:hover { color: var(--kl-service-button-text, #fff); opacity: .88; text-decoration: none; transform: translateY(1px); box-shadow: 0 2px 0 #313131; }
.service-ad__genres { position: relative; margin-top: 34px; padding: 29px 17px 12px; background: #fffde7; border: 2px solid #ffc107; border-radius: 5px; }
.service-ad__genres-label { position: absolute; top: -19px; left: 13px; max-width: calc(100% - 26px); margin: 0; padding: 6px 12px; color: #313131; background: #fffde7; font-size: 14px; font-weight: 700; line-height: 1.45; }
.service-ad__genres ul { margin: 0; padding-left: 1.5em; }
.service-ad__genres li { margin: 0 0 7px; }

.post-list { display: grid; gap: 14px; }
.post-card { display: grid; grid-template-columns: 210px 1fr; gap: 15px; padding: 12px; }
.post-card__thumb { position: relative; display: block; aspect-ratio: 16/10; overflow: hidden; background: #ddd; }
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { min-width: 0; }
.post-card__title { margin: 0 0 6px; font-size: 18px; line-height: 1.5; }
.post-card__title a { color: #333; }
.post-card__meta { margin-bottom: 5px; color: var(--kl-muted); font-size: 11px; }
.post-card__excerpt { margin: 0; font-size: 13px; line-height: 1.7; }
.kl-listing-borderless .post-card { padding: 10px 0 14px; border-width: 0 0 1px; box-shadow: none; }

.home-layout { display: grid; gap: 20px; }
.home-panel { min-width: 0; }
.home-editable-content { padding: 18px 20px; background: #fff; border: 1px solid var(--kl-border); }
.home-editable-content > :first-child { margin-top: 0; }
.home-editable-content > :last-child { margin-bottom: 0; }
.home-panel__title { margin: 0 0 12px; padding: 8px 11px; color: #fff; background: var(--kl-heading-color); border-left: 6px solid color-mix(in srgb, var(--kl-heading-color) 76%, #000); font-size: 19px; line-height: 1.45; }
.home-panel__title small { margin-left: 8px; font-size: 11px; font-weight: 400; opacity: .85; }
.home-featured { display: grid; grid-template-columns: minmax(280px, 1.35fr) minmax(230px, 1fr); min-height: 265px; background: #252525; border: 4px solid var(--kl-accent); }
.home-featured__thumb { display: block; min-height: 265px; overflow: hidden; background: #111; }
.home-featured__thumb img { width: 100%; height: 100%; object-fit: cover; }
.home-featured__placeholder { display: grid; height: 100%; min-height: 265px; place-items: center; color: #bbb; background: repeating-linear-gradient(135deg,#222,#222 10px,#282828 10px,#282828 20px); font-weight: 700; }
.home-featured__body { display: flex; padding: 20px; flex-direction: column; justify-content: center; }
.home-featured__label { align-self: flex-start; margin-bottom: 10px; padding: 3px 9px; color: #fff; background: #c94a40; font-size: 11px; font-weight: 700; }
.home-featured__title { margin: 0 0 8px; font-size: clamp(19px, 2.4vw, 26px); line-height: 1.45; }
.home-featured__title a { color: #fff; }
.home-featured__meta { margin-bottom: 11px; color: #bbb; font-size: 11px; }
.home-featured__excerpt { margin: 0 0 14px; color: #ddd; font-size: 13px; line-height: 1.7; }
.home-featured__button { display: inline-block; align-self: flex-start; padding: 7px 18px; color: #fff; background: var(--kl-accent); border-bottom: 3px solid var(--kl-accent-dark); font-size: 13px; font-weight: 700; }
.home-featured__button:hover { color: #fff; opacity: .88; text-decoration: none; }
.home-video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.home-video-card { min-width: 0; background: #fff; border: 1px solid var(--kl-border); box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.home-video-card__thumb { position: relative; display: block; aspect-ratio: 16/10; overflow: hidden; background: #ddd; }
.home-video-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .18s ease; }
.home-video-card:hover .home-video-card__thumb img { transform: scale(1.03); }
.home-video-card__play { position: absolute; right: 7px; bottom: 7px; display: grid; width: 31px; height: 31px; color: #fff; background: rgba(197,37,37,.9); border: 2px solid #fff; border-radius: 50%; place-items: center; font-size: 12px; line-height: 1; }
.home-video-card__body { padding: 9px 10px 11px; }
.home-video-card__category { display: inline-block; margin-bottom: 5px; padding: 2px 7px; color: var(--kl-tag-text); background: var(--kl-category-color, var(--kl-tag)); font-size: 10px; line-height: 1.5; }
.home-video-card__category:hover { color: var(--kl-tag-text); opacity: .82; text-decoration: none; }
.home-video-card__title { margin: 0; font-size: 14px; line-height: 1.55; }
.home-video-card__title a { color: #333; }
.home-video-card__date { display: block; margin-top: 5px; color: var(--kl-muted); font-size: 10px; }
.home-category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 12px; margin: 0; padding: 0; list-style: none; }
.home-category-grid a { display: flex; padding: 7px 9px; align-items: center; justify-content: space-between; gap: 8px; color: #333; background: #f7f7f7; border-left: 5px solid var(--kl-accent); border-bottom: 1px dotted #bbb; font-weight: 700; }
.home-category-grid a:hover { background: color-mix(in srgb, var(--kl-accent) 10%, #fff); text-decoration: none; }
.home-category-grid span { color: var(--kl-muted); font-size: 10px; font-weight: 400; }
.home-empty { margin: 0; padding: 20px; color: var(--kl-muted); background: #f7f7f7; border: 1px solid var(--kl-border); text-align: center; }
.home-banner-area { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; min-width: 0; margin: 0; padding: 8px; background: #f4f4f4; border: 1px solid #d2d2d2; text-align: center; }
.home-banner-area::before { display: block; grid-column: 1 / -1; margin: -3px 0 -4px; color: #aaa; content: "ADVERTISEMENT"; font-size: 9px; letter-spacing: .12em; line-height: 1.2; }
.home-banner-area .widget { grid-column: 1 / -1; margin: 0; padding: 0; background: transparent; border: 0; box-shadow: none; }
.home-banner-area .kl-widget--half { grid-column: auto; min-width: 0; }
.home-banner-area .widget-title { margin: 0 0 6px; padding: 0; color: #555; background: transparent; border: 0; font-size: 12px; }
.kl-banner { margin: 0; text-align: center; }
.kl-banner a { display: inline-block; max-width: 100%; }
.kl-banner img { display: block; width: auto; max-width: 100%; height: auto; margin: auto; }
.kl-ad-code { min-width: 0; text-align: center; }
.kl-ad-code > * { max-width: 100%; }
.kl-ad-code iframe { max-width: 100%; }
.kl-ad-code img { max-width: 100%; height: auto; }
.home-banner-area .kl-banner--half img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.home-banner-area--top .kl-banner img { width: 100%; }
.home-banner-area--middle .kl-banner img { max-width: min(100%, 480px); }
.home-keywords { margin: 0; }
.archive-layout { display: grid; gap: 20px; }
.taxonomy-panel__title { background: var(--kl-archive-color, var(--kl-accent)); border-left-color: color-mix(in srgb, var(--kl-archive-color, var(--kl-accent)) 72%, #222); }
.taxonomy-panel__description { margin: -2px 0 15px; padding: 10px 13px; background: color-mix(in srgb, var(--kl-archive-color, var(--kl-accent)) 8%, #fff); border-left: 4px solid var(--kl-archive-color, var(--kl-accent)); font-size: 13px; line-height: 1.75; }
.taxonomy-panel__description > *:first-child { margin-top: 0; }
.taxonomy-panel__description > *:last-child { margin-bottom: 0; }
.taxonomy-panel .pagination .nav-links { justify-content: center; }

.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 { margin: 34px 0 18px; padding: 9px 12px; color: #fff; background: var(--kl-heading-color); border-left: 7px solid color-mix(in srgb, var(--kl-heading-color) 76%, #000); font-size: 22px; line-height: 1.5; }
.entry-content h3 { margin: 28px 0 15px; padding: 8px 11px; color: #fff; background: var(--kl-heading-color); font-size: 19px; line-height: 1.5; }
.entry-content h4 { margin: 24px 0 12px; padding: 5px 9px; border-left: 5px solid var(--kl-accent); border-bottom: 1px solid var(--kl-border); font-size: 17px; }
.kl-heading-line .archive-title, .kl-heading-line .entry-title, .kl-heading-line .home-panel__title, .kl-heading-line .entry-content h2 {
  color: #333; background: color-mix(in srgb, var(--kl-heading-color) 12%, #fff); border-left: 7px solid var(--kl-heading-color); border-bottom: 1px solid var(--kl-heading-color);
}
.kl-heading-line .entry-content h3 { color: #333; background: color-mix(in srgb, var(--kl-heading-color) 8%, #fff); border-left: 5px solid var(--kl-heading-color); }
.kl-heading-underline .archive-title, .kl-heading-underline .entry-title, .kl-heading-underline .home-panel__title, .kl-heading-underline .entry-content h2 {
  padding-right: 4px; padding-left: 4px; color: #333; background: transparent; border: 0; border-bottom: 4px double var(--kl-heading-color);
}
.kl-heading-underline .entry-content h3 { padding-right: 4px; padding-left: 4px; color: #333; background: transparent; border: 0; border-bottom: 2px solid var(--kl-heading-color); }
.kl-heading-gradient .archive-title, .kl-heading-gradient .entry-title, .kl-heading-gradient .home-panel__title, .kl-heading-gradient .entry-content h2 {
  color: #fff; background: var(--kl-heading-color); background: linear-gradient(135deg, var(--kl-heading-color), var(--kl-heading-gradient-end)); border-left-color: color-mix(in srgb, var(--kl-heading-color) 76%, #000);
}
.kl-heading-gradient .entry-content h3 {
  color: #fff; background: var(--kl-heading-color); background: linear-gradient(135deg, var(--kl-heading-color), var(--kl-heading-gradient-end));
}
.entry-content p { margin: 0; }
.entry-content ul, .entry-content ol { padding-left: 1.6em; }
.entry-content blockquote { margin: 20px 0; padding: 14px 18px; background: #f4f4f4; border-left: 5px solid #aaa; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 14px; }
.entry-content th, .entry-content td { padding: 8px; border: 1px solid #ccc; }
.entry-content th { background: #eee; }
.entry-content .wp-block-button__link { padding: 12px 25px; color: #fff; background: var(--kl-accent); border-radius: 5px; box-shadow: 0 3px 0 var(--kl-accent-dark); font-weight: 700; }
.entry-content .wp-block-button__link:hover { opacity: .88; text-decoration: none; }
.wp-block-image figcaption { margin-top: 5px; color: var(--kl-muted); font-size: 12px; text-align: center; }

.html-sitemap__intro { margin-bottom: 28px; }
.html-sitemap__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 30px; }
.html-sitemap__section { min-width: 0; padding: 16px 18px; background: #fafafa; border: 1px solid var(--kl-border); }
.html-sitemap__section h2 { margin: -16px -18px 14px; padding: 8px 11px; color: #fff; background: var(--kl-heading-color); font-size: 18px; line-height: 1.45; }
.html-sitemap__section ul { margin: 0; padding-left: 1.4em; }
.html-sitemap__section li { margin-bottom: 6px; }
.html-sitemap__posts { padding: 0; background: transparent; border: 0; }
.html-sitemap__posts h2 { margin: 0 0 14px; }
.html-sitemap__posts > ul { padding: 0; list-style: none; }
.html-sitemap__posts > ul > li { display: flex; padding: 8px 4px; align-items: flex-start; justify-content: space-between; gap: 15px; border-bottom: 1px dotted var(--kl-border); }
.html-sitemap__posts time { flex: 0 0 auto; color: var(--kl-muted); font-size: 12px; }
.html-sitemap ul.page-numbers { display: flex; flex-wrap: wrap; gap: 5px; margin: 20px 0 0; padding: 0; list-style: none; }
.html-sitemap ul.page-numbers li { margin: 0; }
.html-sitemap a.page-numbers, .html-sitemap span.page-numbers { display: block; margin: 0; }

.kl-article > *:first-child { margin-top: 0; }
.kl-lead { padding: 12px 14px; background: #f4f4f4; border-left: 5px solid var(--kl-accent); font-weight: 700; }
.kl-video-intro { margin: 20px 0; padding: 15px 16px; background: var(--kl-video-intro-bg, #fff); border: 1px solid var(--kl-video-intro-border, #d8dde5); font-weight: 400; }
.kl-video-intro > :first-child { margin-top: 0; }
.kl-video-intro > :last-child { margin-bottom: 0; }
.kl-article-image { margin: 20px auto; text-align: center; }
.kl-video { position: relative; width: 100%; margin: 20px 0; aspect-ratio: 16/9; overflow: hidden; background: #111; }
.kl-video iframe, .kl-video .kl-lazy-embed { display: block; width: 100%; height: 100%; min-height: 0; }
.video-overlay-ad { position: absolute; z-index: 6; inset: 0; display: grid; padding: 18px; place-items: center; background: rgba(45,45,45,.72); }
.video-overlay-ad[hidden] { display: none; }
.video-overlay-ad__panel { position: relative; width: clamp(180px, 42vw, 320px); max-width: 78%; aspect-ratio: 1; }
.video-overlay-ad__content { width: 100%; height: 100%; overflow: hidden; background: #fff; box-shadow: 0 3px 18px rgba(0,0,0,.65); text-align: center; }
.video-overlay-ad__widget { margin: 0; padding: 0; line-height: 0; }
.video-overlay-ad__widget:not(:first-child) { display: none; }
.video-overlay-ad__widget, .video-overlay-ad__widget > *, .video-overlay-ad__widget a { width: 100%; height: 100%; }
.video-overlay-ad__widget img, .video-overlay-ad__widget iframe { display: block; width: 100%; max-width: 100%; height: 100%; max-height: 100%; border: 0; object-fit: cover; vertical-align: middle; }
.video-overlay-ad__close { position: absolute; z-index: 2; top: -12px; right: -12px; display: grid; width: 28px; height: 28px; padding: 0; place-items: center; color: #fff; background: #222; border: 2px solid #fff; border-radius: 50%; box-shadow: 0 1px 5px rgba(0,0,0,.5); cursor: pointer; }
.video-overlay-ad__close svg { width: 17px; height: 17px; fill: currentColor; }
.kl-cta { margin: 24px 0; text-align: center; }
.kl-button { display: inline-block; min-width: 240px; padding: 12px 24px; color: #fff; background: var(--kl-accent); border: 1px solid rgba(0,0,0,.2); border-radius: 4px; box-shadow: 0 3px 0 rgba(0,0,0,.25); font-weight: 700; }
.kl-button:hover { color: #fff; opacity: .88; text-decoration: none; }
.kl-box { position: relative; margin: 25px 0; padding: 25px 15px 13px; border: 2px solid #888; background: #f7f7f7; }
.kl-box__title { position: absolute; top: -15px; left: 10px; max-width: calc(100% - 20px); margin: 0; padding: 2px 10px; color: #fff; background: #777; font-size: 13px; font-weight: 700; overflow-wrap: anywhere; }
.kl-box--point { border-color: var(--kl-accent); background: color-mix(in srgb, var(--kl-accent) 8%, #fff); }
.kl-box--point .kl-box__title { background: var(--kl-accent); }
.kl-box--warning { border-color: #dc8b38; background: #fff8ee; }
.kl-box--warning .kl-box__title { background: #dc8b38; }
.kl-box--plain { padding: 13px 15px; }
.kl-box--plain > :first-child { margin-top: 0; }
.kl-box--plain > :last-child { margin-bottom: 0; }
.kl-box--red { border-color: #d94a55; background: #fff0f2; }
.kl-box--green { border-color: #319b59; background: #effaf2; }
.kl-box--blue { border-color: #3986bd; background: #eef8ff; }

.is-style-kl-memo, .is-style-kl-point, .is-style-kl-warning { position: relative; margin: 24px 0; padding: 28px 16px 14px; border: 2px solid; background: #fff; }
.is-style-kl-memo::before, .is-style-kl-point::before, .is-style-kl-warning::before { position: absolute; top: -14px; left: 12px; padding: 2px 12px; color: #fff; font-size: 13px; font-weight: 700; }
.is-style-kl-memo { border-color: #888; background: #f7f7f7; }
.is-style-kl-memo::before { content: "メモ"; background: #777; }
.is-style-kl-point { border-color: var(--kl-accent); background: #f1f7fc; }
.is-style-kl-point::before { content: "ポイント"; background: var(--kl-accent); }
.is-style-kl-warning { border-color: #dc8b38; background: #fff8ee; }
.is-style-kl-warning::before { content: "注意"; background: #dc8b38; }

.kl-lazy-embed { display: grid; width: 100%; height: 100%; min-height: 260px; place-items: center; background: #171717 center/cover no-repeat; }
.kl-lazy-embed__button { padding: 12px 24px; color: #fff; background: #c9302c; border: 2px solid #fff; border-radius: 3px; box-shadow: 0 2px 7px #000; cursor: pointer; font-weight: 700; }
.kl-loaded-embed { display: block; width: 100%; aspect-ratio: 16/9; }
.tagcloud a, .wp-block-tag-cloud a { display: inline-block; margin: 2px; padding: 2px 7px; background: #eee; border: 1px solid #ccc; color: #444; }

.post-widget-area { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; clear: both; margin: 20px 0; }
.post-widget-area--top { margin-top: 8px; margin-bottom: 25px; }
.post-widget-area--bottom { margin-top: 28px; }
.post-widget-area .post-widget { grid-column: 1 / -1; margin: 0; }
.post-widget-area .kl-widget--half { grid-column: auto; min-width: 0; }
.post-widget-area .kl-banner--half img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.post-widget { margin: 0 0 15px; padding: 12px; background: #fff; border: 1px solid var(--kl-border); }
.post-widget:last-child { margin-bottom: 0; }
.post-widget__title { margin: -12px -12px 12px; padding: 7px 10px; color: #fff; background: var(--kl-accent-soft); border-bottom: 3px solid var(--kl-accent); font-size: 15px; }
.post-widget img, .post-widget iframe { max-width: 100%; }

.post-bottom-section { margin-top: 34px; }
.post-bottom-title { margin: 0 0 18px; padding: 0; color: #333; background: transparent; border: 0; border-bottom: 1px solid #eee; font-size: 16px; line-height: 1.5; }
.post-bottom-title span { display: inline-block; padding: 8px 15px; background: #f2f2f2; }
.related-post { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 15px; min-width: 0; margin: 0; padding: 0 0 20px; border-bottom: 1px solid #eee; }
.related-post + .related-post { padding-top: 20px; }
.related-post__thumb { display: grid; width: 100px; height: 100px; overflow: hidden; place-items: center; background: #eee; }
.related-post__thumb img { width: 100%; height: 100%; object-fit: cover; }
.related-post__no-image { color: #999; font-size: 10px; font-weight: 700; }
.related-post__body { min-width: 0; }
.related-post__category { display: inline-block; margin: 0 0 7px; padding: 3px 11px; color: #fff; background: color-mix(in srgb, var(--kl-tag) 72%, #74420a); border-radius: 14px; font-size: 11px; line-height: 1.5; }
.related-post__category:hover { color: #fff; opacity: .85; text-decoration: none; }
.related-post__title { margin: 0 0 7px; padding: 0; background: none; color: inherit; font-size: 16px; line-height: 1.55; }
.related-post__title a { color: #333; }
.related-post__excerpt { margin: 0; color: #777; font-size: 13px; line-height: 1.6; }
.post-tag-explorer { min-width: 0; margin: 34px 0 0; padding: 12px 19px 18px; background: #f2fbf2; border: 2px solid #18a52d; border-radius: 5px; }
.post-tag-explorer__title { max-width: calc(100% - 18px); padding: 0 6px; color: #169d2b; background: #fff; font-size: 15px; font-weight: 700; line-height: 1.5; }
.post-tag-explorer__icon { position: relative; display: inline-block; width: 12px; height: 12px; margin: 0 6px 0 1px; border: 2px solid currentColor; border-radius: 50%; vertical-align: -1px; }
.post-tag-explorer__icon::after { position: absolute; right: -5px; bottom: -3px; width: 6px; height: 2px; background: currentColor; content: ""; transform: rotate(45deg); transform-origin: left center; }
.post-tag-explorer__cloud { margin: 1px 0 0; padding: 0; background: transparent; border: 0; line-height: 1.55; }
.post-tag-explorer__cloud a { display: inline; margin: 0 8px 0 0; padding: 0; color: #111; background: transparent; border: 0; border-radius: 0; line-height: 1.55; text-decoration: underline; white-space: normal; }
.post-tag-explorer__cloud a:hover { color: var(--kl-link); opacity: 1; text-decoration-thickness: 2px; }
.sidebar-tagcloud { margin: 0 0 10px; padding: 0; background: transparent; border: 0; line-height: 1; }
.sidebar .tagcloud a,
.sidebar .wp-block-tag-cloud a,
.sidebar-tagcloud a { display: inline-block; margin: 3px 3px 5px; padding: 10px; color: var(--kl-tag-text) !important; background: var(--kl-tag) !important; border: 1px solid color-mix(in srgb, var(--kl-tag) 72%, #555); border-radius: 4px; font-size: 13px !important; line-height: 1; white-space: nowrap; }
.sidebar .tagcloud a:hover,
.sidebar .wp-block-tag-cloud a:hover,
.sidebar-tagcloud a:hover { color: var(--kl-tag-text); opacity: .82; text-decoration: none; }

.sidebar { min-width: 0; padding: 15px 15px 20px; background: #fff; }
.widget { margin: 0 0 16px; padding: 0 12px 12px; background: #fff; border: 1px solid var(--kl-border); box-shadow: 0 1px 2px rgba(0,0,0,.05); font-size: 13px; }
.widget-title { margin: 0 -12px 12px; padding: 8px 10px; color: #fff; background: var(--kl-accent-soft); border-bottom: 3px solid var(--kl-accent); font-size: 15px; }
.sidebar .widget { margin: 0 0 20px; padding: 0; background: transparent; border: 0; box-shadow: none; }
.sidebar .widget:last-child { margin-bottom: 0; }
.sidebar .widget-title { margin: 0 0 15px; padding: 7px 10px; background: var(--kl-accent); border: 0; font-size: 15px; line-height: 1.7; }
.douga-matome-x-rss-title { display: flex; align-items: center; gap: 7px; }
.douga-matome-x-rss-title__icon { flex: 0 0 auto; width: 16px; height: 16px; fill: currentColor; }
.widget_rss .rss-widget-feed { display: inline-flex; margin-right: 7px; color: inherit; vertical-align: -3px; }
.widget_rss .rss-widget-feed .douga-matome-x-rss-title__icon { width: 16px; height: 16px; }
.widget_rss .widget-title .rss-widget-title,
.widget_rss .widget-title .rss-widget-title:visited,
.widget_rss .widget-title .rss-widget-title:hover { color: inherit; }
.widget ul { margin: 0; padding: 0; list-style: none; }
.widget li { padding: 6px 2px; border-bottom: 1px dotted #ccc; }
.widget img { height: auto; }
.sidebar-post-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.sidebar-post-list__item { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 10px; align-items: start; min-width: 0; padding: 0 0 12px !important; border-bottom: 1px solid #e4e4e4 !important; }
.sidebar-post-list__item:last-child { padding-bottom: 0 !important; border-bottom: 0 !important; }
.sidebar-post-list__thumb { position: relative; display: grid; width: 100px; height: 64px; overflow: hidden; background: #e7e7e7; place-items: center; }
.sidebar-post-list__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
.sidebar-post-list__thumb:hover img { transform: scale(1.04); }
.sidebar-post-list__no-image { color: #888; font-size: 9px; font-weight: 700; letter-spacing: .04em; }
.sidebar-post-list__rank { position: absolute; z-index: 1; top: 4px; left: 4px; display: grid; width: 25px; height: 25px; color: #fff; background: #9b9b9b; border: 2px solid rgba(255,255,255,.9); border-radius: 50%; box-shadow: 0 1px 3px rgba(0,0,0,.35); font-size: 12px; font-weight: 800; line-height: 1; place-items: center; }
.sidebar-post-list__rank--1 { color: #4c3800; background: #f6cf43; }
.sidebar-post-list__rank--2 { color: #333; background: #d8dde2; }
.sidebar-post-list__rank--3 { color: #fff; background: #b87943; }
.sidebar-post-list__body { min-width: 0; }
.sidebar-post-list__title { display: -webkit-box; overflow: hidden; margin: 0 0 5px; padding: 0; color: #333; background: transparent; font-size: 13px; font-weight: 700; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.sidebar-post-list__title a { color: inherit; }
.sidebar-post-list__title a:hover { color: var(--kl-link); }
.sidebar-post-list__date { display: block; color: var(--kl-muted); font-size: 10px; line-height: 1.4; }
.search-form { display: flex; }
.search-field { min-width: 0; width: 100%; padding: 8px; border: 1px solid #bbb; }
.search-submit { padding: 8px 10px; color: #fff; background: var(--kl-accent); border: 0; cursor: pointer; }

.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 22px; }
.page-numbers { padding: 6px 11px; background: #fff; border: 1px solid #ccc; }
.page-numbers.current { color: #fff; background: var(--kl-accent); border-color: var(--kl-accent); }
.post-navigation { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--kl-border); }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.nav-next { text-align: right; }

.site-footer { padding: 24px 16px; color: #ddd; background: #444; border-top: 5px solid var(--kl-accent); font-size: 12px; text-align: center; }
.site-footer a { color: #fff; }
.footer-widgets { max-width: var(--kl-width); margin: 0 auto 18px; text-align: left; }
.footer-widgets .widget { color: #333; }
.site-footer__nav ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin: 0 0 10px; padding: 0; list-style: none; }
.mobile-sticky-ad { display: none; }

@media (max-width: 840px) {
  .site-header__inner { min-height: 80px; }
  .menu-toggle { display: block; }
  .primary-nav__inner { padding: 0; }
  .primary-nav ul { display: none; }
  .primary-nav.is-open ul { display: block; }
  .primary-nav li { border-right: 0; border-top: 1px solid rgba(255,255,255,.2); }
  .primary-nav a { text-align: left; }
  .site-grid { grid-template-columns: 1fr; }
  .site-main { padding-right: 28px; padding-left: 28px; }
  .sidebar { margin-top: 2px; }
  .header-cardlinks--3, .header-cardlinks--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .html-sitemap__grid { grid-template-columns: 1fr; }
}

@media (max-width: 599px) {
  body { font-size: 14px; background: #fff; }
  .site-header__inner { padding: 14px 12px; }
  .header-cardlinks { padding: 7px 6px; gap: 6px; }
  .header-cardlink { min-height: 62px; font-size: 14px; }
  .site-wrap { margin-top: 10px; padding: 0; }
  .site-main { padding: 14px 12px; border-right: 0; border-left: 0; box-shadow: none; }
  .archive-title, .entry-title { margin-right: -12px; margin-left: -12px; border-left-width: 5px; font-size: 20px; }
  .entry-meta { align-items: flex-start; }
  .entry-meta__dates { white-space: normal; }
  .post-recommendations { margin-right: -6px; margin-left: -6px; }
  .recommendation-box { padding: 31px 9px 12px; }
  .recommendation-box__heading { left: 10px; max-width: calc(100% - 20px); font-size: 15px; }
  .recommendation-box__top { grid-template-columns: 100px minmax(0, 1fr); gap: 9px; }
  .recommendation-box__jacket { min-height: 140px; }
  .recommendation-box__jacket img, .recommendation-box__placeholder { max-width: 94px; }
  .recommendation-box__placeholder { width: 94px; min-height: 133px; font-size: 11px; }
  .recommendation-box__title { font-size: 13px; }
  .recommendation-box__play { width: 46px; height: 46px; }
  .recommendation-box__play::after { top: 13px; left: 18px; border-top-width: 10px; border-bottom-width: 10px; border-left-width: 16px; }
  .recommendation-box__details { margin-top: 17px; padding-right: 8px; padding-left: 8px; }
  .recommendation-box__details p { gap: 5px; font-size: 11px; }
  .recommendation-box__gallery { gap: 4px; margin-top: 18px; }
  .recommendation-box__button { font-size: 14px; }
  .recommendation-box__points { padding-right: 10px; padding-left: 10px; }
  .recommendation-lightbox__nav { width: 38px; height: 38px; }
  .recommendation-lightbox__nav--prev { left: 3px; }
  .recommendation-lightbox__nav--next { right: 3px; }
  .service-ad { margin-right: -4px; margin-left: -4px; }
  .service-ad__label { top: -18px; left: 8px; max-width: calc(100% - 16px); padding: 6px 9px; font-size: 13px; }
  .service-ad__body { padding: 35px 10px 14px; }
  .service-ad__title { font-size: 20px; }
  .service-ad__copy { font-size: 13px; }
  .service-ad__cta { margin-top: 29px; margin-bottom: 42px; }
  .service-ad__genres { padding-right: 10px; padding-left: 10px; }
  .service-ad__genres-label { left: 8px; max-width: calc(100% - 16px); font-size: 12px; }
  .post-list { gap: 8px; }
  .post-card { grid-template-columns: 120px 1fr; gap: 10px; padding: 8px; border-right: 0; border-left: 0; box-shadow: none; }
  .post-card__title { font-size: 15px; }
  .post-card__excerpt { display: none; }
  .home-layout { gap: 16px; }
  .home-editable-content { margin-right: -12px; margin-left: -12px; padding: 15px 12px; border-right: 0; border-left: 0; }
  .home-panel__title { margin-right: -12px; margin-left: -12px; font-size: 17px; }
  .home-featured { display: block; margin-right: -12px; margin-left: -12px; border-right: 0; border-left: 0; }
  .home-featured__thumb, .home-featured__placeholder { min-height: 205px; }
  .home-featured__body { padding: 15px 13px 18px; }
  .home-featured__excerpt { display: none; }
  .home-video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .home-video-card__body { padding: 7px 7px 9px; }
  .home-video-card__title { font-size: 12px; line-height: 1.5; }
  .home-video-card__date { display: none; }
  .home-category-grid { grid-template-columns: 1fr; }
  .home-banner-area { gap: 6px; margin-right: -12px; margin-left: -12px; padding-right: 6px; padding-left: 6px; border-right: 0; border-left: 0; }
  .home-banner-area--middle .kl-banner img { max-width: min(100%, 360px); }
  .html-sitemap__posts > ul > li { display: block; }
  .html-sitemap__posts time { display: block; margin-top: 3px; }
  .sidebar { padding: 10px 12px 20px; }
  .entry-content h2 { margin-right: -12px; margin-left: -12px; font-size: 19px; }
  .entry-content h3 { font-size: 17px; }
  .related-post { grid-template-columns: 90px minmax(0, 1fr); gap: 12px; }
  .related-post__thumb { width: 90px; height: 90px; }
  .related-post__excerpt { display: none; }
  .post-bottom-title { margin-right: -12px; margin-left: -12px; font-size: 17px; }
  .post-tag-explorer { margin-right: 0; margin-left: 0; padding: 10px 13px 15px; }
  .post-tag-explorer__title { font-size: 13px; }
  .kl-lazy-embed { min-height: 190px; }
}

@media (max-width: 767px) {
  .video-overlay-ad { padding: 12px; }
  .video-overlay-ad__panel { width: clamp(145px, 44vw, 175px); max-width: 76%; }
  body.has-mobile-sticky-ad { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .mobile-sticky-ad { position: fixed; z-index: 99990; right: 0; bottom: 0; left: 0; display: flex; min-height: 58px; padding: 5px 8px calc(5px + env(safe-area-inset-bottom)); align-items: center; justify-content: center; background: rgba(255,255,255,.97); border-top: 1px solid #bbb; box-shadow: 0 -2px 9px rgba(0,0,0,.18); }
  .mobile-sticky-ad[hidden] { display: none; }
  .mobile-sticky-ad__content { width: min(100%, 420px); max-height: 82px; overflow: hidden; text-align: center; }
  .mobile-sticky-ad__widget { margin: 0; padding: 0; background: transparent; border: 0; box-shadow: none; }
  .mobile-sticky-ad__widget:not(:first-child) { display: none; }
  .mobile-sticky-ad .kl-banner, .mobile-sticky-ad .kl-ad-code { display: flex; min-height: 48px; align-items: center; justify-content: center; }
  .mobile-sticky-ad img { display: block; width: auto; max-width: 100%; height: auto; max-height: 80px; margin: auto; object-fit: contain; }
  .mobile-sticky-ad iframe { max-width: 100%; max-height: 80px; }
  .mobile-sticky-ad__close { position: absolute; top: -29px; right: 5px; display: grid; width: 29px; height: 29px; padding: 5px; color: #333; background: rgba(255,255,255,.97); border: 1px solid #aaa; border-radius: 3px 3px 0 0; place-items: center; cursor: pointer; }
  .mobile-sticky-ad__close svg { width: 17px; height: 17px; fill: currentColor; }
}

@media print {
  .primary-nav, .sidebar, .site-footer, .breadcrumbs, .mobile-sticky-ad { display: none; }
  body, .site-main { background: #fff; border: 0; box-shadow: none; }
  .site-grid { display: block; }
}
