/*
Theme Name: Kudela EDU
Theme URI: https://kudela.edu.pl/
Author: Brainbox
Author URI: https://brainbox.com.pl
Version: 1.0.0
Requires at least: 6.8
Tested up to: 7.1
Requires PHP: 8.4
Text Domain: 
*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
}

@font-face {
  font-family: "Inter";
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Editors Note";
  src: url("assets/fonts/brand/editors-note-light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Editors Note";
  src: url("assets/fonts/brand/editors-note-regular.woff") format("woff");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Editors Note";
  src: url("assets/fonts/brand/editors-note-light-italic.woff") format("woff");
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "R41 Alfabeta";
  src: url("assets/fonts/brand/r41-alfabeta.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
}

ol:not(.wp-block-list),
ul:not(.wp-block-list) {
  list-style: none;
}

.wp-block-list {
  margin-block-start: 0;
  margin-block-end: 0;
}

.wp-block-list li {
  margin-left: 4rem;
}

.wp-block-paragraph {
  margin: 0;
  padding: 0;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* NOWE STYLE */

:root {
  --color-white: #fff;
  --color-black: #000;
  --black: #000;
  --white: #fff;

  --brand-olive: #9c9a83;
  --brand-sand: #d3ccba;
  --brand-ink: #332f2c;
  --brand-warm: #d3ccba;
  --brand-stone: #bdbbac;
  --brand-paper: #f9f4f0;
  --brand-linen: #e3dbc6;
  --brand-accent: #636152;
  --brand-gold: #a79974;
  --brand-brown: #4d423c;
  --brand-muted: #f3efe6;
  --brand-sage: #deded6;

  --font-main: "Inter", Arial, sans-serif !important;
  --font-header: "Editors Note", Georgia, serif !important;
  --font-script: "R41 Alfabeta", cursive !important;

}

/* // 10px = 1rem */
html {
  font-size: 62.5%;
}

body {
  font-family: var(--font-main);
  font-size: 1.6rem;
  line-height: 1.5;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-header);
  font-weight: 300;
  font-style: normal;
  letter-spacing: -.025em;
}

h1 em,
h2 em,
h3 em,
h4 em,
h5 em {
  font-style: italic;
}

h1 {
  font-size: 4.8rem;

  @media (max-width: 768px) {
    font-size: 4rem;
  }
}

h2 {
  font-size: clamp(4.4rem, 4.4vw, 7.2rem);
  line-height: 1.04;
  margin-bottom: 2.8rem;

  @media (max-width: 768px) {
    font-size: 4.48rem;
    line-height: 1.06;
  }
}

h3,
h4,
h5,
.title {
  font-size: 3.36rem;
  line-height: 1.14;

  @media (max-width: 768px) {
    font-size: 3.36rem;
  }
}

p {
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
}

:root :where(p) {
  font-size: 1.8rem;

  @media (max-width: 768px) {
    font-size: 1.8rem;
  }
}

p:last-child {
  margin-bottom: 0;
}


.is-style-dark {
  background: var(--brand-ink);
  color: var(--brand-paper);
}

.is-style-light {
  background: var(--brand-paper);
  color: var(--brand-ink);
}

.has-background {
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.has-accent-hover-color.has-text-color {
  color: var(--brand-accent);
}

.has-accent-hover-color.has-text-color strong {
  color: var(--brand-accent);
  font-weight: 500;
}

.has-accent-color.has-text-color {
  color: var(--brand-gold);
}

.has-accent-color.has-text-color strong {
  color: var(--brand-gold);
  font-weight: 500;
}

body.is-style-light div[style*="background-image"] .wp-block-heading {
  color: var(--brand-paper) !important;
}

body.is-style-light a:where(:not(.wp-element-button)) {
  color: var(--brand-accent);
}

body.is-style-light a:where(:not(.wp-element-button)):hover {
  color: var(--brand-ink);
}

:root :where(.wp-block-group-is-layout-flex) {
  gap: 2rem;
}

@media (max-width: 768px) {
  :root {
    --wp--preset--spacing--20: 10px;
    --wp--preset--spacing--30: 15px;
    --wp--preset--spacing--40: 20px;
    --wp--preset--spacing--50: 25px;
    --wp--preset--spacing--60: 30px;
    --wp--preset--spacing--70: 35px;
    --wp--preset--spacing--80: 40px;
    --wp--preset--spacing--10: 5px;
  }
}

