/* ThemalefiK home 2027. All selectors are private to the new home components. */
.tmk27-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: min(790px, calc(100svh - 68px));
  color: #eee5d7;
  background: #090707;
  border-bottom: 1px solid rgba(196, 156, 102, .24);
}
.tmk27-hero__backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(90deg, #090707 4%, rgba(12, 7, 7, .94) 38%, rgba(14, 7, 8, .57) 73%, #090707 100%),
    url('../images/novas-artes/fundo-ruinas-goticas.webp') center 46% / cover no-repeat;
}
.tmk27-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at 70% 50%, rgba(100, 27, 31, .28), transparent 47%), linear-gradient(0deg, #090707, transparent 22%);
  pointer-events: none;
}
.tmk27-hero__inner {
  width: min(100%, 1512px);
  min-height: inherit;
  margin: 0 auto;
  padding: 68px clamp(26px, 7vw, 108px) 86px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
}
.tmk27-hero__copy { position: relative; z-index: 2; max-width: 620px; }
.tmk27-kicker {
  color: #c4a071;
  font: 600 10px/1.6 'Montserrat', Arial, sans-serif;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.tmk27-hero__overline {
  margin: 46px 0 17px;
  color: #c8b29a;
  font: 500 10px/1.6 'Montserrat', Arial, sans-serif;
  letter-spacing: .21em;
}
.tmk27-hero__title {
  color: #f4eee4;
  font: 400 clamp(3.1rem, 5.5vw, 6rem)/.98 'Cinzel', Georgia, serif;
  letter-spacing: -.025em;
  text-transform: uppercase;
  text-shadow: 0 5px 40px #000;
  margin: 0;
}
.tmk27-hero__title span { display: block; color: #c8a578; }
.tmk27-hero__subtitle {
  margin: 16px 0 0;
  color: #eee2d0;
  font: 400 clamp(.96rem, 1.6vw, 1.35rem)/1.4 'Cinzel', Georgia, serif;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.tmk27-ornament { display: flex; align-items: center; gap: 11px; width: 150px; margin: 28px 0; color: #b99565; }
.tmk27-ornament span { height: 1px; flex: 1; background: linear-gradient(90deg, #ae875a, transparent); }
.tmk27-ornament span:first-child { flex: 0 0 46px; background: #ae875a; }
.tmk27-ornament b { font-size: 10px; font-weight: 400; }
.tmk27-hero__description { max-width: 420px; color: #c9bfb1; font: 400 14px/1.85 'Montserrat', Arial, sans-serif; }
.tmk27-hero__actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 29px; }
.tmk27-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid #b49168;
  font: 700 10px/1.45 'Montserrat', Arial, sans-serif;
  letter-spacing: .12em;
  text-align: center;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.tmk27-button--primary { color: #130b08; background: #c5a477; }
.tmk27-button--outline { color: #e7d7c0; background: rgba(13, 9, 8, .5); }
.tmk27-button:hover { color: #140d09; border-color: #e8cfa6; background: #e8cfa6; }
.tmk27-button:focus-visible, .tmk27-records a:focus-visible, .tmk27-hero__secondary:focus-visible { outline: 2px solid #e6c99d; outline-offset: 4px; }
.tmk27-hero__secondary {
  display: inline-block;
  margin-top: 19px;
  color: #cdb69a;
  font: 600 9px/1.5 'Montserrat', Arial, sans-serif;
  letter-spacing: .17em;
  text-decoration: none;
}
.tmk27-hero__secondary:hover { color: #fff0d8; }
.tmk27-hero__art { position: relative; width: 110%; max-width: 760px; justify-self: center; pointer-events: none; }
.tmk27-hero__art::before { content: ''; position: absolute; inset: 18%; border-radius: 50%; background: rgba(104, 29, 27, .25); filter: blur(70px); }
.tmk27-hero__art img { position: relative; width: 100%; height: auto; filter: drop-shadow(0 18px 35px rgba(0, 0, 0, .55)); }
.tmk27-hero__bottom {
  position: absolute;
  left: clamp(26px, 7vw, 108px);
  right: clamp(26px, 7vw, 108px);
  bottom: 26px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding-top: 14px;
  border-top: 1px solid rgba(207, 172, 122, .23);
  color: #a08d79;
  font: 600 9px/1.5 'Montserrat', Arial, sans-serif;
  letter-spacing: .2em;
}

.tmk27-records {
  position: relative;
  background: radial-gradient(ellipse at 50% 0%, rgba(73, 24, 27, .22), transparent 50%), #0c0909;
  color: #eee6d9;
  padding: clamp(72px, 8vw, 120px) clamp(22px, 6vw, 96px);
  border-bottom: 1px solid rgba(196, 156, 102, .2);
}
.tmk27-records__inner { max-width: 1280px; margin: 0 auto; }
.tmk27-records__heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 42px; }
.tmk27-records__heading h2 { margin: 12px 0 0; color: #eee5d8; font: 400 clamp(2.15rem, 4vw, 3.8rem)/1.1 'Cinzel', Georgia, serif; letter-spacing: .02em; }
.tmk27-records__heading > p { max-width: 310px; margin: 0 0 4px; color: #b5a99b; font: 400 13px/1.8 'Montserrat', Arial, sans-serif; }
.tmk27-records__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.5vw, 38px); }
.tmk27-record { min-width: 0; border-bottom: 1px solid rgba(195, 157, 107, .24); padding-bottom: 24px; }
.tmk27-record__image { display: block; position: relative; aspect-ratio: 1; overflow: hidden; background: #17100f; border: 1px solid rgba(209, 172, 122, .24); }
.tmk27-record__image::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 35px rgba(0, 0, 0, .22); pointer-events: none; }
.tmk27-record__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tmk27-record__image:hover img { transform: scale(1.035); }
.tmk27-record__meta { display: flex; justify-content: space-between; gap: 10px; margin-top: 21px; color: #c09c72; font: 600 9px/1.5 'Montserrat', Arial, sans-serif; letter-spacing: .16em; }
.tmk27-record h3 { margin: 11px 0 19px; min-height: 2.7em; color: #f1e9dc; font: 400 clamp(1.15rem, 1.7vw, 1.45rem)/1.35 'Cinzel', Georgia, serif; letter-spacing: .02em; }
.tmk27-record h3 small { display: block; margin-top: 4px; color: #c3b1a1; font: 400 .65em/1.4 'Cinzel', Georgia, serif; letter-spacing: .03em; }
.tmk27-record__link, .tmk27-records__footer a { display: inline-block; color: #d5b58b; font: 700 9px/1.6 'Montserrat', Arial, sans-serif; letter-spacing: .16em; text-decoration: none; }
.tmk27-record__link:hover, .tmk27-records__footer a:hover { color: #fff0d8; }
.tmk27-records__footer { margin-top: 38px; text-align: right; }
.tmk27-records__footer a { border-bottom: 1px solid #96734e; padding: 0 0 7px; }

/* The former first-screen headline remains in the document as the heading of its own feature. */
body.rework-home .home-hero-content .tmk27-legacy-title { color: #f4eddf; font: 700 clamp(2.6rem, 5.6vw, 5.7rem)/1.08 'Cinzel', Georgia, serif; letter-spacing: .01em; text-shadow: 0 4px 36px #000; margin-bottom: 10px; }
@media (max-width: 900px) {
  .tmk27-hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding-left: 32px; padding-right: 32px; }
  .tmk27-hero__art { width: 115%; }
  .tmk27-hero__title { font-size: clamp(3rem, 6.7vw, 4.6rem); }
  .tmk27-records__grid { gap: 18px; }
}
@media (max-width: 700px) {
  .tmk27-hero { min-height: 0; }
  .tmk27-hero__backdrop { background: linear-gradient(0deg, #090707 5%, rgba(9, 7, 7, .35) 78%), url('../images/novas-artes/fundo-ruinas-goticas.webp') center top / cover no-repeat; }
  .tmk27-hero__inner { display: flex; flex-direction: column-reverse; gap: 0; padding: 10px 23px 78px; }
  .tmk27-hero__copy { width: 100%; }
  .tmk27-hero__art { width: min(100%, 420px); margin: 0 auto -8px; }
  .tmk27-hero__overline { margin: 20px 0 12px; }
  .tmk27-hero__title { font-size: clamp(2.9rem, 12vw, 4.7rem); }
  .tmk27-hero__subtitle { font-size: clamp(.92rem, 4vw, 1.22rem); }
  .tmk27-ornament { margin: 22px 0; }
  .tmk27-hero__bottom { left: 23px; right: 23px; bottom: 22px; font-size: 8px; letter-spacing: .12em; }
  .tmk27-records__heading { align-items: start; flex-direction: column; gap: 16px; margin-bottom: 32px; }
  .tmk27-records__grid { grid-template-columns: 1fr; gap: 34px; }
  .tmk27-record { max-width: 500px; width: 100%; margin: 0 auto; }
  .tmk27-record h3 { min-height: 0; }
  .tmk27-records__footer { text-align: left; }
  body.rework-home .home-hero-content .tmk27-legacy-title { font-size: clamp(2.35rem, 10vw, 3.6rem); }
}
@media (max-width: 360px) {
  .tmk27-hero__actions { flex-direction: column; align-items: stretch; }
  .tmk27-hero__title { font-size: 2.7rem; }
  .tmk27-hero__description { font-size: 13px; }
  .tmk27-hero__bottom { font-size: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  .tmk27-button, .tmk27-record__image img { transition: none; }
}

/* Home news navigation, the pinned feature and the nearby privacy notice. */
body.rework-home #news { scroll-margin-top: calc(var(--header-h, 68px) + 12px); }
body.rework-home .news-pinned {
  display: inline-block;
  margin: 0 0 16px;
  padding: 6px 10px;
  border: 1px solid rgba(192, 163, 107, .5);
  color: #e6d3b1;
  font: 600 .8rem/1.4 'Montserrat', Arial, sans-serif;
  letter-spacing: .06em;
}
body.rework-home #news .wrapper { max-width: 100%; padding: 40px 0; }
body.rework-home #news .container { max-width: 100%; }
body.rework-home #news .card { max-width: 100%; }
body.rework-home #news .instagram-media { min-width: 0 !important; max-width: 100% !important; }
body.rework-home #news .news-grid .date { font-size: .85rem; }
body.rework-home #news .news-grid .news-card p { font-size: 1rem; }
body.rework-home #news .news-grid .news-card a.read-more {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: .85rem;
  letter-spacing: .08em;
}
body.rework-home .newsletter-wrap .newsletter-note {
  flex-basis: 100%;
  margin: 8px 0 0;
  color: #d1c7b7;
  font-size: .9rem;
  line-height: 1.6;
}
body.rework-home .newsletter-note a { color: #e6c99d; text-decoration: underline; }
body.rework-home .newsletter-note a:focus-visible { outline: 2px solid #e6c99d; outline-offset: 3px; }
@media (min-width: 1101px) and (max-width: 1300px) {
  body.rework-home .desktop-nav ul { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  body.rework-home #news .news-card,
  body.rework-home #news .news-banner img,
  body.rework-home #news .read-more { transition: none; }
  body.rework-home #news .news-card:hover,
  body.rework-home #news .news-card:hover .news-banner img,
  body.rework-home #news .read-more:hover { transform: none; }
}
