/* Sifr Books v3 */
.theme-sifr-v3{
  --sifr-paper:#f7efe3;
  --sifr-ink:#2c241d;
  --sifr-berry:#8d2434;
  --sifr-line:#2c241d22;
  background:var(--sifr-paper);
  color:var(--sifr-ink);
}

.theme-sifr-v3 :is(.theme-brand,.theme-hero h1,.theme-section h2,.theme-split h2,.theme-contact h2,.theme-products h3,.theme-services h3,.theme-quote blockquote){
  font-family:"Cormorant Garamond","IBM Plex Sans Arabic",serif;
  font-weight:600;
  letter-spacing:-.03em;
}

.theme-sifr-v3 .theme-header{
  min-height:92px;
  padding:24px clamp(24px,5vw,86px);
  background:#f5ecdf;
  border:0;
  border-block-start:5px solid var(--sifr-berry);
  border-block-end:1px solid var(--sifr-line);
}

.theme-sifr-v3 .theme-header nav>a:not(.theme-button):not(.theme-language){color:#4e4137}
.theme-sifr-v3 .theme-language{border-color:#2c241d28;color:#2c241d}

.theme-sifr-v3 .theme-button{
  min-height:52px;
  padding:0 28px;
  border-radius:999px;
  background:#2c241d;
  color:#fff!important;
  font-weight:600;
  box-shadow:none;
}

.theme-sifr-v3 .theme-button:hover{transform:none;background:var(--sifr-berry)}
.theme-sifr-v3 .theme-button-invert{background:transparent;border:1px solid #2c241d33;color:#2c241d!important}

.theme-sifr-v3 .theme-hero,
.theme-sifr-v3 .theme-hero-editorial{
  grid-template-columns:minmax(0,56fr) minmax(320px,44fr);
  min-height:740px;
  background:
    linear-gradient(180deg,#f7efe3,#f1e5d7),
    repeating-linear-gradient(90deg,transparent 0 68px,#eadfce 68px 69px);
}

.theme-sifr-v3 .theme-hero-copy{padding:clamp(72px,9vw,128px) clamp(26px,6vw,92px)}
.theme-sifr-v3 .theme-kicker{color:#8d2434}
.theme-sifr-v3 .theme-hero h1{max-width:8ch;font-size:clamp(3.7rem,7vw,7rem);line-height:.9}
.theme-sifr-v3 .theme-hero p{max-width:35ch;color:#5e5145}
.theme-sifr-v3 .theme-hero-image{margin:26px;background:#e7d6c2}
.theme-sifr-v3 .theme-hero-image img{height:100%;object-position:center;filter:sepia(.16) saturate(.82)}

.theme-sifr-v3 .theme-products-section-books{background:#f7efe3}
.theme-sifr-v3 .theme-products{gap:18px}
.theme-sifr-v3 .theme-products article{background:#fbf5ec}
.theme-sifr-v3 .theme-products-section-books .theme-product-media{border:1px solid var(--sifr-line);border-radius:0}
.theme-sifr-v3 .theme-products-section-books .theme-product-media img{filter:sepia(.12) saturate(.85)}
.theme-sifr-v3 .theme-products h3{font-size:clamp(24px,2vw,32px)}

.theme-sifr-v3 .theme-services-section-cards{background:#efe3d3}
.theme-sifr-v3 .theme-services{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;border:0}
.theme-sifr-v3 .theme-services article{border:1px solid var(--sifr-line);background:#faf4ea;box-shadow:none}
.theme-sifr-v3 .theme-services h3{margin-top:18px}
.theme-sifr-v3 .theme-services p{color:#65574b}

.theme-sifr-v3 .theme-split-editorial{
  margin:28px;
  border-block:1px solid #2c241d2a;
  background:#fbf5ec;
}

.theme-sifr-v3 .theme-quote-minimal{background:#f2e7d9}
.theme-sifr-v3 .theme-quote-minimal blockquote{font-weight:500}
.theme-sifr-v3 .theme-inquiry-section-newsletter{background:#1c1917;color:#f8f1e5}
.theme-sifr-v3 .theme-inquiry-section-newsletter p,
.theme-sifr-v3 .theme-inquiry-section-newsletter label{color:#d3c8b7}
.theme-sifr-v3 .theme-inquiry-section-newsletter input{color:#fff;border-color:#ffffff55}
.theme-sifr-v3 .theme-footer-accent{background:#8d2434;color:#fff}

.theme-sifr-v3[dir=rtl] :is(.theme-brand,.theme-hero h1,.theme-section h2,.theme-split h2,.theme-contact h2,.theme-products h3,.theme-services h3,.theme-quote blockquote){
  font-family:"IBM Plex Sans Arabic","Cormorant Garamond",serif;
  letter-spacing:-.02em;
}

@media(max-width:900px){
  .theme-sifr-v3 .theme-hero,
  .theme-sifr-v3 .theme-hero-editorial{grid-template-columns:1fr}
  .theme-sifr-v3 .theme-hero-image{margin:0;min-height:52vw;max-height:560px}
  .theme-sifr-v3 .theme-services{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:620px){
  .theme-sifr-v3 .theme-header{min-height:74px;padding:16px 18px}
  .theme-sifr-v3 .theme-button{width:100%}
  .theme-sifr-v3 .theme-hero h1{font-size:clamp(3rem,13vw,4.8rem)}
  .theme-sifr-v3 .theme-services{grid-template-columns:1fr}
  .theme-sifr-v3 .theme-split-editorial{margin:14px}
}
