/*
  Theme Name: NOIDA
  Theme URI: 
  Author: NOIDA
  Author URI: https://noida.co.kr
  Description: Wordpress theme for NOIDA client
  Version: 0.1
  Requires PHP: 7.4
  Tags: NOIDA
  License: 
  License URI: 
  Text Domain: noida
*/

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */
a {
  text-decoration-thickness: 1px !important;
  text-underline-offset: 0.1em;
}

/* Focus styles */
:where(.wp-site-blocks *:focus) {
  outline-width: 2px;
  outline-style: solid;
}

/* Increase the bottom margin on submenus, so that the outline is visible. */
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
  margin-bottom: 3px;
}

/* Increase the outline offset on the parent menu items, so that the outline does not touch the text. */
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
  outline-offset: 4px;
}

/* Remove outline offset from the submenus, otherwise the outline is visible outside the submenu container. */
.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
  outline-offset: 0;
}

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */
h1,
h2,
h3,
h4,
h5,
h6,
blockquote,
caption,
figcaption,
p {
  text-wrap: pretty;
}

/*
 * Change the position of the more block on the front, by making it a block level element.
 * https://github.com/WordPress/gutenberg/issues/65934
*/
.more-link {
  display: block;
}

/*
 * Prevents unnecessary scrollbars while handling long lines of preformatted text.
 * https://core.trac.wordpress.org/ticket/63875
 */
:where(pre) {
  overflow-x: auto;
}

:root {
  --font-base: var(--wp--preset--font-family--pretendard, 'Pretendard');
  --font-heading: 'Cormorant Garamond', 'Pretendard', san-serif;
  --color-primary: #292622;
  --color-secondary: #6f6c66;
  --color-tertiary: #f3f0ea;
  --color-primary-background: #f7f7f7;
  --color-secondary-background: #e9e5de;
  --color-text: #242321;

  --w-max: 1440px;

  --h-header: 80px;
  --z-header: 990;
}

*,
*::before,
*::after {
  word-break: keep-all;
  box-sizing: border-box;
}
*:focus {
  outline: none;
}
*:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

::selection {
  background: var(--color-primary);
  color: var(--color-background);
}

html,
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  position: relative;
  width: 100%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -ms-overflow-style: scrollbar;
  -webkit-tap-highlight-color: transparent;
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;

  font-family: var(--font-base), sans-serif;
  text-align: left;
  word-break: keep-all;

  text-rendering: optimizeLegibility;
  -moz-osx-font-smoothing: grayscale;

  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
}

a {
  text-decoration-thickness: 1px !important;
  text-underline-offset: 0.1em;
}

html,
body,
div,
span,
h1,
h2,
h3,
h4,
h5,
h6,
p,
em,
img,
section,
ol,
ul,
li,
hr,
strong,
figure,
tr,
th,
td,
dl,
dt,
dd,
fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: middle;
  -webkit-text-size-adjust: none;
  font-style: normal;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2;
  font-size: 100%;
  font-weight: 700;
  font-family: var(--font-heading), var(--font-base), sans-serif;
}

ul,
ol,
li,
dl {
  list-style: none;
}

a,
area,
button,
[role='button'],
input:not([type='range']),
label,
select,
summary,
textarea {
  -ms-touch-action: manipulation;
  touch-action: manipulation;
}

img,
video,
iframe {
  border: 0;
  outline: 0;
  max-width: 100%;
}

a {
  display: inline-block;
  color: inherit;
}

a:hover {
  text-decoration: underline;
}

i {
  font-style: normal;
}

img {
  display: inline-block;
  max-width: 100%;
}
strong {
  vertical-align: middle;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

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

th {
  text-align: inherit;
}

input {
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  vertical-align: middle;
  background-color: transparent;
  border: 1px solid transparent;
  font-family: var(--font-base), sans-serif;
  box-sizing: border-box;
}

textarea {
  width: 100%;
  margin: 0;
  padding: 1em;
  box-sizing: border-box;
  font-family: var(--font-base), sans-serif;
  resize: vertical;
}

button {
  display: inline-block;
  margin: 0;
  padding: 0;
  border: 0;
  -webkit-appearance: none;
  font-family: var(--font-base), sans-serif;
  font-size: 100%;
  line-height: 1.6;
  background: none;
  cursor: pointer;
}

button:disabled,
button[disabled] {
  -webkit-tap-highlight-color: transparent;
  color: inherit;
}

select {
  border-width: 0;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  font-family: var(--font-base), sans-serif;
}

select::-ms-expand {
  display: none;
}

address:hover {
  text-decoration: underline;
  cursor: pointer;
}

:where(pre) {
  overflow-x: auto;
}

/* **Layout** */
.inner {
  width: 92.5%;
  max-width: var(--w-max);
  margin: 0 auto;
}
.content {
  background-color: #000;
  min-height: 100lvh;
}
