/* Royal Korean, 27 Nov (owner's list), built on the TEST host first.
   1 green Free test button · 2 header scrolls away on phones · 3 About page re-ordered · 4 home gets the About info on phones
   Linked LAST in every page, so it wins over boli.css / desk.css / blue-app.css. */

/* ── 1. Free test = green button (home) ── */
.btn.free-go { background: linear-gradient(180deg, #2fbf6a, #1c9a52); color: #fff; box-shadow: 0 10px 22px -14px rgba(28, 154, 82, .95), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn.free-go:hover, .btn.free-go:active { background: linear-gradient(180deg, #27ad5e, #168745); color: #fff; }
.btn.free-go .go-ico, .btn.free-go .go-arr { color: #fff !important; }
.btn.green { background: linear-gradient(180deg, #2fbf6a, #1c9a52); color: #fff; box-shadow: 0 10px 22px -14px rgba(28, 154, 82, .95), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn.green:hover { background: linear-gradient(180deg, #27ad5e, #168745); color: #fff; }

/* ── 2. phones: the logo bar scrolls away with the page (it used to stay on top and eat the screen) ── */
@media (max-width: 760px) {
  header.nav, .nav { position: static !important; top: auto; }
  .timer { top: 8px; }
}

/* ── 3. About page ── */
.ab-top { padding-top: clamp(26px, 5vw, 48px); }
.ab-top .sec-head { margin-bottom: 18px; }
.ab-top .h2 { font-size: clamp(1.45rem, 4.6vw, 2.1rem); }
.stu-list { display: grid; gap: 10px; max-width: 560px; margin: 0; padding: 0; list-style: none; }
.stu-list li { display: flex; align-items: center; gap: 14px; padding: 10px 14px 10px 10px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.stu-list img { flex: none; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 22%; border: 2px solid var(--sun, #ffd166); }
.stu-list b { display: block; font-size: 1.02rem; color: var(--ink); line-height: 1.25; }
.stu-list span { display: block; margin-top: 2px; font-size: .85rem; line-height: 1.4; color: var(--ink2); }
.stu-list .pc { margin-left: auto; flex: none; padding: 6px 11px; border-radius: 999px; background: var(--ink); color: #0b1a3d; font-weight: 800; font-size: .9rem; line-height: 1; }

.tt-only { align-items: center; }
.tt-only .wrap > div { max-width: 640px; }
.tt-only .stats { margin-top: 26px; }

/* newspaper block: photo = half of the width on the left, text runs on the right */
.news { display: flex; align-items: flex-start; gap: clamp(14px, 3vw, 28px); }
.news .news-photo { flex: 0 0 46%; width: 46%; max-width: 360px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.news .news-txt { flex: 1; min-width: 0; }
.news .news-txt .h2 { margin: 10px 0 8px; font-size: clamp(1.25rem, 4.4vw, 2rem); }
.news .news-txt .lead { margin: 0; font-size: clamp(.86rem, 2.9vw, 1.02rem); line-height: 1.6; }
@media (max-width: 480px) { .news { gap: 12px; } .news .news-photo { flex-basis: 44%; width: 44%; } .news .news-txt .lead { font-size: .84rem; line-height: 1.55; } }

/* counsellor: a green button, the form is on its own page */
.counsel-cta { margin-top: 30px; padding: 20px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; max-width: 560px; }
.counsel-cta h3 { margin: 0 0 6px; font-size: 1.25rem; color: var(--ink); }
.counsel-cta p { margin: 0 0 16px; color: var(--ink2); font-size: .95rem; line-height: 1.55; }
.counsel-cta .btn { width: 100%; }
#faq .wrap.one { max-width: 860px; }

/* About us: long, small, tidy */
.about-us { font-size: .92rem; line-height: 1.7; color: var(--ink2); }
.about-us .over { display: inline-flex; }
.about-us h2.h2 { margin: 12px 0 18px; font-size: clamp(1.4rem, 4.6vw, 2rem); }
.au-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0 0 24px; padding: 0; list-style: none; }
.au-facts li { padding: 12px 10px; text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.au-facts b { display: block; font-size: 1.35rem; line-height: 1.1; color: var(--sun, #ffd166); }
.au-facts span { display: block; margin-top: 4px; font-size: .74rem; line-height: 1.3; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.au-body { display: grid; gap: 16px; max-width: 820px; }
.au-body section { padding-left: 14px; border-left: 2px solid var(--line2); }
.au-body h3 { margin: 0 0 4px; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--sun, #ffd166); }
.au-body p { margin: 0; }
.au-body p + p { margin-top: 8px; }
.au-body a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.au-note { margin-top: 18px; font-size: .78rem; color: var(--muted); max-width: 820px; }
@media (max-width: 560px) { .au-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* contact icons under About us: real logos, Facebook glows */
.find-us { margin-top: 30px; }
.find-us h3 { margin: 0 0 14px; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--sun, #ffd166); }
.soc { display: flex; flex-wrap: wrap; gap: 16px; }
.soc a { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; color: #fff; text-decoration: none; transition: transform .18s ease, filter .18s ease; box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .7); }
.soc a:hover, .soc a:active { transform: translateY(-3px) scale(1.05); filter: brightness(1.08); }
.soc svg { width: 28px; height: 28px; display: block; }
.soc .s-fb { background: #1877f2; animation: fbglow 2.2s ease-in-out infinite; }
.soc .s-wa { background: #25d366; }
.soc .s-tt { background: #010101; box-shadow: -2px -2px 0 #25f4ee, 2px 2px 0 #fe2c55, 0 8px 18px -8px rgba(0, 0, 0, .7); }
.soc .s-call { background: linear-gradient(180deg, #34c759, #1f9d44); }
@keyframes fbglow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(24, 119, 242, .55), 0 0 14px 2px rgba(24, 119, 242, .55), 0 0 30px 6px rgba(66, 153, 255, .35); }
  50% { box-shadow: 0 0 0 6px rgba(24, 119, 242, .12), 0 0 26px 7px rgba(24, 119, 242, .95), 0 0 56px 16px rgba(66, 153, 255, .55); }
}
@media (prefers-reduced-motion: reduce) { .soc .s-fb { animation: none; box-shadow: 0 0 22px 6px rgba(24, 119, 242, .8); } }

/* ── 4. counsellor page ── */
.counsel-page { max-width: 640px; }

/* ── home on phones: the About info now sits under the notices ── */
.m-info { display: none; }
@media (max-width: 760px) {
  .m-info { display: block; }
  .m-info.sec { padding-block: 30px; }
  .m-info .stu-list { max-width: none; }
  .m-more { margin-top: 16px; }
  .m-more .btn { width: 100%; }
}

@media (max-width: 760px) { .home-go.free-go { min-height: 54px; } }
