@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;700;800&family=Sora:wght@600;700&display=swap');

:root {
  --bg: #f8faf9;
  --bg-soft: #eef5f2;
  --surface: #ffffff;
  --text: #1f2a2f;
  --muted: #5f7179;
  --primary: #007a6d;
  --primary-strong: #005f55;
  --accent: #ff6a3d;
  --accent-soft: #ffe2d8;
  --border: #d6e5de;
  --shadow: 0 14px 32px rgba(19, 52, 48, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 2%, rgba(0, 122, 109, 0.16) 0, rgba(0, 122, 109, 0) 35%),
    radial-gradient(circle at 95% 12%, rgba(255, 106, 61, 0.2) 0, rgba(255, 106, 61, 0) 28%),
    var(--bg);
  color: var(--text);
  font-family: 'Manrope', Tahoma, sans-serif;
  line-height: 1.7;
}

a,
a:link,
a:visited {
  color: var(--primary);
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #0f2f35;
  font-family: 'Sora', 'Manrope', sans-serif;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin: 0 0 1.2rem;
}

h2 {
  font-size: clamp(1.4rem, 2vw, 2rem);
  margin: 0 0 1rem;
}

#templatemo_header_wrapper {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
  background: rgba(250, 252, 251, 0.95);
  border-bottom: 1px solid var(--border);
}

#templatemo_header {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  background: none;
}

#site_title {
  width: auto;
  float: none;
  padding: 1rem 0 0.35rem;
}

#site_title a img {
  width: min(280px, 100%);
  height: auto;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.18));
}

#templatemo_menu {
  width: auto;
  height: auto;
  padding: 0;
  margin-bottom: 0.75rem;
  background: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

#templatemo_menu ul {
  width: auto;
  float: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

#templatemo_menu ul li {
  display: block;
}

#templatemo_menu ul li a {
  width: auto;
  height: auto;
  float: none;
  padding: 0.55rem 1.1rem;
  margin: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 0.95rem;
  color: #25545b;
  font-weight: 700;
}

#templatemo_menu ul li a:hover,
#templatemo_menu ul li .current {
  background: linear-gradient(90deg, var(--primary), #23a897);
  color: #fff;
  box-shadow: 0 8px 18px rgba(0, 122, 109, 0.22);
}

#search_box { display: none; }

/* ===== Hero section (index) ===== */
#hero-section {
  margin-bottom: 1.6rem;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, #043e49 0%, #0a5c5e 40%, #0d7a6e 100%);
  box-shadow: var(--shadow);
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: clamp(2rem, 5vw, 3.5rem);
}

.hero-text {
  flex: 1 1 50%;
  min-width: 0;
}

.hero-headline {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.18;
  color: #dff7f2;
  margin: 0 0 1rem;
}

.hero-headline strong {
  color: #fff;
  font-weight: 800;
}

.hero-sub {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: #b0ddd6;
  line-height: 1.7;
  margin: 0 0 1.6rem;
}

.hero-cta {
  display: inline-block;
  padding: 0.85rem 1.8rem;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--accent), #e84f25);
  color: #fff !important;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(255, 106, 61, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(255, 106, 61, 0.45);
}

.hero-graphic {
  flex: 1 1 45%;
  min-width: 0;
}

.hero-graphic img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.25));
}

@media (max-width: 740px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero-graphic {
    order: -1;
    max-width: 340px;
  }
}

#templatemo_wrapper {
  width: min(1120px, calc(100% - 2rem));
  margin: 1.5rem auto 2rem;
}

#templatemo_flash,
#templatemo_middle {
  width: 100%;
  height: auto;
  padding: clamp(1.2rem, 4vw, 2rem);
  border-radius: 20px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.55)),
    url('images/powder-wave.svg') center/cover no-repeat;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

#templatemo_flash {
  min-height: 360px;
  display: flex;
  align-items: center;
}

#piecemaker {
  width: 100%;
  min-height: 300px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(160deg, #043e49, #0a6266);
  color: #fff;
  overflow: hidden;
}

#piecemaker .hero-visual {
  width: min(860px, 100%);
  height: auto;
  border-radius: 14px;
}

#piecemaker p {
  margin-top: 0.8rem;
  color: #d8f2ef;
  text-align: center;
}

#templatemo_middle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

#templatemo_middle p {
  float: none;
  width: auto;
  margin: 0;
  color: #1a3e44;
  font-style: normal;
  font-size: 1.06rem;
  line-height: 1.7;
}

#templatemo_middle .wwu_btn a {
  width: auto;
  height: auto;
  padding: 0.75rem 1.2rem;
  border-radius: 10px;
  background: linear-gradient(180deg, var(--accent), #e84f25);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

#templatemo_content_top,
#templatemo_content_bottom {
  display: none;
}

#templatemo_content {
  width: 100%;
  padding: 1.6rem;
  margin-top: 1.4rem;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

#templatemo_main_content {
  width: calc(100% - 330px);
  padding: 0;
}

#templatemo_sidebar {
  width: 280px;
  padding: 0;
}

.content_box,
#news_box,
.sidebar_box {
  margin-bottom: 1.4rem;
  padding: 1.4rem;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff, #f4faf7);
  border: 1px solid var(--border);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.last_box {
  margin-bottom: 0;
}

.image_wrapper {
  border: 0;
  padding: 0;
  background: none;
}

.image_wrapper img {
  width: min(100%, 320px);
  border-radius: 12px;
  border: 1px solid var(--border);
}

.tmo_list {
  margin: 1rem 0;
  padding: 0;
}

.tmo_list li {
  margin: 0 0 0.9rem;
  padding: 0 0 0 1.3rem;
  line-height: 1.4;
  background: none;
  position: relative;
}

.tmo_list li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  left: 0;
  top: 0.48rem;
}

.btn_more a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  color: #134f52;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.04);
}

.btn_more a:hover {
  border-color: #7ec4ba;
  background: #f7fffd;
}

#news_box h6 a {
  color: #173e46;
}

#news_box ul li {
  border-bottom: 1px solid var(--border);
}

.contenttable {
  width: 100% !important;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.contenttable th,
.contenttable td {
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 0.4rem;
}

#templatemo_main_content > .content_box {
  overflow-x: auto;
}

.col_w280 {
  width: calc(50% - 0.8rem);
  margin-right: 0.8rem;
  padding-right: 0;
}

.col_w280 iframe {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
}

#templatemo_footer {
  width: 100%;
  height: auto;
  padding: 1.2rem;
  border-radius: 14px;
  margin: 1.2rem 0 0;
  background: linear-gradient(110deg, #0e4347, #1b6670);
  color: #d4ebea;
}

#templatemo_footer a {
  color: #ffbeaa;
}

@media (max-width: 980px) {
  #templatemo_content {
    padding: 1rem;
  }

  #templatemo_main_content,
  #templatemo_sidebar {
    float: none;
    width: 100%;
  }

  #templatemo_sidebar {
    margin-top: 1rem;
  }

  .image_fl,
  .image_fr {
    float: none;
    margin: 0 0 1rem;
  }

  .col_w280 {
    float: none;
    width: 100%;
    margin-right: 0;
  }

  #templatemo_middle {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  #templatemo_header {
    width: calc(100% - 1rem);
  }

  #templatemo_wrapper {
    width: calc(100% - 1rem);
    margin-top: 1rem;
  }

  #templatemo_menu ul li a {
    padding: 0.48rem 0.8rem;
    font-size: 0.9rem;
  }

  #search_box {
    width: 100%;
  }

  #templatemo_flash {
    min-height: 280px;
  }
}
