@charset "utf-8";

/* --- Base Styles --- */
html {
    height: 100%;
}
body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-weight: 500;
    font-size: 12px; /* Base font size */
    position: relative;
    padding-top: 20px;
    font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
    color: #444;
    line-height: 1.5;
    background-color: #FFFFFF;
    box-sizing: border-box;
}
*, *::before, *::after {
    box-sizing: inherit;
}

ul, ol {
    list-style: none;
    margin: 0;
    padding: 0;
}
a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
a:visited {
    /* Style for visited links if needed */
}
a:hover {
    /* Base hover - overridden by specific elements */
}
a img {
    border-width: 0;
    vertical-align: bottom;
    padding-left: 3px;
    padding-right: 3px;
}
img {
    vertical-align: bottom;
    max-width: 100%;
    height: auto;
}
.ac, .center-text {
    text-align: center;
}

h1, h2 {
    margin: 0;
    padding: 0;
    font-family: inherit;
}
h2 {
    padding-bottom: 6px;
    color:#000;
    font-size: 1.6em;
    text-shadow: 0.5px 0.5px 1px rgba(0, 0, 0, 0.3);
    border-radius: 3px;
    margin: 10px 0;
}

p {
    clear: both;
    margin: 0 0 10px 0;
    padding: 0;
}
ul li, li ul li {
    margin: 0;
}
li ul, li ol {
    margin: 0;
    padding-bottom: 0;
}
hr {
    border: 0;
    border-top: 1px solid #eee;
    margin: 1em 0;
}
div.lhm:after { /* Basic clearfix */
    content: ""; display: block; clear: both; height: 0px; visibility: hidden;
}
div.specials {
  color: red;
}
.thunder-bg {
    height: 100%;
    min-height: 100%;
}
body > .thunder-bg {
    height: auto;
}
.wind-bg {
    background-color: #FFFFFF;
    padding-left: 15px;
    padding-right: 15px;
}


/* ======================================== */
/* Header & Navigation Styles (UPDATED V3.3)*/
/* ======================================== */

/* --- Main Header Container (#masthead) --- */
#masthead {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 20px; background-color: #fff;
    max-width: 1200px; margin-left: auto; margin-right: auto;
    position: relative; z-index: 900;
}

/* --- Desktop Navigation (.main-navigation) --- */
.site-branding { flex-shrink: 0; }
.site-branding img { height: 50px; width: auto; display: block; }

.main-navigation { flex-grow: 1; }
.main-navigation ul#primary-menu { display: flex; justify-content: center; /* Center items */ }
.main-navigation .menu-item { margin-left: 20px; }

.main-navigation .menu-item a {
    padding: 10px 15px; color: #333; font-size: 19px; /* Increased font size */
    transition: color 0.2s ease; display: block; position: relative;
    text-align: center; /* Center span inside */
    background-color: transparent; overflow: hidden;
}
/* Span inside link for text-width effect */
.main-navigation .menu-item a span.nav-text {
    position: relative; display: inline-block; /* Shrink-wrap text */
}
/* Desktop Underline Effect using ::after on span.nav-text */
.main-navigation .menu-item a span.nav-text::after {
    content: ''; position: absolute; bottom: -3px; /* Position below text */ left: 50%;
    transform: translateX(-50%); width: 0; height: 2px;
    background-color: #dd3939; transition: width 0.3s ease-in-out;
}
/* Desktop Hover (Underline expand, NO text color change) */
.main-navigation .menu-item a:hover {
    /* color: #dd3939; */ /* Text color change removed */
    background-color: transparent;
}
.main-navigation .menu-item a:hover span.nav-text::after { width: 100%; }
/* Desktop Current Item (Text color red, underline shown) */
.main-navigation .menu-item.current-menu-item a,
.main-navigation .menu-item.act a { color: #dd3939; }
.main-navigation .menu-item.current-menu-item a span.nav-text::after,
.main-navigation .menu-item.act a span.nav-text::after { width: 100%; }


/* --- Profile Summary Heading --- */
h3.profile-summary-heading {
  margin: 0 0 0 0;     /* Bottom margin (replaces <br>), zero out others */
  padding: 5px 0 5px 1em; /* Vertical padding, Left padding (replaces &nbsp;) */
  font-family: inherit;   /* Inherit from body or parent */
  color: #808080;         /* Color from original inline style */
  font-size: 1.3em;       /* Base size, adjust as needed */
  line-height: 1.5;
  text-align: left;
  font-weight: bold;      /* Headings are typically bold */
  background-color: #FFFFFF; /* Optional: light background */
}

/* --- Pagination Styles --- */
.pagination-container {
  padding: 15px 0;
  text-align: center; /* Center the pagination elements */
}

.pagination-wrapper {
  /* Wrapper doesn't need much styling itself, acts as inline container */
  display: inline-block; /* Allows centering via text-align on parent */
}

/* Common styles for all pagination items (links, current page, disabled nav) */
.pagination-wrapper .page-number,
.pagination-wrapper .page-nav {
  display: inline-block; /* Arrange items horizontally */
  vertical-align: middle; /* Align items nicely on the same line */
  margin: 0 4px;         /* Spacing between items */
  padding: 8px 12px;     /* Padding inside items */
  border-radius: 4px;    /* Rounded corners */
  font-size: 0.95em;     /* Base font size for pagination items */
  line-height: 1.4;      /* Adjust line height */
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  border: 1px solid transparent; /* Reserve space for border */
}

/* Styling for Page Number Links and Active Prev/Next Links */
.pagination-wrapper a.page-number,
.pagination-wrapper a.page-nav {
  background-color: #FFFFFF; /* White background for links */
  color: #7D5A70;          /* Dark pink text */
  border: 1px solid #E2C1D5; /* Pink border */
}

/* Hover state for links */
.pagination-wrapper a.page-number:hover,
.pagination-wrapper a.page-nav:hover {
  background-color: #E2C1D5; /* Pink background on hover */
  color: #FFFFFF;          /* White text on hover */
  border-color: #E2C1D5;
}

/* Styling for the CURRENT page number */
.pagination-wrapper span.page-number.current {
  background-color: #E2C1D5; /* Pink background */
  color: #FFFFFF;          /* White text */
  font-weight: bold;
  border: 1px solid #E2C1D5;
}

/* Styling for DISABLED Prev/Next navigation */
.pagination-wrapper span.page-nav.disabled {
  background-color: #f0f0f0; /* Light gray background */
  color: #aaaaaa;          /* Lighter gray text */
  cursor: default;       /* Indicate non-clickable */
  border: 1px solid #dddddd; /* Gray border */
}

/* --- Responsive Adjustments --- */
@media (max-width: 600px) {
  h3.profile-summary-heading {
    font-size: 1.2em; /* Slightly smaller heading */
    padding-left: 0.8em;
    border-left-width: 3px;
  }

  .pagination-wrapper .page-number,
  .pagination-wrapper .page-nav {
    padding: 6px 9px;  /* Smaller padding */
    margin: 0 2px;     /* Tighter spacing */
    font-size: 0.9em;  /* Smaller font */
  }

  /* Optional: Hide page numbers on very small screens, show only Prev/Next/Current */
  /*
  @media (max-width: 400px) {
    .pagination-wrapper a.page-number {
       display: none; // Hide non-current page numbers
    }
  }
  */
}

/* --- Mobile Header Bar (.mobile-header-bar) --- */
.mobile-header-bar {
    display: none; /* Hidden on desktop - 保持这个 */
    width: 100%;
    min-height: 64px;
    align-items: center;
    /* 移除这里的 display: grid */
    padding: 0 15px;
    background-color: #fff;
    position: relative;
}

/* 添加：Logo 居中 */
.mobile-header-bar .mobile-branding {
    grid-column: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 添加：导航菜单右对齐 */
.mobile-navigation {
    grid-column: 3;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.dt-mobile-menu-icon {
    position: relative; display: inline-flex; align-items: center; justify-content: center;
    padding: 10px; border-radius: 50%; cursor: pointer; user-select: none;
    margin: 0; text-decoration: none; width: 44px; height: 44px;
    border: 1px solid transparent; transition: background-color 0.2s ease; overflow: hidden;
}
.dt-mobile-menu-icon:after, .dt-mobile-menu-icon:before {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; content: "";
    border-radius: inherit; box-sizing: border-box; transition: opacity 0.2s ease;
    background: #bf8a0f !important;
}
.dt-mobile-menu-icon:before { opacity: 1; }
.dt-mobile-menu-icon:after { opacity: 0; }
.dt-mobile-menu-icon:hover:before { opacity: 0; }
.dt-mobile-menu-icon:hover:after { opacity: 1; }
.dt-mobile-menu-icon .lines-button { position: relative; width: 22px; height: 16px; }
.menu-line {
    position: absolute; display: block; left: 0; width: 100%; height: 2px;
    transform-origin: center; transition: transform .2s linear, background-color .2s linear, opacity .2s linear;
    background-color: #ffffff; z-index: 2;
}
.menu-line:nth-of-type(1) { top: 0; }
.menu-line:nth-of-type(2) { top: 50%; margin-top: -1px; }
.menu-line:nth-of-type(3) { bottom: 0; }
/* Icon 'X' state */
.dt-mobile-menu-icon.active .menu-line:nth-of-type(1) { transform: translateY(7px) rotate(45deg); }
.dt-mobile-menu-icon.active .menu-line:nth-of-type(2) { opacity: 0; transform: scaleX(0); }
.dt-mobile-menu-icon.active .menu-line:nth-of-type(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Mobile Menu Panel (.dt-mobile-header) --- */
.dt-mobile-header {
    display: none; /* Hidden until media query shows it */
    position: fixed; top: 0; right: 0; /* Slide from right */
    height: 100%; width: 300px; max-width: 85%; z-index: 9999;
    background-color: #ffffff; transition: transform .4s ease;
    transform: translate3d(100%, 0, 0); /* Hidden state off-screen right */
    overflow: hidden; border-left: 1px solid #eee;
    padding-top: constant(safe-area-inset-top); padding-top: env(safe-area-inset-top);
    padding-bottom: constant(safe-area-inset-bottom); padding-bottom: env(safe-area-inset-bottom);
}
/* Visible state - controlled by adding .is-visible class via JS */
.dt-mobile-header.is-visible { transform: translate3d(0, 0, 0); }

/* Scrollbar Wrapper */
.mobile-header-scrollbar-wrap {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    overflow-y: auto; overflow-x: hidden; display: flex; flex-flow: column nowrap;
    padding: 60px 30px 30px 20px; box-sizing: border-box; -webkit-overflow-scrolling: touch;
}
body.admin-bar .dt-mobile-header .mobile-header-scrollbar-wrap { padding-top: calc(60px + 32px); }
@media screen and (max-width: 782px) { body.admin-bar .dt-mobile-header .mobile-header-scrollbar-wrap { padding-top: calc(60px + 46px); } }

/* Close Icon */
.dt-close-mobile-menu-icon {
     /* ** Placeholder CSS ** */
     position: absolute; top: 5px; left: 5px; /* Position top left */
     width: 44px; height: 44px; cursor: pointer;
     display: flex; align-items: center; justify-content: center; z-index: 10;
     background: rgba(0,0,0,0.05); border-radius: 50%;
}
 .close-line-wrap { position: relative; width: 20px; height: 20px; }
 .close-line { position: absolute; left: 0; top: 50%; width: 100%; height: 2px; background-color: #555; transform-origin: center; margin-top: -1px; }
 .close-line:nth-of-type(1) { transform: rotate(45deg); }
 .close-line:nth-of-type(2) { transform: rotate(-45deg); }

/* Mobile Menu List */
ul#mobile-menu { display: flex; flex-flow: column nowrap; flex-grow: 1; }
/* Mobile Menu Items */
li.menu-item { position: relative; display: flex; }
/* Mobile Divider Line */
.mobile-menu-show-divider li.menu-item:before { content: ""; position: absolute; top: -.5px; left: 0; width: 100%; height: 0; border-bottom: 1px solid rgba(89, 88, 87, 0.12); }
.mobile-menu-show-divider li.menu-item:first-child:before { display: none; }
/* Mobile Menu Links */
li.menu-item > a {
     /* ** Placeholder CSS (Font Size Updated) ** */
     display: block; padding: 13px 0; color: #333333;
     font-size: 20px; /* Increased font size */
     font-weight: normal; transition: color 0.2s ease, background-color 0.2s ease;
     border: none; background: none; text-align: left;
}
li.menu-item > a .menu-item-text, li.menu-item > a .menu-text { display: block; }
li.menu-item > a:hover { color: #dd3939; background-color: rgba(221, 57, 57, 0.05); }
li.menu-item.current-menu-item > a, li.menu-item.act > a { color: #dd3939; font-weight: bold; }
/* Mobile Mini Widgets Area */
.mobile-mini-widgets-in-menu { margin-top: auto; padding-top: 20px; border-top: 1px solid rgba(89, 88, 87, 0.12); }

/* ======================================== */
/* End Header & Navigation Styles           */
/* ======================================== */


/* --- Layout Specific (Content Area) --- */
#L01 #area-billboard.noskin,
#L01 #area-billboard {
    width: 100%;
}
#L01 #area-contents.noskin,
#L01 #area-contents {
    width: 100%;
}
#L01 div.block {
    text-align: left;
    margin-left: auto;
    margin-right: auto;
}
#L01 div.area {
    text-align: center;
}
#area-billboard {
    background-color: #FFFFFF;
}
#area-contents {
    background: #FFFFFF;
}
.amm {
    position: relative;
    clear: both;
}
.amc {
    height: 100%;
    margin: 0;
}
.area:after, .amc:after, .block:after, .column:after { /* Combined Clearfix */
    clear:both; content:""; display:block; visibility:hidden; height:0; line-height:0;
}
.noskin .amc {
    margin: 0;
    background-image: none;
}
.c-amc {
    margin: 0 8px;
}
.mgn {
    padding: 10px 10px 0 10px;
}
.simple h3 {
    padding: 6px 10px;
}
.skin-1 h3 {
    padding: 0;
}
.album .col-5 .cmc, .album .col-5 .nmc {
    width: 19%;
}
.album h2, .album h3, .album h4 {
    font-size: 1em !important; /* Use em */
    font-weight: normal;
}

/* --- Tag Area Styles (Mobile-First Flexbox) --- */
.tag_area05 {
  padding: 15px 10px;
  background-color: #FFFFFF;
  border-radius: 8px;
  margin-bottom: 20px;
  /* Optional: Ensure section itself can center its content if needed */
  /* display: flex; */
  /* justify-content: center; */
}

.tag_area05 ul {
  display: flex;         /* Default: Flexbox for mobile responsiveness */
  flex-wrap: wrap;       /* Allow wrapping on narrow screens */
  justify-content: center; /* Center items horizontally (mobile) */
  list-style: none;
  padding: 0;
  /* Reset margin for flexbox centering */
  margin: 0; /* Note: margin: auto won't work reliably with flex wrap */
  gap: 10px;
}

.tag_area05 li {
  /* No specific styles needed usually */
  margin: 0; /* Reset potential default margin */
}

.tag_area05 li span {
  display: inline-block;
  padding: 8px 15px;
  background-color: #fa6967;
  color: #FFFFFF;
  border-radius: 15px;
  font-size: 1.1em;
  white-space: nowrap;
  transition: transform 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1); /* Added subtle shadow */
}

.tag_area05 li span:hover {
  transform: scale(1.1); /* Slightly reduced hover scale */
  box-shadow: 0 3px 7px rgba(0,0,0,0.15); /* Enhanced shadow on hover */
}


/* --- Desktop Styles: Force 2 Rows using Grid --- */
/* Apply these styles when screen width is 768px or wider */
/* Adjust this breakpoint (768px) as needed based on your design */
@media (min-width: 768px) {
  .tag_area05 ul {
    display: grid;             /* Switch to Grid layout on desktop */
    /* Create 4 columns - assuming you have 8 items for 2 rows */
    /* If item count differs significantly, adjust '4' */
    grid-template-columns: repeat(4, auto);
    justify-content: center;   /* Center the grid items horizontally within the grid area */
                               /* This also centers the last row if it's not full */
    align-items: center;       /* Vertically center items in grid cells (optional) */
    justify-items: center;     /* Center content within each grid cell (optional) */

    /* Center the grid container (ul) itself */
    width: max-content;        /* Make ul only as wide as the grid content */
    max-width: 100%;           /* Prevent overflow if content is wider than container */
    margin-left: auto;         /* Center the ul block */
    margin-right: auto;        /* Center the ul block */

    /* Keep the gap */
    gap: 15px 20px;            /* Increase gap slightly for desktop (row-gap column-gap) */

    /* Override flexbox properties that are not needed for grid */
    flex-wrap: normal; /* Not applicable to grid */
  }
}

/* Example: If you often have 10 items, you might use 5 columns: */
/*
@media (min-width: 768px) {
  .tag_area05 ul {
    display: grid;
    grid-template-columns: repeat(5, auto); // 5 columns for 10 items in 2 rows
    justify-content: center;
    width: max-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    gap: 15px 20px;
  }
}
*/


/* --- Redesigned Centered Menu (Sub-navigation) --- */
.centered-menu {
  display: table;         /* Keep display:table for desktop for even spacing */
  width: 50%;           /* Keep requested width for desktop */
  margin: 20px auto;    /* Add some vertical margin, keep auto for horizontal centering */
  padding: 0;
  list-style: none;     /* Remove default list bullets */
  border: 1px solid #E2C1D5; /* Subtle pink border around the menu */
  border-radius: 6px;     /* Slightly rounded corners for the container */
  overflow: hidden;        /* Ensures item backgrounds stay within rounded corners */
  background-color: #FFFFFF; /* White background for the menu container */
  font-size: 1.1em;        /* Keep base font size */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); /* Subtle shadow for depth */
}

.centered-menu li {
  display: table-cell;    /* Each item acts as a table cell */
  margin: 0;
  min-width: 50px;      /* Keep minimum width */
  text-align: center;     /* Center text within the cell */
  vertical-align: middle; /* Vertically align text */
  border-right: 1px solid #E2C1D5; /* Pink separator line between items */
}

.centered-menu li:last-child {
  border-right: none; /* Remove separator from the very last item */
}

.centered-menu li a {
  display: block;         /* Make the link fill the cell */
  padding: 12px 10px;   /* Slightly adjusted padding (vertical, horizontal) */
  color: #584050;       /* Darker, muted pink/purple for text, contrasts well on white */
  font-weight: bold;
  text-decoration: none; /* Remove underline */
  background-color: transparent; /* Let the li handle background by default */
  transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transitions */
}

/* --- Hover state (for non-current items) --- */
.centered-menu li:not(.current):hover {
  background-color: #F7F3EB; /* Light beige background on hover */
}
/* Optional: Slightly darken text on hover for more feedback */
/* .centered-menu li:not(.current):hover a {
  color: #333;
} */

/* --- Current/Active item style --- */
.centered-menu li.current {
  background-color: #E2C1D5; /* Pink background for the current item */
}

.centered-menu li.current a {
  color: #FFFFFF;         /* White text for the current item for contrast */
  cursor: default;      /* Indicate it's the current page and not typically clickable */
}

/* Prevent hover effect overriding current item's style */
.centered-menu li.current:hover {
   background-color: #E2C1D5; /* Keep pink background */
}
.centered-menu li.current:hover a {
   color: #FFFFFF; /* Keep white text */
}


/* --- Responsive Styles for Mobile --- */
@media (max-width: 600px) {
  .centered-menu {
    width: 100%;          /* Full width on smaller screens */
    display: flex;        /* Switch to Flexbox for better control */
    flex-wrap: wrap;      /* Allow items to wrap into multiple lines */
    border: none;         /* Remove container border */
    border-radius: 0;     /* Remove container rounding */
    margin: 15px 0;       /* Adjust margin for mobile */
    box-shadow: none;     /* Remove shadow on mobile if desired */
    /* Add top/bottom borders for separation instead of a container border */
    border-top: 1px solid #E2C1D5;
    border-bottom: 1px solid #E2C1D5;
    background-color: #FFFFFF; /* Keep white background */
  }

  .centered-menu li {
    display: block;       /* Override table-cell */
    flex: 1 1 50%;      /* Create two equal columns (grow 1, shrink 1, basis 50%) */
    box-sizing: border-box; /* Include padding/border in width calculation */
    border: none;         /* Remove desktop borders */
    min-width: auto;      /* Reset min-width */

    /* Add borders for grid-like appearance */
    border-bottom: 1px solid #E2C1D5;
  }

  /* Add a right border to items in the 'left' column */
  .centered-menu li:nth-child(odd) {
    border-right: 1px solid #E2C1D5;
  }

  /* Adjust padding for links on mobile */
  .centered-menu li a {
    padding: 12px 5px;
  }

  /* Keep hover and current styles, they should work fine */
  .centered-menu li:not(.current):hover {
    background-color: #F7F3EB;
  }
  .centered-menu li.current {
    background-color: #E2C1D5;
  }
  .centered-menu li.current a {
    color: #FFFFFF;
  }
   .centered-menu li.current:hover {
      background-color: #E2C1D5; /* Keep pink background even on hover */
   }
}

/* --- Footer Styles --- */

.footer {
    background-color: #000000;
    color: #ffffff;
    padding: 0;
    margin: 0;
    font-size: 1.1em;
    /* 新增：让 footer 突破容器限制 */
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}
.footer-wrap { max-width: 1200px; margin: 0 auto; padding: 20px; }
.footer-content { display: flex; flex-wrap: wrap; justify-content: space-between; }
.footer-section { flex: 1; min-width: 200px; padding: 10px; }
.footer-section p { color: #ffffff; padding-bottom: 10px; }
.footer-section a { color: #ffffff; }
.footer-section a:hover { color: #ccc; background-color: transparent; }
.footer-link { display: inline-block; color: #ffffff; padding: 10px; border: 1px solid #ffffff; }
.footer-bottom { text-align: center; color: white; padding: 20px 0; font-size: 0.9em; }
.footer-bottom ul { padding: 0; margin: 0; }
.footer-bottom li { display: inline; margin: 0 15px; font-size: inherit; line-height: inherit; }
.footer-bottom li a { color: white; font-weight: bold; }
.footer-bottom li a:hover { color: #ccc; background-color: transparent; }
.footer-bottom p { margin-top: 20px; color: #ffffff; font-size: 1em; padding-bottom: 0; }


/* --- Responsive Styles --- */

/* Titles PC / Mobile */
@media screen and (min-width: 481px) { h1.ac { font-size: 2.15em; } }
@media screen and (max-width: 480px) { h1.ac { font-size: 1.8em; } }

/* Pagination (sample2) - Combined and Simplified */
span.sample2 { text-align: center; display: block; }
span.sample2 a { color: #00C; border-bottom: 1px dotted #00C; }
span.sample2 a:visited { color: #808; border-color: #808; }
span.sample2 a:hover { color: #8080FF; background-color: #CCF; }
@media screen and (min-width: 481px) { span.sample2 { font-size: 18px; } }
@media screen and (max-width: 480px) { span.sample2 { font-size: 1.7em; } }

/* Profile Card PC / Mobile */
@media screen and (min-width: 481px) {
  .prof { width: 20%; height: 440px; float: left; padding: 20px 0px; text-align: center; line-height: 25px; }
  .prof a { border-bottom: none; }
  .text_up { text-align: center; font-size: 1.05em; margin-left: -30px; }
  .text_down { font-size: 1.35em; padding: 0px; margin: 0px; }
  .text_down img { width: 200px; height: 266px; }
}
@media screen and (max-width: 480px) {
  .prof { width: 50%; float: left; padding: 10px 0px; text-align: center; line-height: 1.4; }
  .prof a { border-bottom: none; }
  .text_up { text-align: center; font-size: 0.9em; }
  .text_down { font-size: 1.1em; padding: 0px; margin: 0px; }
  .text_down img {
    display: block; /* Make it block for margin auto */
    margin: 0 auto; /* Center the block */
    width: 180px;   /* <<< CHANGE: Set fixed width */
    height: 220px;  /* <<< CHANGE: Set fixed height */
    /* Removed width: 90%, max-width: 160px, height: auto */
    object-fit: fill; /* Explicitly state stretching if needed, though default is fill */
}


}

/* Inside @media screen and (max-width: 480px) */



/* Footer Responsive */
@media (max-width: 768px) {
    .footer-content { flex-direction: column; }
}

/* --- Navigation Responsive Trigger --- */
@media (max-width: 992px) {
     /* Hide Desktop Items */
    .main-navigation { display: none; }
    #masthead > .site-branding { display: none; }

    /* Show Mobile Header Bar */
    .mobile-header-bar { 
        display: grid; /* 只在移动端设置为 grid */
        grid-template-columns: 1fr auto 1fr; /* 添加 grid 布局 */
    }
    
    /* Adjust #masthead on Mobile */
    #masthead { padding: 0; max-width: none; border-bottom: none; min-height: 0; }

    /* Ensure mobile panel is block (ready to be shown) */
    .dt-mobile-header { display: block; }

    .mobile-header-bar {
        display: grid; /* 确保显示为 grid */
    }
}

/* --- Banner Section Styles --- */
.banner-container {
    position: relative; text-align: center; margin-bottom: 20px;
    overflow: hidden; height: 200px; /* Example fixed height */
}
.banner-image {
    display: block; width: 100%; height: 100%;
    object-fit: cover; object-position: center center;
}
.banner-title {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 90%; max-width: 1200px; z-index: 10; font-size: 30px; line-height: 36px;
    color: #707070; text-align: center; text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    margin: 0; padding: 0; padding-bottom: 0;
}
/* Banner Responsive Styles (778px breakpoint) */
@media (max-width: 778px) {
    .banner-container { height: 150px; margin-bottom: 15px; }
    .banner-title { font-size: 24px; line-height: 30px; }
}


/* 按钮容器样式 */
.center-text {
  text-align: center;
  margin: 20px 0;
  padding: 0 15px;
}

/* 按钮通用样式 */
.buttonreal, .buttonreal2 {
  display: inline-block;
  padding: 18px 32px;
  font-size: 18px;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  color: white !important;
  margin: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

/* 第一个按钮样式 */
.buttonreal {
  background: linear-gradient(135deg, #fa6967 0%, #ff7875 100%);
  min-width: 200px;
}

.buttonreal:hover {
  background: linear-gradient(135deg, #e55a58 0%, #fa6967 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(250, 105, 103, 0.3);
  color: white !important;
}

.buttonreal:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(250, 105, 103, 0.3);
}

/* 第二个按钮样式 */
.buttonreal2 {
  background: linear-gradient(135deg, #C89B40 0%, #D4A952 100%);
  min-width: 200px;
}

.buttonreal2:hover {
  background: linear-gradient(135deg, #B8913A 0%, #C89B40 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(200, 155, 64, 0.3);
  color: white !important;
}

.buttonreal2:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(200, 155, 64, 0.3);
}

/* 按钮发光效果 */
.buttonreal::before, .buttonreal2::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.buttonreal:hover::before, .buttonreal2:hover::before {
  left: 100%;
}

/* 平板设备 */
@media (max-width: 1024px) {
  .buttonreal, .buttonreal2 {
    padding: 16px 28px;
    font-size: 17px;
    min-width: 180px;
    margin: 6px;
  }
}

/* 手机设备 - 横向排列 */
@media (max-width: 768px) {
  .center-text {
    padding: 0 10px;
    margin: 15px 0;
  }
  
  .buttonreal, .buttonreal2 {
    padding: 14px 20px;
    font-size: 15px;
    min-width: 140px;
    margin: 5px 3px;
    border-radius: 6px;
  }
}

/* 小屏手机 - 纵向排列 */
@media (max-width: 480px) {
  .center-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 0 15px;
  }
  
  .buttonreal, .buttonreal2 {
    width: 100%;
    max-width: 280px;
    padding: 16px 24px;
    font-size: 16px;
    margin: 0;
    min-width: unset;
  }
  
  /* 移除间距符号在小屏幕上 */
  .center-text br {
    display: none;
  }
}

/* 超小屏幕 */
@media (max-width: 360px) {
  .buttonreal, .buttonreal2 {
    padding: 14px 20px;
    font-size: 15px;
    max-width: 250px;
  }
}

/* 按钮焦点状态 - 提升可访问性 */
.buttonreal:focus, .buttonreal2:focus {
  outline: 3px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

/* 禁用状态（如果需要） */
.buttonreal:disabled, .buttonreal2:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.buttonreal:disabled:hover, .buttonreal2:disabled:hover {
  background: #fa6967;
  transform: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* 加载状态动画（可选） */
.buttonreal.loading, .buttonreal2.loading {
  position: relative;
  color: transparent !important;
}

.buttonreal.loading::after, .buttonreal2.loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  top: 50%;
  left: 50%;
  margin-left: -10px;
  margin-top: -10px;
  border: 2px solid white;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
/* --- End --- */