/* Tottibone — site styles v2 (mobile-first, RTL/LTR via logical properties) */
:root {
  --red: #e30613;
  --red-dark: #b80510;
  --red-deep: #9e0410;
  --yellow: #ffd100;
  --yellow-soft: #ffe566;
  --pink: #ff2d7a;
  --pink-soft: #ffd1e1;
  --green: #2db84b;
  --green-dark: #1f8f38;
  --cream: #fff8ee;
  --ink: #2a1a12;
  --muted: #5f4a3d;
  --white: #ffffff;
  --line: rgba(42, 26, 18, 0.08);
  --shadow: 0 10px 30px rgba(158, 4, 16, 0.10);
  --shadow-lg: 0 18px 50px rgba(158, 4, 16, 0.16);
  --radius: 20px;
  --radius-sm: 14px;
  --max: 1160px;
  --font: "Cairo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Baloo Bhaijaan 2", "Cairo", sans-serif;
  --accent: var(--red);
  --accent-2: var(--yellow);
  --accent-soft: #fff1c2;
}

.theme-strawberry { --accent: #e0115f; --accent-2: var(--pink); --accent-soft: #ffe3ee; }
.theme-pineapple  { --accent: var(--green-dark); --accent-2: var(--yellow); --accent-soft: #fff4b8; }
.theme-mix        { --accent: var(--red); --accent-2: var(--yellow); --accent-soft: #fff1c2; }
.theme-sugar      { --accent: var(--red); --accent-2: var(--yellow); --accent-soft: #fff6d6; }
.theme-coffee     { --accent: #6b3a17; --accent-2: #c9a24a; --accent-soft: #f6eadb; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.75;
  overflow-x: hidden;
}
[dir="ltr"] body { line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); }
h1, h2, h3 { line-height: 1.25; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 8px; }

.container { width: min(100% - 2.25rem, var(--max)); margin-inline: auto; }
.center { text-align: center; }
.tiny { font-size: 0.88rem; opacity: 0.9; }

.skip-link {
  position: absolute; inset-inline-start: 1rem; top: -100px; z-index: 100;
  background: var(--ink); color: #fff; padding: .5rem 1rem; border-radius: 10px;
}
.skip-link:focus { top: 1rem; color: #fff; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 252, 246, 0.94);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .5rem 0; flex-wrap: wrap; }
.logo { display: block; line-height: 0; }
.logo img { height: 48px; width: auto; }

.menu-toggle {
  display: inline-flex; align-items: center; gap: .5rem;
  border: 0; background: var(--yellow); color: var(--ink);
  font: 800 .95rem var(--font); border-radius: 12px; padding: .55rem .85rem; cursor: pointer;
}
.burger, .burger::before, .burger::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; }
.burger::before, .burger::after { content: ""; position: absolute; inset-inline-start: 0; }
.burger::before { top: -6px; } .burger::after { top: 6px; }

.nav { display: none; width: 100%; flex-direction: column; gap: .15rem; padding: .25rem 0 .75rem; }
.nav.open { display: flex; }
.nav a { color: var(--ink); font-weight: 700; padding: .7rem .8rem; border-radius: 12px; }
.nav a:hover { background: rgba(255, 209, 0, .35); color: var(--red-dark); }
.lang-switch { border: 2px solid var(--yellow); background: #fff; text-align: center; margin-top: .25rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.35rem;
  font: 800 1rem var(--font); border: 0; border-radius: 999px; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
  text-align: center; line-height: 1.3;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--red), var(--pink)); color: #fff; box-shadow: 0 10px 22px rgba(227, 6, 19, .25); }
.btn-primary:hover { color: #fff; }
.btn-secondary { background: var(--yellow); color: var(--ink); }
.btn-secondary:hover { color: var(--ink); }
.btn-whatsapp { background: #1fae54; color: #fff; box-shadow: 0 10px 22px rgba(31, 174, 84, .25); }
.btn-whatsapp:hover { color: #fff; }
.btn-block { width: 100%; }

/* Hero */
.hero { padding: 1.75rem 0 2.5rem; background:
  radial-gradient(60rem 30rem at 85% -10%, rgba(255, 209, 0, .45), transparent 60%),
  radial-gradient(40rem 26rem at 0% 20%, rgba(255, 45, 122, .14), transparent 60%); }
.hero-grid { display: grid; gap: 1.75rem; align-items: center; }
.hero-badge {
  display: inline-block; background: var(--ink); color: var(--yellow);
  font-weight: 800; font-size: .85rem; padding: .3rem .85rem; border-radius: 999px; margin-bottom: .9rem;
}
.hero h1 { font-family: var(--display); font-weight: 800; color: var(--red); font-size: clamp(1.75rem, 6.4vw, 3.2rem); line-height: 1.2; margin: 0 0 .5rem; }
.hero .tagline { font-family: var(--display); font-weight: 700; color: #c77700; font-size: clamp(1.15rem, 4vw, 1.6rem); margin: 0 0 .75rem; }
.hero .subtitle { color: var(--muted); font-size: 1.05rem; margin: 0 0 1.4rem; max-width: 36rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.hero-actions .btn { flex: 1 1 14rem; }

.hero-visual { position: relative; padding-top: 4.5rem; }
.hero-mascot { position: absolute; top: 0; inset-inline-end: 4%; width: 34%; max-width: 170px; z-index: 3; filter: drop-shadow(0 8px 14px rgba(0,0,0,.18)); }
.pack-row { display: grid; grid-template-columns: 1fr 1.18fr 1fr; align-items: end; gap: .6rem; }
.pack { position: relative; display: block; background: #fff; border-radius: 18px; padding: .45rem; box-shadow: var(--shadow); color: var(--ink); transition: transform .2s ease; }
.pack img { border-radius: 12px; width: 100%; aspect-ratio: 2/3; object-fit: cover; }
.pack-1 { z-index: 2; box-shadow: var(--shadow-lg); }
.pack-0 { transform: rotate(3deg); } .pack-2 { transform: rotate(-3deg); }
[dir="ltr"] .pack-0 { transform: rotate(-3deg); } [dir="ltr"] .pack-2 { transform: rotate(3deg); }
.pack:hover { transform: translateY(-4px); }
.pack-name { display: block; font-weight: 800; font-size: .78rem; text-align: center; padding: .35rem .1rem .1rem; line-height: 1.3; }
.hero-note { text-align: center; color: var(--muted); font-size: .8rem; margin: .75rem 0 0; }

/* Sections */
.section { padding: 2.75rem 0; }
.section-tint { background: linear-gradient(180deg, #fff 0%, #fff4dc 100%); }
.section-head { text-align: center; margin-bottom: 1.6rem; }
.section-head h2 { font-family: var(--display); font-weight: 800; font-size: clamp(1.6rem, 5vw, 2.3rem); margin: 0 0 .4rem; color: var(--red); }
.section-head p { margin: 0 auto; max-width: 42rem; color: var(--muted); }
.section-head .lead { color: var(--ink); font-weight: 700; font-size: 1.08rem; }

.card { background: #fff; border-radius: var(--radius); padding: 1.35rem; box-shadow: var(--shadow); border: 1px solid var(--line); }
.card p { margin: 0 0 .8rem; }
.card h2 { font-family: var(--display); color: var(--accent); margin: 0 0 .6rem; font-size: 1.45rem; }
.card h3 { margin: 1rem 0 .4rem; font-size: 1.1rem; }

.about-grid { display: grid; gap: 1rem; }
.about-note { margin-top: .4rem; background: var(--accent-soft); border-inline-start: 5px solid var(--yellow); border-radius: var(--radius-sm); padding: .8rem 1rem; font-weight: 700; }
.channels { display: grid; gap: 1rem; }
.channel { border-radius: var(--radius); padding: 1.25rem 1.35rem; color: #fff; }
.channel h3 { font-family: var(--display); font-size: 1.3rem; margin: 0 0 .3rem; }
.channel p { margin: 0; opacity: .95; }
.channel-retail { background: linear-gradient(135deg, var(--red), var(--pink)); }
.channel-trade { background: linear-gradient(135deg, #5a3212, #8a5a2b); }

/* Products */
.products-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.product-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); color: var(--ink); transition: transform .18s ease, box-shadow .18s ease; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--ink); }
.product-media { background: var(--accent-soft); display: flex; align-items: center; justify-content: center; padding: 1rem; height: 260px; }
.product-media picture { height: 100%; display: block; }
.product-media img { height: 100%; width: auto; object-fit: contain; filter: drop-shadow(0 10px 16px rgba(0,0,0,.14)); border-radius: 8px; }
.product-media.media-wide { padding: 0; }
.product-media.media-wide picture { width: 100%; }
.product-media.media-wide img { width: 100%; height: 100%; object-fit: cover; filter: none; border-radius: 0; }
.product-body { padding: 1rem 1.15rem 1.2rem; display: flex; flex-direction: column; gap: .3rem; flex: 1; }
.product-body h3 { margin: 0; font-family: var(--display); font-size: 1.3rem; color: var(--accent); }
.product-body p { margin: 0; color: var(--muted); }
.tag { align-self: flex-start; font-size: .75rem; font-weight: 800; background: var(--accent-soft); color: var(--accent); padding: .1rem .6rem; border-radius: 999px; }
.more { margin-top: auto; padding-top: .4rem; font-weight: 800; color: var(--accent); }
[dir="ltr"] .arrow { display: inline-block; transform: scaleX(-1); }

/* Why */
.why-grid { display: grid; gap: .9rem; grid-template-columns: 1fr 1fr; }
.why-card { background: #fff; border-radius: var(--radius); padding: 1.1rem .9rem; box-shadow: var(--shadow); text-align: center; border-top: 5px solid var(--yellow); }
.why-card:nth-child(2) { border-top-color: var(--pink); }
.why-card:nth-child(3) { border-top-color: var(--green); }
.why-card:nth-child(4) { border-top-color: var(--red); }
.why-icon { width: 52px; height: 52px; margin: 0 auto .6rem; border-radius: 16px; display: grid; place-items: center; background: #fff1c2; color: var(--red); }
.why-icon svg { width: 28px; height: 28px; }
.why-card h3 { margin: 0 0 .3rem; font-family: var(--display); font-size: 1.05rem; }
.why-card p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.6; }

/* Contact */
.contact-wrap { display: grid; gap: 1rem; }
.contact-info { position: relative; }
.contact-mascot { width: 84px; height: 84px; position: absolute; top: -18px; inset-inline-end: 14px; }
.contact-info h3 { margin: 0 0 .5rem; font-family: var(--display); color: var(--red); font-size: 1.2rem; padding-inline-end: 90px; }
.info-list { list-style: none; padding: 0; margin: .75rem 0 1rem; }
.info-list li { margin-bottom: .6rem; padding: .65rem .9rem; background: var(--cream); border-radius: 12px; }
.info-list strong { display: block; font-size: .82rem; color: var(--muted); }
.form-card label { display: block; font-weight: 700; margin: .7rem 0 .3rem; }
.form-card input, .form-card textarea { width: 100%; border: 2px solid rgba(227, 6, 19, .14); border-radius: 12px; padding: .75rem .9rem; font: inherit; font-size: 16px; background: #fff; color: var(--ink); }
.form-card input:focus, .form-card textarea:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 3px rgba(255, 45, 122, .15); }
.form-card textarea { min-height: 140px; resize: vertical; }
.form-actions { margin: 1rem 0 0; }
.form-actions .btn { width: 100%; }
.hp-field { position: absolute !important; inset-inline-start: 0 !important; top: 0 !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip-path: inset(50%) !important; opacity: 0 !important; pointer-events: none !important; }
.alert { padding: .85rem 1rem; border-radius: 12px; margin-bottom: 1rem; font-weight: 700; }
.alert-success { background: rgba(45, 184, 75, .15); color: var(--green-dark); border: 1px solid rgba(45, 184, 75, .35); }
.alert-error { background: rgba(227, 6, 19, .08); color: var(--red-dark); border: 1px solid rgba(227, 6, 19, .25); }

/* Footer */
.site-footer { background: var(--ink); color: #ffe9d2; padding: 2.25rem 0 5.5rem; margin-top: 1rem; }
.footer-grid { display: grid; gap: 1.5rem; }
.footer-brand img { height: 64px; width: auto; margin-bottom: .6rem; }
.footer-brand p { margin: 0 0 .4rem; }
.footer-h { font-family: var(--display); font-size: 1.1rem; color: var(--yellow); margin: 0 0 .4rem; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin: .2rem 0; }
.site-footer a { color: #ffe9d2; }
.site-footer a:hover { color: var(--yellow); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 1.5rem; padding-top: 1rem; }

.wa-float { position: fixed; bottom: 16px; inset-inline-start: 16px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #1fae54; color: #fff; box-shadow: 0 10px 24px rgba(0,0,0,.25); }
.wa-float:hover { color: #fff; transform: scale(1.05); }

/* Landing pages */
.lp-hero { padding: 1.5rem 0 1rem; background: radial-gradient(50rem 28rem at 80% -10%, var(--accent-soft), transparent 70%); }
.lp-hero-grid { display: grid; gap: 1.25rem; align-items: center; }
.lp-media { background: #fff; border-radius: 24px; padding: .6rem; box-shadow: var(--shadow-lg); max-width: 380px; margin-inline: auto; width: 100%; }
.lp-media img { border-radius: 18px; width: 100%; }
.lp-media.media-wide { max-width: 560px; }
.hello { display: flex; align-items: flex-end; gap: .5rem; margin-bottom: .5rem; }
.hello img { width: 92px; height: auto; flex: none; filter: drop-shadow(0 6px 10px rgba(0,0,0,.15)); }
.bubble { position: relative; margin: 0 0 1.4rem; background: #fff; border: 2px solid var(--accent-2); border-radius: 16px; padding: .45rem .8rem; font-weight: 800; font-size: .95rem; line-height: 1.4; box-shadow: var(--shadow); }
.lp-copy h1 { font-family: var(--display); font-weight: 800; color: var(--accent); font-size: clamp(2rem, 8vw, 3.2rem); margin: 0; line-height: 1.15; }
.lp-tagline { font-family: var(--display); font-weight: 700; font-size: 1.25rem; color: var(--muted); margin: .25rem 0 .8rem; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; padding: 0; margin: 0 0 1.1rem; }
.chips li { background: var(--accent-soft); color: var(--accent); font-weight: 800; padding: .2rem .8rem; border-radius: 999px; font-size: .9rem; }
.lp-body { padding-top: 1.25rem; }
.lp-body-grid { display: grid; gap: 1rem; }
.facts dl { margin: 0; display: grid; gap: .55rem; }
.facts dl div { background: var(--cream); border-radius: 12px; padding: .6rem .85rem; }
.facts dt { font-size: .82rem; font-weight: 800; color: var(--muted); }
.facts dd { margin: 0; font-weight: 700; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.ticks li::before { content: "✓"; color: var(--green-dark); font-weight: 800; margin-inline-end: .5rem; }
.trade-box { background: linear-gradient(135deg, var(--ink), #4a2018); color: #fff; border-radius: 24px; padding: 1.5rem 1.35rem; text-align: center; }
.trade-box h2 { font-family: var(--display); color: var(--yellow); margin: 0 0 .5rem; font-size: 1.6rem; }
.trade-box p { margin: 0 auto 1rem; max-width: 38rem; }
.trade-box .tiny { margin: .8rem 0 0; }
.steps { text-align: start; max-width: 34rem; margin: 0 auto 1.2rem; padding-inline-start: 1.4rem; display: grid; gap: .35rem; }
.cross-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-bottom: 1.25rem; }
.cross-card { background: #fff; border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; color: var(--ink); font-weight: 800; font-size: .92rem; text-align: center; display: flex; flex-direction: column; }
.cross-card span { padding: .55rem .5rem .7rem; line-height: 1.35; }
.cross-media { background: var(--accent-soft); height: 170px; display: flex; align-items: center; justify-content: center; padding: .5rem; }
.cross-media picture { height: 100%; display: block; }
.cross-media img { height: 100%; width: auto; object-fit: contain; border-radius: 6px; }
.cross-media.media-wide { padding: 0; }
.cross-media.media-wide picture { width: 100%; }
.cross-media.media-wide img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.nf { text-align: center; max-width: 34rem; }
.nf img { margin: 0 auto 1rem; }

/* ≥ 600px */
@media (min-width: 600px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .home-blog-list { grid-template-columns: 1fr 1fr; }
  .blog-list { grid-template-columns: 1fr 1fr; }
  .product-card.theme-coffee { grid-column: span 2; }
  .why-grid { gap: 1rem; }
  .cross-grid { grid-template-columns: repeat(4, 1fr); }
  .hero-actions .btn { flex: 0 0 auto; }
  .form-actions .btn { width: auto; }
}

/* ≥ 900px */
@media (min-width: 900px) {
  .logo img { height: 58px; }
  .menu-toggle { display: none; }
  .nav { display: flex; width: auto; flex-direction: row; align-items: center; padding: 0; gap: .15rem .35rem; }
  .nav a { padding: .4rem .7rem; font-size: .95rem; }
  .lang-switch { margin: 0 .25rem 0 0; padding: .35rem .9rem !important; }
  .hero { padding: 3.5rem 0 3.5rem; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 3rem; }
  .hero-visual { padding-top: 5rem; }
  .pack-name { font-size: .85rem; }
  .section { padding: 4rem 0; }
  .about-grid { grid-template-columns: 1.2fr .8fr; }
  .products-grid { grid-template-columns: repeat(6, 1fr); }
  .product-card { grid-column: span 2; }
  .product-card.theme-sugar, .product-card.theme-coffee { grid-column: span 3; }
  .product-media { height: 300px; }
  .why-grid { grid-template-columns: repeat(4, 1fr); }
  .contact-wrap { grid-template-columns: .9fr 1.1fr; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1.15fr 0.9fr; }
  .site-footer { padding-bottom: 2.25rem; }
  .lp-hero { padding: 3rem 0 2rem; }
  .lp-hero-grid { grid-template-columns: .9fr 1.1fr; gap: 3rem; }
  .landing-trade .lp-hero-grid { grid-template-columns: 1.1fr .9fr; }
  .lp-body-grid { grid-template-columns: 1.2fr .8fr; }
  .hello img { width: 110px; }
  .trade-box { padding: 2.25rem; }
}

/* Blog */
.nav a[aria-current="page"] { background: rgba(255, 209, 0, .45); color: var(--red-dark); }

.blog-index { padding: 2rem 0 3.25rem; }
.blog-hero { max-width: 42rem; margin-bottom: 1.75rem; }
.blog-hero h1 {
  font-family: var(--display); font-weight: 800; color: var(--red);
  font-size: clamp(2rem, 7vw, 2.8rem); margin: 0 0 .45rem; line-height: 1.2;
}
.blog-hero p { margin: 0; color: var(--muted); font-size: 1.05rem; max-width: 40rem; }
[dir="rtl"] .blog-hero p { font-size: 1.15rem; line-height: 1.9; }

.blog-list { display: grid; gap: 1rem; }
.blog-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 1.2rem 1.3rem 1.3rem; border: 1px solid var(--line);
  border-top: 5px solid var(--yellow); display: flex; flex-direction: column;
}
.blog-card:nth-child(2) { border-top-color: var(--pink); }
.blog-card:nth-child(3) { border-top-color: var(--green); }
.blog-card:nth-child(4) { border-top-color: var(--red); }
.blog-card time { font-size: .85rem; font-weight: 700; color: var(--muted); }
.blog-card h2 { font-family: var(--display); font-size: 1.35rem; margin: .25rem 0 .4rem; line-height: 1.3; }
.blog-card h2 a { color: var(--red); }
.blog-card h2 a:hover { color: var(--red-dark); }
.blog-card p { margin: 0 0 .7rem; color: var(--muted); flex: 1; }
[dir="rtl"] .blog-card p { font-size: 1.05rem; line-height: 1.85; }

.post-page { padding: 1.5rem 0 3rem; }
.post-wrap { width: min(100% - 2.25rem, 42rem); margin-inline: auto; }
[dir="rtl"] .post-wrap { width: min(100% - 2.25rem, 44rem); }
.post-kicker { font-weight: 800; color: var(--red); font-size: .9rem; margin: 0 0 .35rem; letter-spacing: 0; }
.post-kicker a { color: var(--red); }
.post-page h1 {
  font-family: var(--display); font-weight: 800; color: var(--red);
  font-size: clamp(1.8rem, 6.5vw, 2.55rem); margin: 0 0 .5rem; line-height: 1.25;
}
.post-meta { color: var(--muted); font-weight: 700; margin: 0 0 1.35rem; }
.post-body p { margin: 0 0 1.15rem; }
[dir="ltr"] .post-body { font-size: 1.05rem; line-height: 1.75; }
[dir="rtl"] .post-body { font-size: 1.125rem; line-height: 1.95; }
.post-body a { font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

.post-products, .post-more { margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.post-products h2, .post-more h2 {
  font-family: var(--display); font-size: 1.35rem; color: var(--red); margin: 0 0 .9rem;
}
.post-cross { margin-bottom: 0; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.post-more-list { list-style: none; margin: 0 0 1.1rem; padding: 0; display: grid; gap: .45rem; }
.post-more-list a { font-weight: 700; color: var(--ink); }
.post-more-list a:hover { color: var(--red); }

.home-blog-list { display: grid; gap: .85rem; }
.home-blog-item {
  display: block; background: #fff; border-radius: var(--radius-sm);
  padding: 1rem 1.1rem 1.05rem; box-shadow: var(--shadow); color: var(--ink);
  border: 1px solid var(--line); border-inline-start: 5px solid var(--yellow);
}
.home-blog-item:nth-child(2) { border-inline-start-color: var(--pink); }
.home-blog-item:nth-child(3) { border-inline-start-color: var(--green); }
.home-blog-item:nth-child(4) { border-inline-start-color: var(--red); }
.home-blog-item:hover { color: var(--ink); box-shadow: var(--shadow-lg); }
.home-blog-item h3 { font-family: var(--display); font-size: 1.15rem; margin: 0 0 .3rem; color: var(--red); }
.home-blog-item p {
  margin: 0 0 .35rem; color: var(--muted); font-size: .95rem;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
[dir="rtl"] .home-blog-item p { font-size: 1.02rem; line-height: 1.8; }
.home-blog-all { margin: 1.25rem 0 0; }

@media (min-width: 900px) {
  .blog-index { padding: 3rem 0 4rem; }
  .post-page { padding: 2.5rem 0 4rem; }
  .home-blog-item h3 { font-size: 1.2rem; }
}
