.gl-community-hero,
.gl-blog-layout,
.gl-professor-strip,
.gl-blog-article,
.gl-discussion,
.gl-contact-shell,
.gl-legal-page,
.gl-professor-portal {
  width: min(1160px, calc(100% - 32px));
  margin: 36px auto;
}

.gl-community-hero {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  padding: clamp(36px, 7vw, 84px);
  border-left: 5px solid #efbd51;
  background: #07152d;
  color: #fff;
}

.gl-community-hero::after {
  content: "";
  position: absolute;
  right: 5%;
  bottom: -80px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(94, 234, 212, .32);
  border-radius: 50%;
  box-shadow: 0 0 0 46px rgba(239, 189, 81, .08), 0 0 0 92px rgba(94, 234, 212, .05);
}

.gl-community-kicker {
  margin: 0 0 12px;
  color: #b0790d;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.gl-community-hero .gl-community-kicker,
.gl-professor-strip .gl-community-kicker,
.gl-professor-portal__hero .gl-community-kicker { color: #f4c961; }
.gl-community-hero h1 { max-width: 790px; margin: 0; font: 700 clamp(44px, 7vw, 78px)/1.02 Georgia, serif; }
.gl-community-hero > p:not(.gl-community-kicker) { max-width: 720px; margin: 24px 0; color: #c8d4e5; font-size: 19px; line-height: 1.65; }
.gl-community-actions { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }
.gl-community-button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 12px 20px; border: 1px solid #21436b; background: #fff; color: #0b2442; font-weight: 800; text-decoration: none; cursor: pointer; }
.gl-community-button--primary { border-color: #176b65; background: #176b65; color: #fff; }
.gl-community-button:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(3, 19, 38, .16); }

.gl-blog-layout > header { display: grid; grid-template-columns: .55fr 1fr; gap: 28px; align-items: end; margin-bottom: 26px; }
.gl-blog-layout h2,
.gl-professor-strip h2,
.gl-discussion h2 { margin: 0; color: #0b2442; font: 700 clamp(32px, 5vw, 52px)/1.08 Georgia, serif; }
.gl-blog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid #ccd6e2; border-left: 1px solid #ccd6e2; }
.gl-blog-card { min-width: 0; padding: clamp(24px, 4vw, 42px); border-right: 1px solid #ccd6e2; border-bottom: 1px solid #ccd6e2; background: #fff; }
.gl-blog-card__meta { display: flex; justify-content: space-between; gap: 16px; color: #67768a; font-size: 13px; }
.gl-blog-card h3 { margin: 22px 0 14px; font: 700 clamp(25px, 3vw, 34px)/1.12 Georgia, serif; }
.gl-blog-card h3 a { color: #0b2442; text-decoration: none; }
.gl-blog-card p { color: #566477; line-height: 1.65; }
.gl-blog-card__link { display: inline-flex; gap: 10px; align-items: center; color: #176b65; font-weight: 900; text-decoration: none; }
.gl-blog-card__link span { transition: transform .2s ease; }
.gl-blog-card__link:hover span { transform: translateX(5px); }

.gl-professor-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; padding: clamp(28px, 5vw, 52px); background: #e9f3f1; border-top: 4px solid #176b65; }
.gl-professor-strip > p { margin: 0; color: #445669; font-size: 18px; line-height: 1.7; }

.gl-blog-article { max-width: 900px; }
.gl-back-link { color: #176b65; font-weight: 800; text-decoration: none; }
.gl-blog-article > header { margin: 42px 0 32px; padding-bottom: 30px; border-bottom: 1px solid #cad4df; }
.gl-blog-article h1 { margin: 0; color: #0b2442; font: 700 clamp(42px, 7vw, 72px)/1.03 Georgia, serif; }
.gl-blog-article__date { color: #6b7788; }
.gl-blog-article__content { color: #26394d; font-size: 18px; line-height: 1.82; }
.gl-blog-article__content h2 { margin: 38px 0 12px; color: #0b2442; font: 700 32px/1.2 Georgia, serif; }
.gl-professor-reading { margin: 34px 0 38px; padding: clamp(24px, 4vw, 38px); border: 1px solid #ccd6e2; border-left: 5px solid #efbd51; background: #f8fbff; color: #26394d; }
.gl-professor-reading h2 { margin: 0 0 14px; color: #0b2442; font: 700 clamp(30px, 4vw, 42px)/1.12 Georgia, serif; }
.gl-professor-reading > p { font-size: 17px; line-height: 1.75; }
.gl-professor-reading__problem { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 24px 0; }
.gl-professor-reading__problem article { min-width: 0; padding: 20px; border: 1px solid #bdccd9; background: #fff; }
.gl-professor-reading__problem strong { display: block; margin-bottom: 9px; color: #0b2442; font-size: 18px; }
.gl-professor-reading__problem p { margin: 0; color: #536478; line-height: 1.65; }
.gl-professor-reading__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 24px 0; }
.gl-professor-reading__grid article { padding: 18px; border: 1px solid #d7e1ec; background: #fff; }
.gl-professor-reading__grid span { display: inline-flex; margin-bottom: 10px; color: #a06d0e; font-weight: 900; }
.gl-professor-reading__grid h3, .gl-professor-reading__method h3, .gl-professor-reading__scenario h3 { margin: 0 0 8px; color: #0b2442; font-size: 19px; }
.gl-professor-reading__grid p, .gl-professor-reading__method li, .gl-professor-reading__scenario li, .gl-professor-reading__scenario p, .gl-professor-reading__course p, .gl-professor-reading__source, .gl-professor-reading__revision p { color: #536478; line-height: 1.65; }
.gl-professor-reading__course { margin: 18px 0; padding: 16px 18px; background: #07152d; color: #fff; }
.gl-professor-reading__course strong { color: #f2c85d; }
.gl-professor-reading__course p { margin: 7px 0 0; color: #d7e3f2; }
.gl-professor-reading__scenario { margin: 18px 0; padding: 20px; border: 1px solid #d2dfeb; background: #fff; }
.gl-professor-reading__scenario h3:not(:first-child) { margin-top: 18px; }
.gl-professor-reading__scenario ol { margin: 10px 0 0; padding-left: 22px; }
.gl-professor-reading__method { margin-top: 20px; padding-top: 18px; border-top: 1px solid #d1dce8; }
.gl-professor-reading__method ol { margin: 12px 0 0; padding-left: 22px; }
.gl-professor-reading__revision { margin-top: 18px; padding: 16px 18px; border-left: 4px solid #176b65; background: #eef8f6; }
.gl-professor-reading__revision strong { display: block; color: #0b2442; }
.gl-professor-reading__revision p { margin: 7px 0 0; }
.gl-professor-reading__source { margin-bottom: 0; font-size: 14px; }
.gl-blog-ai { display: flex; justify-content: space-between; gap: 24px; align-items: center; margin-top: 40px; padding: 26px; border-left: 5px solid #efbd51; background: #07152d; color: #fff; }
.gl-blog-ai div { display: grid; gap: 4px; }
.gl-blog-ai span { color: #c9d5e7; }

.gl-discussion { max-width: 900px; padding-top: 36px; border-top: 1px solid #cad4df; }
.gl-discussion > header > p:last-child { color: #5b6879; }
.gl-comments { display: grid; gap: 14px; margin: 28px 0; }
.gl-comment { padding: 20px; border: 1px solid #ccd6e2; border-left: 5px solid #91a2b5; background: #fff; }
.gl-comment.is-professor { border-left-color: #176b65; background: #f2faf8; }
.gl-comment > div { display: flex; justify-content: space-between; color: #506176; }
.gl-comment p { margin-bottom: 0; }
.gl-discussion .comment-form { display: grid; gap: 12px; padding: 24px; background: #f5f7fa; border: 1px solid #d4dce6; }
.gl-discussion textarea { width: 100%; min-height: 150px; padding: 14px; border: 1px solid #9dacbd; background: #fff; }
.gl-discussion .submit { min-height: 48px; border: 0; background: #176b65; color: #fff; font-weight: 900; padding: 12px 20px; cursor: pointer; }
.gl-moderation-note, .gl-policy-link, .gl-empty { color: #637185; }
.gl-own-contributions { margin: 18px 0; padding: 18px; border-left: 5px solid #c58b18; background: #fff7e6; }
.gl-own-contributions > strong { color: #5b410c; }
.gl-own-contributions p { margin: 10px 0 0; color: #4d5663; }
.gl-own-contributions p span { font-weight: 900; color: #805800; }
.gl-own-contributions small { display: block; margin-top: 4px; color: #6c7786; }

.gl-contact-shell { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.gl-contact-intro { position: sticky; top: 110px; padding: 34px; background: #07152d; color: #fff; }
.gl-contact-intro h1 { margin: 0; font: 700 clamp(38px, 5vw, 56px)/1.05 Georgia, serif; }
.gl-contact-intro p:last-child { color: #c8d5e6; line-height: 1.65; }
.gl-contact-form { display: grid; gap: 18px; padding: clamp(24px, 5vw, 46px); border: 1px solid #ccd6e2; background: #fff; }
.gl-contact-form label { display: grid; gap: 7px; color: #26394d; font-weight: 800; }
.gl-contact-form input, .gl-contact-form select, .gl-contact-form textarea { width: 100%; padding: 13px 14px; border: 1px solid #9dacbd; background: #fff; color: #10263f; font: inherit; }
.gl-contact-privacy { color: #66768a; font-size: 14px; line-height: 1.55; }
.gl-honeypot { position: absolute !important; left: -9999px !important; }
.gl-form-success, .gl-form-error { padding: 14px; border-left: 4px solid #176b65; background: #eaf8f4; }
.gl-form-error { border-left-color: #b63a3a; background: #fff0f0; }

.gl-news-subscribe { width: min(1160px, calc(100% - 32px)); margin: 36px auto; padding: clamp(24px, 4vw, 38px); border-top: 4px solid #176b65; background: #eef7f5; }
.gl-news-subscribe h2 { max-width: 760px; margin: 0 0 12px; color: #0b2442; font: 700 clamp(28px, 4vw, 42px)/1.12 Georgia, serif; }
.gl-news-subscribe p:not(.gl-community-kicker) { max-width: 850px; color: #4e6075; line-height: 1.65; }
.gl-news-subscribe form { display: grid; grid-template-columns: 1fr 1.2fr minmax(150px, .8fr) minmax(210px, 1fr) auto; gap: 10px; margin-top: 18px; align-items: center; }
.gl-news-subscribe input,
.gl-news-subscribe select { min-width: 0; min-height: 48px; padding: 12px 13px; border: 1px solid #9dacbd; background: #fff; color: #10263f; font: inherit; }
.gl-news-subscribe button { min-height: 48px; padding: 12px 18px; border: 0; background: #176b65; color: #fff; font: inherit; font-weight: 900; cursor: pointer; }
.gl-news-subscribe__events { min-height: 48px; display: inline-flex; align-items: center; gap: 9px; padding: 10px 12px; border: 1px solid #bad2ce; background: #fff; color: #243a50; font-weight: 800; }
.gl-news-subscribe__events input { width: 18px; min-width: 18px; min-height: 18px; height: 18px; padding: 0; accent-color: #176b65; }

.gl-news-method { width: min(1160px, calc(100% - 32px)); margin: 36px auto; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(22px, 4vw, 46px); align-items: start; padding: clamp(24px, 4vw, 42px); border: 1px solid #ccd6e2; background: #fff; }
.gl-news-method h2 { margin: 0 0 14px; color: #0b2442; font: 700 clamp(30px, 4vw, 46px)/1.12 Georgia, serif; }
.gl-news-method p:not(.gl-community-kicker) { color: #4d6075; font-size: 17px; line-height: 1.7; }
.gl-news-method ol { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; counter-reset: gl-news-method; }
.gl-news-method li { min-width: 0; padding: 18px; border-left: 4px solid #efbd51; background: #f6f9fc; counter-increment: gl-news-method; }
.gl-news-method li::before { content: counter(gl-news-method, decimal-leading-zero); display: block; margin-bottom: 10px; color: #a06d0e; font-weight: 900; }
.gl-news-method strong { display: block; color: #0b2442; font-size: 18px; }
.gl-news-method span { display: block; margin-top: 7px; color: #5a6a7d; line-height: 1.6; }

.gl-legal-page { max-width: 900px; padding: clamp(24px, 5vw, 52px); background: #fff; border: 1px solid #d4dce6; }
.gl-legal-page h1 { margin: 0 0 30px; color: #0b2442; font: 700 clamp(42px, 6vw, 64px)/1.05 Georgia, serif; }
.gl-legal-page h2 { margin-top: 34px; color: #0b2442; }
.gl-legal-page p, .gl-legal-page li, .gl-legal-page dd { color: #405166; line-height: 1.7; }
.gl-legal-page dl { display: grid; grid-template-columns: 220px 1fr; gap: 10px 22px; }
.gl-legal-page dt { font-weight: 900; color: #182f48; }
.gl-legal-page dd { margin: 0; }
.gl-legal-admin-warning { padding: 16px; border-left: 5px solid #b67600; background: #fff4d9; color: #5c400d; }
.gl-legal-page h3 { margin: 24px 0 8px; color: #183b60; font-size: 1.08rem; }
.gl-legal-page h2[id] { scroll-margin-top: 32px; }
.gl-legal-pending { margin: 14px 0 24px; padding: 14px 16px; border: 1px dashed #a15c00; border-left: 5px solid #a15c00; background: #fff4e0; color: #4a3200; }
.gl-legal-summary { margin: 24px 0; padding: 18px 20px; border: 1px solid #b8c8d9; border-left: 5px solid #b88922; background: #f6f9fc; }
.gl-legal-summary ul { margin-bottom: 0; }
.gl-legal-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 34px; }
.gl-legal-toc a { padding: 8px 11px; border: 1px solid #b9c7d6; color: #12375b; background: #fff; text-decoration: none; font-weight: 800; }
.gl-legal-toc a:hover, .gl-legal-toc a:focus-visible { border-color: #b88922; background: #fff8e8; }
.gl-legal-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; padding-top: 20px; border-top: 1px solid #d4dce6; }
.gl-legal-actions button, .gl-legal-actions a { padding: 10px 14px; border: 1px solid #173c62; background: #173c62; color: #fff; font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; }
.gl-withdrawal-template { margin: 24px 0; padding: 22px; border: 1px solid #9eacbc; background: #f8fafc; }
.gl-withdrawal-template li { min-height: 38px; padding-block: 7px; border-bottom: 1px dotted #9eacbc; }

@media print {
  .gl-legal-footer, .gl-legal-actions, .gl-legal-toc { display: none !important; }
  .gl-legal-page { max-width: none; border: 0; padding: 0; }
}

.gl-professor-portal__hero { padding: clamp(32px, 6vw, 68px); background: #07152d; color: #fff; }
.gl-professor-portal__hero h1 { margin: 0; font: 700 clamp(42px, 6vw, 66px)/1.03 Georgia, serif; }
.gl-professor-portal__hero p:last-child { max-width: 760px; color: #c5d2e4; font-size: 18px; line-height: 1.65; }
.gl-professor-steps { display: grid; grid-template-columns: repeat(5, 1fr); padding: 0; margin: 0 0 30px; list-style: none; border-left: 1px solid #cad4df; }
.gl-professor-steps li { display: flex; gap: 12px; padding: 24px 18px; border-right: 1px solid #cad4df; border-bottom: 1px solid #cad4df; }
.gl-professor-steps li > b { color: #b0790d; }
.gl-professor-steps span { display: grid; gap: 8px; color: #58687a; line-height: 1.5; }
.gl-professor-steps strong { color: #0b2442; }
.gl-professor-proof { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0 0 28px; }
.gl-professor-proof article { min-width: 0; padding: 18px; border: 1px solid #d4dce6; border-top: 4px solid #176b65; background: #fff; }
.gl-professor-proof strong { display: block; color: #0b2442; font-size: 17px; }
.gl-professor-proof span { display: block; margin-top: 8px; color: #58687a; line-height: 1.55; }
.dea-professor-application { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; margin-top: 30px; padding: clamp(22px, 4vw, 36px); border: 1px solid #d4dce6; border-left: 5px solid #efbd51; background: #f8fafc; }
.dea-professor-application h3 { margin: 0 0 12px; color: #0b2442; font: 700 clamp(28px, 4vw, 42px)/1.12 Georgia, serif; }
.dea-professor-application p { color: #536478; line-height: 1.65; }
.dea-professor-application form { display: grid; gap: 12px; }
.dea-professor-application label { display: grid; gap: 6px; color: #24364a; font-weight: 800; }
.dea-professor-application input,
.dea-professor-application select,
.dea-professor-application textarea { width: 100%; min-width: 0; padding: 12px 13px; border: 1px solid #aab8c8; background: #fff; color: #10263f; font: inherit; }
.dea-professor-application button { min-height: 48px; border: 0; background: #176b65; color: #fff; font: inherit; font-weight: 900; cursor: pointer; }
.dea-application-ok { padding: 13px; border-left: 4px solid #176b65; background: #eaf8f4; }
.dea-kicker { margin: 0 0 12px; color: #b0790d; font-size: 13px; font-weight: 900; letter-spacing: 0; text-transform: uppercase; }

.gl-legal-footer { margin-top: 54px; background: #040f22; color: #fff; border-top: 4px solid #efbd51; }
.site-footer { display: none; }
.gl-legal-footer__inner { width: min(1160px, calc(100% - 32px)); margin: auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 38px; padding: 48px 0; }
.gl-legal-footer__brand strong { font: 700 30px/1 Georgia, serif; }
.gl-legal-footer__brand p { color: #aebcd0; line-height: 1.6; }
.gl-legal-footer nav { display: grid; align-content: start; gap: 10px; }
.gl-legal-footer nav strong { margin-bottom: 6px; color: #efc65f; }
.gl-legal-footer a { color: #c7d3e4; text-decoration: none; }
.gl-legal-footer a:hover { color: #fff; text-decoration: underline; }
.gl-legal-footer__bottom { width: min(1160px, calc(100% - 32px)); margin: auto; display: flex; justify-content: space-between; gap: 20px; padding: 18px 0 26px; border-top: 1px solid #263650; color: #91a2b8; font-size: 13px; }

/* The content grows from the bottom edge and the indicator visibly travels. */
.dea-faq details { position: relative; overflow: hidden; }
.dea-faq details::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: #5eead4; transform: scaleX(0); transform-origin: left; transition: transform .42s cubic-bezier(.2,.75,.25,1); }
.dea-faq details[open]::after { transform: scaleX(1); }
.dea-faq details > div { visibility: hidden; transform: translateY(-12px); transition: grid-template-rows .42s ease, opacity .32s ease, transform .42s ease, visibility 0s linear .42s !important; }
.dea-faq details[open] > div { visibility: visible; transform: translateY(0); transition-delay: 0s !important; }
.dea-faq details > div > p { min-height: 0; }

@media (max-width: 850px) {
  .gl-blog-layout > header, .gl-professor-strip, .gl-contact-shell { grid-template-columns: 1fr; }
  .gl-blog-grid { grid-template-columns: 1fr; }
  .gl-news-method { grid-template-columns: 1fr; }
  .gl-news-method ol { grid-template-columns: 1fr; }
  .gl-professor-steps { grid-template-columns: 1fr; }
  .gl-professor-proof { grid-template-columns: 1fr 1fr; }
  .dea-professor-application { grid-template-columns: 1fr; }
  .gl-contact-intro { position: static; }
  .gl-legal-footer__inner { grid-template-columns: 1fr 1fr; }
  .gl-news-subscribe form { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .gl-community-hero, .gl-blog-layout, .gl-professor-strip, .gl-blog-article, .gl-discussion, .gl-contact-shell, .gl-legal-page, .gl-professor-portal { width: min(100% - 20px, 1160px); margin-block: 20px; }
  .gl-community-hero { min-height: 0; padding: 30px 22px; }
  .gl-community-hero h1 { font-size: 42px; }
  .gl-professor-reading { padding: 22px 16px; }
  .gl-professor-reading__problem { grid-template-columns: 1fr; }
  .gl-professor-reading__grid { grid-template-columns: 1fr; }
  .gl-blog-ai { align-items: stretch; flex-direction: column; }
  .gl-legal-page dl { grid-template-columns: 1fr; }
  .gl-legal-footer__inner { grid-template-columns: 1fr; }
  .gl-legal-footer__bottom { flex-direction: column; }
  .gl-news-subscribe { width: min(100% - 20px, 1160px); }
  .gl-news-subscribe form { grid-template-columns: 1fr; }
  .gl-professor-proof { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .gl-community-button, .gl-blog-card__link span, .dea-faq details::after, .dea-faq details > div { transition: none !important; }
}
