/*
Theme Name: Cute Thing Corner Child
Template: generatepress
Version: 1.0.0
Text Domain: cutethingcorner
*/

:root {
	--ctc-font-heading-script: "Eldwintrial Script Semi Bold", "Comic Sans MS", cursive;
	--ctc-font-heading-display: "Bubblegum Sans", "Trebuchet MS", sans-serif;
	--ctc-font-body: "Bricolage Grotesque", "Segoe UI", sans-serif;
	--ctc-font-button: "Bubblegum Sans", "Trebuchet MS", sans-serif;
	--ctc-color-primary: #116ea6;
	--ctc-color-primary-dark: #0d5a88;
	--ctc-color-primary-soft: #80c6ed;
	--ctc-color-surface: #f6f6f6;
	--ctc-color-surface-alt: #e2f3f5;
	--ctc-color-border: #b8dce8;
	--ctc-color-text: #071c23;
	--ctc-color-text-soft: #3f5e69;
	--ctc-color-accent: #80c6ed;
}
.site-header,
.main-navigation:not(.tutor-course-topic-single-header),
.navigation-search {
  display: none !important;
}

body:not(.wp-admin) .site-content {
  margin-top: 0;
}

body.ctc-mobile-menu-open {
  overflow: hidden;
}

.ctc-kawaii-header {
  position: sticky;
  top: 0;
  z-index: 999;
  padding: 16px 0 14px;
  background-color: rgba(255, 255, 255, 0.94);
  background-image: url("https://cutethingcorner.com/wp-content/uploads/2024/06/Group-1-1.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(168, 218, 239, 0.3);
  box-shadow: 0 6px 24px rgba(17, 110, 166, 0.06);
}

.ctc-kawaii-header__shell {
  width: min(100% - 72px, 1260px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px minmax(0, 1fr);
  align-items: start;
  gap: 18px;
}

.ctc-kawaii-header__mobile-bar {
  display: none;
}

.ctc-kawaii-header__nav {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 26px;
  flex-wrap: nowrap;
}

.ctc-kawaii-header__nav--left {
  justify-content: flex-end;
  padding-top: 14px;
}

.ctc-kawaii-header__nav--right {
  justify-content: flex-start;
  padding-top: 14px;
}

.ctc-kawaii-header__brand {
  display: flex;
  justify-content: center;
}

.ctc-kawaii-header__brand-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.ctc-kawaii-header__brand-link--mobile,
.ctc-kawaii-header__brand-link--panel {
  justify-content: flex-start;
}

.ctc-kawaii-header__logo-image {
  display: block;
  width: min(100%, 118px);
  height: auto;
}

.ctc-kawaii-header__logo-fallback {
  color: #071c23;
  font-family: "Bubblegum Sans", "Trebuchet MS", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1;
}

.ctc-kawaii-header__item {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 96px;
  padding: 4px 4px 10px;
  border-radius: 18px;
  color: #071c23;
  text-decoration: none;
  background: transparent;
  box-shadow: none;
  transition: transform 180ms ease, color 180ms ease, opacity 180ms ease;
}

.ctc-kawaii-header__item.is-pill {
  padding-inline: 4px;
}

.ctc-kawaii-header__item.is-pill .ctc-kawaii-header__label {
  color: #116ea6;
}

.ctc-kawaii-header__item.is-active,
.ctc-kawaii-header__item:hover,
.ctc-kawaii-header__item:focus {
  color: #1f7cc0;
  background: transparent;
  transform: translateY(-2px);
}

.ctc-kawaii-header__icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 48px;
}

.ctc-kawaii-header__icon {
  display: block;
  width: auto;
  max-width: 34px;
  max-height: 30px;
  object-fit: contain;
}

.ctc-kawaii-header__label {
  position: relative;
  font-family: "Bubblegum Sans", "Trebuchet MS", sans-serif;
  font-size: 0.96rem;
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
}

.ctc-kawaii-header__item.is-active .ctc-kawaii-header__label::after,
.ctc-kawaii-header__item:hover .ctc-kawaii-header__label::after,
.ctc-kawaii-header__item:focus .ctc-kawaii-header__label::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 34px;
  height: 4px;
  border-radius: 999px;
  background: rgba(31, 124, 192, 0.85);
  transform: translateX(-50%);
}

.ctc-kawaii-header__menu-toggle,
.ctc-kawaii-mobile-panel__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 20px;
  background: rgba(255, 253, 249, 0.96);
  color: #111111;
  font-family: "Bubblegum Sans", "Trebuchet MS", sans-serif;
  font-size: 0.98rem;
  box-shadow: 0 7px 0 rgba(12, 25, 45, 0.14);
  cursor: pointer;
}


.ctc-kawaii-header__menu-toggle-text {
  line-height: 1;
}

.ctc-kawaii-mobile-panel {
  position: fixed;
  inset: 0;
  z-index: 1001;
  padding: 0;
  background: rgba(17, 28, 43, 0.28);
}

.ctc-kawaii-mobile-panel__inner {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 22px 22px 40px;
  background:
    linear-gradient(180deg, rgba(21, 40, 64, 0.94), rgba(34, 48, 68, 0.96)),
    url("https://cutethingcorner.com/wp-content/uploads/2024/06/Group-1-1.png") center center / cover no-repeat;
  animation: ctc-mobile-menu-drop 220ms ease-out;
}

.ctc-kawaii-mobile-panel__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 42px;
}

.ctc-kawaii-mobile-panel__top .ctc-kawaii-header__logo-image {
  width: min(100%, 118px);
}

.ctc-kawaii-mobile-panel__nav {
  display: grid;
  gap: 22px;
  justify-items: end;
  padding-top: 8px;
}

.ctc-kawaii-mobile-panel__nav .ctc-kawaii-header__item {
  align-items: flex-end;
  min-width: auto;
  padding: 0;
  color: rgba(255, 255, 255, 0.92);
}

.ctc-kawaii-mobile-panel__nav .ctc-kawaii-header__item.is-pill .ctc-kawaii-header__label,
.ctc-kawaii-mobile-panel__nav .ctc-kawaii-header__item .ctc-kawaii-header__label {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(2rem, 7vw, 3.2rem);
  line-height: 1;
}

.ctc-kawaii-mobile-panel__nav .ctc-kawaii-header__icon-wrap {
  display: none;
}

.ctc-kawaii-mobile-panel__nav .ctc-kawaii-header__item.is-active .ctc-kawaii-header__label::after,
.ctc-kawaii-mobile-panel__nav .ctc-kawaii-header__item:hover .ctc-kawaii-header__label::after,
.ctc-kawaii-mobile-panel__nav .ctc-kawaii-header__item:focus .ctc-kawaii-header__label::after {
  display: none;
}

@keyframes ctc-mobile-menu-drop {
  from {
    opacity: 0;
    transform: translateY(-22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .ctc-kawaii-header {
    padding: 12px 0 10px;
    background-position: center top;
  }

  .ctc-kawaii-header__shell {
    width: min(100% - 24px, 960px);
    display: block;
  }

  .ctc-kawaii-header__brand,
  .ctc-kawaii-header__nav {
    display: none;
  }

 .ctc-kawaii-header__mobile-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  padding: 10px 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}


  .ctc-kawaii-header__brand-link--mobile .ctc-kawaii-header__logo-image {
  width: min(100%, 96px);
  }
}

@media (min-width: 1025px) {
  .ctc-kawaii-mobile-panel {
    display: none !important;
  }
}

.site-footer {
  display: none !important;
}

.ctc-kawaii-footer {
  margin-top: 0;
}

.ctc-kawaii-footer__top {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  margin-bottom: -74px;
  pointer-events: none;
}


.ctc-kawaii-footer__gif {
  display: block;
  width: min(100%, 920px);
  height: auto;
}

.ctc-kawaii-footer__main {
  background: #1f76ad;
  color: #ffffff;
  padding: 138px 0 42px;
}


.ctc-kawaii-footer__shell {
  width: min(100% - 40px, 1120px);
  margin: 0 auto;
}

.ctc-kawaii-footer__nav-wrap {
  display: grid;
  gap: 18px;
}

.ctc-kawaii-footer__heading {
  margin: 0;
  color: #ffffff;
  font-family: "Bubblegum Sans", "Trebuchet MS", sans-serif;
  font-size: 2rem;
  line-height: 1;
}

.ctc-kawaii-footer__nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.ctc-kawaii-footer__nav a,
.ctc-kawaii-footer__sep {
  color: #ffffff;
  font-family: "Bubblegum Sans", "Trebuchet MS", sans-serif;
  font-size: 1.3rem;
  line-height: 1;
  text-decoration: none;
}

.ctc-kawaii-footer__nav a:hover,
.ctc-kawaii-footer__nav a:focus {
  color: #dff2f6;
}

.ctc-kawaii-footer__sep {
  opacity: 0.45;
}

.ctc-kawaii-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(223, 242, 246, 0.6);
}

.ctc-kawaii-footer__logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.ctc-kawaii-footer__logo {
  display: block;
  width: 46px;
  height: auto;
}

.ctc-kawaii-footer__copyright {
  margin: 0;
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.5;
  text-align: right;
}

@media (max-width: 1024px) {
  .ctc-kawaii-footer__gif {
    width: min(100%, 760px);
  }

  .ctc-kawaii-footer__main {
    padding-top: 92px;
  }
}

@media (max-width: 640px) {
  .ctc-kawaii-footer__top {
    margin-bottom: -26px;
  }

  .ctc-kawaii-footer__gif {
    width: min(100%, 320px);
  }

  .ctc-kawaii-footer__main {
    padding: 88px 0 28px;
  }

  .ctc-kawaii-footer__shell {
    width: min(100% - 28px, 960px);
  }

  .ctc-kawaii-footer__heading {
    font-size: 1.6rem;
    text-align: center;
  }

  .ctc-kawaii-footer__nav {
    justify-content: center;
    gap: 10px;
  }

  .ctc-kawaii-footer__nav a,
  .ctc-kawaii-footer__sep {
    font-size: 1.05rem;
  }

  .ctc-kawaii-footer__bottom {
    flex-direction: column;
    justify-content: center;
    margin-top: 22px;
    padding-top: 18px;
    text-align: center;
  }

  .ctc-kawaii-footer__copyright {
    text-align: center;
    font-size: 0.92rem;
  }
.ctc-kawaii-header__icon-wrap {
		width: 40px;
		height: 34px;
	}
}
.ctc-kawaii-header__icon-wrap img,
.ctc-kawaii-header__icon-wrap svg {
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.ctc-kawaii-header__item.is-highlight {
	position: relative;
	min-width: 150px;
	padding-inline: 10px;
	background: transparent;
	box-shadow: none;
	animation: ctc-kofi-float 2.8s ease-in-out infinite;
}

.ctc-kawaii-header__item.is-highlight .ctc-kawaii-header__label {
	color: var(--ctc-color-primary);
	font-size: 1.02em;
}

.ctc-kawaii-header__item.is-highlight .ctc-kawaii-header__label::after {
	background: rgba(17, 110, 166, 0.42);
}

.ctc-kawaii-header__item.is-highlight .ctc-kawaii-header__icon-wrap {
	transform: scale(1.16);
}

.ctc-kawaii-header__item.is-highlight::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -6px;
	width: 42px;
	height: 8px;
	background: rgba(128, 198, 237, 0.24);
	border-radius: 999px;
	transform: translateX(-50%);
	filter: blur(1px);
	animation: ctc-kofi-glow 2.8s ease-in-out infinite;
}

.ctc-kawaii-header__item.is-highlight:hover,
.ctc-kawaii-header__item.is-highlight:focus {
	transform: translateY(-2px);
	background: transparent;
	box-shadow: none;
}

.ctc-kawaii-header__item.is-highlight:hover .ctc-kawaii-header__icon-wrap,
.ctc-kawaii-header__item.is-highlight:focus .ctc-kawaii-header__icon-wrap {
	transform: scale(1.22) rotate(-4deg);
}

@keyframes ctc-kofi-float {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-4px);
	}
}

@keyframes ctc-kofi-glow {
	0%,
	100% {
		opacity: 0.35;
		transform: translateX(-50%) scaleX(0.92);
	}
	50% {
		opacity: 0.75;
		transform: translateX(-50%) scaleX(1.08);
	}
}

