/* ==========================================================================
   Base – The Break Estate
   ==========================================================================
   @font-face declarations, reset, and global typography.
   ========================================================================== */

/* ---------- @font-face: Sabon ---------- */
.body-center{
    text-align:center;
    margin-top:150px;
    margin-bottom:150px;
}
.tagline{
    font-size:1rem;
    font-family: "Cochin";
    font-style: italic;
    text-align: center;
    margin-top:11px;
}
@font-face {
  font-family: 'Sabon';
  src: url('/assets/fonts/sabon/sabon-regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Sabon';
  src: url('/assets/fonts/sabon/sabon-italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Sabon';
  src: url('/assets/fonts/sabon/sabon-bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Sabon';
  src: url('/assets/fonts/sabon/sabon-bold-italic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* ---------- @font-face: Cochin ---------- */

@font-face {
  font-family: 'Cochin';
  src: url('/assets/fonts/cochin/cochin-regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cochin';
  src: url('/assets/fonts/cochin/cochin-italic.woff') format('woff');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Cochin';
  src: url('/assets/fonts/cochin/cochin-bold-italic.woff') format('woff');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* ---------- @font-face: Sackers Gothic ---------- */

@font-face {
  font-family: 'Sackers Gothic';
  src: url('/assets/fonts/sackers-gothic/sackersgothicstd-light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Sackers Gothic';
  src: url('/assets/fonts/sackers-gothic/sackersgothicstd-medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Sackers Gothic';
  src: url('/assets/fonts/sackers-gothic/sackersgothicstd-heavy.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Reset ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}
.tbe-wrap{
    position:relative;
    overflow-x: hidden;
    width:100%;
}

body {
  position: relative;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--color-text);
  background-color: var(--color-bg);
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

@supports (padding: env(safe-area-inset-bottom)) {
  body {
    padding-left:   env(safe-area-inset-left);
    padding-right:  env(safe-area-inset-right);
    padding-bottom: env(safe-area-inset-bottom);
  }
}

/* ---------- Typography ---------- */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: var(--leading-tight);
  letter-spacing: 0.04em;
}

h1 { font-size: var(--text-2xl); color: #c4bdb1; }
h2 { font-size: var(--text-xl); }

p {
  line-height: var(--leading-loose);
}

a {
  color: var(--color-text);
  text-decoration: none;
  transition: opacity var(--transition-base);
}

a:hover {
  opacity: 0.7;
}

::selection {
  background: rgba(228, 222, 212, 0.2);
  color: var(--color-text);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Writer — text alignment */
span[data-text-align="left"]    { display: block; text-align: left; }
span[data-text-align="center"]  { display: block; text-align: center; }
span[data-text-align="right"]   { display: block; text-align: right; }
span[data-text-align="justify"] { display: block; text-align: justify; }

/* Writer — paragraph sizes */
span[data-para-size="lg"] { display: block; font-size: var(--text-lg); }
span[data-para-size="sm"] { display: block; font-size: var(--text-sm); }

/* Writer — brand colours */
span[data-brand-color="colorDefault"] { color: #c4bdb1; }
span[data-brand-color="colorMuted"]   { color: #7a8088; }
span[data-brand-color="colorAccent"]  { color: #bbb6af; }

/* Writer — font families */
span[data-font="cochin"]  { font-family: var(--font-display); }
span[data-font="sabon"]   { font-family: var(--font-body); }
span[data-font="sackers"] { font-family: 'Sackers Gothic'; letter-spacing:1px; line-height:1.6rem; }
