/* CUBELAB journal: generous imagery, quiet typography, cyan accents. */
.cl-journal { max-width: 1240px; margin: 126px auto 0; padding: 44px 32px 80px; color: #152b2b; }
.cl-journal a { color: inherit; }
.cl-journal a:focus-visible { outline: 2px solid #09d8d8; outline-offset: 5px; }
.cl-journal-hero { padding: 8px 0 32px; background: #fff; border-bottom: 1px solid #e1eaea; border-radius: 0; margin-bottom: 32px; color: #152b2b; }
.cl-journal .cl-eyebrow { margin: 0 0 18px; font-size: 12px; letter-spacing: .15em; font-weight: 500; color: #09d8d8; }
.cl-journal-hero .cl-eyebrow { color: #09d8d8; }
.cl-journal .cl-journal-hero h1 { color: #152b2b; font-size: clamp(36px,4vw,48px) !important; line-height: 1.08; letter-spacing: -.035em; margin: 0 0 20px; font-weight: 500; }
.cl-journal-hero > p:last-of-type { margin: 0; color: #52676b; font-size: 17px; line-height: 1.6; }
.cl-blog-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 36px 28px; }
.cl-blog-card { min-width: 0; display: flex; flex-direction: column; margin: 0; background: #fff; }
.cl-blog-image { display: block; aspect-ratio: 4/3; overflow: hidden; border-radius: 12px; background: #f2f7f7; }
.cl-blog-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.cl-blog-card:hover .cl-blog-image img { transform: scale(1.025); }
.cl-blog-placeholder { display: grid; place-items: center; height: 100%; letter-spacing: .15em; color: #09d8d8; }
.cl-blog-card-body { padding: 20px 0 0; display: flex; flex-direction: column; flex: 1; }
.cl-blog-card time,.cl-article-meta { color: #617273; font-size: 13px; }
.cl-journal .cl-blog-card h2 { font-size: 23px !important; font-weight: 500; line-height: 1.25; letter-spacing: -.02em; margin: 12px 0; }
.cl-blog-card h2 a { text-decoration: none; }
.cl-blog-card h2 a:hover { color: #09d8d8; }
.cl-blog-card-body > p { color: #52676b; font-size: 15px; line-height: 1.65; margin: 0 0 22px; }
.cl-journal .cl-blog-read { margin-top: auto; padding: 12px 0; border-bottom: 1px solid #dce7e7; display: flex; justify-content: space-between; font-size: 14px; font-weight: 500; text-decoration: none; }
.cl-blog-read:hover { color: #09d8d8; border-color: #09d8d8; }
.cl-journal .pagination { margin: 40px 0 0; }
.cl-article-header { max-width: 850px; margin: 0 auto 32px; }
.cl-blog-back { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; margin-bottom: 36px; color: #09d8d8 !important; }
.cl-journal .cl-article-header h1 { font-size: clamp(32px,4.4vw,54px) !important; line-height: 1.12; font-weight: 500; letter-spacing: -.035em; color: #152b2b; margin: 0 0 24px; }
.cl-article-meta { display: flex; gap: 14px; align-items: center; }
.cl-article-cover { margin: 0 0 44px; background: #f2f7f7; border-radius: 14px; overflow: hidden; }
.cl-article-cover img { display: block; width: 100%; height: 440px; object-fit: contain; }
.cl-article-content { max-width: 760px; margin: auto; font-size: 18px; line-height: 1.8; overflow-wrap: anywhere; }
.cl-article-content p,.cl-article-content li { font-size: inherit; line-height: inherit; color: #263e43; }
.cl-article-content p { margin: 0 0 24px; }
.cl-journal .cl-article-content h2 { font-size: clamp(25px,3vw,32px) !important; line-height: 1.25; letter-spacing: -.02em; margin: 40px 0 20px; color: #152b2b; }
.cl-journal .cl-article-content h3 { font-size: 23px !important; line-height: 1.3; margin: 28px 0 16px; color: #152b2b; }
.cl-article-content .wp-block-spacer { display: none; }
.cl-article-content img { max-width: 100%; height: auto; border-radius: 8px; }
.cl-article-content figure { max-width: 100%; margin: 28px 0; }
.cl-article-content table { display: block; max-width: 100%; overflow-x: auto; }
.cl-article-content blockquote { border-left: 3px solid #09d8d8; padding: 12px 24px; background: #f3f9f9; }
.cl-article-footer { max-width: 760px; margin: 36px auto 0; padding: 24px 0; border-top: 1px solid #e1eaea; }
.cl-article-footer a { color: #09d8d8; font-size: 14px; }
.cl-article-tags { margin-bottom: 18px; }
.cl-article-tags a { display: inline-block; padding: 5px 12px; background: #f0f7f7; border-radius: 20px; margin: 0 6px 6px 0; }
.cl-related { margin-top: 64px; padding-top: 32px; border-top: 1px solid #e1eaea; }
.cl-related > h2 { font-size: 28px; color: #152b2b; margin-bottom: 28px; }
@media(max-width: 960px) { .cl-blog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width: 700px) { .cl-journal { margin-top: 0; padding: 28px 20px 48px; } .cl-journal-hero { padding: 4px 0 24px; } .cl-blog-grid { grid-template-columns: 1fr; gap: 32px; } .cl-article-content { font-size: 17px; } .cl-article-cover { margin-bottom: 28px; } .cl-article-cover img { height: auto; max-height: 380px; } }
@media(prefers-reduced-motion: reduce) { .cl-blog-image img { transition: none; } }

/* Corporate journal composition, adapted to the shop's white reading surface. */
.cl-journal.cl-article { max-width: none; padding: 0 0 80px; }
.cl-article-story { position: relative; isolation: isolate; padding-top: 0; }
.cl-article-backdrop { position: absolute; z-index: -1; inset: 0 0 auto; width: 100%; height: 1000px; overflow: hidden; pointer-events: none; }
.cl-article-backdrop img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; opacity: .55; }
.cl-article-backdrop::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.38) 0%, rgba(255,255,255,.62) 35%, #fff 95%), linear-gradient(90deg, rgba(255,255,255,.55), rgba(255,255,255,0) 75%); }
.cl-article-story .cl-article-header { width: calc(100% - 64px); max-width: 1280px; margin: 0 auto; padding: 50px 0 54px; }
.cl-article-header .cl-blog-back { margin-bottom: 42px; }
.cl-article-header .cl-eyebrow { font-size: 11px; margin-bottom: 22px; }
.cl-article-header .cl-eyebrow span { margin: 0 8px; }
.cl-journal .cl-article-header h1 { max-width: 1000px; font-size: clamp(34px,4.3vw,64px) !important; line-height: 1.08; margin: 0 0 30px; text-wrap: balance; }
.cl-article-perex { max-width: 900px; }
.cl-journal .cl-article-perex p { font-size: clamp(18px,1.5vw,23px); line-height: 1.6; color: #263e43; font-weight: 400; letter-spacing: -.01em; margin: 0; }
.cl-article-story .cl-article-content { position: relative; width: calc(100% - 64px); max-width: 1280px; margin: 0 auto; padding: clamp(28px,5vw,76px); background: rgba(255,255,255,.95); border: 1px solid #e9eeee; box-sizing: border-box; font-size: 17px; line-height: 1.8; }
.cl-article-content > :is(p,ul,ol) { max-width: 78ch; }
.cl-article-content > :first-child { margin-top: 0 !important; }
.cl-article-footer, .cl-article .cl-related { width: calc(100% - 64px); max-width: 1280px; margin-left: auto; margin-right: auto; }
@media(max-width: 700px) {
 .cl-journal.cl-article { padding-top: 0; }
 .cl-article-story .cl-article-header { width: calc(100% - 40px); padding: 35px 0 36px; }
 .cl-article-header .cl-blog-back { margin-bottom: 30px; }
 .cl-article-backdrop { height: 850px; }
 .cl-article-story .cl-article-content { width: calc(100% - 40px); padding: 26px 21px; font-size: 16px; line-height: 1.75; }
 .cl-article-footer, .cl-article .cl-related { width: calc(100% - 40px); }
}

/* About: same light header as the journal, with a calm reading column. */
.cl-about .cl-about-content { margin: 0; max-width: 720px; font-size: 16px; line-height: 1.75; }
body .cl-about .cl-about-content :is(p,li) { font-size: 16px !important; line-height: 1.75; font-weight: 400; letter-spacing: 0; }
body .cl-about .cl-about-content p { margin: 0 0 20px; }
body .cl-about .cl-about-content h2 { font-size: clamp(23px,2.3vw,26px) !important; line-height: 1.25; font-weight: 500; letter-spacing: -.025em; margin: 32px 0 20px; }
body .cl-about .cl-about-content h3 { font-size: 21px !important; line-height: 1.3; }
.cl-about .cl-about-content > h2:first-child { margin-top: 0; }
.cl-about .cl-about-content figure { margin: 28px 0; }
.cl-about .cl-about-content figure img { width: 280px !important; max-width: 100%; border-radius: 0; }

/* Reuse archive cards on the homepage; underline the label only. */
.cl-journal.cl-home-journal { margin-top: 0; padding-top: 44px; }
body .cl-journal a.cl-blog-read,
body .cl-journal a.cl-blog-read:is(:hover, :focus-visible) {
 text-decoration: none !important;
 background-color: transparent;
}
body .cl-journal a.cl-blog-read:is(:hover, :focus-visible) .cl-blog-read-label {
 text-decoration-line: underline;
 text-decoration-thickness: 1px;
 text-underline-offset: .18em;
}

/* About: text and brand mark in separate columns. */
body .cl-about .cl-about-content {
  display: grid;
  grid-template-columns: minmax(0,720px) minmax(260px,1fr);
  column-gap: 48px;
  max-width: none;
  align-items: start;
}
.cl-about .cl-about-content > * { grid-column: 1; }
body .cl-about .cl-about-content > figure {
  grid-column: 2;
  grid-row: 1 / span 6;
  justify-self: center;
  margin: 52px 0 0;
}
@media (max-width: 760px) {
  body .cl-about .cl-about-content { grid-template-columns: minmax(0,1fr); }
  body .cl-about .cl-about-content > figure {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
    margin: 8px 0 28px;
  }
}

/* About brand signature. */
body .cl-about .cl-about-content > figure { width: 280px; max-width: 100%; }
body .cl-about .cl-about-content figure figcaption {
  margin: 18px 0 0;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: -.01em;
  text-align: center;
  color: #52696e;
}
body .cl-about .cl-about-content figure figcaption { text-wrap: balance; }

/* Keep the brand claim on one line, centered beneath the logo. */
body .cl-about .cl-about-content figure figcaption {
  width: max-content;
  max-width: none;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  text-wrap: nowrap;
  font-size: clamp(12px, 3.2vw, 15px);
}

/* Crisp vector return arrow; underline the label only. */
.cl-journal a.cl-blog-back { text-decoration: none !important; }
.cl-blog-back-icon { display: block; flex: 0 0 18px; }
.cl-blog-back span { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }

/* Product photographs within the Tugendhat collection story. */
.cl-article-content .cl-collection-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px 24px; margin: 36px 0 44px; }
.cl-article-content .cl-collection-gallery--3 { grid-template-columns: repeat(3,minmax(0,1fr)); }
.cl-article-content .cl-collection-gallery figure { margin: 0; min-width: 0; }
.cl-collection-gallery figure > a { display: block; background: #fff; border: 1px solid #dedede; box-sizing: border-box; border-radius: 8px; overflow: hidden; }
.cl-article-content .cl-collection-gallery img { display: block; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: contain; margin: 0; border-radius: 0; }
.cl-collection-gallery figcaption { margin-top: 10px; color: #52676b; font-size: 13px; line-height: 1.5; }
.cl-collection-gallery a:focus-visible { outline: 2px solid #102b2b; outline-offset: 4px; }
@media(max-width: 900px) { .cl-article-content .cl-collection-gallery--3 { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width: 520px) { .cl-article-content .cl-collection-gallery { grid-template-columns: 1fr; gap: 24px; margin: 28px 0 32px; } }

/* Tighter editorial crop of the dismantled villa, independent of catalogue images. */
.cl-article-backdrop--collection { height: 780px; }
.cl-article-backdrop--collection img { position: absolute; top: 50%; width: 100%; height: auto; min-height: 100%; object-fit: cover; transform: translateY(-60%); opacity: .74; }
@media(max-width:700px) { .cl-article-backdrop--collection img { width: 150%; max-width: none; left: -25%; height: 100%; min-height: 0; object-fit: cover; object-position: center 58%; top: 0; transform: none; } }
