/*
 * Market Mood Lab — Site Theme CSS
 * Replaces smooth.css. Do NOT load both simultaneously.
 * Hatena admin: set theme CSS URL to the CDN path of this file.
 */

/* ─── Design Tokens ─── */
:root {
  /* Brand colours */
  --mml-color-ink:        #14213d;
  --mml-color-ink-2:      #44618e;
  --mml-color-text:       #33415c;
  --mml-color-text-mute:  #64748b;
  --mml-color-text-faint: #94a3b8;

  /* Backgrounds */
  --mml-color-bg:         #ffffff;
  --mml-color-bg-tint:    #f7faff;
  --mml-color-bg-tint-2:  #eef4ff;

  /* Rules */
  --mml-color-rule:       #d9e2f2;
  --mml-color-rule-soft:  #eef2f9;

  /* 5-band score colours */
  --mml-band-1: #93c5fd; /* Capitulation */
  --mml-band-2: #cfe0fb;
  --mml-band-3: #e2e8f0; /* Neutral */
  --mml-band-4: #fcd9a3;
  --mml-band-5: #fca5a5; /* Exuberance */

  /* 5-band gradient (used in both header strip and module separators) */
  --mml-band-gradient: linear-gradient(
    to right,
    #2563eb 0%,
    #60a5fa 25%,
    #cbd5e1 50%,
    #f59e0b 75%,
    #ef4444 100%
  );

  /* Radii */
  --mml-radius-sm:   8px;
  --mml-radius-md:   14px;
  --mml-radius-lg:   18px;
  --mml-radius-pill: 999px;

  /* Fonts */
  --mml-font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans",
                   "Yu Gothic Medium", メイリオ, sans-serif;
  --mml-font-mono: "SF Mono", "Consolas", monospace;

  /* Layout */
  --mml-max-width:    1240px;
  --mml-sidebar-w:    300px;
  --mml-gap:          40px;
  --mml-entry-pad-x:  32px; /* horizontal padding inside .entry-content */
}

/* ─── Reset ─── */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  min-height: 100%;
  -webkit-text-size-adjust: 100%;
  background: var(--mml-color-bg-tint-2);
}

body {
  margin: 0;
  font-family: var(--mml-font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--mml-color-text);
  background: var(--mml-color-bg);
  min-height: 100vh;
}

img, video { max-width: 100%; height: auto; }

a {
  color: var(--mml-color-ink);
  text-decoration: none;
}
a:hover { opacity: .82; text-decoration: none; }

/* ─── Layout ─── */
#container,
#container-inner {
  max-width: none;
  margin: 0;
  min-height: 100vh;
}

#container-inner {
  display: flex;
  flex-direction: column;
}

#blog-title-inner,
#content-inner,
.breadcrumb-inner {
  width: 100%;
  max-width: var(--mml-max-width);
  margin-left: auto;
  margin-right: auto;
}

#top-box {
  width: 100%;
  padding: 0 20px;
  margin: 0;
  min-height: 0;
}

#content {
  width: 100%;
  flex: 1 0 auto;
  background: var(--mml-color-bg);
  margin-top: 0;
  padding-top: 0;
}

#bottom-editarea {
  flex-shrink: 0;
  background: linear-gradient(180deg,
    var(--mml-color-bg-tint)   0%,
    var(--mml-color-bg-tint-2) 100%);
}

/* Override smooth.css 1200px breakpoint → 1240px */
@media (min-width: 1240px) {
  #content-inner { width: var(--mml-max-width); }
}

/* Content layout — flex container for #wrapper (main) and #box2 (sidebar).
 * Note: smooth.css used to set `display: flex` on #content-inner, but since we
 * replaced smooth.css entirely we must declare it ourselves. */
#content-inner {
  display: flex;
  flex-direction: column; /* mobile-first; rows kick in at ≥768px */
  padding-top:    0;
  padding-bottom: 60px;
  margin-top: 0;
}

#wrapper,
#main,
#main-inner {
  margin-top: 0;
  padding-top: 0;
}

@media (min-width: 768px) {
  #content-inner {
    flex-direction: row;
    align-items: flex-start;
  }
}

/* Override smooth.css 75/25 split → fixed sidebar */
@media (min-width: 768px) {
  #content-inner {
    /* Use long-hand so we don't reset padding-top/bottom set above */
    padding-left:  20px;
    padding-right: 20px;
    gap: 28px;
  }
  #wrapper { flex: 1 1 auto; max-width: none; }
  #box2    { flex: 0 0 260px; max-width: 260px; }
}

@media (min-width: 1020px) {
  #content-inner { gap: var(--mml-gap); }
  #box2          { flex: 0 0 var(--mml-sidebar-w); max-width: var(--mml-sidebar-w); }
}

/* Hide box1 (empty in current theme) */
#box1 { display: none; }

/* Sticky sidebar */
#box2-inner {
  position: sticky;
  top: 20px;
}

/* ─── Header ─── */
#blog-title {
  position: relative;         /* needed for ::before strip */
  background: linear-gradient(180deg,
    var(--mml-color-bg-tint-2) 0%,
    var(--mml-color-bg-tint)  100%);
  border-bottom: 1px solid var(--mml-color-rule);
  padding: 42px 20px 30px;   /* extra top for the strip */
  text-align: center;
  max-width: none;            /* override smooth.css 1280px */
  margin: 0;                  /* override smooth.css auto margin */
}

/* Logo image before the site name
 * Note: Hatena emits `<h1 id="title">`, so #title IS the h1 (no descendant). */
#title a::before {
  content: "";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--mml-radius-sm);
  background: #fff url("https://re.colorxone.com/icons/market-mood-lab-icon192.png") center / 88% auto no-repeat;
  box-shadow: 0 0 0 1px rgba(20, 33, 61, .08);
  margin-right: 12px;
  vertical-align: middle;
  flex-shrink: 0;
}

#title {
  display: inline-flex;
  align-items: center;
  margin: 0;
  font-family: var(--mml-font-body);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -.015em;
  color: var(--mml-color-ink);
}

#title a {
  display: inline-flex;
  align-items: center;
  color: var(--mml-color-ink);
}

/* Hatena emits #blog-description as <h2>; reset the heading defaults */
#blog-description {
  margin: 8px 0 0;
  padding: 0;
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--mml-color-ink-2);
}

/* Hide smooth.css globalheader sticky if it conflicts */
#globalheader-container { position: static; }

/* 5-band strip at the very top of the header */
#blog-title::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 10px;
  background: var(--mml-band-gradient);
}

/* ─── Article Entry ─── */

/* Remove the blog-card box from smooth.css */
.entry {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  margin-bottom: 48px;
}

/* Override smooth.css tablet padding */
@media (min-width: 768px) {
  .entry { padding: 0; }
}

.entry-inner  { padding: 0; }

.entry-header {
  margin-bottom: 24px;
}

.entry-header::before {
  content: "";
  display: block;
  height: 2px;
  background: var(--mml-band-gradient);
  margin: 12px 0 24px;
}

.entry-header-menu {
  margin: 0 0 16px;
  text-align: right;
  font-size: 14px;
}

.entry-header-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 14px;
  border: 1px solid #bfd0ea;
  border-radius: var(--mml-radius-pill);
  background: #ffffff;
  color: var(--mml-color-ink);
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(20, 33, 61, .08);
}

.entry-header-menu a:hover {
  opacity: 1;
  background: var(--mml-color-bg-tint);
}

/* Article title — override smooth.css serif */
.entry-title {
  margin: 0 0 10px;
  font-family: var(--mml-font-body);
  font-size: 25px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -.005em;
  color: var(--mml-color-ink);
}

.entry-title a,
.entry-title a:hover {
  color: var(--mml-color-ink);
  text-decoration: none;
  opacity: 1;
}

/* Hide Hatena date byline; the entry header strip provides the visual start. */
.entry-header .date.entry-date {
  display: none;
}

/* Byline: retained for non-header date elements if Hatena emits them elsewhere. */
.date.entry-date {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--mml-color-rule-soft);
  font-family: var(--mml-font-mono);
  font-size: 13px;
  color: var(--mml-color-text-faint);
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}

.date.entry-date::before {
  content: "halpicon";
  font-family: var(--mml-font-body);
  font-weight: 700;
  font-size: 13px;
  color: var(--mml-color-ink);
  font-feature-settings: normal;
  font-variant-numeric: normal;
}

.date.entry-date .entry-date-time {
  /* Date link text */
  color: var(--mml-color-text-faint);
}

/* Article body padding — also used as bleed reference */
.entry-content {
  line-height: 1.8;
  font-size: 17px;
  padding-left: var(--mml-entry-pad-x);
  padding-right: var(--mml-entry-pad-x);
}

/* Override smooth.css green link colour inside articles */
.entry-content a          { color: var(--mml-color-ink-2); }
.entry-content a:hover    { color: var(--mml-color-ink); }

/* Don't override colors inside the dashboard — let market-mood-lab.css decide */
.entry-content .mml-dashboard a,
.entry-content .mml-dashboard a:hover { color: inherit; }

/* Override smooth.css serif headings inside articles
 * (direct-child selectors only — do NOT cascade into .mml-dashboard internals) */
.entry-content > h1,
.entry-content > h2,
.entry-content > h3,
.entry-content > h4,
.entry-content > h5,
.entry-content > h6 {
  font-family: var(--mml-font-body);
  font-weight: 700;
  color: var(--mml-color-ink);
  letter-spacing: -.005em;
}

.entry-content > h2 {
  position: relative;
  font-size: 24px;
  line-height: 1.45;
  border-bottom: none;
  padding-bottom: 12px;
  margin: 38px 0 18px;
}

.entry-content > h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--mml-band-gradient);
}

.entry-content > h3 {
  font-size: 21px;
  line-height: 1.5;
  border-bottom: none;
  border-left: 4px solid var(--mml-color-ink-2);
  padding-left: 12px;
  margin: 30px 0 14px;
}

.entry-content > h4 {
  font-size: 18px;
  line-height: 1.55;
  color: var(--mml-color-text);
  border-left: 3px solid var(--mml-color-rule);
  padding-left: 12px;
  margin: 24px 0 10px;
}

/* Article tables */
.entry-content > table {
  width: fit-content;
  min-width: min(100%, 520px);
  max-width: 100%;
  margin: 24px 0 30px;
  border: 1px solid var(--mml-color-rule);
  border-radius: var(--mml-radius-md);
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  background: #ffffff;
  font-size: 15.5px;
  line-height: 1.6;
}

.entry-content > table th,
.entry-content > table td {
  padding: 12px 16px;
  border-right: 1px solid var(--mml-color-rule-soft);
  border-bottom: 1px solid var(--mml-color-rule-soft);
  text-align: left;
  vertical-align: top;
}

.entry-content > table th:last-child,
.entry-content > table td:last-child {
  border-right: none;
}

.entry-content > table tr:last-child td {
  border-bottom: none;
}

.entry-content > table thead th {
  background: var(--mml-color-bg-tint);
  color: var(--mml-color-ink);
  font-weight: 700;
  white-space: nowrap;
}

.entry-content > table tbody tr:nth-child(even) {
  background: #fbfdff;
}

.entry-content > table tbody th,
.entry-content > table tbody td:first-child {
  color: var(--mml-color-ink);
  font-weight: 700;
  white-space: nowrap;
}

.entry-content > table caption {
  margin-bottom: 8px;
  color: var(--mml-color-text-mute);
  font-size: 14px;
  text-align: left;
}

@media (max-width: 640px) {
  .entry-content > table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

/* ─── Score Card Full-Bleed ─── */
.entry-content .mml-dashboard {
  margin-left:  calc(-1 * var(--mml-entry-pad-x));
  margin-right: calc(-1 * var(--mml-entry-pad-x));
}

/* Ensure the p wrapper around the dashboard has no extra margins */
.entry-content > p:has(> .mml-dashboard) {
  margin: 0;
  padding: 0;
}

/* ─── Breadcrumb ─── */
.breadcrumb {
  font-size: 14px;
  line-height: 1.35;
  color: var(--mml-color-text-mute);
  padding: 16px 0 8px;
  margin: 0;
}

#top-box .breadcrumb {
  padding: 16px 0 8px;
  margin: 0;
}

#top-box .breadcrumb-inner {
  line-height: 1.35;
  padding: 0 20px;
}

.breadcrumb a,
.breadcrumb .breadcrumb-link { color: var(--mml-color-ink-2); }

.breadcrumb .breadcrumb-child { color: var(--mml-color-text-faint); }

/* ─── Entry Footer (SNS, Star, Tags) ─── */
.entry-footer-section {
  margin-top: 14px;
  padding-top: 0;
  border-top: none;
  font-size: 14px;
  color: var(--mml-color-text-mute);
}

/* Social share buttons */
.social-buttons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.social-button-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Hatena Bookmark button override */
.hatena-bookmark-button .hatena-bookmark-button-frame {
  border-radius: var(--mml-radius-pill);
  overflow: hidden;
}

/* Hatena Star */
.hatena-star-container {
  margin-top: 10px;
}

/* Entry tags */
.entry-tags {
  margin-top: 12px;
  font-size: 13px;
}

.entry-tags a {
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid var(--mml-color-rule);
  border-radius: var(--mml-radius-pill);
  color: var(--mml-color-ink-2);
  font-size: 12px;
  margin: 0 4px 4px 0;
}

.entry-tags a:hover {
  background: var(--mml-color-bg-tint);
  opacity: 1;
}

/* Comment box */
.comment-box {
  margin-top: 30px;
  padding-top: 0;
  border-top: none;
}

/* Override smooth.css green comment link colour */
.comment-box a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 16px;
  border: 1px solid #c7d3e6;
  border-radius: var(--mml-radius-pill);
  background: #ffffff;
  color: var(--mml-color-text-mute);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.comment-box a:hover {
  opacity: 1;
  background: var(--mml-color-bg-tint);
}

/* ─── Sidebar ─── */

/* Box2 background reset */
#box2 {
  background: transparent;
  padding: 0;
  font-size: 16px;
  line-height: 1.65;
}

/* Shared module base */
.hatena-module {
  position: relative;
  margin-bottom: 28px;
  padding-top: 12px;
}

/* 5-band strip — 2px across each module top */
.hatena-module::before {
  content: "";
  display: block;
  height: 2px;
  background: var(--mml-band-gradient);
  margin-bottom: 10px;
}

/* Module title label */
.hatena-module-title {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mml-color-ink-2);
  margin: 0 0 12px;
  padding: 0;
  border: none;
  background: none;
  line-height: 1;
}

.hatena-module-title a {
  color: var(--mml-color-ink-2);
}

/* Subscribe button */
.hatena-module-profile .hatena-follow-button-box {
  box-shadow: none !important;
  text-shadow: none !important;
  overflow: visible !important;
  line-height: 1;
}

.hatena-module-profile .hatena-follow-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  float: none !important;
  height: auto !important;
  min-width: 112px;
  min-height: 34px;
  padding: 7px 16px;
  border-radius: var(--mml-radius-pill);
  background: #ffffff !important;
  color: var(--mml-color-text-mute) !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1 !important;
  border: 1px solid #c7d3e6;
  box-shadow: none !important;
  box-sizing: border-box;
  overflow: visible !important;
}

.hatena-module-profile .hatena-follow-button span {
  position: static !important;
  display: inline !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: inherit !important;
  text-indent: 0 !important;
  line-height: inherit !important;
  opacity: 1 !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

.hatena-module-profile .hatena-follow-button .background,
.hatena-module-profile .hatena-follow-button .subscribing {
  display: none !important;
}

.hatena-module-profile .hatena-follow-button:hover {
  opacity: 1;
  background: var(--mml-color-bg-tint) !important;
}

.hatena-module-profile .profile-about {
  display: none;
}

.hatena-module-profile .profile-about a {
  color: var(--mml-color-ink-2);
}

/* Hide built-in profile icon/name (replaced by HTML module above) */
.hatena-module-profile .profile-icon-link,
.hatena-module-profile .profile-id,
.hatena-module-profile .profile-description { display: none; }

/* Recent entries list */
.hatena-module-recent-entries .recent-entries {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hatena-module-recent-entries .recent-entries-item {
  padding: 9px 0;
  border-bottom: 1px solid var(--mml-color-rule-soft);
  font-size: 15px;
  line-height: 1.55;
  color: var(--mml-color-text);
}

.hatena-module-recent-entries .recent-entries-item:last-child {
  border-bottom: none;
}

.hatena-module-recent-entries .recent-entries-title-link {
  color: var(--mml-color-text);
  display: block;
}

/* Archive list */
.hatena-module-archive .hatena-urllist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hatena-module-archive .hatena-urllist li {
  padding: 8px 0;
  border-bottom: 1px solid var(--mml-color-rule-soft);
  font-size: 15px;
}

.hatena-module-archive .hatena-urllist li:last-child {
  border-bottom: none;
}

/* Author module: Hatena module title is hidden — HTML snippet provides its own "Author" label */
.mml-module-author .hatena-module-title { display: none; }

/* Search form */
.hatena-module-search-box .search-form {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--mml-color-rule);
  border-radius: 14px;
  background: var(--mml-color-bg-tint);
  overflow: visible;
  padding: 4px;
  margin: 0;
}

.hatena-module-search-box .search-module-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font-size: 15px;
  color: var(--mml-color-text);
  height: 38px;
  padding: 0 8px;
  outline: none;
}

.hatena-module-search-box .search-module-button {
  appearance: none;
  background: #ffffff;
  border: 1px solid #c7d3e6;
  border-radius: 12px;
  color: var(--mml-color-text-mute);
  cursor: pointer;
  flex: 0 0 auto;
  min-width: 50px;
  width: auto;
  height: 30px;
  padding: 0 11px;
  font-size: 13px;
  font-weight: 700;
  line-height: 28px;
  opacity: 1;
  box-shadow: none;
}

.hatena-module-search-box .search-module-button:hover {
  background: var(--mml-color-bg);
}

/* ─── Author Card (mml-module-author) ─── */
.mml-author-card { }

.mml-author-label {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mml-color-ink-2);
  margin: 0 0 12px;
}

.mml-author-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.mml-author-avatar-link { flex-shrink: 0; }

.mml-author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: block;
  object-fit: cover;
  border: 2px solid var(--mml-color-rule);
}

.mml-author-name {
  margin: 0 0 2px;
  font-size: 17px;
  font-weight: 700;
  color: var(--mml-color-ink);
}

.mml-author-handle {
  margin: 0 0 3px;
  font-size: 14px;
  color: var(--mml-color-ink-2);
  font-family: var(--mml-font-mono);
}

.mml-author-role {
  margin: 0;
  font-size: 14px;
  color: var(--mml-color-ink-2);
  font-weight: 600;
}

.mml-author-bio {
  font-size: 15px;
  line-height: 1.65;
  color: var(--mml-color-text);
  margin: 0 0 10px;
}

.mml-author-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--mml-color-ink);
}

.mml-author-link:hover { opacity: .8; }

/* ─── Site Footer ─── */
.mml-site-footer {
  background: linear-gradient(180deg,
    var(--mml-color-bg-tint)   0%,
    var(--mml-color-bg-tint-2) 100%);
  border-top: 1px solid var(--mml-color-rule);
  padding: 32px 20px 28px;
  text-align: center;
  margin-top: 0;
}

.mml-site-footer > * {
  max-width: var(--mml-max-width);
  margin-left: auto;
  margin-right: auto;
}

.mml-site-footer-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--mml-color-rule);
  margin-bottom: 16px;
}

.mml-site-footer-nav a {
  font-size: 15px;
  color: var(--mml-color-ink-2);
  font-weight: 500;
}

.mml-site-footer-nav a:hover { color: var(--mml-color-ink); opacity: 1; }

.mml-site-footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
}

.mml-site-footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: #fff url("https://re.colorxone.com/icons/market-mood-lab-icon192.png") center / 88% auto no-repeat;
  color: transparent;
  font-size: 0;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 0 0 1px rgba(20, 33, 61, .08);
}

.mml-site-footer-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--mml-color-ink);
}

.mml-site-footer-copy {
  font-family: var(--mml-font-mono);
  font-size: 14px;
  color: var(--mml-color-text-faint);
  font-feature-settings: "tnum";
}

.mml-site-footer-disclaim {
  margin: 0 auto;
  max-width: 1000px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--mml-color-text-faint);
  white-space: nowrap;
}

/* ─── Responsive ─── */

/* ── Mobile (≤640px) ── */
@media (max-width: 640px) {
  :root { --mml-entry-pad-x: 16px; }

  #blog-title { padding: 36px 16px 24px; }

  #title { font-size: 24px; }

  #title a::before {
    width: 32px;
    height: 32px;
  }

  #content-inner {
    padding: 16px 12px 40px;
    flex-direction: column; /* ensure stacking */
  }

  /* Sidebar goes below main on mobile */
  #box2 {
    flex: 0 0 auto;
    max-width: none;
    width: 100%;
    padding-top: 12px;
    border-top: 1px solid var(--mml-color-rule);
  }

  #box2-inner { position: static; }

  .entry { margin-bottom: 32px; }

  .entry-title { font-size: 23px; }

  .mml-site-footer { padding: 24px 16px 20px; }

  .mml-site-footer-nav { gap: 16px; }

  .mml-site-footer-disclaim {
    white-space: normal;
  }
}

/* ── Tablet (641px–1019px) ── */
@media (min-width: 641px) and (max-width: 1019px) {
  #content-inner { padding: 20px 20px 48px; }

  .entry-title { font-size: 24px; }
}
