#style2-site .gov-page {
  --nav-width: 500px; --nav-gap: 12px; --ink: #283440; --muted: #606e79;
  --accent: #b52330; --line: #e1e4e7; --paper: #fff; --page: #f5f6f7;
  --title-size: 17px; --action-size: 16px;
  color-scheme: light; color: var(--ink); background: var(--page);
  min-height: 100svh; width: 100%; display: flex; flex-direction: column;
  font: 400 15px/1.65 "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif;
  text-align: left; position: relative; isolation: isolate;
}
#style2-site .gov-page *, #style2-site .gov-page *::before, #style2-site .gov-page *::after { box-sizing: border-box; }
#style2-site .gov-page h1, #style2-site .gov-page h2, #style2-site .gov-page p { margin: 0; }
#style2-site .gov-page h1 { font: 500 38px/1.3 "Microsoft YaHei", sans-serif; letter-spacing: 3px; color: var(--accent); overflow-wrap: anywhere; white-space: pre-line; }
#style2-site .gov-page h2 { font-size: 18px; line-height: 1.6; font-weight: 500; color: inherit; white-space: pre-line; overflow-wrap: anywhere; }
#style2-site .gov-page .site-width { width: min(880px, calc(100% - 64px)); margin-inline: auto; }
#style2-site .gov-page .narrow-width { width: min(var(--nav-width), calc(100% - 48px)); margin-inline: auto; }
#style2-site .gov-page .gov-header { position: relative; flex: none; }
#style2-site .gov-page .header-core { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
#style2-site .gov-page .site-brand { display: flex; align-items: center; gap: 16px; min-width: 0; }
#style2-site .gov-page .site-brand > div { min-width: 0; }
#style2-site .gov-page .brand-logo { display: block; width: 58px; height: 58px; object-fit: contain; flex: none; border-radius: 50%; background: #fff; }
#style2-site .gov-page .brand-domain { font: 400 13px/1.5 Arial, sans-serif; letter-spacing: 1px; color: var(--muted); margin-top: 3px; }
#style2-site .gov-page .header-caption { color: var(--accent); font-size: 16px; letter-spacing: 3px; white-space: pre-line; overflow-wrap: anywhere; }
#style2-site .gov-page .header-tagline { font-size: 15px; color: var(--muted); letter-spacing: 3px; white-space: pre-line; overflow-wrap: anywhere; }
#style2-site .gov-page .header-aside { color: var(--muted); font-size: 15px; letter-spacing: 2px; white-space: pre-line; overflow-wrap: anywhere; }
#style2-site .gov-page .header-eyebrow { font-size: 14px; letter-spacing: 4px; white-space: pre-line; overflow-wrap: anywhere; }
#style2-site .gov-page .gov-main { display: flex; align-items: center; justify-content: center; flex: 1; padding: 36px 24px; }
#style2-site .gov-page .entry-panel { width: var(--nav-width); max-width: 100%; min-width: 0; }
#style2-site .gov-page .entry-list { display: grid; gap: var(--nav-gap); margin: 0; padding: 0; list-style: none; }
#style2-site .gov-page .entry-row { display: grid; grid-template-columns: minmax(0, 1fr) 160px; align-items: center; gap: 16px; min-height: 72px; padding: 12px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 4px; }
#style2-site .gov-page .entry-identity { display: flex; align-items: center; gap: 10px; min-width: 0; }
#style2-site .gov-page .entry-logo { display: block; width: 40px; height: 40px; flex: none; object-fit: contain; border-radius: 8px; }
#style2-site .gov-page .entry-title { display: block; font-size: var(--title-size); line-height: 1.5; font-weight: 500; min-width: 0; white-space: pre-line; overflow-wrap: anywhere; word-break: normal; }
#style2-site .gov-page .entry-action { appearance: none; display: grid; place-items: center; width: 100%; min-width: 0; min-height: 46px; padding: 8px 9px; border: 1px solid var(--accent); border-radius: 3px; background: var(--accent); color: #fff; font: 400 var(--action-size)/1.45 "Microsoft YaHei", "PingFang SC", sans-serif; text-align: center; }
#style2-site .gov-page .entry-action span { min-width: 0; max-width: 100%; white-space: pre-line; overflow-wrap: anywhere; word-break: normal; }
#style2-site .gov-page .entry-action:hover { filter: brightness(.94); }
#style2-site .gov-page .entry-action:active { transform: translateY(1px); }
#style2-site .gov-page .panel-caption { padding: 0 0 18px; font-size: 17px; line-height: 1.6; font-weight: 500; color: var(--accent); letter-spacing: 2px; }
#style2-site .gov-page .gov-footer { flex: none; color: var(--muted); font-size: 13px; line-height: 1.85; }
#style2-site .gov-page .gov-footer p { white-space: pre-line; overflow-wrap: anywhere; }
#style2-site .gov-page .gov-footer h2 { color: var(--ink); margin-bottom: 8px; }
#style2-site .gov-page .footer-columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(180px, .4fr); align-items: start; gap: 64px; }
#style2-site .gov-page .footer-copy { max-width: 560px; min-width: 0; }
#style2-site .gov-page .footer-owner, #style2-site .gov-page .footer-signature { display: flex; flex-direction: column; gap: 4px; min-width: 0; overflow-wrap: anywhere; }
#style2-site .gov-page .footer-owner strong, #style2-site .gov-page .footer-signature strong { font-weight: 500; color: var(--ink); font-size: 15px; }
#style2-site .gov-page .footer-label { font-size: 12px; letter-spacing: 1px; }
#style2-site .gov-page .footer-record { font-size: 12px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 28px; overflow-wrap: anywhere; }
#style2-site .gov-page .footer-service { text-align: center; max-width: 650px; }

/* 朱红门户：身份区、红色横带与分层页脚。 */
#style2-site .theme-vermilion { --accent: #b51f2d; --page: #f5f5f5; }
#style2-site .theme-vermilion .gov-header { background: #fff; }
#style2-site .theme-vermilion .header-note { background: #f4f4f4; border-bottom: 1px solid #e9e9e9; color: #677079; font-size: 12px; }
#style2-site .theme-vermilion .header-note .site-width { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 20px; padding-block: 7px; }
#style2-site .theme-vermilion .header-core { padding-block: 27px; }
#style2-site .theme-vermilion .header-ribbon { background: var(--accent); color: #fff; text-align: center; padding: 10px 24px; font-size: 16px; letter-spacing: 5px; }
#style2-site .theme-vermilion .entry-row { border-left: 3px solid var(--accent); border-radius: 2px; }
#style2-site .theme-vermilion .gov-footer { border-top: 3px solid var(--accent); background: #fff; }
#style2-site .theme-vermilion .footer-service { padding-block: 22px 20px; }
#style2-site .theme-vermilion .footer-record { padding: 11px 24px; border-top: 1px solid #ebebeb; background: #f8f8f8; }

/* 清朗政务：蓝色居中页头、白色整体面板、深蓝分栏页脚。 */
#style2-site .theme-clear-blue { --accent: #1d6097; --page: #f1f5f9; --line: #dfe7ee; }
#style2-site .theme-clear-blue .gov-header { color: #fff; background: #225f91; text-align: center; padding: 28px 0 53px; border-bottom: 4px solid #c8deed; }
#style2-site .theme-clear-blue .header-eyebrow { color: #e2eef7; margin-bottom: 17px; }
#style2-site .theme-clear-blue .site-brand { justify-content: center; }
#style2-site .theme-clear-blue h1 { color: #fff; font-size: 40px; }
#style2-site .theme-clear-blue .brand-logo { width: 54px; height: 54px; }
#style2-site .theme-clear-blue .header-tagline { color: #e1edf6; margin-top: 16px; }
#style2-site .theme-clear-blue .gov-main { align-items: flex-start; padding-top: 0; }
#style2-site .theme-clear-blue .entry-panel { position: relative; margin-top: -29px; background: #fff; border: 1px solid #dce6ef; border-radius: 6px; padding: 25px 22px 5px; box-shadow: 0 6px 20px #284b6810; width: calc(var(--nav-width) + 46px); }
#style2-site .theme-clear-blue .panel-caption { border-bottom: 1px solid var(--line); margin-bottom: 8px; }
#style2-site .theme-clear-blue .entry-list { gap: 0; }
#style2-site .theme-clear-blue .entry-row { border: none; border-bottom: 1px solid #e5ebf1; border-radius: 0; padding-inline: 0; min-height: 78px; }
#style2-site .theme-clear-blue .entry-row:last-child { border-bottom: none; }
#style2-site .theme-clear-blue .gov-footer { background: #204a70; color: #dde7f0; }
#style2-site .theme-clear-blue .footer-columns { padding-block: 27px 23px; }
#style2-site .theme-clear-blue .gov-footer h2, #style2-site .theme-clear-blue .footer-owner strong { color: #fff; }
#style2-site .theme-clear-blue .footer-owner { padding-left: 28px; border-left: 1px solid #ffffff38; }
#style2-site .theme-clear-blue .footer-record { background: #193e60; padding: 9px 24px; }

/* 公报雅白：有边界的纸面、双红线与落款。 */
#style2-site .theme-bulletin { --accent: #a9272e; --page: #efefed; --ink: #30343a; --muted: #666b6f; padding: 26px 24px; }
#style2-site .theme-bulletin .document-sheet { width: min(840px, 100%); min-width: 0; margin-inline: auto; flex: 1; display: flex; flex-direction: column; background: #fff; padding: 0 48px; border: 1px solid #e2e1dc; }
#style2-site .theme-bulletin .gov-header { padding-top: 18px; text-align: center; }
#style2-site .theme-bulletin .document-meta { display: flex; justify-content: space-between; gap: 16px; color: #767676; font-size: 12px; padding-bottom: 24px; }
#style2-site .theme-bulletin .site-brand { justify-content: center; }
#style2-site .theme-bulletin h1 { font: 500 43px/1.3 "SimSun", "Songti SC", serif; letter-spacing: 7px; }
#style2-site .theme-bulletin .brand-logo { width: 46px; height: 46px; }
#style2-site .theme-bulletin .header-tagline { margin-top: 13px; font-size: 14px; }
#style2-site .theme-bulletin .document-rule { border-top: 3px solid var(--accent); border-bottom: 1px solid var(--accent); height: 8px; margin-top: 25px; }
#style2-site .theme-bulletin .entry-list { gap: 0; }
#style2-site .theme-bulletin .entry-row { border: none; border-bottom: 1px solid #e6e1de; border-radius: 0; padding-block: 15px; }
#style2-site .theme-bulletin .entry-action { color: var(--accent); background: #fff; }
#style2-site .theme-bulletin .gov-footer { border-top: 1px solid var(--accent); padding: 19px 0 13px; }
#style2-site .theme-bulletin .footer-columns { grid-template-columns: minmax(0, 1fr) 150px; gap: 32px; }
#style2-site .theme-bulletin .footer-signature { text-align: right; }
#style2-site .theme-bulletin .footer-record { border-top: 1px solid #ebe7e3; margin-top: 17px; padding-top: 12px; }

/* 山海青韵：浅色山形页头与横向分组页脚。 */
#style2-site .theme-mountain { --accent: #216f68; --page: #f4f8f6; --muted: #516d69; --line: #d9e7e3; }
#style2-site .theme-mountain .gov-header { background: #e8f1ec; padding: 40px 0 35px; text-align: center; }
#style2-site .theme-mountain .site-brand { justify-content: center; position: relative; }
#style2-site .theme-mountain .header-caption { margin-top: 4px; letter-spacing: 5px; }
#style2-site .theme-mountain .header-tagline { position: relative; margin-top: 20px; }
#style2-site .theme-mountain .mountain-scene { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
#style2-site .theme-mountain .mountain-scene i { position: absolute; width: 54%; height: 75%; bottom: -2px; background: #cfdfd5; clip-path: polygon(0 100%, 0 70%, 27% 12%, 46% 53%, 68% 29%, 100% 100%); opacity: .6; }
#style2-site .theme-mountain .mountain-scene i:nth-child(2) { width: 46%; height: 63%; right: -3%; transform: scaleX(-1); opacity: .65; }
#style2-site .theme-mountain .mountain-scene i:nth-child(3) { left: 30%; width: 40%; height: 37%; background: #e2eae3; }
#style2-site .theme-mountain .entry-row { border-left: 3px solid #8eb0a6; border-radius: 4px; }
#style2-site .theme-mountain .entry-action { background: #f5faf8; color: var(--accent); border-color: #8db6ad; }
#style2-site .theme-mountain .gov-footer { background: #e8f0eb; border-top: 1px solid #cbded4; }
#style2-site .theme-mountain .footer-columns { padding-block: 26px 22px; }
#style2-site .theme-mountain .footer-owner { text-align: right; }
#style2-site .theme-mountain .footer-record { padding: 10px 24px; border-top: 1px solid #d0e0d6; }

/* 城市窗口：横向站名、方正入口与深灰蓝说明区。 */
#style2-site .theme-city { --accent: #205b8b; --page: #f7f9fb; --line: #d7e1e9; }
#style2-site .theme-city .gov-header { background: #fff; border-bottom: 6px solid var(--accent); padding-block: 48px 45px; }
#style2-site .theme-city .header-core { position: relative; }
#style2-site .theme-city .header-caption { color: #576f81; letter-spacing: 3px; margin-top: 5px; }
#style2-site .theme-city .header-aside { border-left: 2px solid #b4c8d9; padding-left: 24px; color: #345b77; }
#style2-site .theme-city .city-skyline { position: absolute; bottom: 0; left: 50%; right: 5%; height: 95px; display: flex; align-items: flex-end; gap: 7px; overflow: hidden; opacity: .5; }
#style2-site .theme-city .city-skyline i { width: 10%; height: 42%; background: #e5edf4; border: 1px solid #d7e4ef; }
#style2-site .theme-city .city-skyline i:nth-child(3n) { height: 86%; }
#style2-site .theme-city .city-skyline i:nth-child(3n + 1) { height: 62%; }
#style2-site .theme-city .entry-panel { border: 1px solid #d4dfe8; border-top: 3px solid var(--accent); background: #fff; padding: 20px; width: calc(var(--nav-width) + 42px); }
#style2-site .theme-city .panel-caption { padding-bottom: 16px; }
#style2-site .theme-city .entry-row, #style2-site .theme-city .entry-action { border-radius: 0; }
#style2-site .theme-city .gov-footer { background: #454f5d; color: #e2e6eb; }
#style2-site .theme-city .footer-columns { padding-block: 25px; }
#style2-site .theme-city .gov-footer h2, #style2-site .theme-city .footer-owner strong { color: #fff; }
#style2-site .theme-city .footer-owner { border-left: 1px solid #ffffff30; padding-left: 28px; }
#style2-site .theme-city .footer-record { background: #384250; color: #e4e8ed; padding: 9px 24px; }

/* 金石礼序：米色纸感、朱砂站名、细金边与居中署名。 */
#style2-site .theme-gold { --accent: #884633; --page: #f5f1e8; --line: #d9ccb6; --ink: #453e34; --muted: #746655; }
#style2-site .theme-gold .gov-header { border-top: 5px solid #9b8256; padding: 39px 0 22px; background: #faf7f0; }
#style2-site .theme-gold .header-core { padding-block: 0 23px; }
#style2-site .theme-gold h1 { font: 500 40px/1.3 "SimSun", "Songti SC", serif; letter-spacing: 5px; }
#style2-site .theme-gold .brand-logo { border: 1px solid #d9c69f; padding: 4px; width: 61px; height: 61px; border-radius: 3px; }
#style2-site .theme-gold .header-caption { letter-spacing: 4px; font-size: 17px; color: #7c6644; }
#style2-site .theme-gold .header-tagline { display: flex; align-items: center; justify-content: center; gap: 24px; color: #7b674d; }
#style2-site .theme-gold .header-tagline::before, #style2-site .theme-gold .header-tagline::after { content: ""; height: 1px; flex: 1; background: #d4c4a9; }
#style2-site .theme-gold .entry-row { background: #fffcf7; border-color: #d4c3a8; border-radius: 0; }
#style2-site .theme-gold .entry-action { border-radius: 0; }
#style2-site .theme-gold .gov-footer { padding: 0 0 24px; }
#style2-site .theme-gold .footer-frame { border-top: 1px solid #bca77d; border-bottom: 1px solid #d8c8ab; padding: 21px 30px 15px; text-align: center; }
#style2-site .theme-gold .footer-frame > p { max-width: 620px; margin-inline: auto; }
#style2-site .theme-gold .footer-record { margin-top: 17px; border-top: 1px solid #e1d7c4; padding-top: 12px; }

/* 数智蓝厅：紧凑身份栏、淡网格与整体行列表。 */
#style2-site .theme-digital { --accent: #1d527a; --page: #f2f5f8; --line: #dde6ec; }
#style2-site .theme-digital .gov-header { background-color: #173f60; background-image: linear-gradient(#ffffff06 1px, transparent 1px), linear-gradient(90deg, #ffffff06 1px, transparent 1px); background-size: 28px 28px; padding: 29px 0 16px; }
#style2-site .theme-digital .header-core { padding-bottom: 23px; }
#style2-site .theme-digital h1 { color: #fff; font-size: 32px; }
#style2-site .theme-digital .brand-logo { width: 47px; height: 47px; }
#style2-site .theme-digital .header-caption { color: #e2eff8; border-left: 1px solid #ffffff5c; padding-left: 26px; font-size: 16px; }
#style2-site .theme-digital .header-baseline { display: flex; justify-content: space-between; gap: 16px; color: #d2e1ec; border-top: 1px solid #ffffff28; padding-top: 12px; font-size: 12px; letter-spacing: 1px; }
#style2-site .theme-digital .entry-panel { background: #fff; border: 1px solid #d9e3eb; width: calc(var(--nav-width) + 50px); padding: 22px 24px 0; border-radius: 3px; }
#style2-site .theme-digital .panel-caption { border-left: 3px solid #4b81a9; padding: 0 0 0 12px; margin-bottom: 11px; }
#style2-site .theme-digital .entry-list { gap: 0; }
#style2-site .theme-digital .entry-row { border: none; border-radius: 0; border-top: 1px solid #e1e8ee; padding: 16px 0; }
#style2-site .theme-digital .entry-action { background: #edf3f8; color: #1d527a; border-color: #c3d4e2; }
#style2-site .theme-digital .gov-footer { background: #1b3c56; color: #d9e4ed; padding-top: 21px; }
#style2-site .theme-digital .footer-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 6px; }
#style2-site .theme-digital .gov-footer h2 { color: #fff; margin: 0; }
#style2-site .theme-digital .footer-record { justify-content: flex-start; margin-top: 16px; border-top: 1px solid #ffffff26; padding: 9px 0; }

/* 便民绿窗：柔和服务色、横向身份组合、浅绿说明带。 */
#style2-site .theme-green { --accent: #306c52; --page: #fcfdfb; --line: #d9e5d9; --muted: #5e7263; }
#style2-site .theme-green .gov-header { border-top: 5px solid #477358; background: #eef4eb; border-bottom: 1px solid #d8e3d4; padding: 36px 0; }
#style2-site .theme-green .site-width { max-width: 800px; }
#style2-site .theme-green .brand-logo { border-radius: 12px; width: 62px; height: 62px; padding: 4px; }
#style2-site .theme-green .header-caption { font-size: 14px; letter-spacing: 2px; margin-bottom: 5px; }
#style2-site .theme-green h1 { font-size: 34px; }
#style2-site .theme-green .header-aside { font-size: 14px; color: #4b6550; }
#style2-site .theme-green .entry-row { border-radius: 10px; border-color: #d8e2d4; background: #f5f8f1; padding-block: 14px; }
#style2-site .theme-green .entry-action { border-radius: 6px; background: #fff; color: var(--accent); border-color: #adc3ab; }
#style2-site .theme-green .gov-footer { background: #edf3e9; border-top: 1px solid #d5e1ce; }
#style2-site .theme-green .footer-service { padding-block: 23px; }
#style2-site .theme-green .footer-record { border-top: 1px solid #d8e2d2; padding-block: 12px; justify-content: space-between; }

/* 极简公服：窄列对齐、纯白背景、仅保留内容分隔线。 */
#style2-site .theme-minimal { --accent: #a53c3c; --page: #fff; --ink: #2b3034; --muted: #676d70; --line: #e6e5e3; }
#style2-site .theme-minimal .gov-header { padding: 38px 0 0; border-top: 3px solid var(--accent); }
#style2-site .theme-minimal .header-eyebrow { color: #747575; font-size: 13px; letter-spacing: 2px; margin-bottom: 18px; }
#style2-site .theme-minimal .site-brand { gap: 13px; }
#style2-site .theme-minimal .brand-logo { width: 43px; height: 43px; }
#style2-site .theme-minimal h1 { color: #303236; font-size: 32px; letter-spacing: 2px; }
#style2-site .theme-minimal .header-tagline { font-size: 14px; letter-spacing: 1px; padding: 17px 0 23px; border-bottom: 1px solid #dddcd9; }
#style2-site .theme-minimal .gov-main { align-items: flex-start; padding-top: 16px; padding-bottom: 36px; }
#style2-site .theme-minimal .entry-list { gap: 0; }
#style2-site .theme-minimal .entry-row { border: none; border-bottom: 1px solid var(--line); padding: 17px 0; border-radius: 0; }
#style2-site .theme-minimal .entry-action { color: var(--accent); background: #fff; border-color: #d7bebe; border-radius: 2px; }
#style2-site .theme-minimal .gov-footer { padding: 0 0 25px; }
#style2-site .theme-minimal .gov-footer .narrow-width { border-top: 2px solid var(--accent); padding-top: 21px; }
#style2-site .theme-minimal .gov-footer h2 { font-size: 16px; }
#style2-site .theme-minimal .footer-record { justify-content: flex-start; gap: 6px 18px; margin-top: 17px; }

/* 书卷江南：中轴书卷式站名、灰绿纸面与落款页脚。 */
#style2-site .theme-scroll { --accent: #52695c; --page: #f3f3ed; --ink: #38443d; --muted: #697469; --line: #d5dbd1; background-image: repeating-linear-gradient(90deg, #d9dfd51a 0, #d9dfd51a 1px, transparent 1px, transparent 5px); }
#style2-site .theme-scroll .gov-header { padding: 27px 0 26px; text-align: center; }
#style2-site .theme-scroll .gov-header .site-width { max-width: 760px; }
#style2-site .theme-scroll .header-eyebrow { display: flex; align-items: center; gap: 22px; color: #67796b; font-size: 13px; letter-spacing: 5px; margin-bottom: 20px; }
#style2-site .theme-scroll .header-eyebrow::before, #style2-site .theme-scroll .header-eyebrow::after { content: ""; height: 1px; background: #c5cec1; flex: 1; }
#style2-site .theme-scroll .brand-logo { width: 47px; height: 47px; margin: 0 auto 10px; border: 1px solid #c1cdbf; padding: 3px; }
#style2-site .theme-scroll h1 { font: 500 39px/1.35 "SimSun", "Songti SC", serif; letter-spacing: 9px; padding-left: 9px; }
#style2-site .theme-scroll .header-tagline { font-size: 14px; letter-spacing: 3px; margin-top: 11px; }
#style2-site .theme-scroll .gov-main { padding-top: 18px; }
#style2-site .theme-scroll .entry-list { gap: 0; border-top: 1px solid #a7b5a6; }
#style2-site .theme-scroll .entry-row { border: none; border-bottom: 1px solid #d3dcd1; border-radius: 0; padding-block: 14px; background: #fcfcf8; }
#style2-site .theme-scroll .entry-action { background: #52695c; border-radius: 1px; }
#style2-site .theme-scroll .gov-footer { border-top: 1px solid #b5c1b1; background: #e9ede4; }
#style2-site .theme-scroll .footer-columns { padding-block: 23px 20px; max-width: 760px; }
#style2-site .theme-scroll .footer-signature { text-align: right; border-right: 2px solid #9dac94; padding-right: 17px; }
#style2-site .theme-scroll .footer-signature strong { font-family: "SimSun", "Songti SC", serif; font-size: 18px; }
#style2-site .theme-scroll .footer-record { padding: 9px 24px; border-top: 1px solid #d4ddcd; }

@media (max-width: 800px) {
  #style2-site .gov-page { min-height: 100svh; }
}
@media (max-width: 680px) {
  #style2-site .gov-page .site-width { width: calc(100% - 40px); }
  #style2-site .gov-page .header-core { gap: 16px; }
  #style2-site .gov-page .header-aside { font-size: 13px; letter-spacing: 1px; max-width: 160px; }
  #style2-site .gov-page .footer-columns { gap: 24px; grid-template-columns: minmax(0, 1fr) 140px; }
  #style2-site .theme-bulletin { padding: 20px 16px; }
  #style2-site .theme-bulletin .document-sheet { padding-inline: 25px; }
  #style2-site .theme-bulletin .gov-main { padding-inline: 0; }
  #style2-site .theme-digital .header-core { flex-wrap: wrap; }
  #style2-site .theme-digital .header-caption { padding-left: 15px; }
}
@media (max-width: 480px) {
  #style2-site .gov-page { min-height: 100svh; --title-size: 16px; --action-size: 15px; }
  #style2-site .gov-page .site-width { width: calc(100% - 32px); }
  #style2-site .gov-page .narrow-width { width: calc(100% - 32px); }
  #style2-site .gov-page .gov-main { padding: 28px 16px; }
  #style2-site .gov-page h1 { font-size: 31px; letter-spacing: 2px; }
  #style2-site .gov-page .site-brand { gap: 12px; }
  #style2-site .gov-page .brand-logo { width: 48px; height: 48px; }
  #style2-site .gov-page .header-caption { font-size: 14px; letter-spacing: 2px; }
  #style2-site .gov-page .header-tagline { font-size: 13px; letter-spacing: 2px; }
  #style2-site .gov-page .header-core { flex-wrap: wrap; }
  #style2-site .gov-page .header-aside { max-width: 100%; }
  #style2-site .gov-page .entry-row { grid-template-columns: minmax(0, 1fr) 138px; gap: 10px; padding: 12px; }
  #style2-site .gov-page .entry-identity { gap: 8px; }
  #style2-site .gov-page .entry-logo { width: 34px; height: 34px; border-radius: 6px; }
  #style2-site .gov-page .entry-action { padding-inline: 6px; }
  #style2-site .gov-page .gov-footer { font-size: 13px; }
  #style2-site .gov-page .gov-footer h2 { font-size: 17px; }
  #style2-site .gov-page .footer-columns { grid-template-columns: minmax(0, 1fr); gap: 17px; padding-block: 23px; }
  #style2-site .gov-page .footer-owner, #style2-site .gov-page .footer-signature { text-align: left; border: none; padding: 0; gap: 1px; }
  #style2-site .gov-page .footer-record { gap: 5px 20px; padding-inline: 16px; }
  #style2-site .theme-vermilion .header-note .site-width { font-size: 11px; }
  #style2-site .theme-vermilion .header-core { padding-block: 23px; }
  #style2-site .theme-vermilion .header-aside { width: 100%; margin-left: 60px; }
  #style2-site .theme-vermilion .footer-service { padding-block: 23px; }
  #style2-site .theme-clear-blue .gov-header { padding: 24px 0 52px; }
  #style2-site .theme-clear-blue .gov-main { padding-top: 0; }
  #style2-site .theme-clear-blue .entry-panel { width: 100%; padding: 20px 14px 0; }
  #style2-site .theme-clear-blue .entry-row { padding-inline: 0; }
  #style2-site .theme-bulletin { padding: 13px 10px; }
  #style2-site .theme-bulletin .document-sheet { padding-inline: 16px; }
  #style2-site .theme-bulletin .gov-main { padding-inline: 0; }
  #style2-site .theme-bulletin h1 { font-size: 34px; letter-spacing: 5px; }
  #style2-site .theme-bulletin .entry-row { padding-inline: 0; }
  #style2-site .theme-bulletin .document-meta { padding-bottom: 22px; }
  #style2-site .theme-bulletin .footer-record { padding-inline: 0; }
  #style2-site .theme-mountain .gov-header { padding-block: 34px 30px; }
  #style2-site .theme-mountain .footer-owner { display: flex; flex-direction: row; gap: 12px; align-items: center; }
  #style2-site .theme-city .gov-header { padding-block: 31px 25px; }
  #style2-site .theme-city .header-aside { border-left: none; padding-left: 60px; width: 100%; }
  #style2-site .theme-city .city-skyline { left: 35%; opacity: .6; }
  #style2-site .theme-city .entry-panel { padding: 18px 12px 0; width: 100%; }
  #style2-site .theme-city .entry-row { padding-inline: 9px; }
  #style2-site .theme-gold .gov-header { padding: 28px 0 18px; }
  #style2-site .theme-gold .header-core { justify-content: center; padding-bottom: 19px; }
  #style2-site .theme-gold .header-caption { width: 100%; text-align: center; }
  #style2-site .theme-gold .header-tagline { gap: 12px; }
  #style2-site .theme-gold .footer-frame { padding-inline: 12px; }
  #style2-site .theme-gold .footer-record { padding-inline: 0; }
  #style2-site .theme-digital .gov-header { padding-top: 24px; }
  #style2-site .theme-digital .header-core { flex-wrap: nowrap; gap: 12px; padding-bottom: 19px; }
  #style2-site .theme-digital .header-caption { font-size: 13px; letter-spacing: 1px; padding-left: 12px; }
  #style2-site .theme-digital .brand-logo { width: 37px; height: 37px; }
  #style2-site .theme-digital .site-brand { gap: 9px; }
  #style2-site .theme-digital h1 { font-size: 27px; white-space: nowrap; }
  #style2-site .theme-digital .header-baseline { font-size: 11px; letter-spacing: 0; }
  #style2-site .theme-digital .entry-panel { width: 100%; padding: 20px 14px 0; }
  #style2-site .theme-digital .entry-row { padding-inline: 0; }
  #style2-site .theme-digital .footer-head { flex-wrap: wrap; gap: 8px; padding-bottom: 11px; }
  #style2-site .theme-digital .footer-record { padding-inline: 0; }
  #style2-site .theme-green .gov-header { padding-block: 28px; }
  #style2-site .theme-green .header-aside { margin-left: 60px; width: 100%; }
  #style2-site .theme-green .footer-record { justify-content: center; }
  #style2-site .theme-minimal .gov-header { padding-top: 29px; }
  #style2-site .theme-minimal .gov-main { padding-top: 10px; }
  #style2-site .theme-minimal .entry-row { padding-inline: 0; }
  #style2-site .theme-minimal .footer-record { padding-inline: 0; }
  #style2-site .theme-scroll .gov-header { padding-top: 25px; }
  #style2-site .theme-scroll .header-eyebrow { margin-bottom: 18px; gap: 14px; letter-spacing: 3px; }
  #style2-site .theme-scroll .gov-main { padding-top: 15px; }
  #style2-site .theme-scroll h1 { letter-spacing: 7px; padding-left: 7px; }
  #style2-site .theme-scroll .brand-logo { width: 43px; height: 43px; }
  #style2-site .theme-scroll .footer-signature { text-align: right; }
}
@media (max-width: 359px) {
  #style2-site .gov-page { min-height: 100svh; }
  #style2-site .gov-page .entry-row { grid-template-columns: minmax(0, 1fr) 126px; gap: 8px; padding-inline: 10px; }
  #style2-site .gov-page .entry-logo { width: 29px; height: 29px; }
  #style2-site .gov-page .entry-identity { gap: 7px; }
  #style2-site .theme-bulletin .entry-row, #style2-site .theme-minimal .entry-row, #style2-site .theme-digital .entry-row, #style2-site .theme-clear-blue .entry-row { padding-inline: 0; }
  #style2-site .theme-city .entry-row { padding-inline: 7px; }
  #style2-site .theme-digital .site-brand { gap: 6px; }
  #style2-site .theme-digital h1 { font-size: 25px; letter-spacing: 1px; }
  #style2-site .theme-digital .header-caption { padding-left: 9px; font-size: 12px; }
}

/* Style 2 is an independent page layout; legacy templates retain their own styles. */
body.style2-active { margin: 0; border: 0; background: #f5f6f7; }
body.style2-active > .masthead, body.style2-active > .site-footer,
body.style2-active.style2-ready > .landing { display: none; }
body.style2-active:not(.style2-ready) > .landing { margin: 40px auto; }
#style2-site { width: 100%; flex: 1; }
#style2-site .gov-page { min-height: 100svh; }
#style2-site .entry-action { text-decoration: none; cursor: pointer; }
#style2-site .entry-action:disabled { cursor: not-allowed; opacity: .65; }
#style2-site .footer-extra-information { display: flex; flex-wrap: wrap; gap: 3px 20px; margin-top: 9px; }
#style2-site .footer-extra-information p { min-width: 0; }
#style2-site .footer-service .footer-extra-information,
#style2-site .footer-frame .footer-extra-information { justify-content: center; }
#style2-site .footer-columns:not(:has(.footer-owner:not([hidden]), .footer-signature:not([hidden]))) { grid-template-columns: minmax(0, 1fr); }
