/* =====================================================================
   Mt. Vernon Community Foundation — 静态复刻
   原站：www.mtvernonfdn.org（Wix 搭建，已下线）
   依据：Wayback Machine 快照 —— 首页 2024-11-13；子页面 2023-09-27
   桌面版（≥1000px）按原站 980px 网格逐项还原；<1000px 为补充的简易手机适配。
   ===================================================================== */

/* ---------- 字体（本地托管，Poppins / Figtree 均为 SIL OFL 开源字体） ---------- */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 200; font-display: swap; src: url("../fonts/poppins-200.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/poppins-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-700.woff2") format("woff2"); }
/* 原站导航/表单/按钮用的 Proxima Nova、Avenir Light 是 Wix 授权的商业字体，这里用外形接近的 Figtree 代替 */
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/figtree-300.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/figtree-400.woff2") format("woff2"); }

/* ---------- 主题色（取自原站 Wix 主题变量） ---------- */
:root {
  --navy: #092e6e;      /* color_15：正文、标题默认色 */
  --blue: #0d4ab2;      /* color_18：强调蓝 */
  --nav-text: #1756c3;  /* color_24：导航文字 */
  --nav-hover: #397df1; /* color_17：导航悬停底色 */
  --nav-current: #323232;
  --sky: #a5c3f8;       /* color_12 */
  --sky-80: #b7cff9;    /* color_12 以 80% 不透明度叠在白底上的实际颜色 */
  --khaki: #c0bca1;     /* color_28："Mt. Vernon" */
  --beige: #efeee7;     /* color_27：米色区块 */
  --footer: #3d9be9;
  --ff: "Poppins", sans-serif;
  --ff-alt: "Figtree", "Helvetica Neue", Arial, sans-serif;
  /* 原站导航"光泽按钮"皮肤的叠加层（由其 1×760 PNG 采样还原） */
  --gloss: linear-gradient(180deg, rgba(255,255,255,.275) 0, rgba(255,255,255,.12) 50%, rgba(0,0,0,.07) 50%, rgba(0,0,0,.03) 100%);
}

/* ---------- 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  min-width: 980px;
  overflow-x: hidden;
  background: #fff;
  color: var(--navy);
  font: 200 18px/1.75 var(--ff);
}
h1, h2, h3, h4, h5, h6, p { margin: 0; font-weight: inherit; }
img { display: block; max-width: none; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }

/* 980px 居中网格容器（对应 Wix 的 calc((100% - 980px) * 0.5) 停靠） */
.wrap { position: relative; display: flow-root; width: 980px; margin: 0 auto; } /* flow-root：防止子元素外边距折叠出区块 */

/* 网格元素：用行内变量写原站实测的 左偏移/上边距/宽度/下边距 */
.m {
  display: block;
  width: var(--w, auto);
  margin: var(--mt, 0) 0 var(--mb, 0) var(--ml, 0);
}
.abs { position: absolute; left: var(--ml, 0); top: var(--mt, 0); width: var(--w, auto); margin: 0; }
/* 自定义属性默认会继承：嵌套的 .m 不应沿用外层的偏移量 */
.m * { --ml: initial; --mt: initial; --w: initial; --mb: initial; }

.center { text-align: center; }
.c-blue { color: var(--blue); }
.c-navy { color: var(--navy); }
.c-black { color: #000; }
.fw-200 { font-weight: 200; }
.fw-400 { font-weight: 400; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.nowrap { white-space: nowrap; }

/* =====================================================================
   页眉
   ===================================================================== */
.site-header {
  position: relative;
  z-index: 30;
  background: rgba(255, 255, 255, .6);
  box-shadow: 0 0 5px rgba(0, 0, 0, .7);
}
.site-header .wrap { height: 196px; }
.logo { position: absolute; left: 0; top: 0; width: 77px; height: 77px; }
.logo img { width: 100%; height: 100%; object-fit: contain; }
.brand {
  position: absolute; left: 8px; top: 68px; width: 401px;
  font: 700 28px/1.15 var(--ff);
  color: var(--blue);
}
.brand a { display: block; color: var(--khaki); text-decoration: none; }
.brand span { display: block; }

/* ---- 导航（Wix DropDownMenu · 光泽按钮皮肤） ---- */
.nav {
  position: absolute; left: 215px; top: 141px;
  width: 760px; height: 34px;
  font: 400 13.4px/34px var(--ff-alt); /* Figtree 比 Proxima Nova 宽约 4%，按原站实测文字宽度缩放（14px×0.96） */
}
.nav ul { margin: 0; padding: 0; list-style: none; }
.nav > ul {
  display: flex; height: 100%;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .6);
}
.nav li { position: relative; }
.nav li::before {
  content: ""; position: absolute; inset: 0;
  border-radius: inherit; background: var(--gloss); pointer-events: none;
}
.nav > ul > li {
  flex: 1 1 0; min-width: 0;
  background: #fff;
  border-left: 1px solid var(--navy);
  transition: background-color .4s ease;
}
.nav > ul > li:first-child { border-left: 0; border-radius: 10px 0 0 10px; }
.nav > ul > li:last-child { border-radius: 0 10px 10px 0; }
.nav > ul > li > a {
  position: relative; z-index: 1; display: block;
  padding: 0 15px;
  color: var(--nav-text); text-align: center; text-decoration: none;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: color .4s ease;
}
.nav > ul > li.is-current { background: var(--nav-current); }
.nav > ul > li.is-current > a { color: #fff; }
.nav > ul > li:hover, .nav > ul > li:focus-within { background: var(--nav-hover); }
.nav > ul > li:hover > a, .nav > ul > li:focus-within > a { color: #fff; }

/* =====================================================================
   页脚
   ===================================================================== */
.site-footer {
  position: relative;
  background: var(--footer) url("../img/footer-texture.png");
  color: #fff;
  box-shadow: inset 0 4px 6px -4px rgba(255,255,255,.59), inset 0 1px 0 0 rgba(255,255,255,.59), inset 0 -5px 5px -5px rgba(255,255,255,.9);
}
.site-footer .wrap { min-height: 104px; }
.f-left { width: 519px; margin-left: 21px; padding: 27px 0 35px; font: 200 12px/1.79 var(--ff); }
.f-left p + p { line-height: 1.75; }
.f-left a { color: #fff; text-decoration: underline; }
.f-right { position: absolute; left: 605px; top: 27px; width: 375px; font: 200 12px/normal var(--ff); }

/* =====================================================================
   通用组件
   ===================================================================== */
.btn {
  display: flex; align-items: center; justify-content: center;
  padding: 0; border: 0; border-radius: 0;
  text-decoration: none; cursor: pointer;
  transition: background-color .4s ease, color .4s ease, border-color .4s ease;
}
/* 首页 "Get in Touch"（StylableButton） */
.btn-get {
  width: 142px; height: 42px;
  background: var(--blue); border: 1px solid var(--blue); color: #fff;
  font: 300 14px/1 var(--ff-alt);
  transition: all .2s ease;
}
.btn-get:hover, .btn-get:focus-visible { background: #fff; color: var(--blue); }
/* 深蓝实心按钮（订阅 Submit、联系表单 Submit） */
.btn-solid { background: var(--navy); color: #fff; font: 200 18px/1.75 var(--ff); }
.btn-solid:hover, .btn-solid:focus-visible { background: rgba(9, 46, 110, .6); }

/* 下划线输入框（Wix TextInput：仅底边 1px） */
.u-input {
  display: block; width: 100%;
  border: 0; border-bottom: 1px solid var(--navy); border-radius: 0;
  background: #fff; color: var(--navy);
  font: 400 14.4px/28.125px var(--ff-alt); /* 原站 15px Proxima Nova */
  outline: 0;
  -webkit-appearance: none; appearance: none;
  transition: opacity .5s ease, border .5s ease, color .5s ease;
}
.u-input::placeholder { color: var(--navy); opacity: 1; }
.u-input.is-invalid { border-bottom-color: #ff4040; }
textarea.u-input { resize: none; }

.form-thanks { text-align: center; font: italic 400 18px/normal var(--ff); color: var(--navy); visibility: hidden; }
.form-thanks.is-visible { visibility: visible; }

/* 短分隔线（Wix 水平线，线宽 3px） */
.rule { display: block; width: 31px; height: 5px; border-top: 3px solid var(--navy); }

/* =====================================================================
   首页
   ===================================================================== */
.hero { background: var(--sky-80); overflow: hidden; }
.hero h2 { font: 600 44px/1.41 var(--ff); color: var(--navy); }
.hero p { font: 200 18px/1.8 var(--ff); color: var(--navy); }
.hero-img { position: absolute; left: 673px; top: 46px; width: 749px; height: 283px; object-fit: cover; }

.wwd h2 { font: 700 32px/1.35 var(--ff); color: var(--blue); text-align: center; }
/* 全宽三栏（原站 Wix 分栏条，栏宽 326:327:327 随视口伸缩） */
.wwd-cols { display: grid; grid-template-columns: 326fr 327fr 327fr; margin-bottom: -17px; }
.wwd-col { min-width: 0; }
.wwd h3 { font: 700 22px/1.41 var(--ff); color: var(--blue); text-align: center; }
.wwd-col p { font: 200 18px/1.875 var(--ff); color: var(--navy); }
/* 原站停靠规则：第 1 栏靠右、第 2 栏居中、第 3 栏靠左（均为原站实测数值） */
.wwd-col:nth-child(1) h3 { width: 342px; margin: 97px 0 31px calc(100% - 333px); }
.wwd-col:nth-child(1) p { width: min(342px, calc(100% - 20px)); margin: 0 0 69px max(10px, calc(150% - 612.5px)); }
.wwd-col:nth-child(2) h3 { width: 327px; margin: 66px 0 31px calc(50% - 163.5px); }
.wwd-col:nth-child(2) p { width: 300px; margin: 0 0 35px calc(50% - 163.5px); }
.wwd-col:nth-child(3) h3 { width: 383px; margin: 97px 0 31px 0; }
.wwd-col:nth-child(3) p { width: 318px; margin: 0 0 35px 64px; }

/* Pro Gallery：横向瀑布流，一行 3 张、无间距，按原图比例铺满 */
.home-gallery { padding: 0 37px 50px; }
.pg { display: flex; }
.pg-item {
  position: relative; display: block;
  flex: var(--r) 1 0; aspect-ratio: var(--r);
  padding: 0; border: 0; overflow: hidden;
  background: #e9edf3; cursor: pointer;
}
.pg-item img { width: 100%; height: 100%; object-fit: cover; }
.pg-item::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(9, 46, 110, .4);
  opacity: 0; transition: opacity .2s ease;
}
.pg-item:hover::after, .pg-item:focus-visible::after { opacity: 1; }

.signup h2 { font: 700 40px/1.35 var(--ff); color: var(--blue); text-align: center; }
.signup-form { display: flow-root; width: 940px; margin: 0 0 28px 21px; padding-top: 30px; }
.signup-row { display: flex; height: 35px; }
.signup-row .u-input { width: 409px; height: 35px; padding: 3px 3px 3px 8px; }
.signup-row .u-input + .u-input { margin-left: 9px; }
.signup-row .btn-solid { width: 102px; height: 35px; margin-left: 10px; flex: none; }
.signup .form-thanks { margin: 16px 0; }

/* 图片灯箱（原站画廊点击放大） */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  display: none; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .97);
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: calc(100vw - 160px); max-height: calc(100vh - 80px); object-fit: contain; box-shadow: 0 2px 20px rgba(0,0,0,.15); }
.lb-btn {
  position: absolute; display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; padding: 0; border: 0; background: none;
  color: var(--navy); cursor: pointer; opacity: .8;
}
.lb-btn:hover { opacity: 1; }
.lb-btn svg { width: 28px; height: 28px; stroke: currentColor; stroke-width: 2; fill: none; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* =====================================================================
   About Us
   ===================================================================== */
.about-h1 { font: 600 40px/1.35 var(--ff); color: var(--navy); }
.about-text { font: 200 18px/1.875 var(--ff); color: var(--navy); }
.about-row { display: flex; align-items: flex-start; }
.about-img { width: 426px; height: 284px; object-fit: cover; }
.about-box { display: flow-root; width: 980px; height: 187px; background: var(--beige); }
.about-box h2 { font: 700 30px/1.34 var(--ff); color: var(--blue); text-align: center; }
.vm-row { display: grid; grid-template-columns: 490px 490px; align-items: start; }
.vm-row h2 { font: 700 20px/1.75 var(--ff); color: var(--navy); text-align: center; }

/* =====================================================================
   Community Impact（community-impact.html，原站地址 /join）—— 按公开资料改写的新内容，沿用全站配色与字体
   ===================================================================== */
.impact-banner { width: 980px; height: 218px; background: #e9edf3 url("../img/gallery-dsc-0309.jpg") center 55% / cover no-repeat; }
.impact-h1 { font: 700 40px/1.35 var(--ff); color: var(--blue); text-align: center; }
.impact-intro { font: 200 18px/1.8 var(--ff); color: var(--navy); text-align: center; }
.impact-h2 { font: 700 32px/1.35 var(--ff); color: var(--blue); text-align: center; }
/* 数字亮点：米色带（同 About 页色块） */
.impact-stats { padding: 40px 0 44px; background: var(--beige); }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); margin: 28px 20px 0; padding: 0; list-style: none; }
.stat-row li { padding: 4px 22px; border-left: 1px solid rgba(9, 46, 110, .25); text-align: center; }
.stat-row li:first-child { border-left: 0; }
.stat-row strong { display: block; font: 700 40px/1.2 var(--ff); color: var(--blue); }
.stat-row span { display: block; margin-top: 8px; font: 200 15px/1.6 var(--ff); color: var(--navy); }
/* 具体工作：2×2 卡片 */
.impact-work { padding: 44px 0 56px; }
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 60px; margin: 32px 20px 0; }
.work-card .rule { margin-bottom: 14px; }
.work-card h3 { font: 700 22px/1.41 var(--ff); color: var(--blue); }
.work-card p { margin-top: 8px; font: 200 17px/1.8 var(--ff); color: var(--navy); }
/* 使命引言：浅蓝带（同首页欢迎区） */
.impact-mission { padding: 48px 0 52px; background: var(--sky-80); text-align: center; }
.mission-label { font: 600 20px/1.35 var(--ff); color: var(--navy); }
.mission-quote { width: 780px; margin: 12px auto 0; font: 600 28px/1.45 var(--ff); color: var(--blue); }

/* =====================================================================
   Contact Us
   ===================================================================== */
.contact-hero { height: 359px; background: #fff url("../img/contact-mobile-phones.jpg") center / cover no-repeat; }
.contact-hero h2 { font: 600 34px/normal var(--ff); color: var(--navy); text-align: center; }
.contact-main { background: var(--beige); }
.contact-row { display: flex; align-items: flex-start; }
.contact-h1 { font: 700 32px/1.35 var(--ff); color: var(--blue); }
.contact-info p { font: 400 15.4px/30.08px var(--ff-alt); color: var(--navy); } /* 原站 16px Proxima Nova */
.contact-info a { color: var(--navy); text-decoration: none; }
.contact-form { position: relative; display: grid; grid-template-columns: 225px 225px; gap: 10px; padding-bottom: 48px; }
.contact-form .u-input { height: 42px; padding: 3px 3px 3px 12px; background: transparent; }
.contact-form .span-2 { grid-column: 1 / -1; }
.contact-form textarea.u-input { height: 126px; padding: 11.25px 10px 3px 16px; }
.contact-form .btn-solid { height: 50px; margin-top: 27px; }
.contact-form .form-thanks { position: absolute; left: 0; right: 0; bottom: 12px; font-size: 16px; }
.map-box { position: relative; width: 954px; height: 358px; background: #e5e3df; }
.map-box iframe { display: block; width: 100%; height: 100%; border: 0; }

/* =====================================================================
   Our Team（/about-1）
   ===================================================================== */
.team-h { font: 600 40px/normal var(--ff); color: var(--navy); text-align: center; }
.team-sub { font: 600 20px/1.35 var(--ff); color: var(--navy); text-align: center; }
.team-quote { font: 400 18px/1.8 var(--ff); color: var(--navy); }
.team-quote em { font-style: italic; }
.story-banner {
  width: calc(100% - 160px); min-width: 980px; height: 272px; margin: 0 auto;
  background: var(--sky) url("../img/team-story-banner.jpg") center / cover no-repeat;
}
.team-band { height: 268px; background: var(--sky-80); }
.team-text { font: 200 18px/1.8 var(--ff); color: var(--navy); }
.team-h2 { font: 600 38px/normal var(--ff); color: var(--navy); text-align: center; }
.team-grid { display: grid; grid-template-columns: 434px 434px; justify-content: center; }
.member { position: relative; height: 518px; }
.member img.photo { position: absolute; left: 20px; top: 120px; width: 197px; height: 287px; object-fit: cover; }
.member h3 { position: absolute; left: 20px; top: 454px; width: 310px; font: 700 20px/1.34 var(--ff); color: var(--navy); }
.member p { position: absolute; left: 20px; top: 491px; width: 346px; font: 200 16px/1.67 var(--ff); color: var(--navy); }
.social { display: flex; margin: 0; padding: 0; list-style: none; }
.social img { width: 100%; height: 100%; }
.member .social { position: absolute; left: 348px; top: 446px; gap: 7px; }
.member .social a { display: block; width: 24px; height: 24px; }
.partners { position: relative; height: 273px; }
.partners > a, .partners > .logo-plain { position: absolute; display: block; }
.partners img { width: 100%; height: 100%; object-fit: cover; }
.partner-caption { position: absolute; font: 600 9px/normal var(--ff); letter-spacing: .01em; color: var(--navy); text-align: center; }
.partners .social { position: absolute; left: 865px; top: 242px; gap: 10px; }
.partners .social a, .partners .social span { display: block; width: 20px; height: 20px; }

/* =====================================================================
   补充：窄屏适配（原站为 Wix 经典编辑器桌面布局 + 独立手机版，手机版未被存档）
   ===================================================================== */
@media (max-width: 999px) {
  body { min-width: 0; font-size: 16px; }
  .wrap { width: auto; padding: 0 20px; }
  .m { --ml: 0px !important; --w: auto !important; max-width: 100%; }
  .abs { position: static; width: auto; }

  /* 页眉 */
  .site-header .wrap { height: auto; display: grid; grid-template-columns: 64px 1fr; column-gap: 12px; align-items: center; padding-top: 10px; padding-bottom: 16px; }
  .logo, .brand, .nav { position: static; }
  .logo { width: 64px; height: 64px; }
  .brand { width: auto; font-size: 22px; }
  .nav { grid-column: 1 / -1; width: auto; height: auto; margin-top: 12px; }
  .nav > ul { flex-wrap: wrap; height: auto; }
  .nav > ul > li { flex: 1 1 25%; }

  /* 页脚 */
  .site-footer .wrap { min-height: 0; padding-top: 22px; padding-bottom: 22px; }
  .f-left { width: auto; margin: 0; padding: 0; }
  .f-right { position: static; width: auto; margin-top: 10px; }

  /* 首页 */
  .hero h2 { font-size: 32px; }
  .hero-img { position: static; width: 100%; height: auto; aspect-ratio: 749 / 283; margin: 24px 0 0; }
  .hero .btn-get { margin: 20px 0 28px; }
  .wwd-cols { display: block; margin: 0; padding: 0 20px; }
  .wwd-col h3, .wwd-col p { width: auto !important; margin-left: 0 !important; }
  .wwd-col:nth-child(n) h3 { margin-top: 28px; margin-bottom: 10px; }
  .wwd-col:nth-child(n) p { margin-bottom: 0; }
  .wwd-col:last-child p { margin-bottom: 36px; }
  .home-gallery { padding: 0 20px 36px; }
  .signup h2 { font-size: 30px; }
  .signup-form { width: auto; margin: 0 0 28px; }
  .signup-row { display: block; height: auto; }
  .signup-row .u-input { width: 100%; }
  .signup-row .u-input + .u-input { margin: 12px 0 0; }
  .signup-row .btn-solid { width: 100%; margin: 16px 0 0; }

  /* About */
  .about-row, .vm-row { display: block; }
  .about-img { width: 100%; height: auto; aspect-ratio: 426 / 284; }
  .about-box { width: auto; height: auto; padding: 30px 16px; }
  .about-box h2 { margin: 0 !important; font-size: 24px; }
  .vm-row h2 { margin-top: 24px; }

  /* Community Impact */
  .impact-banner { width: auto; height: 160px; }
  .impact-h1 { font-size: 32px; }
  .impact-h2 { font-size: 26px; }
  .impact-stats { padding: 32px 0 36px; }
  .stat-row { grid-template-columns: 1fr 1fr; row-gap: 24px; margin: 22px 0 0; }
  .stat-row li { padding: 0 8px; border-left: 0; }
  .stat-row strong { font-size: 32px; }
  .impact-work { padding: 36px 0 44px; }
  .work-grid { grid-template-columns: 1fr; gap: 32px; margin: 24px 0 0; }
  .work-card p { font-size: 16px; }
  .impact-mission { padding: 36px 0 40px; }
  .mission-quote { width: auto; font-size: 22px; }

  /* Contact */
  .contact-hero { height: 240px; }
  .contact-hero h2 { padding-top: 70px; margin: 0 !important; }
  .contact-row { display: block; }
  .contact-form { grid-template-columns: 1fr 1fr; margin-top: 30px !important; }
  .map-box { width: auto; height: 300px; }

  /* Our Team */
  .story-banner { width: auto; min-width: 0; height: 200px; margin: 0 20px; }
  .team-band { height: 120px; }
  .team-grid { grid-template-columns: minmax(0, 434px); }
  .member { height: auto; padding: 24px 0; }
  .member img.photo, .member h3, .member p, .member .social { position: static; }
  .member h3 { margin-top: 16px; }
  .member .social { margin-top: 8px; }
  .partners { height: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px 28px; padding: 24px 0 30px; }
  .partners > a, .partners > .logo-plain, .partners .social { position: static; }
  .partners > a, .partners > .logo-plain { width: auto !important; height: auto !important; max-width: 100%; }
  .partners > a img, .partners > .logo-plain img { width: auto; height: 70px; max-width: 100%; object-fit: contain; }
  .partners .social { flex-basis: 100%; justify-content: center; }
  .partner-caption { display: none; }
  .wrap > .rule { margin-left: auto !important; margin-right: auto !important; } /* 只居中 Our Team 标题下的分隔线 */
}
@media (max-width: 560px) {
  .nav > ul > li { flex-basis: 50%; }
  .nav > ul > li:nth-child(3) { border-left: 0; }
  .nav > ul > li:nth-child(n+3) { border-top: 1px solid var(--navy); }
  .nav > ul > li:nth-child(1) { border-radius: 10px 0 0 0; }
  .nav > ul > li:nth-child(2) { border-radius: 0 10px 0 0; }
  .nav > ul > li:nth-child(3) { border-radius: 0 0 0 10px; }
  .nav > ul > li:nth-child(4) { border-radius: 0 0 10px 0; }
}
