/* Custom Styles — Geometry of Grace homepage additions */

/* ---- Hamburger: visible at all widths, upper left ---- */
.header .gog-hamburger.hamburger,
.header .hamburger.gog-hamburger {
  display: block !important;
  margin-left: 0 !important;
  margin-right: auto;
  order: -1;
  flex: 0 0 30px;
  flex-shrink: 0;
  width: 30px !important;
  max-width: 30px;
  height: 24px;
  z-index: 20;
  align-self: center;
}

.header .header__container {
  display: flex;
  align-items: center;
  width: 100%;
}

.header .gog-hamburger .hamburger__slice {
  background-color: #ccb166 !important;
}

/* Hide empty Kajabi link-list menus so only the GoG nav shows */
.header .header__block--menu .link-list:empty,
.header .header__block--menu .link-list:not(:has(a)) {
  display: none;
}

/* Mobile / slide-down panel */
.header__content--mobile.gog-header-mobile {
  background: #090909;
  padding: 12px 24px 28px;
}

.gog-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px 0 4px;
  font-family: "Old Standard TT", Georgia, serif;
}

.gog-nav__link {
  display: block;
  color: #ccb166 !important;
  text-decoration: none !important;
  font-size: 18px;
  letter-spacing: 0.04em;
  padding: 10px 4px;
  border-bottom: 1px solid rgba(204, 177, 102, 0.18);
  transition: color 0.15s ease, padding-left 0.15s ease;
}

.gog-nav__link:hover,
.gog-nav__link:focus {
  color: #f3ead3 !important;
  padding-left: 10px;
}

.gog-nav__link--sub {
  font-size: 15px;
  padding-left: 22px;
  opacity: 0.85;
  border-bottom: none;
}

/* ---- Courses Coming Soon modal ---- */
.gog-modal[hidden] { display: none !important; }

.gog-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.gog-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 9, 9, 0.62);
}

.gog-modal__dialog {
  position: relative;
  z-index: 1;
  max-width: 440px;
  width: 100%;
  padding: 40px 32px 32px;
  text-align: center;
  background: linear-gradient(180deg, #FBF6E9 0%, #F3EAD3 100%);
  border: 1px solid #D9B978;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(60, 40, 10, 0.28);
  font-family: "Old Standard TT", Georgia, serif;
  color: #322616;
}

.gog-modal__close {
  position: absolute;
  top: 10px;
  right: 14px;
  border: 0;
  background: transparent;
  color: #7C5A22;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.gog-modal__eyebrow {
  margin: 0 0 6px;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9C8A6A;
}

.gog-modal__title {
  margin: 0 0 14px;
  font-size: 32px;
  font-weight: 600;
  color: #7C5A22;
}

.gog-modal__body {
  margin: 0 auto 26px;
  max-width: 340px;
  font-size: 17px;
  line-height: 1.55;
  color: #6E5B41;
}

.gog-modal__btn {
  display: inline-block;
  padding: 12px 28px;
  background: #A9782E;
  color: #FBF6E9;
  font-size: 15px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
}

.gog-modal__btn:hover { background: #7C5A22; }

/* ---- Study / Private Work section cards ---- */
.gog-panel {
  max-width: 720px;
  margin: 0 auto;
  padding: 44px 36px 40px;
  text-align: center;
  background: linear-gradient(180deg, #FBF6E9 0%, #F3EAD3 100%);
  border: 1px solid #D9B978;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(60, 40, 10, 0.10);
  font-family: "Old Standard TT", Georgia, serif;
  color: #322616;
}

.gog-panel h2,
.gog-panel h2.gog-panel__title,
#encore-theme .gog-panel h2,
#encore-theme .section .gog-panel h2,
#encore-theme .section.background-dark .gog-panel h2,
.section.background-dark .gog-panel h2,
.background-dark .gog-panel h2 {
  margin: 0 0 14px;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #7C5A22 !important;
}

.gog-panel p {
  margin: 0 auto 16px;
  max-width: 560px;
  font-size: 17px;
  line-height: 1.6;
  color: #6E5B41;
}

.gog-panel__status {
  display: inline-block;
  margin: 4px auto 22px;
  padding: 8px 16px;
  font-size: 15px;
  letter-spacing: 0.03em;
  color: #7C5A22;
  background: rgba(201, 169, 97, 0.16);
  border: 1px solid rgba(201, 169, 97, 0.45);
  border-radius: 999px;
}

.gog-panel__btn,
a.gog-panel__btn {
  display: inline-block;
  padding: 14px 32px;
  background: #A9782E;
  color: #FBF6E9 !important;
  font-size: 16px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  text-decoration: none !important;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(169, 120, 46, 0.35);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  font-family: inherit;
}

.gog-panel__btn:hover,
a.gog-panel__btn:hover {
  background: #7C5A22;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(124, 90, 34, 0.40);
}

.gog-panel__note {
  margin-top: 18px;
  font-size: 14px;
  color: #9C8A6A;
}

.gog-anchor {
  display: block;
  position: relative;
  top: -72px;
  height: 0;
  width: 0;
  visibility: hidden;
}

/* Study apply form reveal (hidden until Learn more & Apply) */
#section-1793740205001 .block-type--form {
  display: none;
  max-width: 640px;
  margin: 28px auto 0;
  float: none;
}

#section-1793740205001.gog-study--apply-open .block-type--form {
  display: block;
}

#section-1793740205001 .block-type--form .form {
  background: #fff;
  padding: 28px 24px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(60, 40, 10, 0.08);
}

/* Keep empty Kajabi menus out of the way */
.header .header__block--menu {
  display: none !important;
}

@media (max-width: 480px) {
  .gog-panel { padding: 30px 20px; margin: 0 4px; }
  .gog-panel h2 { font-size: 26px; }
  .gog-panel p { font-size: 16px; }
  .gog-nav__link { font-size: 16px; }
  .gog-modal__dialog { padding: 32px 22px 26px; }
  .gog-modal__title { font-size: 26px; }
}
