/* ==========================================================================
   Single article
   ========================================================================== */
.art-hero { position: relative; min-height: 395px; overflow: hidden; background: #f7f0e8; }
.art-hero-img { position: absolute; top: 0; right: 0; width: 709px; height: 100%; object-fit: cover; max-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18%); mask-image: linear-gradient(90deg, transparent 0, #000 18%); }
.art-hero-inner { position: relative; padding: 31px 0 20px 11px; }
.art-cat { display: inline-block; margin-top: 21px; height: 31px; line-height: 31px; padding: 0 14px; border-radius: 6px; background: #f3e7d7; font-size: 13.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: #8a6536; }
.art-hero h1 { margin-top: 12px; max-width: 640px; font-family: var(--serif); font-weight: 560; font-size: 55px; line-height: 58px; letter-spacing: -.02em; color: var(--ink); font-variation-settings: 'opsz' 60; }
.art-hero .lead { margin-top: 12px; max-width: 580px; font-size: 18.5px; line-height: 29.5px; color: var(--ink); }
.art-author { display: flex; align-items: center; gap: 16px; margin-top: 18px; }
.art-author .avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.art-author p { font-size: 15px; line-height: 22px; color: #3a3834; }
.art-author a { font-weight: 500; color: var(--ink); }
.art-author .meta { color: #5d5a55; }
.art-card { position: absolute; right: 38px; top: 145px; width: 195px; padding: 15px 17px 12px; background: rgba(255, 255, 255, .95); border-radius: 8px; box-shadow: 0 8px 24px rgba(60, 40, 20, .12); }
.art-card-title { display: flex; justify-content: space-between; align-items: center; font-size: 15.5px; font-weight: 500; color: var(--ink); }
.art-card-title svg { width: 12px; height: 12px; color: #b8b3ab; }
.art-card ul { margin-top: 10px; }
.art-card li { display: flex; align-items: center; gap: 8px; height: 25px; font-size: 12.5px; color: #3e3b37; }
.art-card li svg { width: 14px; height: 14px; color: #2e9b5a; flex: none; }

.art-layout { display: grid; grid-template-columns: 799px 422px; justify-content: space-between; gap: 49px; padding: 24px 0 40px 11px; }
.art-main { min-width: 0; font-size: 16px; line-height: 26px; }
.art-main > figure:first-child, .art-main > .wp-block-image:first-child { margin: 0 0 24px; }
.art-main > figure:first-child img { width: 100%; height: 370px; object-fit: cover; border-radius: 8px; }
.art-main h2 { font-size: 31px; line-height: 38px; }
.art-main .is-style-two-columns { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
.art-main .is-style-two-columns li { margin-top: 6px; }
.example-box, .tip-box { display: flex; align-items: center; gap: 28px; margin: 18px 0 0; padding: 18px 24px; background: #f8f1e8; border-radius: 8px; }
.ex-label { padding: 4px 9px; border-radius: 5px; background: #f1dfc6; font-size: 14px; font-weight: 500; color: #8a6536; flex: none; }
.example-box .ex-list li { padding-left: 34px; margin: 4px 0; font-size: 15px; color: #3a3834; }
.example-box .ex-list li::before { width: 21px; height: 21px; top: 0; }
.example-box .ex-list li.ok::before { background-color: #2e9b5a; }
.example-box .ex-list li.bad::before { background: #d93a3a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m8 8 8 8M16 8l-8 8' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.tip-box { margin-top: 12px; }
.tip-label { display: flex; align-items: center; gap: 10px; padding-right: 28px; border-right: 1px solid #e9dcc9; font-size: 16px; font-weight: 500; color: #3a3834; flex: none; }
.tip-label::before { content: ""; width: 24px; height: 30px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 17.5h6M10 20.5h4M8.8 14.8A6.5 6.5 0 1 1 15.2 14.8c-.7.6-1.2 1.4-1.2 2.3v.4h-4v-.4c0-.9-.5-1.7-1.2-2.3z' fill='none' stroke='%23b5854a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.tip-box p { margin: 0; font-size: 13.5px; line-height: 20px; color: #3a3834; }

.art-side { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.art-side .toc { padding: 24px 24px 20px; }
.side-box { background: #fff; border: 1px solid #efe9e1; border-radius: 8px; padding: 20px 24px 22px; }
.share h2 { font-size: 18px; font-weight: 500; font-family: var(--sans); }
.share-links { display: flex; gap: 22px; margin-top: 16px; }
.share-links a, .share-links button { width: 50px; height: 50px; border-radius: 50%; background: #f5f2ee; display: grid; place-items: center; color: #111; }
.share-links svg { width: 22px; height: 22px; }
.share-links .is-copied { background: #e5f3ea; color: #2e7a4e; }
.side-cta { position: relative; overflow: hidden; min-height: 243px; padding: 26px 22px 24px; border-radius: 8px; background: linear-gradient(90deg, #f7ece0 55%, #efe0cf); }
.side-cta img { position: absolute; right: 0; top: 0; width: 194px; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%); mask-image: linear-gradient(90deg, transparent, #000 30%); }
.side-cta > *:not(img) { position: relative; }
.side-cta .eyebrow { font-size: 12px; letter-spacing: .2em; color: #a0835e; }
.side-cta h2 { margin-top: 12px; font-family: var(--serif); font-weight: 560; font-size: 27px; line-height: 32px; letter-spacing: -.012em; }
.side-cta p:not(.eyebrow) { margin-top: 12px; font-size: 14.5px; line-height: 22px; color: #55524d; }
.side-cta .btn { margin-top: 20px; width: 169px; height: 51px; font-size: 16px; }
.side-sec h2 { font-family: var(--serif); font-weight: 560; font-size: 24px; line-height: 30px; letter-spacing: -.01em; }
.side-sec > p { margin-top: 6px; font-size: 15px; line-height: 22px; color: var(--muted); }
.carousel--side { margin-top: 14px; }
.carousel--side .car-track { grid-auto-columns: calc((100% - 2 * 10px) / 3); gap: 10px; }
.carousel--side .pr-body { padding: 10px 10px 10px; }
.carousel--side .pr-body h3 { font-size: 12px; line-height: 16px; }
.carousel--side .pr-body span { font-size: 11px; color: #b58a58; }
.carousel--side .pr-foot b { font-size: 16px; }
.carousel--side .pr-cart { width: 32px; height: 28px; }
.carousel--side .pr-cart svg { width: 16px; height: 16px; }
.carousel--side .car-btn { width: 40px; height: 40px; top: 40%; }
.carousel--side .car-btn[data-dir="-1"] { left: -20px; }
.carousel--side .car-btn[data-dir="1"] { right: -20px; }
.related { padding-top: 22px; border-top: 1px solid #ebe5dc; }
.related-head { display: flex; justify-content: space-between; align-items: center; }
.related .view-all { margin: 0; font-size: 14px; gap: 10px; }
.related ul { margin-top: 14px; }
.related li + li { margin-top: 14px; }
.related li a { display: flex; gap: 20px; align-items: center; }
.related li img { width: 150px; height: 88px; object-fit: cover; border-radius: 6px; flex: none; }
.related li b { display: block; font-size: 14px; font-weight: 500; line-height: 20px; color: #1f1e1c; }
.related li small { display: block; margin-top: 6px; font-size: 13px; color: #817d77; }
.related li a:hover b { color: var(--gold-text); }
.art-comments { padding-bottom: 48px; }

@media (max-width: 1380px) {
  .art-layout { grid-template-columns: minmax(0, 1fr) 380px; }
}
@media (max-width: 1200px) {
  .art-hero-img { width: 100%; opacity: .25; }
  .art-card { display: none; }
  .art-layout { grid-template-columns: 1fr; padding-left: 0; }
  .art-side { max-width: 640px; }
  .carousel--side .car-btn[data-dir="-1"] { left: 4px; }
  .carousel--side .car-btn[data-dir="1"] { right: 4px; }
}
@media (max-width: 760px) {
  .art-hero-inner { padding-left: 0; }
  .art-hero h1 { font-size: 38px; line-height: 42px; }
  .art-main > figure:first-child img { height: 220px; }
  .art-main .is-style-two-columns { grid-template-columns: 1fr; }
  .example-box, .tip-box { flex-direction: column; align-items: flex-start; gap: 12px; }
  .tip-label { border: 0; padding: 0; }
}
