<?php
// page_7.html 极简风：超窄正文栏、大留白、细分割线
$pg7_name    = isset($page['name']) ? $page['name'] : '单页';
$pg7_content = isset($page['content']) ? $page['content'] : '';
$pg7_company = site_config('company_name', '炎酷CMS');
?>
<style>
.yk-page7{background:#fff;padding:88px 0 100px}
.yk-pg7-wrap{max-width:660px;margin:0 auto;padding:0 24px}
.yk-pg7-head{text-align:center}
.yk-pg7-head .yk-pg7-kicker{font-size:12px;letter-spacing:4px;color:#aaa;text-transform:uppercase}
.yk-pg7-head h1{margin:18px 0 0;font-size:30px;font-weight:600;color:#222;letter-spacing:2px}
.yk-pg7-rule{width:100%;height:1px;background:#e5e5e5;margin:44px 0 52px;position:relative}
.yk-pg7-rule:after{content:"";position:absolute;left:50%;top:-2px;width:44px;height:5px;margin-left:-22px;background:#222;border-radius:3px}
.yk-pg7-body{font-size:15px;line-height:2.15;color:#4a4a4a}
.yk-pg7-body img{max-width:100%;height:auto}
.yk-pg7-body h2,.yk-pg7-body h3{color:#222;font-weight:600;margin:1.6em 0 .7em}
.yk-pg7-body p{margin:0 0 1.1em}
.yk-pg7-body blockquote{margin:1.4em 0;padding:2px 0 2px 18px;border-left:2px solid #ddd;color:#888}
.yk-pg7-end{margin-top:56px;padding-top:22px;border-top:1px solid #eee;display:flex;justify-content:space-between;font-size:12px;color:#bbb;letter-spacing:1px}
.yk-pg7-end a{color:#999;text-decoration:none}
.yk-pg7-end a:hover{color:#222}
@media (max-width:1199px){
  .yk-page7{padding:64px 0 76px}
}
@media (max-width:767px){
  .yk-page7{padding:44px 0 56px}
  .yk-pg7-wrap{padding:0 20px}
  .yk-pg7-head h1{font-size:23px}
  .yk-pg7-rule{margin:32px 0 36px}
  .yk-pg7-body{font-size:14px;line-height:2}
  .yk-pg7-end{flex-direction:column;gap:8px;text-align:center}
}
</style>
<div class="yk-page7">
  <div class="yk-pg7-wrap">
    <div class="yk-pg7-head">
      <span class="yk-pg7-kicker"><?php echo e($pg7_company); ?></span>
      <h1><?php echo e($pg7_name); ?></h1>
    </div>
    <div class="yk-pg7-rule"></div>
    <article class="yk-pg7-body">
      <?php echo $pg7_content; ?>
    </article>
    <div class="yk-pg7-end">
      <a href="<?php echo e(url_home()); ?>">← 返回首页</a>
      <span><?php echo e($pg7_company); ?></span>
    </div>
  </div>
</div>
