/**
 * Roze Kittens base layer — replaces Bootstrap (only the parts the theme
 * actually uses) + self-hosted fonts. Class names match Bootstrap so no
 * markup or content changes are needed.
 */

/* ======================================== */
/* :::::::: Self-hosted fonts ::::::::::::: */
/* ======================================== */

/* Libre Baskerville ships only 400 and 700 cuts — the ranges below make
   every weight resolve explicitly: 400-500 -> regular, 600-700 -> bold. */

/* regular, latin-ext */
@font-face {
  font-family: "Libre Baskerville";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(../fonts/google/libre-baskerville-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* regular, latin */
@font-face {
  font-family: "Libre Baskerville";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(../fonts/google/libre-baskerville-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* bold, latin-ext */
@font-face {
  font-family: "Libre Baskerville";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url(../fonts/google/libre-baskerville-bold-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* bold, latin */
@font-face {
  font-family: "Libre Baskerville";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url(../fonts/google/libre-baskerville-bold-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin */
@font-face {
  font-family: "Rouge Script";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/google/rouge-script-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ======================================== */
/* :::::::: Design tokens ::::::::::::::::: */
/* ======================================== */

:root {
  --rk-text-color: #50413b;
  --rk-heading-color: #4a3732;
  --rk-body-bg: #fcf0ec;
  --rk-accent: #da1315;
  --rk-border-color: #e8d9d2;
  --rk-font-main: "Libre Baskerville", Helvetica, Arial, sans-serif;
  --rk-font-script: "Rouge Script", Helvetica, Arial, sans-serif;
  --rk-container-sm: 540px;
  --rk-container-md: 720px;
  --rk-container-lg: 960px;
  --rk-container-xl: 1140px;
  --rk-container-xxl: 1320px;
  --rk-gutter-x: 1.5rem;
  --rk-gutter-y: 0;
}

/* ======================================== */
/* :::::::: Reboot (Bootstrap subset) ::::: */
/* ======================================== */

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

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

ol,
ul {
  padding-left: 2rem;
  margin-top: 0;
  margin-bottom: 1rem;
}

figure {
  margin: 0 0 1rem;
}

img,
svg {
  vertical-align: middle;
}

button,
input,
optgroup,
select,
textarea {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

button,
select {
  text-transform: none;
}

[type="button"],
[type="reset"],
[type="submit"],
button {
  -webkit-appearance: button;
}

/* ======================================== */
/* :::::::: Grid (Bootstrap-compatible) ::: */
/* ======================================== */

.container {
  width: 100%;
  padding-right: calc(var(--rk-gutter-x) * 0.5);
  padding-left: calc(var(--rk-gutter-x) * 0.5);
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) {
  .container {
    max-width: var(--rk-container-sm);
  }
}

@media (min-width: 768px) {
  .container {
    max-width: var(--rk-container-md);
  }
}

@media (min-width: 992px) {
  .container {
    max-width: var(--rk-container-lg);
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: var(--rk-container-xl);
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: var(--rk-container-xxl);
  }
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-top: calc(-1 * var(--rk-gutter-y));
  margin-right: calc(-0.5 * var(--rk-gutter-x));
  margin-left: calc(-0.5 * var(--rk-gutter-x));
}

.row > * {
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  padding-right: calc(var(--rk-gutter-x) * 0.5);
  padding-left: calc(var(--rk-gutter-x) * 0.5);
  margin-top: var(--rk-gutter-y);
}

.col {
  flex: 1 0 0%;
}

.gx-2 {
  --rk-gutter-x: 0.5rem;
}

.gy-2 {
  --rk-gutter-y: 0.5rem;
}

@media (min-width: 768px) {
  .col-md-1 { flex: 0 0 auto; width: 8.33333333%; }
  .col-md-2 { flex: 0 0 auto; width: 16.66666667%; }
  .col-md-3 { flex: 0 0 auto; width: 25%; }
  .col-md-4 { flex: 0 0 auto; width: 33.33333333%; }
  .col-md-5 { flex: 0 0 auto; width: 41.66666667%; }
  .col-md-6 { flex: 0 0 auto; width: 50%; }
  .col-md-7 { flex: 0 0 auto; width: 58.33333333%; }
  .col-md-8 { flex: 0 0 auto; width: 66.66666667%; }
  .col-md-9 { flex: 0 0 auto; width: 75%; }
  .col-md-10 { flex: 0 0 auto; width: 83.33333333%; }
  .col-md-11 { flex: 0 0 auto; width: 91.66666667%; }
  .col-md-12 { flex: 0 0 auto; width: 100%; }
}

/* ======================================== */
/* :::::::: Utilities ::::::::::::::::::::: */
/* ======================================== */

.text-center {
  text-align: center;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
