/*
Theme Name: sushi-near-you
Template: chic-lite

*/



:root {
  --ks-ink: #1B2430;
  --ks-paper: #F7F5EE;
  --ks-surface: #EEEBE1;
  --ks-border: #DCD7C9;
  --ks-muted: #5A6472;
  --ks-indigo: #2E4A7D;
  --ks-coral: #D9564A;
  --ks-yuzu: #D9B441;
  --ks-yuzu-wash: rgba(217, 180, 65, 0.22);
 
  --ks-text: 18px;
  /* Fine print: never below 14px, never below 0.8x body text */
  --ks-text-small: max(14px, calc(var(--ks-text) * 0.8));
  --ks-lede-text: 21px;
  --ks-leading: 1.75;
}
 
/* ------------------------------------------------------------------
   Base
------------------------------------------------------------------ */
 
body {
  background-color: var(--ks-paper);
  color: var(--ks-ink);
}
 
.entry-content p,
.entry-content li,
.entry-content td,
.entry-content th {
  font-size: var(--ks-text);
  line-height: var(--ks-leading);
}
 
.entry-content h2,
.entry-content h3 {
  font-family: var(--secondary-font);
  color: var(--ks-ink);
}
 
.entry-content h2 {
  font-size: 34px;
  line-height: 1.2;
  margin-top: 56px;
  margin-bottom: 20px;
}
 
.entry-content h3 {
  font-size: 23px;
  line-height: 1.3;
  margin-top: 32px;
  margin-bottom: 12px;
}
 
.entry-content a {
  color: var(--ks-indigo);
  text-decoration: underline;
  text-decoration-color: var(--ks-coral);
  text-underline-offset: 3px;
}
 
.entry-content a:hover {
  color: var(--ks-coral);
}
 
/* ------------------------------------------------------------------
   Signature device 1: numbered sections
   Each H2 is preceded by its own running number, set in the serif
   face. Uses a CSS counter, so nothing has to be typed by hand.
------------------------------------------------------------------ */
 
.entry-content {
  counter-reset: ks-section;
}
 
.entry-content h2::before {
  counter-increment: ks-section;
  content: counter(ks-section, decimal-leading-zero);
  display: block;
  font-family: var(--secondary-font);
  font-size: 15px;
  letter-spacing: 0.22em;
  color: var(--ks-coral);
  margin-bottom: 6px;
}
 
/* ------------------------------------------------------------------
   Signature device 2: seigaiha wave rule
   The default <hr> becomes a band of overlapping arcs, the classic
   Japanese wave pattern, drawn inline as SVG.
------------------------------------------------------------------ */
 
.entry-content .wp-block-separator {
  border: none;
  height: 22px;
  width: 100%;
  max-width: 460px;
  margin: 56px auto;
  opacity: 0.85;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='44' height='22' viewBox='0 0 44 22'><g fill='none' stroke='%232E4A7D' stroke-width='1.4'><path d='M-22 22a22 22 0 0 1 44 0'/><path d='M22 22a22 22 0 0 1 44 0'/><path d='M0 22a22 22 0 0 1 44 0'/><path d='M7 22a15 15 0 0 1 30 0'/><path d='M14 22a8 8 0 0 1 16 0'/></g></svg>");
  background-repeat: repeat-x;
  background-position: center bottom;
}
 
/* ------------------------------------------------------------------
   Signature device 3: yuzu wash on key figures
   Prices, timings and counts already present in the copy get a soft
   citrus highlight rather than an underline.
------------------------------------------------------------------ */
 
mark.ks-figure {
  background: linear-gradient(180deg, transparent 55%, var(--ks-yuzu-wash) 55%);
  color: inherit;
  font-weight: 600;
  padding: 0 2px;
}
 
/* ------------------------------------------------------------------
   Lede
------------------------------------------------------------------ */
 
.ks-lede p {
  font-size: var(--ks-lede-text);
  line-height: 1.6;
  color: var(--ks-ink);
}
 
/* ------------------------------------------------------------------
   Note callout (the single-cell boxes from the source documents)
   Open on the sides, ruled top and bottom, label set in the serif.
------------------------------------------------------------------ */
 
.ks-note {
  border-top: 2px solid var(--ks-indigo);
  border-bottom: 1px solid var(--ks-border);
  padding: 22px 0 20px;
  margin: 48px 0;
}
 
.ks-note-title {
  display: block;
  font-family: var(--secondary-font);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.04em;
  color: var(--ks-indigo);
  margin-bottom: 10px;
}
 
.ks-note p {
  margin-bottom: 0;
}
 
/* ------------------------------------------------------------------
   Pull quote
   Overrides the parent theme's left-border treatment.
------------------------------------------------------------------ */
 
.entry-content .wp-block-quote {
  position: relative;
  border: none;
  border-top: 1px solid var(--ks-border);
  border-bottom: 1px solid var(--ks-border);
  padding: 28px 0 24px 56px;
  margin: 44px 0;
}
 
.entry-content .wp-block-quote::before {
  content: "\201C";
  position: absolute;
  left: 0;
  top: 6px;
  font-family: var(--secondary-font);
  font-size: 76px;
  line-height: 1;
  color: var(--ks-coral);
}
 
.entry-content .wp-block-quote p {
  font-family: var(--secondary-font);
  font-size: 23px;
  line-height: 1.55;
  color: var(--ks-ink);
  margin-bottom: 0;
}
 
.entry-content .wp-block-quote cite {
  display: block;
  margin-top: 14px;
  font-size: var(--ks-text-small);
  font-style: normal;
  color: var(--ks-muted);
}
 
/* ------------------------------------------------------------------
   Keep Reading block
------------------------------------------------------------------ */
 
.ks-keepreading {
  border-top: 2px solid var(--ks-coral);
  padding-top: 18px;
  margin: 40px 0;
}
 
.ks-keepreading ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
 
.ks-keepreading li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
}
 
.ks-keepreading li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 14px;
  height: 2px;
  background: var(--ks-indigo);
}
 
/* ------------------------------------------------------------------
   Tip cards (format / bias grids)
------------------------------------------------------------------ */
 
.ks-tip-card {
  background: var(--ks-surface);
  border-bottom: 3px solid var(--ks-indigo);
  padding: 18px 20px;
}
 
.ks-tip-card p {
  margin-bottom: 0;
}
 
/* ------------------------------------------------------------------
   Fine print
------------------------------------------------------------------ */
 
.ks-disclaimer {
  border-top: 1px solid var(--ks-border);
  padding-top: 18px;
  margin-top: 44px;
}
 
.ks-disclaimer p {
  font-size: var(--ks-text-small);
  line-height: 1.6;
  color: var(--ks-muted);
  margin-bottom: 0;
}
 
/* ------------------------------------------------------------------
   Tables
   The parent theme tints odd rows and rules the header with a light
   grey line. We keep its striping rhythm and restate the properties
   that decide legibility.
------------------------------------------------------------------ */
 
.entry-content .wp-block-table table {
  border-collapse: collapse;
  width: 100%;
}
 
.entry-content .wp-block-table thead tr,
.entry-content .wp-block-table th {
  background: var(--ks-surface) !important;
}
 
.entry-content .wp-block-table th {
  font-family: var(--secondary-font);
  font-size: var(--ks-text-small) !important;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ks-indigo) !important;
  border-bottom: 2px solid var(--ks-indigo) !important;
  padding: 14px 16px;
}
 
.entry-content .wp-block-table td {
  color: var(--ks-ink);
  border-bottom: 1px solid var(--ks-border);
  padding: 12px 16px;
}
 
.entry-content .wp-block-table tbody tr:nth-child(odd) {
  background: rgba(46, 74, 125, 0.04);
}
 
/* ------------------------------------------------------------------
   Images
   Square corners only. The parent theme ships an "is-style-rounded"
   image style that crops to a circle; it must not be applied here.
------------------------------------------------------------------ */
 
.ks-hero-image img,
.ks-side-image img,
.ks-wide-image img {
  border-radius: 0;
  box-shadow: 0 16px 34px rgba(27, 36, 48, 0.14);
}
 
.ks-side-image {
  margin-bottom: 0;
}
 

/* ------------------------------------------------------------------
   Content list markers
   Replace the default disc with a small coral square that echoes the
   site mark. Keep Reading keeps its own indigo dash (restated below).
------------------------------------------------------------------ */

.entry-content ul.wp-block-list {
	list-style: none;
	margin-left: 0;
	padding-left: 2px;
}

.entry-content ul.wp-block-list > li {
	position: relative;
	padding-left: 30px;
	margin-bottom: 13px;
}

.entry-content ul.wp-block-list > li::before {
	content: "";
	position: absolute;
	left: 3px;
	top: 0.62em;
	width: 8px;
	height: 8px;
	background: var(--ks-coral);
}

/* Keep Reading: restore the indigo dash and override the square above */
.entry-content .ks-keepreading ul.wp-block-list > li {
	padding-left: 26px;
	margin-bottom: 10px;
}

.entry-content .ks-keepreading ul.wp-block-list > li::before {
	left: 0;
	top: 0.82em;
	width: 14px;
	height: 2px;
	background: var(--ks-indigo);
}


.entry-content ul.wp-block-list > li > strong:first-child {
	color: var(--ks-indigo);
}

