/*
Theme Name: Concerts in Israel Redesign
Theme URI: https://concertsinisrael.com
Description: Child theme of PopularFX. Ink, cream, amber and brick redesign. Presentation only: listings stay in the existing pages. Rollback: activate PopularFX.
Author: Instinct for David Sedley
Template: popularfx
Version: 1.0.0
Text Domain: cii-redesign
*/
@font-face { font-family: 'Chonburi'; src: url('fonts/Chonburi-sub.woff') format('woff'); font-display: swap; }
:root { --ink:#16181d; --amber:#f0b429; --amber-l:#fbf0d2; --teal:#1d6b73; --brick:#a8321c; --paper:#f8f4ea; --paper2:#efe8d8; --mut:#55524c; --wrap:1424px; }
html { overflow-x: clip; }
body.popularfx-body, body { background: var(--paper); color: var(--ink); font-family: 'KMR Melange Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 15px; line-height: 1.5; }
#page { background: var(--paper); }
a { color: var(--teal); }
h1, h2, h3, h4, .site-title { font-family: 'Chonburi', Georgia, serif; font-weight: 400; color: var(--ink); }

/* top bar */
.ci-topline { display:flex; justify-content:space-between; align-items:center; gap:12px; background:var(--amber); color:var(--ink); padding:0 12px 0 16px; min-height:44px; }
.ci-tagline { font-size:11px; letter-spacing:.1em; text-transform:uppercase; font-weight:700; line-height:1.25; }
.ci-social { display:flex; gap:2px; flex:none; }
.ci-social a { display:inline-flex; align-items:center; justify-content:center; width:40px; height:40px; color:var(--ink); }
.ci-social a:hover { background:var(--ink); color:var(--amber); }
.ci-social svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.ci-social svg .f { fill:currentColor; stroke:none; }

/* masthead */
.site-header { background:var(--ink) !important; color:var(--paper); border-bottom:4px solid var(--brick); padding:18px 16px 0 !important; width:100%; box-sizing:border-box; }
.site-branding { display:flex; align-items:center; width:100% !important; padding:0 0 12px !important; box-sizing:border-box; }
.site-branding .site-title { margin:0; line-height:1; }
.site-branding .site-title a { display:inline-flex; align-items:center; gap:12px; color:var(--paper) !important; text-decoration:none; text-transform:none; font-family:'Chonburi', Georgia, serif; font-weight:400; font-size:32px; white-space:nowrap; }
.site-branding .site-title a::before { content:''; flex:none; width:44px; height:44px; border-radius:50%; background:radial-gradient(circle, var(--amber) 0 9%, #0b0c0f 10% 34%, #5a5648 35% 37%, #0b0c0f 38% 58%, #5a5648 59% 61%, #0b0c0f 62%); box-shadow:0 0 0 2px var(--amber); }
.site-description { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.main-navigation { display:block !important; width:100% !important; margin:0 !important; text-align:left; }
.main-navigation ul { display:flex; flex-wrap:wrap; gap:0 20px; }
.main-navigation li { display:block; }
.main-navigation li.menu-item-type-custom { display:none; }
.main-navigation a { display:inline-flex !important; align-items:center; min-height:46px; padding:0 !important; color:#ece7da !important; text-decoration:none; font-weight:700; font-size:12.5px; text-transform:uppercase; letter-spacing:.07em; border-bottom:4px solid transparent; margin-bottom:-4px; background:none !important; }
.main-navigation a:hover, .main-navigation li:hover > a { color:#fff !important; background:none !important; }
.main-navigation .current-menu-item > a, .main-navigation .current_page_item > a { color:#fff !important; border-bottom-color:var(--amber); }
.menu-toggle { background:transparent; border:2px solid var(--amber); color:var(--amber); min-width:46px; min-height:46px; cursor:pointer; }
.main-navigation.hidden-mobile { }
@media screen and (max-width:768px) {
  .site-header { padding:12px 16px 0 !important; }
  .site-branding .site-title a { font-size:24px; gap:10px; }
  .site-branding .site-title a::before { width:34px; height:34px; }
  .menu-toggle { position:absolute !important; top:10px !important; right:12px !important; float:none !important; display:inline-flex !important; align-items:center; justify-content:center; }
  .main-navigation { background:transparent !important; }
  .main-navigation ul { display:block; }
  .main-navigation .menu a, .menu .menu-item a { font-size:13px !important; padding:0 !important; border-bottom:1px solid #2b2e36 !important; margin:0; min-height:48px; display:flex !important; }
}
@media (min-width:768px) { .site-header { padding:22px 32px 0 !important; } .site-branding .site-title a { font-size:38px; } .site-branding .site-title a::before { width:50px; height:50px; } .ci-topline { padding:0 24px 0 32px; } }
@media (min-width:1040px) {
  .site-header { padding-left:max(32px, calc((100vw - var(--wrap)) / 2 + 32px)) !important; padding-right:max(32px, calc((100vw - var(--wrap)) / 2 + 32px)) !important; }
  .ci-topline { padding-left:max(32px, calc((100vw - var(--wrap)) / 2 + 32px)); padding-right:max(24px, calc((100vw - var(--wrap)) / 2 + 24px)); }
  .main-navigation ul { gap:0 26px; }
}

/* page frame */
#secondary.widget-area { display:none; }
body.single #secondary.widget-area, body.archive #secondary.widget-area, body.search #secondary.widget-area, body.blog #secondary.widget-area { display:block; }
.site-main { max-width:var(--wrap); margin:0 auto !important; padding:30px 16px 44px; box-sizing:border-box; }
body.home .site-main { padding-top:0; max-width:none; }
body.home .ci-pagebody { max-width:var(--wrap); margin:0 auto; padding:30px 16px 0; }
@media (min-width:768px) { .site-main { padding-left:32px; padding-right:32px; } body.home .ci-pagebody { padding-left:32px; padding-right:32px; } }
.site-main .entry-header, .page .entry-header { display:none; }
.page .entry-footer, .page .edit-link { display:none; }
body.logged-in .page .edit-link { display:block; }
article.page, .article { background:transparent !important; border:0 !important; box-shadow:none !important; padding:0 !important; margin:0 !important; }
.entry-content { margin:0; }
.ci-h1, .ci-uphead h1 { font-size:38px; line-height:1.08; margin:0 0 12px; }
@media (min-width:768px) { .ci-h1, .ci-uphead h1 { font-size:46px; } }
.ci-kicker { margin:0 0 8px; font-size:12px; letter-spacing:.13em; text-transform:uppercase; font-weight:700; color:var(--brick); }
.ci-lede { max-width:680px; color:var(--mut); margin:0 0 22px; }
.ci-fine { color:var(--mut); font-size:13px; }
.entry-content h2, .ci-section-title { font-family:'Chonburi', Georgia, serif; font-weight:400; font-size:25px; line-height:1.2; margin:38px 0 14px; padding-top:14px; border-top:3px solid var(--ink); }
.entry-content h3 { font-size:20px; }
.entry-content a { color:var(--teal); }
.entry-content table { width:100%; border-collapse:collapse; }
.entry-content td, .entry-content th { padding:8px 10px; border-bottom:1px solid #d8d0c0; vertical-align:top; text-align:left; }
.entry-content figure.wp-block-table { overflow-x:auto; }

/* full-bleed bands */
.ci-bleed { width:100vw; margin-left:calc(50% - 50vw); box-sizing:border-box; }
.ci-btn { display:inline-flex; align-items:center; justify-content:center; min-height:46px; padding:0 20px; border:2px solid var(--ink); background:var(--ink); color:var(--paper) !important; font-weight:700; text-transform:uppercase; letter-spacing:.06em; font-size:12.5px; text-decoration:none; }
.ci-btn:hover { background:var(--brick); border-color:var(--brick); }
.ci-btn-ghost { background:transparent; color:var(--ink) !important; }
.ci-btn-ghost:hover { background:var(--ink); color:var(--paper) !important; border-color:var(--ink); }
.ci-more { font-weight:700; text-decoration:none; color:var(--brick) !important; white-space:nowrap; font-size:13px; text-transform:uppercase; letter-spacing:.06em; }
.ci-more:hover { text-decoration:underline; }

/* carousel */
.ci-cbox { background:var(--ink); color:var(--paper); padding:34px 0 38px; border-bottom:4px solid var(--brick); }
.ci-cbox .ci-inner { padding:0 16px; max-width:var(--wrap); margin:0 auto; box-sizing:border-box; }
.ci-cbox .ci-kicker { color:var(--amber); }
.ci-cbox h1 { color:var(--paper); font-size:34px; line-height:1.1; margin:0 0 8px; }
.ci-cbox .ci-lede { color:#cfcabd; margin:0; }
.ci-chead { display:flex; justify-content:space-between; align-items:flex-end; gap:16px; flex-wrap:wrap; margin-bottom:16px; }
.ci-cnav { display:flex; gap:8px; }
.ci-cnav[hidden] { display:none; }
.ci-cpos { align-self:center; color:#cfcabd; font-size:13px; letter-spacing:.06em; margin-right:4px; white-space:nowrap; }
.ci-cbtn { width:46px; height:46px; border:2px solid var(--amber); background:transparent; color:var(--amber); font-size:22px; cursor:pointer; line-height:1; padding:0; }
.ci-cbtn:hover { background:var(--amber); color:var(--ink); }
.ci-cbtn:disabled { opacity:.3; cursor:default; background:transparent; color:var(--amber); }
.ci-cbtn:focus-visible { outline:3px solid #fff; outline-offset:2px; }
.ci-cview { display:grid; grid-template-columns:repeat(var(--n, 1), minmax(0, 1fr)); gap:16px; align-items:stretch; touch-action:pan-y; }
.ci-cbox:not(.ci-js) .ci-cview { grid-template-columns:repeat(auto-fill, minmax(280px, 1fr)); }
.ci-cfoot { margin-top:16px; }
.ci-cfoot a { color:var(--amber); font-weight:700; }
@media (min-width:768px) { .ci-cbox .ci-inner { padding-left:32px; padding-right:32px; } .ci-cbox h1 { font-size:44px; } }

/* act cards */
.ci-actgrid { display:grid; gap:18px; grid-template-columns:1fr; }
@media (min-width:700px) { .ci-actgrid { grid-template-columns:repeat(2, 1fr); } }
@media (min-width:1040px) { .ci-actgrid { grid-template-columns:repeat(3, 1fr); } }
.ci-act { display:flex; flex-direction:column; background:#fff; color:var(--ink); border:2px solid var(--ink); min-width:0; }
.ci-act[hidden] { display:none; }
.ci-act-media { position:relative; aspect-ratio:16 / 10; background:var(--ink); overflow:hidden; border-bottom:2px solid var(--ink); flex:none; }
.ci-act-media img { width:100%; height:100%; object-fit:cover; display:block; margin:0; }
.ci-act-ph { width:100%; height:100%; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; background:repeating-linear-gradient(135deg, #1f2229 0 14px, #16181d 14px 28px); color:var(--amber); }
.ci-act-ph b { font-family:'Chonburi', Georgia, serif; font-weight:400; font-size:54px; line-height:1; letter-spacing:.04em; }
.ci-act-ph span { font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:#bdb8aa; }
.ci-act-pill { position:absolute; left:0; top:12px; background:var(--amber); color:var(--ink); font-weight:700; font-size:12px; letter-spacing:.08em; text-transform:uppercase; padding:5px 10px; }
.ci-act-played { opacity:.75; }
.ci-act-played .ci-act-pill { background:#d8d0c0; }
.ci-act-body { display:flex; flex-direction:column; flex:1; padding:16px; }
.ci-act h3 { font-size:19px; line-height:1.25; margin:0 0 4px; }
.ci-act-sub { margin:0 0 10px; color:var(--mut); font-size:13px; }
.ci-act-dates { list-style:none; margin:0 0 10px; padding:0; }
.ci-act-dates li { display:flex; flex-direction:column; padding:6px 0; border-top:1px solid #ddd5c4; font-size:14px; margin:0; }
.ci-act-dates li span:first-child { font-weight:700; }
.ci-act-dates li span:last-child { color:var(--mut); }
.ci-act-dates li.off { opacity:.45; }
.ci-act-price { margin:0 0 6px; font-weight:700; color:var(--brick); font-size:14px; }
.ci-act-links { display:grid; grid-template-columns:1fr; gap:8px; margin-top:auto; padding-top:12px; }
.ci-act-links .ci-btn { width:100%; min-height:44px; text-align:center; padding:0 12px; line-height:1.2; box-sizing:border-box; }
.ci-act-links .ci-slot { display:none; }

/* filters */
.ci-filters { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:10px; }
.ci-fl { font-size:11px; letter-spacing:.12em; text-transform:uppercase; font-weight:700; color:var(--mut); margin:10px 0 6px; }
.ci-chip { font:600 14px 'KMR Melange Grotesk', system-ui, sans-serif; min-height:44px; padding:0 14px; border:2px solid var(--ink); background:var(--paper); color:var(--ink); cursor:pointer; border-radius:0; }
.ci-chip:hover { background:var(--amber-l); }
.ci-chip-2 { border-color:var(--teal); }
.ci-chip-3 { border-color:var(--brick); color:var(--brick); }
.ci-chip.on { background:var(--ink); color:var(--paper); border-color:var(--ink); }
.ci-chip-3.on { background:var(--brick); border-color:var(--brick); color:#fff; }
.ci-chip:focus-visible, .ci-yearnav a:focus-visible, .ci-btn:focus-visible, .ci-textlink:focus-visible { outline:3px solid var(--teal); outline-offset:2px; }
.ci-count { color:var(--mut); margin:12px 0 6px; }
.ci-yearnav { display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin:0 0 6px; }
.ci-yearnav span { font-size:11px; letter-spacing:.12em; text-transform:uppercase; font-weight:700; color:var(--mut); }
.ci-yearnav a { display:inline-flex; align-items:center; min-height:44px; padding:0 14px; border:2px solid var(--ink); font-weight:700; text-decoration:none; color:var(--ink); }
.ci-yearnav a:hover { background:var(--amber); }
.ci-yearsec { scroll-margin-top:16px; }
.ci-yearsec .ci-section-title { margin-top:34px; }

/* rows (week page, tonight band) */
.ci-band { background:var(--paper2); border-bottom:3px solid var(--ink); padding:28px 16px; }
.ci-band-inner { max-width:var(--wrap); margin:0 auto; }
.ci-band-head { display:flex; justify-content:space-between; align-items:baseline; gap:12px; margin-bottom:14px; }
.ci-band-head h2 { font-size:25px; margin:0; line-height:1.15; border:0; padding:0; }
@media (min-width:768px) { .ci-band { padding-left:32px; padding-right:32px; } }
.ci-rows { list-style:none; margin:0; padding:0; border-top:2px solid var(--ink); }
.ci-row { display:grid; grid-template-columns:78px 1fr; gap:4px 14px; padding:14px 0; border-bottom:1px solid #cfc6b4; margin:0; }
.ci-row-when { display:flex; flex-direction:column; font-size:13px; }
.ci-row-day { font-weight:700; }
.ci-row-time { color:var(--brick); font-weight:700; }
.ci-row-title { font-weight:700; font-size:16.5px; line-height:1.3; }
.ci-row-main { min-width:0; overflow-wrap:anywhere; }
.ci-row-links { display:flex; flex-wrap:wrap; gap:10px 16px; margin-top:4px; }
.ci-row-region { grid-column:2; font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--teal); font-weight:700; }
.ci-row.ci-intl { background:var(--amber-l); box-shadow:inset 4px 0 0 var(--brick); padding-left:16px; margin-left:-16px; margin-right:-16px; padding-right:16px; }
.ci-tag { display:inline-block; margin-left:8px; padding:1px 7px; font:700 10px/16px system-ui, sans-serif; letter-spacing:.08em; text-transform:uppercase; border:1px solid var(--ink); vertical-align:2px; }
.ci-tag-intl { background:var(--brick); border-color:var(--brick); color:#fff; }
.ci-textlink { font-weight:700; font-size:13px; text-decoration:none; border-bottom:2px solid var(--teal); display:inline-flex; align-items:center; min-height:30px; color:var(--ink) !important; }
.ci-multi { display:inline-block; margin:4px 0 2px; font-size:12px; font-weight:600; color:var(--teal); background:var(--amber-l); padding:2px 8px; }
.ci-dayhead { display:flex; align-items:baseline; gap:12px; font-size:27px; margin:26px 0 0 !important; border:0 !important; padding:0 !important; }
.ci-dayhead em { font:700 11px system-ui, sans-serif; letter-spacing:.12em; text-transform:uppercase; color:var(--brick); }
.ci-empty { padding:30px 0; }
@media (min-width:768px) {
  .ci-row { grid-template-columns:120px 1fr 110px; }
  .ci-row-region { grid-column:3; align-self:start; text-align:right; }
  .ci-band .ci-row { grid-template-columns:120px 1fr; }
}
.ci-strip { display:grid; grid-template-columns:repeat(7, minmax(0, 1fr)); gap:6px; margin-top:20px; }
.ci-strip-day { display:flex; flex-direction:column; align-items:center; padding:8px 0; min-height:60px; border:2px solid var(--ink); text-decoration:none; background:var(--paper); line-height:1.15; color:var(--ink); }
.ci-strip-day:hover { background:var(--amber); }
.ci-strip-day b { font-size:11px; text-transform:uppercase; letter-spacing:.08em; }
.ci-strip-day span { font-family:'Chonburi', Georgia, serif; font-size:20px; }
.ci-strip-day i { font-style:normal; font-size:11px; color:var(--mut); }
@media (max-width:400px) { .ci-strip { gap:4px; } .ci-strip-day span { font-size:17px; } .ci-strip-day b { font-size:10px; letter-spacing:.04em; } }

/* front page existing content: announcements and reviews as image cards */
.ci-pagebody .wp-block-post-template > li { margin:0; background:#fff; border:2px solid var(--ink); }
.ci-pagebody .wp-block-post-featured-image img, .ci-pagebody figure img { width:100%; height:190px; object-fit:cover; display:block; margin:0; }
.ci-pagebody .wp-block-post-template h4 { font-size:19px; line-height:1.25; margin:0 0 6px; }
.ci-pagebody .wp-block-post-template h4 a { text-decoration:none; color:var(--ink); }
.ci-pagebody .wp-block-post-template h4 a:hover { text-decoration:underline; }
.ci-pagebody .wp-block-post-template > li > div { display:flex; flex-direction:column; }
.ci-pagebody .wp-block-post-date, .ci-pagebody time { font-size:12px; letter-spacing:.1em; text-transform:uppercase; color:var(--teal); font-weight:700; }
.ci-pagebody .ci-carousel { margin-bottom:10px; }

/* archive page tables */
.page-id-252 .entry-content h2 { cursor:default; }
.page-id-252 .entry-content table td { font-size:14px; }
@media (max-width:700px) { .page-id-252 .entry-content table, .page-id-183 .entry-content table { font-size:13px; } }

/* footer */
.site-footer { background:var(--ink); color:#d9d4c8; border-top:4px solid var(--brick); padding:28px 16px 32px; text-align:left; }
.site-footer a { color:var(--amber); font-weight:600; }
.site-info { max-width:var(--wrap); margin:0 auto; }
@media (min-width:768px) { .site-footer { padding-left:32px; padding-right:32px; } }

/* vinyl */
@keyframes ci-spin { to { transform:rotate(360deg); } }
.ci-vinyl { display:block; position:fixed; right:18px; bottom:18px; width:54px; height:54px; z-index:50; background:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><circle cx='50' cy='50' r='49' fill='%2316181d'/><circle cx='50' cy='50' r='42' fill='none' stroke='%23444'/><circle cx='50' cy='50' r='35' fill='none' stroke='%23444'/><circle cx='50' cy='50' r='28' fill='none' stroke='%23444'/><path d='M50 8A42 42 0 0 1 92 50' fill='none' stroke='white' stroke-opacity='.3' stroke-width='3'/><circle cx='50' cy='50' r='17' fill='%23f0b429'/><circle cx='50' cy='50' r='3' fill='%2316181d'/></svg>") center/contain no-repeat; filter:drop-shadow(0 2px 4px rgba(0,0,0,.4)); animation:ci-spin 6s linear infinite; }
.ci-vinyl:focus-visible { outline:3px solid var(--teal); outline-offset:3px; border-radius:50%; }
.widget-area .vinyl-link, .widget:has(.vinyl-link) { display:none !important; }
@media (prefers-reduced-motion:reduce) { .ci-vinyl { animation:none; } }
@media (max-width:768px) { .ci-vinyl { width:40px; height:40px; right:10px; bottom:10px; } }

/* existing announcement/review carousels (embedded in the Home page content): restyle only */
.ci-pagebody .ci-carousel .wp-block-post-template { scrollbar-width:none; gap:20px !important; }
.ci-pagebody .ci-carousel .wp-block-post-template::-webkit-scrollbar { display:none; }
.ci-carousel .ci-nav { border-radius:0 !important; background:var(--ink) !important; color:var(--amber) !important; border:2px solid var(--amber) !important; box-shadow:none !important; }
.ci-carousel .ci-nav:hover, .ci-carousel .ci-nav:focus { background:var(--amber) !important; color:var(--ink) !important; }
.ci-pagebody .ci-carousel .wp-block-post-template > li { background:#fff; border:2px solid var(--ink); }

/* page banner images (lavender, made for the old design) are replaced by the H1; images stay in the media library */
.page .post-thumbnail { display:none; }

@media screen and (max-width:768px) { .main-navigation.hidden-mobile { display:none !important; } }

/* beat the old nav-pill rules stored in sidebar widget block-8 (kept there for rollback) */
.site-header .main-navigation li.menu-item > a { display:inline-flex !important; padding:0 !important; border-radius:0 !important; border:0 !important; border-bottom:4px solid transparent !important; background:none !important; color:#ece7da !important; font-weight:700 !important; line-height:1.2 !important; box-shadow:none !important; filter:none !important; text-decoration:none !important; }
.site-header .main-navigation li.menu-item > a:hover, .site-header .main-navigation li.menu-item > a:focus { color:#fff !important; filter:none !important; background:none !important; }
.site-header .main-navigation li.menu-item.current-menu-item > a { color:#fff !important; border-bottom-color:var(--amber) !important; box-shadow:none !important; }
@media screen and (max-width:768px) { .site-header .main-navigation li.menu-item > a { display:flex !important; border-bottom:1px solid #2b2e36 !important; } }

/* layout columns in page content (the archive and upcoming tables sat in a narrow centre column) */
.entry-content .wp-block-columns { display:block; margin:0; }
.entry-content .wp-block-column { flex-basis:auto !important; width:100%; }
.entry-content .wp-block-column:empty { display:none; }
.entry-content figure.wp-block-table { margin:0 0 18px; width:100%; }

/* front page: dark reviews block and archive band */
.ci-block-dark { background:var(--ink); color:var(--paper); padding:32px 16px 40px; }
.ci-block-dark .ci-band-inner { padding:0; }
.ci-block-dark h2.wp-block-heading { color:var(--paper); border-top:3px solid var(--amber); margin-top:0; }
.ci-block-dark .ci-carousel .wp-block-post-template > li { border-color:var(--amber); }
.ci-block-dark .ci-carousel .wp-block-post-template > li * { color:var(--ink); }
.ci-block-dark .ci-carousel .wp-block-post-template > li .wp-block-post-date, .ci-block-dark .ci-carousel time { color:var(--teal); }
.ci-block-dark .ci-nav { border-color:var(--amber) !important; }
@media (min-width:768px) { .ci-block-dark { padding-left:32px; padding-right:32px; } }
.ci-archband { background:var(--amber); border-top:3px solid var(--ink); padding:32px 16px 36px; }
.ci-archband h2 { font-size:26px; line-height:1.15; margin:0 0 10px; border:0; padding:0; }
.ci-archband p { max-width:640px; }
@media (min-width:768px) { .ci-archband { padding-left:32px; padding-right:32px; } }
.ci-archband .ci-kicker { color:var(--ink); }
.ci-block-dark .ci-band-inner { max-width:var(--wrap); margin:0 auto; }

/* single posts, archives and search: aligned content column plus sidebar card */
body.single #page, body.archive #page, body.search #page, body.blog #page { display:grid; grid-template-columns:16px minmax(0,1fr) 16px; }
body.single #page > *, body.archive #page > *, body.search #page > *, body.blog #page > * { grid-column:1 / -1; }
body.single #primary, body.archive #primary, body.search #primary, body.blog #primary { grid-column:2; max-width:760px; width:100%; margin:0; padding:30px 0 20px; justify-self:start; }
body.single #secondary, body.archive #secondary, body.search #secondary, body.blog #secondary { grid-column:2; width:100%; box-sizing:border-box; margin:0 0 40px; background:#fff; border:2px solid var(--ink); box-shadow:none; padding:20px; }
@media (min-width:1040px) {
  body.single #page, body.archive #page, body.search #page, body.blog #page { grid-template-columns:minmax(32px,1fr) minmax(0,calc(var(--wrap) - 64px - 360px)) 40px 320px minmax(32px,1fr); }
  body.single #primary, body.archive #primary, body.search #primary, body.blog #primary { grid-column:2; max-width:none; }
  body.single #secondary, body.archive #secondary, body.search #secondary, body.blog #secondary { grid-column:4; grid-row:3; align-self:start; margin-top:30px; }
  body.single #primary, body.archive #primary, body.search #primary, body.blog #primary { grid-row:3; }
}
body.single .site-main { padding:30px 0 20px; max-width:none; margin:0 !important; }
body.single article img.wp-post-image, body.single .post-thumbnail img { width:100%; height:auto; display:block; }
body.single .entry-title { font-size:34px; line-height:1.12; margin:0 0 10px; }
body.single .entry-header { display:block; }
body.single .entry-meta, body.single .entry-footer { color:var(--mut); font-size:13px; }
body.single .entry-content p { max-width:70ch; }
body.single .entry-content iframe { max-width:100%; }
body.single .widget-title, body.single #secondary h2 { font-size:20px; border:0; padding:0; margin:0 0 10px; }
@media (min-width:768px) { body.single .entry-title { font-size:42px; } }
body.single .post-navigation .nav-links, body.single .nav-links { margin:20px 0; display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.ci-block-dark .ci-carousel *::-webkit-scrollbar { display:none; }
.ci-block-dark .ci-carousel * { scrollbar-width:none; }
.ci-block-dark .ci-nav { background:var(--ink) !important; color:var(--amber) !important; border:2px solid var(--amber) !important; opacity:1 !important; }
.ci-block-dark .ci-nav:disabled { opacity:.5 !important; }
body.single #page > header, body.archive #page > header, body.search #page > header, body.blog #page > header { grid-row:1; }
body.single #primary, body.archive #primary, body.search #primary, body.blog #primary { grid-row:2 !important; }
body.single #secondary, body.archive #secondary, body.search #secondary, body.blog #secondary { grid-row:3; }
body.single #page > footer, body.archive #page > footer, body.search #page > footer, body.blog #page > footer { grid-row:4; }
@media (min-width:1040px) { body.single #secondary, body.archive #secondary, body.search #secondary, body.blog #secondary { grid-row:2 !important; } }
@media (max-width:640px) { .ci-block-dark .ci-carousel .wp-block-post-template > li, .ci-pagebody .ci-carousel .wp-block-post-template > li { flex:0 0 100% !important; min-width:100% !important; width:100% !important; box-sizing:border-box; } }

/* contact page */
.ci-contact { display:grid; grid-template-columns:1fr; gap:32px; margin:10px 0 40px; }
@media (min-width:900px) { .ci-contact { grid-template-columns:minmax(0,5fr) minmax(0,6fr); gap:56px; } }
.ci-contact h2 { font-size:22px; margin:28px 0 10px; border:0; padding:0; }
.ci-contact ul { padding-left:20px; }
.ci-lead { font-size:19px; line-height:1.55; }
.ci-contact-form { background:#fff; border:2px solid var(--ink); padding:22px; }
.ci-contact-form p { margin:0 0 16px; }
.ci-contact-form label { display:block; font-weight:700; font-size:14px; margin-bottom:6px; }
.ci-contact-form input[type=text], .ci-contact-form input[type=email], .ci-contact-form select, .ci-contact-form textarea { width:100%; box-sizing:border-box; border:2px solid var(--ink); border-radius:0; background:var(--paper); padding:10px 12px; font:inherit; min-height:44px; }
.ci-contact-form input:focus, .ci-contact-form select:focus, .ci-contact-form textarea:focus { outline:3px solid var(--amber); outline-offset:1px; }
.ci-contact-form button.ci-btn { cursor:pointer; min-height:46px; padding:0 26px; }
.ci-hp { position:absolute !important; left:-9999px !important; width:1px; height:1px; overflow:hidden; }
.ci-note { padding:12px 14px; font-weight:700; border-left:6px solid var(--teal); background:#e8f1f0; }
.ci-note-err { border-left-color:var(--brick); background:#f8e6e1; }
.ci-act-links { margin-top:0 !important; }
.ci-contact-form input[type=text], .ci-contact-form input[type=email], .ci-contact-form select, .ci-contact-form textarea { color:var(--ink); }
