@font-face {
  font-family: 'Source Sans 3';
  src: url('../fonts/SourceSans3-VariableFont_wght.ttf') format('truetype');
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

/* Farsi / RTL basics */
html[lang="fa"] {
  direction: rtl;
}

html[lang="fa"] body {
  direction: rtl;
}

/* Keep layout direction stable on structural areas */
html[lang="fa"] #header,
html[lang="fa"] .modular-hero,
html[lang="fa"] .hero,
html[lang="fa"] .hero .container,
html[lang="fa"] .mobile-menu,
html[lang="fa"] nav.overlay-menu {
  direction: ltr;
}

/* Make actual Farsi text read correctly */
html[lang="fa"] .hero-text,
html[lang="fa"] .content,
html[lang="fa"] .modular-text,
html[lang="fa"] .sic-news-item,
html[lang="fa"] .sic-news-card,
html[lang="fa"] p,
html[lang="fa"] li,
html[lang="fa"] h1,
html[lang="fa"] h2,
html[lang="fa"] h3,
html[lang="fa"] h4 {
  direction: rtl;
  text-align: right;
}
body {

    background: rgb(254 254 254);
}
a {
  text-decoration: underline;
  color: rgb(201 147 2);
}

a.active,
a:active,
a:focus,
a:hover {
  text-decoration: underline;
  color: #3f3f3f;
}

a:visited {
  color: rgb(201 147 2);
}

.sic-language-switcher
 {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    padding: 0 0 0 1rem;
}

.sic-language-switcher a {
  font-size: 0.7rem;
  text-decoration: none;
  opacity: 0.7;
  text-transform: capitalize;
  font-weight: 600;
  text-shadow: 0 0 4px #fff;
  padding: 7px 0 7px 10px;
  color: #555 !important;
}

@media (max-width: 840px) {


  .sic-language-switcher a {
  font-size: 0.9rem;
}


.treemenu li a {
        margin-left: 0.5rem;
        text-decoration: none;
    }

.treemenu li.tree-empty>.toggler {
    display: none;
}

}





.sic-language-switcher a.active {
  opacity: 1;
  font-weight: 600;
}

.mobile-menu {
  z-index: 5;
}

.mobile-menu .button_container span {
  background: #555;
}

nav.overlay-menu {
  background: #fff;
}

.treemenu li a.active,
.treemenu li a:focus,
.treemenu li a:hover {
  color: #444 !important;
}

.dropmenu ul li a
 {
    text-transform: uppercase;
    font-weight: 500;
    font-size: 0.7rem !important;
    padding: 7px 20px 7px 15px;
    letter-spacing: 1.2px;
}

.dropmenu ul li a.active,
.dropmenu ul li a:focus,
.dropmenu ul li a:hover {
  color: #d99f2c !important;
  text-decoration: underline;
}

#header a {
  color: #868686;
}

.header-transparent #header:not(.scrolled) {
  background: rgba(255, 255, 255, 0.85);
}


body.header-fixed.header-animated #header.scrolled {
  background: rgba(255, 255, 255, 0.8);
}

@media (max-width: 840px) {


.header-transparent #header:not(.scrolled) {
  background: rgba(255, 255, 255, 0.35);
}


body.header-fixed.header-animated #header.scrolled {
  background: rgba(255, 255, 255, 0.35);
}


.overlay {
  background: #fff;
}


}

.mobile-menu .button_container.active .top {
    background: #333;
}
.mobile-menu .button_container.active .bottom {
    background: #333;
}
.treemenu li {
    padding: 20px 0;
        background: UNSET;
}
.hero-text {
  margin: auto auto auto 0;
  text-align: left;
  max-width: 40%;
}

/* Farsi hero: keep block/logo on the left, but text RTL */
html[lang="fa"] .hero-text {
  margin: auto auto auto 0;
  max-width: 40%;
  direction: rtl;
  text-align: right;
}

.sic-logo {
  font-family: 'Source Sans 3', sans-serif;
  width: 120px;
  height: 120px;
  background: #fab225;
  color: #fff !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  line-height: 1;
  margin: 0;
  direction: ltr;
  text-align: center;
}

.sic-logo-main {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 750;
  font-size: 55px;
  letter-spacing: 0.02em;
}

.sic-logo-sub {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 400;
  letter-spacing: 0.15em;
  font-size: 11px;
  text-transform: uppercase;
  margin-top: -5px;
}

.hero h2 {
  line-height: 1.5;
  font-weight: 700;
  font-size: clamp(1.1rem, 1.6vw, 1.8rem);
  text-transform: uppercase;
}

html[lang="fa"] .hero h2 {
  text-transform: none;
}

@media (max-width: 600px) {
  .sic-logo {
    width: 75px;
    height: 75px;
  }

  .sic-logo-sub {
    letter-spacing: 0;
    font-size: 10px;
  }

  .sic-logo-main {
    font-size: 35px;
  }

  .hero-text {
    max-width: 60%;
  }

  html[lang="fa"] .hero-text {
    max-width: 60%;
    margin: auto auto auto 0;
    text-align: right;
    direction: rtl;
  }

  .sic-home-banner {
    background-color: #fab225 !important;
    padding: 2rem 0;
    font-size: 1rem;
  }
}

.sic-feature-grid {
  max-width: 1100px;
  margin: 5rem auto;
  padding: 0 1rem;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.sic-feature-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;

  min-height: 260px;
  padding: 1.6rem 0.8rem;

  background: #fff;
  color: #111;
  text-decoration: none;

  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.sic-feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(0,0,0,0.12);
}

.sic-feature-card-large {
  grid-column: 1 / -1;
  min-height: 420px;

  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 2.5rem;
  align-items: center;
}

.sic-feature-image img {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  display: block;
}

.sic-feature-content {
  max-width: 540px;
}

.sic-feature-card-project {
  padding: 0;
  overflow: hidden;
}

.sic-project-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  border-radius: 3px 3px 0 0;
}

.sic-project-content {
  padding: 1rem;
}

.sic-kicker {
  margin: 0 0 0.8rem;
  color: #f2b100;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
a.sic-feature-card.sic-feature-card-large, a.sic-feature-card.sic-feature-card-project
 {
    color: #444;
    text-decoration: none;
}
.sic-feature-card h2,
.sic-feature-card h3 {
  margin: 0.5rem 0 1rem;
  line-height: 1.05;
}

.sic-feature-card h2 {
  font-size: clamp(2.2rem, 2.5vw, 3rem);
  font-weight: 400;
}

.sic-feature-card h3 {
font-size: clamp(1.2rem, 1.2vw, 1.2rem);
font-weight: 400;
}

.sic-feature-card p {
  margin: 0;
  line-height: 1.45;
}

.sic-feature-card p + p {
  margin-top: 1rem;
}

.sic-card-link {
    display: inline-block;
    margin-top: 1.2rem;
    font-weight: 700;
    text-decoration: underline;
    text-transform: uppercase;
    font-size: 0.7rem;
}

.sic-feature-section-title {
  grid-column: 1 / -1;
  margin-top: 1rem;
  margin-bottom: 0rem;
}

.sic-feature-section-title h4 {
  margin: 0;

  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;

  color: #888;
}

/* Mobile */

@media (max-width: 768px) {
  .sic-feature-grid {
    grid-template-columns: 1fr;
    margin: 3rem auto;
    gap: 4rem;
  }
.sic-feature-section-title {
  margin-bottom: -2rem;
}

  .sic-feature-card-large {
    grid-column: 1;
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .sic-feature-card {
    min-height: auto;
  }

  .sic-feature-image img {
    max-height: 260px;
  }

  .sic-project-content {
  padding: 1rem 1rem;
}

  .sic-project-image img {
    height: 180px;
  }
}

/* Footer */

.sic-footer {
  margin-top: 6rem;
  padding: 4rem 1rem 2rem;
  background: #111;
  color: #eee;
  font-family: 'Source Sans 3', sans-serif;
}

.sic-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 4rem;
}

.sic-footer-brand {
  max-width: 360px;
}

.sic-footer-tagline {
  margin: 1.2rem 0 0;
  font-size: 0.98rem;
  line-height: 1.45;
  color: #d0d0d0;
}

.sic-footer-company {
  margin-top: 1.5rem;
  font-size: 0.86rem;
  line-height: 1.45;
  color: #aaa;
}

.sic-footer-company p {
  margin: 0.2rem 0;
}

.sic-footer-columns {
  display: flex;
  gap: 3.5rem;
  flex-wrap: wrap;
}

.sic-footer-col {
  display: flex;
  flex-direction: column;
  min-width: 130px;
  gap: 0.5rem;
}

.sic-footer-col h4 {
  margin: 0 0 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #888;
}

.sic-footer-col a {
  color: #eee;
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.35;
}

.sic-footer-col a:hover {
  color: #f2c300;
}

.sic-footer-social {
  margin-top: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.sic-footer-bottom {
  max-width: 1100px;
  margin: 2.8rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid #333;
  font-size: 0.82rem;
  color: #777;
}

/* Optional: make the footer logo slightly smaller than header logo */
.sic-footer .sic-logo {
  width: 96px;
  height: 96px;
}

.sic-footer .sic-logo-main {
  font-size: 48px;
}

.sic-footer .sic-logo-sub {
  font-size: 12px;
  letter-spacing: 0.01em;
}


/* Mobile */

@media (max-width: 768px) {
  .sic-footer {
    margin-top: 4rem;
    padding: 3rem 2rem 1.6rem;
  }

  .sic-footer-inner {
    flex-direction: column;
    gap: 2.5rem;
  }

  .sic-footer-brand {
    max-width: none;
  }

  .sic-footer-columns {
    flex-direction: column;
    gap: 2rem;
  }

  .sic-footer-col {
    min-width: 0;
  }

  .sic-footer-bottom {
    margin-top: 2.2rem;
  }

  .sic-footer .sic-logo {
    width: 86px;
    height: 86px;
  }

  .sic-footer .sic-logo-main {
    font-size: 35px;
  }

  .sic-footer .sic-logo-sub {
    font-size: 11px;
  }
}


.sic-product-page {
  padding: 2rem 1rem 5rem;
}

.sic-product-hero {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.25fr);
  gap: 3rem;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto 3rem;
}

.sic-product-image img {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
  box-shadow: 0 18px 45px rgba(0,0,0,0.16);
}

.sic-product-label {
  margin: 0 0 0.7rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #777;
}

.sic-product-main h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: 0.95;
}

.sic-product-contributors {
  margin-bottom: 2rem;
  font-size: 1.05rem;
  line-height: 1.45;
}

.sic-product-contributors p {
  margin: 0.2rem 0;
}

.sic-buy-box {
    background: #fff;
    box-shadow: 0 6px 40px rgba(0, 0, 0, 0.08);
    padding: 1rem 0.5rem 1rem;
}
.sic-product-price {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 800;
}

.sic-product-market-note {
  margin: 0.25rem 0 0;
  color: #666;
}

.buy-form {
  margin: 0;
}

.sic-quantity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.sic-quantity-row label {
  font-weight: 700;
}

.sic-quantity-row input {
  width: 5rem;
  padding: 0.45rem;
}

.sic-buy-button {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border: 0;
  background: #fab225;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.sic-buy-button:hover {
  background: #e5a322;

}

.sic-market-switcher {
    margin: 0.5rem 0 1.5rem;
    font-size: 0.7rem;
}

.sic-market-switcher summary {
  cursor: pointer;
  color: #555;
}

.sic-market-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.sic-market-links a {
  padding: 0.45rem 0.7rem;
  border: 1px solid #ddd;
  color: #111;
  text-decoration: none;
  font-weight: 700;
}

.sic-market-links a:hover {
  border-color: #111;
}



.sic-delivery-info {
  margin: 1rem 0 0;
  padding: 0;
  font-size: 0.95rem;
}

.sic-delivery-info summary {
  cursor: pointer;
  color: #444;
  font-weight: 700;
  font-size: 0.7rem;
}

.sic-delivery-info-inner {
  margin-top: 0.75rem;
  padding: 0.85rem 1rem;
  background: #f7f7f7;
  border-left: 3px solid #111;
  color: #555;
  line-height: 1.45;
}

.sic-delivery-info-inner p {
    margin: 0;
    font-size: 0.7rem;
}

.sic-buy-reassurance {
  font-size: 0.7rem;
  color: #777;
  text-align: center;
  margin-top: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.sic-buy-reassurance i {
  font-size: 0.7rem;
  color: #555;
}
.sic-product-isbn {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #777;
}

.sic-product-content {
  margin: 0 auto;
  font-size: 0.8rem;
  line-height: 1.65;
}

.sic-product-gallery {
  max-width: 1100px;
  margin: 4rem auto 0;
}

.sic-product-gallery h2 {
  margin-bottom: 1.2rem;
}

.sic-product-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.sic-product-gallery-grid figure {
  margin: 0;
}

.sic-product-gallery-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.sic-book-details {
  max-width: 900px;
  margin: 4rem auto 0;
}

.sic-book-details h2 {
  margin-bottom: 1.5rem;
}

.sic-book-details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.sic-book-detail {
  padding: 1rem;
  background: #fff;
  box-shadow: 0 8px 22px rgba(0,0,0,0.06);
}

.sic-book-detail-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #777;
}



@media (max-width: 768px) {
  .sic-product-page {
    padding: 1.5rem 1rem 4rem;
  }

  .sic-product-hero {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .sic-product-image img {
    max-width: 300px;
    margin: 0 auto;
  }

  .sic-buy-box {
    max-width: none;
  }
    .sic-product-gallery-grid {
    grid-template-columns: 1fr;
  }

  .sic-product-gallery-grid img {
    height: auto;
  }
    .sic-book-details-grid {
    grid-template-columns: 1fr;
  }
}


.sic-bookshop-page {
  padding: 2rem 1rem 5rem;
}

.sic-bookshop-header {
  max-width: 760px;
  margin: 0 auto 3rem;
  text-align: center;
}

.sic-section-label {
  margin: 0 0 0.7rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #777;
}

.sic-bookshop-header h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 0.95;
}

.sic-bookshop-intro {
  font-size: 1.1rem;
  line-height: 1.6;
}

.sic-bookshop-grid {
  max-width: 980px;
  margin: 0 auto;
}

.sic-book-card {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 2.5rem;
    align-items: center;
    padding: 1.6rem 0 5.5rem;
    background: #fff;
    box-shadow: 0 5px 40px rgba(0, 0, 0, 0.08);
}

.sic-book-card-image img {
  width: 100%;
  max-width: 340px;
  display: block;
  margin: 0 auto;
  box-shadow: 0 16px 35px rgba(0,0,0,0.14);
}

.sic-book-card-label {
  margin: 0 0 0.6rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #777;
}

.sic-book-card-content h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1;
}

.sic-book-card-content h2 a {
  color: #111;
  text-decoration: none;
}

.sic-book-card-content p {
  max-width: 520px;
  line-height: 1.55;
}

.sic-book-card-button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: #111;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}

.sic-book-card-button:hover {
  background: #333;
  color: #fff;
}

@media (max-width: 768px) {
  .sic-book-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .sic-book-card-image img {
    max-width: 260px;
  }
}



.sic-home-about {
  padding: 3rem 1rem 2rem;
}

.sic-home-about h2
 {
    margin: 0 1.5rem 1.5rem;
    font-size: clamp(0.8rem, 1vw, 1.2rem);
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #888;
}

.sic-home-about p {
    margin: 0 1.4rem 1.5rem;
    font-size: 0.8rem;
    line-height: 1.7;
    color: #222;
}
.sic-about-link {
    display: inline-block;
    margin-top: 1rem;
    font-weight: 700;
    text-decoration: underline;
    color: #111;
    text-transform: uppercase;
    font-size: 0.7rem;
}
.sic-about-link:hover {
  color: #f2b100;
}
.orders-wrapper {
    width: 100%;
    overflow-x: auto;
}

.orders-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    table-layout: fixed;
    font-size: 0.78rem;
}

.orders-table th,
.orders-table td {
    padding: 0.45rem 0.55rem;
    border-bottom: 1px solid #ddd;
    vertical-align: middle;
    text-align: left;
    line-height: 1.3;
}

.orders-table th {
    font-weight: 700;
    background: #f5f5f5;
    font-size: 0.74rem;
}

.orders-table tr:hover {
    background: #fafafa;
}

.orders-table th:nth-child(1),
.orders-table td:nth-child(1) {
    width: 28%;
}

.orders-table th:nth-child(2),
.orders-table td:nth-child(2) {
    width: 15%;
}

.orders-table th:nth-child(3),
.orders-table td:nth-child(3) {
    width: 13%;
}

.orders-table th:nth-child(4),
.orders-table td:nth-child(4) {
    width: 17%;
}

.orders-table th:nth-child(5),
.orders-table td:nth-child(5) {
    width: 13%;
}

.orders-table th:nth-child(6),
.orders-table td:nth-child(6) {
    width: 14%;
}

.order-meta {
    color: #666;
    font-size: 0.68rem;
    line-height: 1.2;
}

.order-id {
    display: inline-block;
    max-width: 100%;
    word-break: break-all;
    overflow-wrap: anywhere;
}

.order-status {
    display: inline-block;
    padding: 0.16rem 0.48rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}

.order-status-new {
    background: #fff3cd;
    color: #856404;
}

.order-status-paid {
    background: #d4edda;
    color: #155724;
}

.order-status-sent {
    background: #cce5ff;
    color: #004085;
}

.order-status-cancelled {
    background: #f8d7da;
    color: #721c24;
}

.order-selected {
    margin-bottom: 2rem;
}

.order-selected-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: baseline;
    margin-top: 1rem;
}

.order-selected-header h2 {
    margin-bottom: 0.5rem;
}

.order-detail {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.8rem;
    margin: 1rem 0 1.5rem;
    font-size: 0.85rem;
}

.order-card {
    background: #fafafa;
    border: 1px solid #ddd;
    padding: 0.85rem;
    border-radius: 8px;
}

.order-card h3 {
    margin-top: 0;
    font-size: 0.9rem;
}

.order-card p {
    margin-bottom: 0.6rem;
}

.order-card-wide {
    grid-column: 1 / -1;
}

.order-action-form {
    margin-bottom: 0.35rem;
}

.order-button {
    display: inline-block;
    border: 1px solid #ccc;
    background: #f5f5f5;
    padding: 0.28rem 0.55rem;
    border-radius: 4px;
    font-size: 0.7rem;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    line-height: 1.2;
}

.order-button:hover {
    background: #e9e9e9;
}

.order-button-secondary {
    background: #fafafa;
    color: #555;
}

.order-button-secondary:hover {
    background: #ececec;
}

.order-notes {
    width: 100%;
    min-height: 130px;
    padding: 0.65rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.8rem;
    resize: vertical;
    box-sizing: border-box;
}
.orders-pagination {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-top: 1rem;
}

.order-button-danger {
    background: #8b1e1e;
    color: #fff;
}

.order-button-refunded {
    background: #666;
    color: #fff;
    cursor: not-allowed;
    opacity: 0.7;
}
@media print {
    header,
    footer,
    nav,
    .header,
    .footer,
    .modular-footer,
    .mobile-menu,
    .navigation,
    .breadcrumbs,
    .orders-wrapper,
    .order-selected-header,
    .order-button,
    .order-action-form {
        display: none !important;
    }

    body {
        background: #fff !important;
    }

    .packing-slip {
        margin: 0;
        padding: 0;
        font-size: 12pt;
    }
}
.product-price {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.product-market-note {
    font-size: 0.85rem;
    color: #666;
}

.market-options {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #ddd;
}

.market-options-title {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.market-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.market-links a {
    display: inline-block;
    padding: 0.35rem 0.6rem;
    border: 1px solid #ddd;
    border-radius: 999px;
    font-size: 0.82rem;
    text-decoration: none;
}

.market-links a:hover {
    background: #f5f5f5;
}
.sic-special-requests {
  margin: 0 0 1rem;
  font-size: 0.8rem;
}

.sic-special-requests summary {
  cursor: pointer;
  font-weight: 700;
  color: #555;
}

.sic-special-requests-inner {
  margin-top: 0.8rem;
  padding: 0.9rem;
  background: #f7f7f7;
}

.sic-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 1rem;
  line-height: 1.4;
  cursor: pointer;
}

.sic-checkbox-row input {
  margin-top: 0.2rem;
}

.sic-order-notes label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 700;
}

.sic-order-notes textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  resize: vertical;
  font: inherit;
  line-height: 1.4;
}
.sic-success-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 1rem 5rem;
}

.sic-success-message {
  display: inline-block;
  margin: 1rem 0 1.5rem;
  padding: 0.8rem 1rem;
  background: #d9f7df;
  color: #174d24;
  font-weight: 800;
}

.sic-instagram-button {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 1rem 0;
  padding: 0.8rem 1rem;
  background: #111;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}

.sic-instagram-button:hover {
  background: #333;
  color: #fff;
}

.sic-instagram-button .fa,
.sic-instagram-button .fa-brands {
  font-size: 1.2rem;
}






/* Projects list — aligned with bookshop card design */



.sic-projects-list .container {
  max-width: 980px;
  margin: 0 auto;
}

.sic-project-card {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 2rem;
  padding: 1.6rem;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.sic-project-card-image {
  display: block;
  text-decoration: none;
}

.sic-project-card-image img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  box-shadow: 0 16px 35px rgba(0,0,0,0.14);
}

.sic-project-card-content h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.4rem, 1.6vw, 1.8rem);
  line-height: 1;
}

.sic-project-card-content p {
  max-width: 520px;
  line-height: 1.55;
}

.sic-project-links {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.sic-project-links a {
    display: inline-block;
    padding: 0.5rem 0rem;
    color: #777777;
    text-decoration: underline;
    font-weight: 800;
        margin: 0 1rem 0 0;
}

.sic-project-links a:hover {
  color: #fab225;
}

@media (max-width: 768px) {
  .sic-project-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .sic-project-card-image img {
    height: auto;
  }
}





.sic-team-grid {
  margin-top: 3rem;
}

.sic-team-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2rem;
  align-items: start;

  margin-bottom: 2rem;
  padding: 1.8rem;

  background: #fff;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.sic-team-card-featured {
  grid-template-columns: 320px 1fr;
  padding: 2.2rem;
}

.sic-team-card-image img {
  width: 100%;
  display: block;
  object-fit: cover;
  box-shadow: 0 16px 35px rgba(0,0,0,0.14);
}

.sic-team-role {
  margin: 0 0 0.6rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}

.sic-team-card h2
 {
    margin: 0 0 1rem;
    font-size: clamp(1.5rem, 1.8vw, 2rem);
    line-height: 1;
}

.sic-team-card-content p {
  line-height: 1.6;
}

.sic-team-links {
  margin-top: 1rem;
}

.sic-team-links a {
  display: inline-block;
  padding: 0.7rem 1rem;
  background: #111;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.sic-team-links a:hover {
  background: #333;
  color: #fff;
}

@media (max-width: 768px) {

  .sic-team-card,
  .sic-team-card-featured {
    grid-template-columns: 1fr;
  }

  .sic-team-card-image img {
    max-width: 280px;
    margin: 0 auto;
  }
}
.sic-team-section-heading {
    margin: 4rem 0 0.75rem;
    font-size: clamp(0.8rem, 1vw, 1.2rem);
    text-transform: uppercase;
    font-weight: 600;
    color: #686868;
}
.sic-team-section-intro {
  margin-bottom: 2rem;
  line-height: 1.6;
  color: #555;
}


/* Profile pages */

.sic-profile-hero {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2.5rem;
  align-items: start;
  margin: 2rem 0 3rem;
  padding: 1.8rem;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.sic-profile-image img {
  width: 100%;
  display: block;
  object-fit: cover;
  box-shadow: 0 16px 35px rgba(0,0,0,0.14);
}

.sic-profile-intro {
  font-size: 1.08rem;
  line-height: 1.65;
}

.sic-profile-intro p:first-child {
  margin-top: 0;
}

.sic-profile-section {
  max-width: 860px;
  margin: 3rem 0;
}

.sic-profile-section h2 {
  margin-bottom: 1rem;
  font-size: clamp(1rem, 1.2vw, 1.5rem);
    text-transform: uppercase;
}

.sic-profile-section p,
.sic-profile-section li {
  line-height: 1.65;
}

.sic-profile-contact {
  margin-top: 3rem;
  padding: 1.4rem;
  background: #fff;
  box-shadow: 0 8px 22px rgba(0,0,0,0.06);
}

@media (max-width: 768px) {
  .sic-profile-hero {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .sic-profile-image img {
    margin: 0 auto;
  }
}
.sic-profile-contact-card {
  margin-top: 1rem;
  padding: 1rem;
  background: #fff;
  box-shadow: 0 8px 22px rgba(0,0,0,0.06);
}

.sic-profile-contact-card p {
  margin: 0 0 1rem;
  line-height: 1.5;
}

.sic-profile-contact-card p:last-child {
  margin-bottom: 0;
}

.sic-profile-contact-card a {
  word-break: break-word;
}
.sic-profile-contact-card h1 {
    margin: 0 0 0.5rem;
    font-size: clamp(1rem, 1.8vw, 2rem);
    line-height: 1;
}

.sic-profile-role {
  margin-bottom: 1.2rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}
.modular-hero,
.hero {
  position: relative;
  overflow: hidden;
}

/* slideshow layers */

.sic-hero-slideshow,
.sic-hero-single {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #fff;
}

.sic-hero-slide,
.sic-hero-single {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

/* First image stays fixed underneath */
.sic-hero-slide:first-child {
  opacity: 1;
  animation: none;
}

/* Second image gently fades over it */
.sic-hero-slide:nth-child(2) {
  opacity: 0;
  animation: sicHeroFadeSecond 12s infinite ease-in-out;
}

@keyframes sicHeroFadeSecond {
  0% {
    opacity: 0;
  }

  18% {
    opacity: 1;
  }

  50% {
    opacity: 1;
  }

  68% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

/* keep content above slideshow */

.modular-hero .container,
.modular-hero .image-overlay,
.modular-hero #to-start {
  z-index: 2;
}
.header-fixed #header {
    z-index: 5;
}
/* News feed */


.sic-news-header {
  max-width: 760px;
  margin-bottom: 2.5rem;
}

.sic-news-header h1 {
  margin-bottom: 1rem;
}


.sic-news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 1.5rem;
}
@media (max-width: 600px) {
  .sic-news-grid {
    grid-template-columns: 1fr;
  }
}
.sic-news-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  padding: 1.5rem;
}

.sic-news-card-event {
  border-left: 5px solid #222;
}

.sic-news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin: 1rem 0 0.5rem;
    font-size: 0.85rem;
    color: #666;
}

.sic-news-label {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #f2f2f2;
  color: #222;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sic-news-card h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
}

.sic-news-card h2 a {
  color: inherit;
  text-decoration: none;
}

.sic-news-card h2 a:hover {
  text-decoration: underline;
}

.sic-event-details {
  margin: 1rem 0;
  padding: 0.9rem 1rem;
  background: #f7f7f7;
  border-radius: 10px;
}

.sic-event-details p {
  margin: 0.25rem 0;
}

.sic-news-read-more {
  display: inline-block;
  margin-top: 0.75rem;
  font-weight: 700;
}
.sic-news-image-link {
  display: block;
  margin: -1.5rem -1.5rem 1rem;
}
header.sic-news-item-header h1 {
    font-size: 2rem;
}

.sic-news-image {
  width: 100%;
  display: block;
  border-radius: 14px 14px 0 0;
}
.sic-news-card-event {
  border-left: 4px solid currentColor;
}

.sic-news-card-event .sic-news-label {
  font-weight: 700;
}

.sic-news-event-date {
  font-weight: 700;
}

.sic-event-details {
  margin-top: 0.75rem;
  font-size: 0.95rem;
}

.sic-event-details p {
  margin: 0.25rem 0;
}

.sic-news-card-event .sic-event-details {
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: rgba(0, 0, 0, 0.04);
}
