/* 學校介紹專用樣式：Bricks 範本 438，不影響最新資訊。 */
/* 學校介紹共用：雜誌式閱讀、速覽與申請路徑 */
.single-post #brxe-ojvyho .brxe-post-content .article-editorial { --editorial-red: #a51f2a; --editorial-ink: #21343b; --editorial-mist: #f3f6f5; }
.single-post #brxe-ojvyho .brxe-post-content .article-editorial .article-lead { border-left: 0; border-top: 4px solid var(--editorial-red); background: #f8f3f1; padding: 28px 32px; }
.single-post #brxe-ojvyho .brxe-post-content .article-editorial .article-toc { background: #203c3d; color: #fff; border: 0; border-radius: 4px; padding: 28px 32px; }
.single-post #brxe-ojvyho .brxe-post-content .article-editorial .article-toc > p { color: #fff; display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: baseline; }
.single-post #brxe-ojvyho .brxe-post-content .article-editorial .article-toc > p span { font-size: 14px; color: #c4dad2; }
.single-post #brxe-ojvyho .brxe-post-content .article-editorial .article-toc ul { list-style: none; padding: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.single-post #brxe-ojvyho .brxe-post-content .article-editorial .article-toc li { border-bottom: 1px solid #52706c; }
.single-post #brxe-ojvyho .brxe-post-content .article-editorial .article-toc a { display: block; padding: 10px 0; color: #fff; text-decoration: none; }
.single-post #brxe-ojvyho .brxe-post-content .article-editorial .article-toc a::before { content: '↗'; margin-right: 10px; color: #f1b2a7; }
.single-post #brxe-ojvyho .brxe-post-content .article-editorial .article-toc a:hover { color: #f5c9c0; }
.single-post #brxe-ojvyho .brxe-post-content .article-editorial .editorial-section { margin: 4em 0; }
.single-post #brxe-ojvyho .brxe-post-content .article-editorial .editorial-section > h2 { border-bottom: 0; padding: 0 0 16px; color: var(--editorial-ink); font-weight: 800; }
.single-post #brxe-ojvyho .brxe-post-content .article-editorial .editorial-section > h2::before { content: ''; display: block; width: 42px; height: 4px; margin-bottom: 18px; background: var(--editorial-red); }
.single-post #brxe-ojvyho .brxe-post-content .editorial-overview { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-top: 1px solid #cbd6d3; }
.single-post #brxe-ojvyho .brxe-post-content .editorial-overview > div { display: grid; grid-template-columns: minmax(100px,.38fr) minmax(0,1fr); gap: 10px; padding: 16px 18px 16px 0; border-bottom: 1px solid #dce5e2; }
.single-post #brxe-ojvyho .brxe-post-content .editorial-overview strong { color: var(--editorial-red); font-size: 15px; }
.single-post #brxe-ojvyho .brxe-post-content .editorial-feature { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); align-items: center; margin: 1.6em 0 2.5em; }
.single-post #brxe-ojvyho .brxe-post-content .editorial-feature-panel { min-height: 260px; display: flex; flex-direction: column; justify-content: center; padding: 38px 70px 38px 38px; background: #203c3d; color: #fff; }
.single-post #brxe-ojvyho .brxe-post-content .editorial-feature-panel span { color: #c4dad2; font-size: 13px; letter-spacing: 2px; }
.single-post #brxe-ojvyho .brxe-post-content .editorial-feature-panel strong { display: block; margin: 20px 0; color: #fff; font-size: 34px; line-height: 1.4; }
.single-post #brxe-ojvyho .brxe-post-content .editorial-feature-panel p { margin: 0; color: #dcebe6; font-size: 14px; }
.single-post #brxe-ojvyho .brxe-post-content .editorial-feature figure { margin: 0; min-width: 0; }
.single-post #brxe-ojvyho .brxe-post-content .editorial-feature img { width: 100%; height: auto; }
.single-post #brxe-ojvyho .brxe-post-content .editorial-feature figcaption { padding: 9px 0; color: #596765; font-size: 12px; line-height: 1.7; letter-spacing: .5px; }
.single-post #brxe-ojvyho .brxe-post-content .editorial-feature-copy { position: relative; margin-left: -48px; padding: 28px 30px; background: #fff; border: 1px solid #e0e8e5; box-shadow: 0 12px 32px rgba(31,53,52,.1); }
.single-post #brxe-ojvyho .brxe-post-content .editorial-feature-copy p:last-child { margin-bottom: 0; }
.single-post #brxe-ojvyho .brxe-post-content .editorial-points { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.single-post #brxe-ojvyho .brxe-post-content .editorial-points > div, .single-post #brxe-ojvyho .brxe-post-content .editorial-course { background: var(--editorial-mist); padding: 22px; border-top: 3px solid #9cb9ae; }
.single-post #brxe-ojvyho .brxe-post-content .editorial-points strong { color: var(--editorial-red); }
.single-post #brxe-ojvyho .brxe-post-content .editorial-points p:last-child { margin: .5em 0 0; }
.single-post #brxe-ojvyho .brxe-post-content .editorial-courses { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.single-post #brxe-ojvyho .brxe-post-content .editorial-courses + .editorial-points { margin-top: 16px; }
.single-post #brxe-ojvyho .brxe-post-content .editorial-course:nth-child(2), .single-post #brxe-ojvyho .brxe-post-content .editorial-course:nth-child(3) { background: #fff7f4; border-color: #dba39c; }
.single-post #brxe-ojvyho .brxe-post-content .editorial-course h3 { margin: 0 0 .7em; }
.single-post #brxe-ojvyho .brxe-post-content .editorial-course p:last-child { margin-bottom: 0; }
.single-post #brxe-ojvyho .brxe-post-content .editorial-stats { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin: 1.5em 0; }
.single-post #brxe-ojvyho .brxe-post-content .editorial-stats > div { background: #203c3d; color: #fff; padding: 26px 30px; }
.single-post #brxe-ojvyho .brxe-post-content .editorial-stats strong { color: #fff; font-size: clamp(42px,6vw,68px); line-height: 1.15; letter-spacing: 0; }
.single-post #brxe-ojvyho .brxe-post-content .editorial-stats strong span { font-size: 18px; }
.single-post #brxe-ojvyho .brxe-post-content .editorial-stats p { margin: 12px 0 0; }
.single-post #brxe-ojvyho .brxe-post-content .editorial-advice { background: #fff5d9; border-left: 4px solid #d5a548; padding: 22px 26px; }
.single-post #brxe-ojvyho .brxe-post-content .editorial-flow { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; padding: 0; list-style: none; }
.single-post #brxe-ojvyho .brxe-post-content .editorial-flow li { margin: 0; padding: 18px 20px 18px 44px; position: relative; background: #eaf1ee; border-left: 3px solid #507b6d; }
.single-post #brxe-ojvyho .brxe-post-content .editorial-flow li::before { content: '→'; position: absolute; left: 16px; color: var(--editorial-red); font-weight: 800; }
.single-post #brxe-ojvyho .brxe-post-content .editorial-faq { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.single-post #brxe-ojvyho .brxe-post-content .editorial-faq > div { padding: 22px; border: 1px solid #dce5e2; background: #fff; }
.single-post #brxe-ojvyho .brxe-post-content .editorial-faq h3 { margin: 0 0 .7em; }
.single-post #brxe-ojvyho .brxe-post-content .editorial-faq p:last-child { margin: 0; }
@media (max-width: 767px) {
  .single-post #brxe-ojvyho .brxe-post-content .article-editorial .article-toc ul, .single-post #brxe-ojvyho .brxe-post-content .editorial-overview, .single-post #brxe-ojvyho .brxe-post-content .editorial-courses, .single-post #brxe-ojvyho .brxe-post-content .editorial-flow, .single-post #brxe-ojvyho .brxe-post-content .editorial-faq { grid-template-columns: 1fr; }
  .single-post #brxe-ojvyho .brxe-post-content .editorial-points { grid-template-columns: 1fr 1fr; }
  .single-post #brxe-ojvyho .brxe-post-content .editorial-feature { grid-template-columns: 1fr; }
  .single-post #brxe-ojvyho .brxe-post-content .editorial-feature-panel { min-height: 200px; padding: 28px 28px 40px; }
  .single-post #brxe-ojvyho .brxe-post-content .editorial-feature-copy { margin: -12px 14px 0; padding: 22px; }
  .single-post #brxe-ojvyho .brxe-post-content .editorial-stats { gap: 10px; }
  .single-post #brxe-ojvyho .brxe-post-content .editorial-stats > div { padding: 18px; }
}
@media (max-width: 420px) { .single-post #brxe-ojvyho .brxe-post-content .editorial-points { grid-template-columns: 1fr; } }

/* Bricks 438：學校介紹專屬框架；不套用至最新資訊範本 205 */
.single-post #brxe-ojvyho .yn-head { position: relative; padding: 64px 24px 58px; background: #f1f5f2; border-bottom: 1px solid #d5e2dc; }
.single-post #brxe-ojvyho .yn-head::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 12px; background: #a51f2a; }
.single-post #brxe-ojvyho .yn-head .yn-inner { padding-left: 24px; }
.single-post #brxe-ojvyho .yn-kicker { padding: 0; background: transparent; color: #a51f2a; border-radius: 0; box-shadow: none; font-size: 13px; }
.single-post #brxe-ojvyho .yn-title { max-width: 100%; margin-top: 16px; color: #203c3d; font-size: clamp(28px,3vw,36px); }
.single-post #brxe-ojvyho .yn-meta { color: #5b716b; }
.single-post #brxe-ojvyho .yn-layout { grid-template-columns: minmax(0,1fr) minmax(220px,260px); gap: 44px; padding-top: 48px; }
.single-post #brxe-ojvyho .yn-nav { border: 1px solid #d6e3dd; border-radius: 3px; background: #f6faf8; }
.single-post #brxe-ojvyho .yn-cta { border-radius: 3px; background: #eaf2ee; }
.single-post #brxe-ojvyho .yn-side h2 { font-size: 28px; }
.single-post #brxe-ojvyho .yn-button { background: #a51f2a; border-radius: 3px; }
@media (max-width: 900px) { .single-post #brxe-ojvyho .yn-layout { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .single-post #brxe-ojvyho .yn-head { padding: 42px 20px 38px; background-image: none; } .single-post #brxe-ojvyho .yn-head .yn-inner { padding-left: 12px; } .single-post #brxe-ojvyho .yn-layout { padding: 32px 20px 72px; } }

/* 學校介紹：麵包屑導覽 */
.single-post #brxe-ojvyho .brxe-breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 22px; color: #405d55; font-size: 14px; line-height: 1.7; letter-spacing: 1px; }
.single-post #brxe-ojvyho .brxe-breadcrumbs a { color: #006c60; text-decoration: none; }
.single-post #brxe-ojvyho .brxe-breadcrumbs a:hover { color: #b9232b; text-decoration: underline; text-underline-offset: 3px; }
.single-post #brxe-ojvyho .brxe-breadcrumbs .separator { color: #a65350; }
.single-post #brxe-ojvyho .brxe-breadcrumbs [aria-current="page"] { color: #303a38; font-weight: 600; }

/* 學校版配色：呼應首頁的鮮紅、明黃、橘與青綠 */
.single-post #brxe-ojvyho .yn-head { background: #fff0f0; border-bottom-color: #f4d4ce; }
.single-post #brxe-ojvyho .yn-head::before { background: #e31c23; }
.single-post #brxe-ojvyho .yn-kicker { color: #3a2a00; background: #ffc107; padding: 6px 14px; border-radius: 999px; }
.single-post #brxe-ojvyho .yn-title { color: #1f1f1f; }
.single-post #brxe-ojvyho .yn-meta { color: #555; }
.single-post #brxe-ojvyho .yn-nav { background: #effaf7; border-color: #a8d8cd; }
.single-post #brxe-ojvyho .yn-cta { background: #fff3dc; }
.single-post #brxe-ojvyho .yn-button { background: #e31c23; }
.single-post #brxe-ojvyho .brxe-post-content .article-editorial { --editorial-red: #c7242a; --editorial-ink: #153e38; --editorial-mist: #edf8f5; }
.single-post #brxe-ojvyho .brxe-post-content .article-editorial .article-lead { background: #fff5f3; border-top-color: #e31c23; }
.single-post #brxe-ojvyho .brxe-post-content .article-editorial .article-toc { background: #006c60; }
.single-post #brxe-ojvyho .brxe-post-content .article-editorial .article-toc > p span { color: #e0f4ee; }
.single-post #brxe-ojvyho .brxe-post-content .article-editorial .article-toc li { border-color: #64ab9e; }
.single-post #brxe-ojvyho .brxe-post-content .article-editorial .article-toc a::before { color: #ffe07a; }
.single-post #brxe-ojvyho .brxe-post-content .editorial-feature-panel { background: #00796b; }
.single-post #brxe-ojvyho .brxe-post-content .editorial-feature-panel span { color: #ffdf76; }
.single-post #brxe-ojvyho .brxe-post-content .editorial-points > div, .single-post #brxe-ojvyho .brxe-post-content .editorial-course { border-top-color: #00a48d; }
.single-post #brxe-ojvyho .brxe-post-content .editorial-course:nth-child(2), .single-post #brxe-ojvyho .brxe-post-content .editorial-course:nth-child(3) { background: #fff4ec; border-color: #ff6b35; }
.single-post #brxe-ojvyho .brxe-post-content .editorial-stats > div { background: #00796b; }
.single-post #brxe-ojvyho .brxe-post-content .editorial-flow li { background: #effaf7; border-left-color: #009782; }

/* 學校介紹：預約諮詢卡片及聯絡方式圖示 */
.single-post #brxe-ojvyho .brxe-post-content .article-cta { display: block; position: relative; padding: 38px 42px 42px; border: 1px solid #f2d8cf; border-radius: 18px; background: #fff8f3; box-shadow: none; }
.single-post #brxe-ojvyho .brxe-post-content .article-cta-copy { padding: 0; }
.single-post #brxe-ojvyho .brxe-post-content .article-cta-copy::before { content: '預約諮詢'; display: inline-block; margin-bottom: 14px; color: #bb242b; font-size: 14px; font-weight: 800; letter-spacing: 2px; }
.single-post #brxe-ojvyho .brxe-post-content .article-cta h2 { color: #203c3d; margin: 0 0 12px; }
.single-post #brxe-ojvyho .brxe-post-content .article-cta-copy p { max-width: 38em; color: #4b5553; }
.single-post #brxe-ojvyho .brxe-post-content .article-cta-actions { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; gap: 12px; padding: 0; margin-top: 25px; background: transparent; }
.single-post #brxe-ojvyho .brxe-post-content .article-cta-actions a { display: inline-flex; min-height: 54px; padding: 12px 22px; border: 2px solid #d9212a; border-radius: 999px; color: #a71925; background: #fff; }
.single-post #brxe-ojvyho .brxe-post-content .article-cta-actions a[href*="line.me"] { color: #fff; border-color: #007b49; background: #007b49; }
.single-post #brxe-ojvyho .brxe-post-content .article-cta-actions a::before { content: ''; display: block; flex: 0 0 24px; width: 24px; height: 24px; background-color: currentColor; mask-position: center; mask-repeat: no-repeat; mask-size: contain; }
.single-post #brxe-ojvyho .brxe-post-content .article-cta-actions a[href^="tel:"]::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 2.4 9.4 2l1.3 4.6-2 1.4a15 15 0 0 0 7.3 7.3l1.4-2 4.6 1.3-.4 2.8a3.6 3.6 0 0 1-3.7 3.1C9.9 20.1 3.9 14.1 3.5 6.1a3.6 3.6 0 0 1 3.1-3.7Z'/%3E%3C/svg%3E"); }
.single-post #brxe-ojvyho .brxe-post-content .article-cta-actions a[href*="line.me"]::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.5 2 2 5.8 2 10.5c0 4.2 3.5 7.7 8.2 8.4.3.1.5.4.5.7l-.2 2.2c0 .2.2.3.4.2 1.4-.7 4.7-2.7 6.1-3.7 3.1-2.1 5-4.7 5-7.8C22 5.8 17.5 2 12 2Zm-5.4 6h1.2v4h1.8v1.1h-3V8Zm3.5 0h1.2v5.1h-1.2V8Zm2 0h1.2l2 3V8h1.2v5.1h-1.1l-2.1-3v3h-1.2V8Zm5.1 0h3v1.1h-1.8V10h1.8v1.1h-1.8v.9h1.8v1.1h-3V8Z'/%3E%3C/svg%3E"); }
@media (max-width: 767px) { .single-post #brxe-ojvyho .brxe-post-content .article-cta { padding: 28px 24px; } .single-post #brxe-ojvyho .brxe-post-content .article-cta-actions { flex-direction: column; } .single-post #brxe-ojvyho .brxe-post-content .article-cta-actions a { width: 100%; } }

/* 學校介紹頁首：與最新資訊維持相同桌機高度，不顯示日期 */
.single-post #brxe-ojvyho .yn-head { min-height: 318px; display: flex; align-items: center; padding: 48px 24px; background-color: #e7f7f3; background-image: linear-gradient(90deg, rgba(248,253,251,.75) 0%, rgba(248,253,251,.69) 39%, rgba(248,253,251,.38) 64%, rgba(248,253,251,.08) 100%), url('/wp-content/uploads/singapore-school-guide-banner.webp'); background-position: center; background-size: cover; }
.single-post #brxe-ojvyho .yn-head::before { display: none; }
.single-post #brxe-ojvyho .yn-head .yn-inner { padding-left: 0; }
.single-post #brxe-ojvyho .yn-kicker { display: inline-flex; padding: 6px 15px; background: #ffbf00; color: #1e1e1e; font-size: 13px; font-weight: 700; letter-spacing: 2px; border-radius: 999px; box-shadow: 4px 4px 0 #ff6b35; }
.single-post #brxe-ojvyho .yn-title { max-width: min(800px, 68%); margin-top: 22px; color: #0f172a; font-size: 28px; font-weight: 800; line-height: 1.4; letter-spacing: 2px; }
.single-post #brxe-ojvyho .yn-meta { display: none; }
@media (max-width: 600px) { .single-post #brxe-ojvyho .yn-head { min-height: 260px; padding: 42px 20px; background-image: linear-gradient(90deg, rgba(248,253,251,.83), rgba(248,253,251,.67)), url('/wp-content/uploads/singapore-school-guide-banner.webp'); background-position: 64% center; } .single-post #brxe-ojvyho .yn-head .yn-inner { padding-left: 0; } .single-post #brxe-ojvyho .yn-title { max-width: 100%; } }

/* 學校介紹側邊欄：沿用各文章自行編寫的目錄 */
.single-post #brxe-ojvyho .yn-side > .article-toc { width: 100%; padding: 24px; background: #006c60; color: #fff; border-radius: 4px; }
.single-post #brxe-ojvyho .yn-side > .article-toc > p { margin: 0 0 12px; color: #fff; }
.single-post #brxe-ojvyho .yn-side > .article-toc > p strong { display: block; font-size: 24px; line-height: 1.4; }
.single-post #brxe-ojvyho .yn-side > .article-toc > p span { display: block; margin-top: 4px; color: #e0f4ee; font-size: 13px; }
.single-post #brxe-ojvyho .yn-side > .article-toc ul { display: block; list-style: none; margin: 0; padding: 0; }
.single-post #brxe-ojvyho .yn-side > .article-toc li { margin: 0; border-bottom: 1px solid #64ab9e; }
.single-post #brxe-ojvyho .yn-side > .article-toc a { display: block; padding: 10px 0; color: #fff; text-decoration: none; font-size: 15px; line-height: 1.6; }
.single-post #brxe-ojvyho .yn-side > .article-toc a::before { content: '↗'; margin-right: 8px; color: #ffe07a; }
.single-post #brxe-ojvyho .yn-side > .article-toc a:hover, .single-post #brxe-ojvyho .yn-side > .article-toc a:focus-visible { color: #ffe07a; }

/* 學校介紹文章 CTA：溫柔極光與點狀格紋 */
.single-post #brxe-ojvyho .brxe-post-content .article-cta {
  overflow: hidden;
  border-color: #d6e8e3;
  background-color: #f5fbf8;
  background-image: radial-gradient(circle, rgba(18, 112, 101, .18) 1px, transparent 1.4px), radial-gradient(ellipse at 8% 5%, rgba(168, 231, 220, .68), transparent 53%), radial-gradient(ellipse at 92% 90%, rgba(194, 230, 219, .7), transparent 54%), linear-gradient(125deg, #effaf7 0%, #f7fcf9 50%, #f6faf0 100%);
  background-size: 20px 20px, auto, auto, auto;
}
.single-post #brxe-ojvyho .brxe-post-content .article-cta-copy::before { display: none; }
.single-post #brxe-ojvyho .brxe-post-content .article-cta-actions a[href*="line.me"]::before {
  background: url('/wp-content/uploads/LINE_Brand_icon.png') center / contain no-repeat;
  mask: none;
  -webkit-mask: none;
}
.single-post #brxe-ojvyho .brxe-post-content .article-cta-actions a[href*="line.me"] { background-color: #06c755; border-color: #06c755; color: #102c1b; }
.single-post #brxe-ojvyho .brxe-post-content .article-cta-actions { justify-content: flex-end; }

/* 學校介紹摘要：以清爽的內文開場 */
.single-post #brxe-ojvyho .brxe-post-content .article-editorial .article-lead {
  margin: 0 0 2em;
  padding: 0;
  border: 0;
  background: transparent;
  color: #263b38;
  font-size: 18px;
  line-height: 1.9;
}

/* 學校介紹 CTA：按鈕於右側垂直排列 */
.single-post #brxe-ojvyho .brxe-post-content .article-cta-actions { flex-direction: column; align-items: flex-end; }
.single-post #brxe-ojvyho .brxe-post-content .article-cta-actions a[href*="line.me"] { color: #fff; }
.single-post #brxe-ojvyho .brxe-post-content .article-cta-actions a[href*="line.me"]::before { flex-basis: 32px; width: 32px; height: 32px; }
@media (max-width: 767px) { .single-post #brxe-ojvyho .brxe-post-content .article-cta-actions { align-items: stretch; } }

/* 學校介紹 CTA：文字與單一 LINE 按鈕並排 */
.single-post #brxe-ojvyho .brxe-post-content .article-cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.single-post #brxe-ojvyho .brxe-post-content .article-cta-actions { margin-top: 0; }
@media (max-width: 767px) {
  .single-post #brxe-ojvyho .brxe-post-content .article-cta { grid-template-columns: 1fr; gap: 20px; }
}

/* 學校介紹摘要：以細線和色彩增加層次 */
.single-post #brxe-ojvyho .brxe-post-content .article-editorial .article-lead {
  padding-bottom: 26px;
  border-bottom: 1px solid #d9e9e3;
  color: #183f39;
  font-weight: 500;
}
.single-post #brxe-ojvyho .brxe-post-content .article-editorial .article-lead::before {
  content: '';
  display: block;
  width: 54px;
  height: 5px;
  margin-bottom: 20px;
  border-radius: 3px;
  background: linear-gradient(90deg, #00a48d 0 65%, #ffc107 65% 100%);
}
/* 在文章編輯器恢復連線前，學校 CTA 暫不顯示電話。 */
.single-post #brxe-ojvyho .brxe-post-content .article-cta-actions a[href^="tel:"] { display: none; }

/* 學校介紹摘要：保留雙色橫線的便利貼 */
.single-post #brxe-ojvyho .brxe-post-content .article-editorial .article-lead {
  padding: 28px 32px;
  border: 1px solid #e9dd81;
  border-radius: 4px 4px 14px 4px;
  background: #fff7a8;
  box-shadow: 0 7px 18px rgba(44, 77, 60, .08);
}
@media (max-width: 600px) {
  .single-post #brxe-ojvyho .brxe-post-content .article-editorial .article-lead { padding: 22px 24px; }
}

/* 學校介紹：三欄照片縮圖與放大檢視 */
.single-post #brxe-ojvyho .school-photo-gallery a { display: block; min-width: 0; overflow: hidden; aspect-ratio: 16 / 10; background: #eef5f2; }
.single-post #brxe-ojvyho .school-photo-gallery img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
.single-post #brxe-ojvyho .school-photo-gallery a:hover img { transform: scale(1.03); }
.single-post #brxe-ojvyho .school-photo-gallery a:focus-visible { outline: 3px solid #00796b; outline-offset: 3px; }
.school-photo-lightbox { box-sizing: border-box; width: min(88vw, 860px); max-width: 88vw; max-height: 88vh; padding: 54px 18px 18px; border: 0; border-radius: 14px; background: #fff; overflow: auto; box-shadow: 0 20px 60px rgba(0, 0, 0, .3); }
.school-photo-lightbox::backdrop { background: rgba(8, 22, 20, .68); }
.school-photo-lightbox img { display: block; max-width: 100%; max-height: calc(88vh - 82px); width: auto; height: auto; margin: auto; object-fit: contain; }
.school-photo-lightbox button { position: absolute; right: 12px; top: 8px; display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: #173b35; color: #fff; font-size: 28px; line-height: 1; letter-spacing: 0; text-align: center; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .single-post #brxe-ojvyho .school-photo-gallery img { transition: none; } }

/* NAFA 課程卡片：第六張沿用暖色 */
.single-post.postid-467 #brxe-ojvyho .brxe-post-content #courses .editorial-course:nth-child(6) { background: #fff4ec; border-top-color: #ff6b35; }

/* 學校介紹：手機版目錄跳轉時保留固定頁首空間。 */
@media (max-width: 767px) {
  .single-post #brxe-ojvyho .brxe-post-content .article-editorial .article-section { scroll-margin-top: 150px; }
}
