@charset "utf-8";
/*
Theme Name: アイキカク 共通テーマ（鶴丸法律事務所）
Description: 静的HTMLサイト用のお知らせ・お問い合わせ専用テーマ。各社の設定は inc/config.php。
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: aikikaku-base
*/

/* =========================================================
   1. デザイントークン
   静的サイトの common.css（:root の変数）を参照する。色・幅は静的サイト側だけを変えればよい
   （common.css は inc/config.php の static_css で、このファイルより先に読み込む）
   カンマの後ろの値は、common.css を読み込んでいない場合の予備
   テーマだけ違う値にしたい場合は、var() をやめて値を直接書く
   ========================================================= */
:root {
  --ak-container:     calc(var(--content-width, 1100px) + var(--gutter, 20px) * 2); /* コンテンツ最大幅（静的の .container と同じ計算） */
  --ak-gutter:        var(--gutter, 20px);             /* 左右余白 */
  --ak-side-width:    280px;                           /* サイドバー幅（テーマ独自） */
  --ak-single-width:  860px;                           /* サイドバーなし（news_sidebar が false）の本文の幅（テーマ独自） */

  --ak-color-text:    var(--color-text, #333);
  --ak-color-sub:     var(--color-text-sub, #777);     /* 日付・補足 */
  --ak-color-line:    var(--color-border, #ddd);       /* 罫線 */
  --ak-color-bg-sub:  var(--color-bg-cream, #f6f6f6);  /* 薄い背景 */
  --ak-color-main:    var(--color-main, #1f5fa8);      /* メインカラー（見出し線・リンク） */
  --ak-color-accent:  var(--color-accent, #e8590c);    /* アクセント（フォームボタン） */
  --ak-color-on:      var(--color-white, #fff);        /* ボタン上の文字 */

  --ak-radius:        var(--radius, 6px);
  --ak-font-heading:  var(--font-heading, inherit);    /* 見出しフォント */
}

/* =========================================================
   2. 共通
   ========================================================= */
.ak-container {
  max-width: var(--ak-container);
  margin-inline: auto;
  padding-inline: var(--ak-gutter);
}
.ak-main {
  padding-bottom: 80px;
}
.ak-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.ak-heading {
  margin: 0 0 1.5em;
  padding-bottom: .5em;
  border-bottom: 2px solid var(--ak-color-main);
  font-family: var(--ak-font-heading);
  font-size: 1.5rem;
  line-height: 1.4;
}
.ak-btn {
  display: inline-block;
  padding: .8em 2em;
  border: 1px solid var(--ak-color-main);
  border-radius: var(--ak-radius);
  background: var(--ak-color-main);
  color: var(--ak-color-on);
  text-decoration: none;
}
.ak-btn--outline {
  background: transparent;
  color: var(--ak-color-main);
}

/* =========================================================
   3. ヘッダー・フッター（初期状態。静的サイトに差し替えたら削除可）
   ========================================================= */
.ak-header {
  border-bottom: 1px solid var(--ak-color-line);
}
.ak-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
}
.ak-header__logo {
  margin: 0 auto 0 0;
}
.ak-header__logo img {
  display: block;
  max-height: 48px;
  width: auto;
}
.ak-header__tel {
  color: inherit;
  font-weight: bold;
  text-decoration: none;
}
.ak-nav ul {
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ak-nav a {
  color: inherit;
  text-decoration: none;
}
.ak-footer {
  padding: 40px 0 0;
  background: var(--ak-color-bg-sub);
}
.ak-footer__name {
  margin: 0 0 .5em;
  font-weight: bold;
}
.ak-footer__address {
  font-style: normal;
  line-height: 1.8;
}
.ak-footer__address a {
  color: inherit;
}
.ak-footer__copy {
  margin: 32px 0 0;
  padding: 12px;
  text-align: center;
}

@media (max-width: 767px) {
  .ak-header__tel {
    display: none;
  }
  /* 初期状態のヘッダーはJSを使わないため、スマートフォンでもメニューを常に表示する */
  .ak-header__inner {
    flex-wrap: wrap;
    gap: 8px 16px;
    padding-block: 12px;
  }
  .ak-nav ul {
    flex-wrap: wrap;
    gap: 4px 16px;
  }
}

/* =========================================================
   4. ページタイトル帯
   ========================================================= */
.ak-hero {
  padding: 48px 0;
  background: var(--ak-color-bg-sub);
}
.ak-hero__title {
  margin: 0;
  font-family: var(--ak-font-heading);
  font-size: 1.75rem;
  font-weight: bold;
  text-align: center;
}

/* =========================================================
   5. パンくず
   ========================================================= */
.ak-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 1em 0 2em;
  list-style: none;
  font-size: .875rem;
  color: var(--ak-color-sub);
}
.ak-breadcrumb li + li::before {
  content: ">";
  margin: 0 .5em;
}
.ak-breadcrumb a {
  color: inherit;
}

/* =========================================================
   6. 2カラムレイアウト（一覧・詳細）
   ========================================================= */
.ak-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--ak-side-width);
  gap: 48px;
}
@media (max-width: 767px) {
  .ak-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 56px;
  }
}

/* サイドバーなし（inc/config.php の news_sidebar が false）：1カラム */
.ak-layout--single {
  grid-template-columns: minmax(0, 1fr);
  max-width: var(--ak-single-width);
  margin-inline: auto;
}

/* =========================================================
   7. お知らせ一覧
   ========================================================= */
.ak-news-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.ak-news-item {
  border-bottom: 1px solid var(--ak-color-line);
}
.ak-news-item__link {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  color: inherit;
  text-decoration: none;
  transition: opacity .2s;
}
.ak-news-item__link:hover {
  opacity: .7;
}
.ak-news-item__thumb {
  flex: 0 0 180px;
  margin: 0;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: var(--ak-radius);
  background: var(--ak-color-bg-sub);
}
.ak-news-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ak-news-item__body {
  min-width: 0;
}
.ak-news-item__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 0 0 .5em;
  font-size: .875rem;
  color: var(--ak-color-sub);
}
.ak-news-item__cat,
.ak-article__cat {
  padding: .1em .8em;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: .75rem;
  color: var(--ak-color-main);
  text-decoration: none;
}
.ak-news-item__title {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.6;
}
.ak-empty {
  padding: 40px 0;
  text-align: center;
  color: var(--ak-color-sub);
}
@media (max-width: 767px) {
  .ak-news-item__link {
    gap: 14px;
  }
  .ak-news-item__thumb {
    flex-basis: 110px;
  }
  .ak-news-item__title {
    font-size: 1rem;
  }
}

/* ページ送り */
.pagination {
  margin-top: 40px;
}
.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5em;
  height: 2.5em;
  padding: 0 .8em;
  border: 1px solid var(--ak-color-line);
  border-radius: var(--ak-radius);
  color: inherit;
  text-decoration: none;
}
.pagination .page-numbers.current {
  border-color: var(--ak-color-main);
  background: var(--ak-color-main);
  color: var(--ak-color-on);
}
.pagination .page-numbers.dots {
  border: 0;
}
.pagination .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* =========================================================
   8. お知らせ詳細
   ========================================================= */
.ak-article__header {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--ak-color-main);
}
.ak-article__title {
  margin: 0 0 .5em;
  font-family: var(--ak-font-heading);
  font-size: 1.5rem;
  line-height: 1.5;
}
.ak-article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 0;
  font-size: .875rem;
  color: var(--ak-color-sub);
}
.ak-article__thumb {
  margin: 0 0 32px;
}
.ak-article__thumb img {
  width: 100%;
  height: auto;
  border-radius: var(--ak-radius);
}

/* 前後の記事 */
.ak-post-nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--ak-color-line);
  font-size: .875rem;
}
.ak-post-nav a {
  color: inherit;
}
.ak-post-nav__next {
  text-align: right;
}
@media (max-width: 767px) {
  .ak-post-nav {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .ak-post-nav__list {
    grid-column: 1 / -1;
    grid-row: 2;
    text-align: center;
  }
}

/* =========================================================
   9. 本文（ブロックエディタの基本要素のみ）
   記事部品（QA・ステップ等）はこの下に都度追加
   鶴丸様：要素の指定は :where() で詳細度を下げ、静的ページの本文（.page-section の中）には当てないようにしている
   （固定ページ toiawase に貼った静的HTMLを、静的サイトと同じ見た目にするため。記事の本文には今までどおり当たる）
   ========================================================= */
.ak-content {
  line-height: 1.9;
  overflow-wrap: anywhere;
}
.ak-content > * + * {
  margin-top: 1.25em;
}
:where(.ak-content) h2:where(:not(.page-section *)) {
  margin-top: 2.5em;
  padding: .5em .8em;
  border-left: 4px solid var(--ak-color-main);
  background: var(--ak-color-bg-sub);
  font-size: 1.3rem;
  line-height: 1.5;
}
:where(.ak-content) h3:where(:not(.page-section *)) {
  margin-top: 2em;
  padding-bottom: .3em;
  border-bottom: 1px solid var(--ak-color-line);
  font-size: 1.15rem;
}
:where(.ak-content) h4:where(:not(.page-section *)) {
  margin-top: 1.75em;
  font-size: 1.05rem;
}
:where(.ak-content) a:where(:not(.page-section *)) {
  color: var(--ak-color-main);
}
:where(.ak-content) img:where(:not(.page-section *)) {
  max-width: 100%;
  height: auto;
}
:where(.ak-content) ul:where(:not(.page-section *)),
:where(.ak-content) ol:where(:not(.page-section *)) {
  padding-left: 1.5em;
}
:where(.ak-content) table:where(:not(.page-section *)) {
  width: 100%;
  border-collapse: collapse;
}
:where(.ak-content) th:where(:not(.page-section *)),
:where(.ak-content) td:where(:not(.page-section *)) {
  padding: .75em 1em;
  border: 1px solid var(--ak-color-line);
  text-align: left;
  vertical-align: top;
}
:where(.ak-content) th:where(:not(.page-section *)) {
  background: var(--ak-color-bg-sub);
}
:where(.ak-content) blockquote:where(:not(.page-section *)) {
  margin-inline: 0;
  padding: 1em 1.25em;
  border-left: 4px solid var(--ak-color-line);
  color: var(--ak-color-sub);
}
:where(.ak-content) figcaption:where(:not(.page-section *)) {
  font-size: .8125rem;
  color: var(--ak-color-sub);
  text-align: center;
}
.alignleft  { float: left;  margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-inline: auto; }
.ak-content::after { content: ""; display: block; clear: both; }
@media (max-width: 767px) {
  .alignleft,
  .alignright {
    float: none;
    margin: 0 auto 1em;
  }
  .ak-content .wp-block-table {
    overflow-x: auto;
  }
}

/* =========================================================
   10. サイドバー
   ========================================================= */
.ak-side + .ak-side {
  margin-top: 40px;
}
.ak-side__title {
  margin: 0 0 .75em;
  padding-bottom: .5em;
  border-bottom: 2px solid var(--ak-color-main);
  font-size: 1.0625rem;
}
.ak-side__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.ak-side__list li {
  border-bottom: 1px dotted var(--ak-color-line);
}
.ak-side__list a {
  display: block;
  padding: .75em 0;
  color: inherit;
  font-size: .9375rem;
  line-height: 1.5;
  text-decoration: none;
}
.ak-side__list a:hover {
  color: var(--ak-color-main);
}

/* =========================================================
   11. 記事下CTA
   ========================================================= */
.ak-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 56px;
  padding: 28px 32px;
  border: 1px solid var(--ak-color-line);
  border-radius: calc(var(--ak-radius) * 2);
  background: var(--ak-color-bg-sub);
}
.ak-cta__title {
  margin: 0 0 .25em;
  font-weight: bold;
}
.ak-cta__sub {
  margin: 0;
  font-size: .8125rem;
  color: var(--ak-color-sub);
}
.ak-cta__buttons {
  display: flex;
  flex-shrink: 0;
  gap: 10px;
}
.ak-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: .8em 1.6em;
  border-radius: var(--ak-radius);
  font-weight: bold;
  text-decoration: none;
  transition: opacity .2s;
}
.ak-cta__btn:hover {
  opacity: .85;
}
.ak-cta__btn--form {
  background: var(--ak-color-accent);
  color: var(--ak-color-on);
}
.ak-cta__btn--tel {
  display: none; /* PCでは非表示 */
  background: var(--ak-color-main);
  color: var(--ak-color-on);
}
@media (max-width: 767px) {
  .ak-cta {
    flex-direction: column;
    align-items: stretch;
    padding: 24px 20px;
    text-align: center;
  }
  .ak-cta__buttons {
    flex-direction: column;
  }
  .ak-cta__btn--tel {
    display: inline-flex;
  }
}

/* =========================================================
   12. お問い合わせフォーム（Contact Form 7 + Turnstile）
   ========================================================= */
.wpcf7 {
  max-width: 760px;
  margin-inline: auto;
}
.wpcf7-form p {
  margin: 0 0 1.5em;
}
.wpcf7-form label {
  display: block;
  font-weight: bold;
}
.ak-required {
  display: inline-block;
  margin-left: .5em;
  padding: .05em .5em;
  border-radius: 3px;
  background: var(--ak-color-accent);
  color: var(--ak-color-on);
  font-size: .75rem;
  font-weight: normal;
  vertical-align: middle;
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 select,
.wpcf7 textarea {
  box-sizing: border-box;
  width: 100%;
  margin-top: .4em;
  padding: .75em;
  border: 1px solid var(--ak-color-line);
  border-radius: var(--ak-radius);
  background: #fff;
  font: inherit;
  font-weight: normal;
}
.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  outline: 2px solid var(--ak-color-main);
  outline-offset: 1px;
}
.wpcf7-list-item {
  margin: 0 1.5em 0 0;
  font-weight: normal;
}
.wpcf7-submit {
  display: block;
  width: min(100%, 320px);
  margin: 2em auto 0;
  padding: 1em;
  border: 0;
  border-radius: var(--ak-radius);
  background: var(--ak-color-accent);
  color: var(--ak-color-on);
  font: inherit;
  font-weight: bold;
  cursor: pointer;
}
.wpcf7-submit:disabled {
  opacity: .5;
  cursor: not-allowed;
}
.wpcf7-turnstile {
  display: flex;
  justify-content: center;
}
.wpcf7-not-valid-tip {
  font-size: .875rem;
  font-weight: normal;
}
.wpcf7 form .wpcf7-response-output {
  margin: 2em 0 0;
  padding: 1em;
  border-radius: var(--ak-radius);
}

/* =========================================================
   13. 404
   ========================================================= */
.ak-404 {
  padding: 40px 0;
  text-align: center;
}
.ak-404__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 2em;
}

/* =========================================================
   14. 鶴丸様：静的サイトの部品に合わせた調整
   ヘッダー・フッター・タイトル帯・記事下CTAは、静的サイトの common.css・page.css の見た目を使う
   ========================================================= */

/* タイトル帯（.page-header）の下の余白。静的の .page-section と同じ */
.ak-main {
  padding-top: var(--space-section, 80px);
  padding-bottom: var(--space-section, 80px);
}

/* 見出しの書体。静的サイトの見出し（明朝）に合わせる */
.ak-heading,
.ak-article__title,
.ak-side__title {
  font-family: var(--font-serif, inherit);
  font-weight: 600;
}

/* お知らせ一覧の1件（template-parts/news-item.php）
   静的サイトのトップページのお知らせ（top.css の .news-item）と同じ見た目 */
.ak-news-row {
  border-bottom: 1px solid var(--color-border, #ddd);
}
.ak-news-row__link {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 8px 24px;
  padding: 18px 0;
  color: inherit;
  text-decoration: none;
  transition: opacity var(--transition, .2s);
}
.ak-news-row__link:hover {
  opacity: .7;
}
.ak-news-row:first-child .ak-news-row__link {
  padding-top: 0;
}
.ak-news-row__date {
  color: var(--color-text-sub, #777);
  font-size: var(--fs-sm, .875rem);
  letter-spacing: .06em;
}
.ak-news-row__tag {
  padding: 2px 14px;
  border-radius: 2px;
  background: var(--color-tag, #f3e3e3);
  color: var(--color-accent, #bf2a2f);
  font-size: var(--fs-xs, .75rem);
  font-weight: 700;
}
.ak-news-row__title {
  grid-column: 3;
}
@media (max-width: 767px) {
  .ak-news-row__link {
    grid-template-columns: auto 1fr;
  }
  .ak-news-row__title {
    grid-column: 1 / -1;
  }
  .ak-news-row__tag {
    justify-self: start;
  }
}

/* 固定ページに静的ページの本文（.page-section）を貼った場合（お問い合わせ toiawase）
   静的の toiawase/index.html と同じ見た目にするため、テーマの枠（余白・幅・見出し）を外す
   ※ :has() を使っている（現行の主要ブラウザは対応済み） */
.ak-main:has(.ak-content > .page-section) {
  padding-top: 0;
  padding-bottom: 0;
}
.ak-container:has(> .ak-page > .ak-content > .page-section) {
  max-width: none;
  padding-inline: 0;
}
/* テーマが出す見出し（h1）は、上のタイトル帯と重なるため画面上は隠す（読み上げ用には残す） */
.ak-page:has(> .ak-content > .page-section) > .ak-heading {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.ak-content:has(> .page-section) {
  line-height: inherit;
}
.ak-content > .page-section {
  margin-top: 0;
}
/* お問い合わせフォーム（Contact Form 7）を静的の .contact-form の中に入れた場合
   テーマの幅（760px・中央寄せ）をやめ、見出し「お問い合わせフォーム」と左端・幅をそろえる */
.contact-form .wpcf7 {
  max-width: none;
}

/* 記事のアイキャッチ（single.php の .ak-article__thumb）
   PCでは本文の幅いっぱいだと大きすぎるため、最大幅を決めて中央に置く（スマートフォンでは幅いっぱいのまま）
   画像は 800×500px で用意する想定。800px より大きく引き伸ばさないよう、最大幅は 800px 以下にする */
.ak-article__thumb {
  max-width: 640px;
  margin-inline: auto;
}

/* 記事下CTA（template-parts/cta.php）。静的の .field-cta を使い、本文との間隔だけ広げる */
.ak-cta-wrap {
  margin-top: 56px;
}
/* ボタンの下の受付時間（.field-cta は横並びのため、幅いっぱいにして改行させる） */
.ak-cta-hours {
  flex-basis: 100%;
  margin: 0;
  color: var(--color-text-sub, #777);
  font-size: var(--fs-sm, .875rem);
  text-align: center;
}
.ak-cta-hours span {
  display: inline-block;
}
.ak-cta-hours span + span {
  margin-left: 1.5em;
}

/* 記事内の関連ページへのカード（2026/11/26 追加）
   記事の本文（カスタムHTMLブロック）に、次の形で書く。見出し（.ak-related__head）と説明（.ak-related__text）は省略できる。
   カード（a）は1つの .ak-related の中に複数並べてよい。
   <aside class="ak-related">
     <p class="ak-related__head">あわせて読みたい</p>
     <a class="ak-related__card" href="/strength/">
       <span class="ak-related__label">サービスの特徴</span>
       <span class="ak-related__title">税理士との共同相談</span>
       <span class="ak-related__text">説明文</span>
     </a>
   </aside> */
.ak-content > .ak-related {
  margin-top: 2.5em;
  margin-bottom: 2.5em;
}
.ak-related__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--color-text-sub, #777);
  font-size: var(--fs-sm, .875rem);
  font-weight: 700;
  letter-spacing: .08em;
}
.ak-related__head::before {
  content: "";
  width: 16px;
  border-top: 1px solid currentColor;
}
.ak-related__card {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 20px 56px 20px 24px;
  border: 1px solid var(--color-border, #ddd);
  border-left: 3px solid var(--color-border, #ddd);
  background: var(--color-bg-cream, #f8f6f2);
  color: var(--color-text, #333);
  line-height: 1.6;
  text-decoration: none;
  transition: border-color var(--transition, .2s), background-color var(--transition, .2s);
}
.ak-related__card + .ak-related__card {
  margin-top: 12px;
}
/* 右端の矢印（CSSの線で描く） */
.ak-related__card::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 24px;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--color-main, #1f5fa8);
  border-right: 2px solid var(--color-main, #1f5fa8);
  transform: translateY(-50%) rotate(45deg);
  transition: right var(--transition, .2s);
}
.ak-related__label {
  color: var(--color-accent, #bf2a2f);
  font-size: var(--fs-xs, .75rem);
  font-weight: 700;
  letter-spacing: .06em;
}
.ak-related__title {
  font-family: var(--font-serif, inherit);
  font-size: var(--fs-md, 1.125rem);
  font-weight: 600;
  transition: color var(--transition, .2s);
}
.ak-related__text {
  color: var(--color-text-sub, #777);
  font-size: var(--fs-sm, .875rem);
}
.ak-related__card:hover,
.ak-related__card:focus-visible {
  border-left-color: var(--color-main, #1f5fa8);
  background: var(--color-white, #fff);
}
.ak-related__card:hover .ak-related__title,
.ak-related__card:focus-visible .ak-related__title {
  color: var(--color-main, #1f5fa8);
}
.ak-related__card:hover::after,
.ak-related__card:focus-visible::after {
  right: 18px;
}
@media (max-width: 767px) {
  .ak-related__card {
    padding: 16px 44px 16px 18px;
  }
  .ak-related__card::after {
    right: 18px;
  }
  .ak-related__card:hover::after,
  .ak-related__card:focus-visible::after {
    right: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ak-related__card,
  .ak-related__card::after,
  .ak-related__title {
    transition: none;
  }
}
