html {
  font-family: sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

a {
  background-color: transparent;
  -webkit-text-decoration-skip: objects;
}
a:active,
a:hover {
  outline-width: 0;
}
abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}
b,
strong {
  font-weight: inherit;
}
b,
strong {
  font-weight: bolder;
}
dfn {
  font-style: italic;
}
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}
mark {
  background-color: #ff0;
  color: #000;
}
small {
  font-size: 80%;
}
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
img {
  border-style: none;
  display: block;
}
svg:not(:root) {
  overflow: hidden;
}
code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}
figure {
  margin: 1em 40px;
}
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}
button,
input,
optgroup,
select,
textarea {
  font: inherit;
  margin: 0;
}
optgroup {
  font-weight: bold;
}
button,
input {
  overflow: visible;
}
button,
select {
  text-transform: none;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}
fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}
legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}
textarea {
  overflow: auto;
}
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
::-webkit-input-placeholder {
  color: inherit;
  opacity: 0.54;
}
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

html,
input[type="search"] {
  box-sizing: border-box;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

html {
  font-size: 62.5%; /*! 10px browser default */
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

/*! RTL Support */
body {
  direction: ltr;
  unicode-bidi: embed;
}

/*! Chrome fix */
body > div {
  font-size: 1.6rem;
}

body {
  background-color: #f5f5f5;
  color: #777;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 16px;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.625;
  margin: 0;
}

a,
button,
input:focus,
input[type="button"],
input[type="reset"],
input[type="submit"],
textarea:focus,
.button,
.more-link,
.gallery img {
  -webkit-transition: all 0.1s ease-in-out;
  transition: all 0.1s ease-in-out;
}

a {
  color: #ff6c3a;
  text-decoration: none;
}

a:hover,
a:focus {
  color: #2f4052;
  text-decoration: none;
}

p {
  margin: 0 0 30px;
  padding: 0;
}

ol,
ul {
  margin: 0;
  padding: 0;
}

li {
  list-style-type: none;
}

hr {
  border: 0;
  border-collapse: collapse;
  border-top: 1px solid #ddd;
  clear: both;
  margin: 2em 0;
}

b,
strong {
  font-weight: 700;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #363f48;
  font-family: "Lato", sans-serif;
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 20px;
}

h1 {
  font-size: 26px;
  font-size: 2.6rem;
}

h2 {
  font-size: 22px;
  font-size: 2.2rem;
}

h3 {
  font-size: 20px;
  font-size: 2rem;
}

h4 {
  font-size: 20px;
  font-size: 2rem;
}

h5 {
  font-size: 18px;
  font-size: 1.8rem;
}

h6 {
  font-size: 16px;
  font-size: 1.6rem;
}

embed,
iframe,
img,
object,
video,
.wp-caption {
  max-width: 100%;
}

img {
  height: auto;
}

.layout {
  display: flex;
}
.layout-column {
  display: flex;
  flex-direction: column;
}
.justify-center {
  justify-content: center;
}
.align-center {
  align-items: center;
}

.flex {
  flex: 1;
}

.site-header {
  background-color: #00356b;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 999;
}

.site-header .title-area {
  padding: 15px 0;
}

.site-header .custom-logo-link {
  display: block;
  line-height: 46px;
  height: 46px;
}

.site-header .custom-logo-link img {
  width: auto;
  max-height: 100%;
  margin: auto;
  vertical-align: middle;
}

.site-header .title-area {
  padding: 14px 0;
  margin: 0 50px 0 30px;
}

.nav-menu {
  color: #363f48;
  font-size: 16px;
  font-size: 1.6rem;
  line-height: inherit;
  width: 100%;
}

.nav-menu a {
  text-decoration: none;
  display: block;
  padding: 15px;
  margin: 0;
  color: #fff;
}

.nav-menu a:hover {
  color: #ff6c3a;
}

.layout-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 0;
}

.grid-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  min-height: calc(100vh - 300px);
}

.grid-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
}

.grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.grid-item .item-mask {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 15px;
  background-color: #54b6a5;
  opacity: 0;
  transition: opacity 0.5s;
}

.grid-item:hover .item-mask {
  opacity: 1;
}

.item-title {
  margin: 0;
  padding: 0;
  color: #fff;
  font-size: 18px;
  line-height: 1;
}

.footer-widgets {
  background: #0b3b6f; /* 与 header 呼应 */
  color: #fff;
  padding: 48px 20px 32px;
}

.components-footer-social-utility-copyright {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.footer-social-list {
  display: flex;
  justify-content: center;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.footer-social-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.footer-social-button svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-social-button:hover {
  opacity: 1;
}
.m--footer-utility {
  display: flex;
  justify-content: center;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

.m--footer-utility a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  text-decoration: none;
}

.m--footer-utility a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-copyright {
  margin-top: 16px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}
