

/* cj-mobile-header */
@media (max-width: 900px){
  .single .ad-post-hero{ min-height:0; display:block; padding:100px 0 0; }
  .single .ad-post-hero > img{ position:static; width:100%; height:auto; object-fit:contain; }
  .single .ad-post-hero::before{ display:none; }
  .single .ad-post-hero .ad-in{ padding:16px 0 4px; }
}

/* cj-full-post-header: show the whole post header image, no cropping (Oct 2026) */
.single .ad-post-hero{ min-height:0; aspect-ratio:2400/1020; }
.single .ad-post-hero > img{ object-position:50% 50%; }
@media (max-width: 900px){
  .single .ad-post-hero{ aspect-ratio:auto; padding-top:0; }
  .single .ad-post-hero > img{ position:relative; display:block; width:100%; height:auto; aspect-ratio:2400/1020; object-fit:cover; }
  .single .ad-post-hero::before{ display:none; }
}

/* cj-clear-old-floats: old posts with left/right-aligned photos no longer push the bottom sections to the side (Oct 2026) */
.ad-entry::after{ content:""; display:table; clear:both; }
.ad-entry img.alignleft.size-large, .ad-entry img.alignright.size-large, .ad-entry img.alignleft.size-full, .ad-entry img.alignright.size-full{ float:none; display:block; margin:0 auto 1.5em; }

/* cj-video-height: videos were showing double height with a black box (Oct 2026) */
.ad-entry .wp-has-aspect-ratio .wp-block-embed__wrapper::before{ display:none; padding-top:0; }


/* Top nav balance (Dec 2026) */
@media (min-width:961px){
.ad-nav{flex:1 1 auto;justify-content:flex-end}
.ad-nav>ul{margin:0 auto;align-items:center}
.ad-nav>ul a{white-space:nowrap;line-height:1}
}
@media (min-width:1341px){
.ad-hd .ad-in{max-width:1320px}
.ad-nav{gap:22px}
.ad-nav>ul{gap:24px}
.ad-nav>ul a{letter-spacing:.11em}
}
@media (min-width:961px) and (max-width:1340px){
.ad-hd .ad-in{gap:16px;padding:0 22px}
.ad-nav{gap:14px}
.ad-nav>ul{gap:clamp(10px,1.1vw,18px)}
.ad-nav>ul a{letter-spacing:.06em;font-size:11px}
.ad-follow{padding-left:16px;padding-right:16px}
}
@media (min-width:961px) and (max-width:1080px){
.ad-nav>ul>li:first-child{display:none}
.ad-hd .ad-in{padding:0 16px}
}
