/*
 Theme Name:   GeneratePress EP Theme
 Theme URI:    https://generatepress.com
 Template:     GeneratePress
 Description:  Default GeneratePress child theme made by EP.
 Author:       EVERYDAY PRACTICE
 Author URI:   http://everyday-practice.com
 License:      GNU General Public License v3.0 (or later)
 License URI:  https://www.gnu.org/licenses/gpl-3.0.html
 Template:     generatepress
 Version:      0.1
*/
/* Initialize */
:root {
  --color-white: #fff;
  --color-black: #000;
}

button {
  background: transparent;
  outline: none;
  border: none;
  box-shadow: none;
  color: var(--text-basic);
  font-size: 1em;
  padding: 0;
}

table {
  border: none;
  table-layout: fixed;
}

table tr,
table th,
table td {
  border: none;
}

table tr {
  background-image: var(--h-dash);
  background-repeat: repeat-x;
  background-position: top left;
  background-size: 10px 1px;
}

table tr td {
  padding-top: 0.5rem;
  padding-right: 0.5rem;
  padding-bottom: 1em;
  vertical-align: baseline;
  height: unset !important;
}

:root[data-size=desktop] {
  --ep-margin: 20px;
  --ep-pageTop: 12px;
  --ep-headerH: 64px;
}

:root[data-size=tablet],
:root[data-size=phone_large],
:root[data-size=phone] {
  --ep-margin: 15px;
  --ep-pageTop: 10px;
  --ep-headerH: 50px;
}

* {
  word-break: keep-all;
  box-sizing: border-box;
  position: relative;
}

html {
  font-size: 18px !important;
}

body,
input,
select,
optgroup,
textarea {
  font-size: 1rem !important;
  line-height: 1.4em !important;
  font-family: "Pretendard", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif !important;
}

body {
  background-color: var(--icaseoul-bg-1);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: black;
}

h1 {
  font-size: 3.125rem;
  line-height: 1.1;
  font-weight: 400;
}

h2 {
  font-size: 1.8125rem;
  line-height: 1.1;
  font-weight: 400;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.4;
  font-weight: 700;
}

h4 {
  font-size: 1.1rem;
  line-height: 1.4;
  font-weight: 700;
}

p {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5rem;
}

.caption {
  font-size: 0.875rem;
}

a {
  text-decoration: none;
  color: #000;
}

input.text,
input.title,
input[type=email],
input[type=password],
input[type=tel],
input[type=text],
select,
textarea {
  background-color: #fff;
  border: 1px solid #bbb;
  padding: 2px;
  color: #4e4e4e;
}

/* ----- Initialize End ----- */
/* Global Styles */
:root {
  --gray-1: #CDCDCD;
  --gray-2: #DDDDDD;
  --gray-3: #F0F0F0;
  --gray-4: #FAFAFA;
  --brand-1: #7A14FF;
  --brand-2: #F1E5FF;
  --text-1: #222;
  --black: #000;
  --error-1: #ffebeb;
  --error-2: #da2800;
  --cntr: 16px;
}

/* ----- Global Styles End ----- */
/* Custom Styles */
.siff-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 0 19px;
  max-width: 1200px;
  margin: 0 auto;
  border-bottom: 3px solid #000;
}

.siff-header__logo {
  width: 190px;
  height: auto;
}

.siff-header__link {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 1;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--brand-1);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0px;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.siff-header__link:hover {
  color: var(--brand-1);
  opacity: 0.8;
}

.siff-header__link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.siff-footer__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  padding-bottom: 120px;
  max-width: 1200px;
  margin: 0 auto;
  border-top: 3px solid #000;
}

.svg-primary {
  fill: var(--brand-1);
}

.siff-footer__copyright {
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
  padding: 0;
}

@media (max-width: 767px) {
  .siff-header__inner {
    justify-content: space-between;
    padding: 12px 0 15px;
  }

  .siff-header__logo {
    width: 150px;
  }

  .siff-footer__inner {
    padding: 20px var(--cntr) 100px;
  }
}

.separate-containers .site-main {
  margin-top: 0;
  margin-bottom: 0;
}

.separate-containers .inside-article,
.separate-containers .comments-area,
.separate-containers .page-header,
.separate-containers .paging-navigation,
.one-container .site-content,
.inside-page-header {
  padding-left: 0;
  padding-right: 0;
  padding-top: 0;
  padding-bottom: 80px;
}

.entry-content:not(:first-child), .entry-summary:not(:first-child), .page-content:not(:first-child) {
  margin-top: 0;
}

.entry-header .entry-title {
  text-align: center;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  padding: 80px 0;
  width: 60%;
  margin: 0 auto;
}

@media (max-width: 1240px) {
  .siff-header,
  .separate-containers .inside-article,
  .separate-containers .comments-area,
  .separate-containers .page-header,
  .separate-containers .paging-navigation,
  .one-container .site-content,
  .inside-page-header,
  .site-footer {
    padding-left: var(--cntr);
    padding-right: var(--cntr);
  }
}

@media (max-width: 767px) {
  .entry-header .entry-title {
    font-size: 24px;
    width: 100%;
    padding: 30px 0;
  }
}

.wp-block-table table,
.wp-block-table td {
  border: none;
}

.wp-block-table tr {
  border-bottom: 1px solid var(--gray-1);
}

.wp-block-table tr:first-child {
  border-top: 1px solid var(--gray-1);
}

.wp-block-table tr td {
  padding: 16px 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--text-1);
  word-break: keep-all;
}

.wp-block-table tr td:first-child {
  width: 30%;
  font-weight: 700;
}

.wp-block-table.table-bg {
  background-color: var(--gray-4);
  border-bottom: 1px solid var(--gray-1);
}

.wp-block-table.table-bg tr td:first-child,
.wp-block-table.table-bg tr td {
  padding: 16px;
}

@media (max-width: 767px) {
  .wp-block-table tr {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
  }

  .wp-block-table tr td:first-child {
    width: 100%;
    padding-bottom: 0;
  }
}

.wp-block-buttons-is-layout-flex {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-primary a.wp-block-button__link,
.btn-primary button {
  background-color: var(--brand-1);
  border-radius: 0;
  font-size: 18px;
  font-weight: 700;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.btn-primary a.wp-block-button__link:hover,
.btn-primary button:hover {
  opacity: 0.8;
  background-color: var(--brand-1);
}

.site-main .wp-block-group p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-1);
  margin: 0;
  padding: 0;
}

.site-main .wp-block-group ol,
.site-main .wp-block-group ul {
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-1);
  padding-left: 16px;
}

.site-main .wp-block-group p + .wp-block-table,
.site-main .wp-block-group p + .wp-block-group {
  margin-top: 20px;
}

.site-main .entry-content {
  counter-reset: large;
}

.site-main .entry-content > .wp-block-group {
  counter-reset: middle;
  counter-increment: large;
}

.site-main .entry-content > .wp-block-group {
  display: flex;
  align-items: flex-start;
  padding: 0;
  border-top: 1px solid var(--gray-1);
  padding: 16px 0;
}

.site-main .entry-content > .wp-block-group:before {
  content: counter(large) ".";
  flex-shrink: 0;
  width: 40px;
}

.site-main .wp-block-group__inner-container,
.site-main .entry-content > .wp-block-group .wp-block-group__inner-container {
  flex: 1;
  padding: 0;
  margin: 0;
  max-width: inherit;
}

.site-main .entry-content > .wp-block-group .wp-block-group {
  counter-increment: middle;
  display: flex;
  align-items: flex-start;
  padding: 0;
  padding-bottom: 16px;
}

.site-main .entry-content > .wp-block-group .wp-block-group:before {
  content: counter(large) "-" counter(middle) ".";
  flex-shrink: 0;
  width: 40px;
}

.site-main .wp-block-group:before,
.site-main .wp-block-group h5,
.site-main .entry-content > .wp-block-group .wp-block-group:before,
.site-main .entry-content > .wp-block-group .wp-block-group h6 {
  font-size: 16px;
  font-weight: 700;
}

.site-main .wp-block-group h5,
.site-main .entry-content > .wp-block-group .wp-block-group h6 {
  margin-bottom: 14px;
}

.wp-block-preformatted {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--text-1);
}

.site-main .entry-content .accent {
  color: var(--brand-1);
  font-weight: 700;
}

.site-main .wp-block-group .wp-block-table tr:last-child {
  border-bottom: none;
}

@media (max-width: 767px) {
  .site-main .entry-content > .wp-block-group:before,
  .site-main .entry-content > .wp-block-group .wp-block-group:before {
    width: auto;
    margin-right: 4px;
  }

  .site-main .wp-block-group .wp-block-table tr {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .site-main .wp-block-group .wp-block-table tr td:first-child {
    width: 130px;
    padding-top: 16px;
    padding-bottom: 16px;
    padding-right: 10px;
  }

  .site-main .wp-block-group .wp-block-table tr td:last-child {
    flex: 1;
  }
}

/* ----- Custom Styles End ----- */