/* =========================
   Base
========================= */
*{
  box-sizing:border-box;
}

html, body{
  margin:0;
  padding:0;
}

body{
  font-family:Arial, sans-serif;
  background:#f4f4f4;
  color:#333;
  line-height:1.7;
  overflow-x:hidden;
}

img{
  max-width:100%;
  height:auto;
  display:block;
}

a{
  text-decoration:none;
  color:inherit;
}

.wrap{
  max-width:1100px;
  margin:0 auto;
  padding:0 16px;
}

/* =========================
   Header / Global Nav
========================= */
.site-header{
  background:#fff;
  border-bottom:1px solid #dcdcdc;
  box-shadow:0 2px 5px rgba(0,0,0,0.05);
  position:sticky;
  top:0;
  z-index:9999;
}

.site-header .wrap{
  display:flex;
  align-items:center;
  gap:16px;
  min-height:64px;
}

.menu-toggle{
  display:none;
  width:42px;
  height:42px;
  border:1px solid #dcdcdc;
  border-radius:10px;
  background:#fff;
  padding:0;
  cursor:pointer;
  flex-shrink:0;
}

.menu-toggle span{
  display:block;
  width:18px;
  height:2px;
  background:#333;
  margin:4px auto;
}

.gn{
  display:flex;
  align-items:center;
  gap:8px;
  width:100%;
  overflow:visible;
  white-space:nowrap;
}

.gn > a,
.gn .has-sub > a{
  display:inline-block;
  padding:12px 10px;
  color:#333;
  font-weight:bold;
  border-radius:8px;
  transition:all .25s ease;
}

.gn > a:hover,
.gn .has-sub > a:hover{
  background:#e9f7f4;
  color:#009688;
}

.has-sub{
  position:relative;
  display:flex;
  align-items:center;
}

.has-sub > a::after{
  content:" ▼";
  font-size:10px;
  color:#666;
}

.submenu{
  position:absolute;
  top:100%;
  left:0;
  min-width:260px;
  background:#fff;
  border:1px solid #ddd;
  border-radius:12px;
  box-shadow:0 10px 24px rgba(0,0,0,0.10);
  padding:8px;
  display:none;
  z-index:10000;
}

.submenu a{
  display:block;
  padding:10px 12px;
  border-radius:8px;
  color:#333;
  white-space:normal;
  line-height:1.5;
}

.submenu a:hover{
  background:#f3fbf9;
  color:#009688;
}

.has-sub:hover > .submenu,
.has-sub:focus-within > .submenu{
  display:block;
}

/* =========================
   Hero
========================= */
.hero,
.page-hero{
  background:linear-gradient(180deg, #eaf8f4 0%, #f4f4f4 100%);
}

.hero{
  padding:46px 0 34px;
}

.page-hero{
  padding:42px 0 28px;
}

.page-hero-simple .wrap{
  max-width:920px;
}

.hero-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
}

.hero-text{
  flex:1 1 56%;
}

.hero-image{
  flex:0 0 260px;
  display:flex;
  justify-content:center;
}

.hero-image img{
  width:220px;
  max-width:100%;
  border-radius:14px;
  background:#fff;
  padding:8px;
  box-shadow:0 6px 18px rgba(0,0,0,0.08);
}

.eyebrow{
  display:inline-block;
  margin:0 0 12px;
  padding:6px 12px;
  background:#d8f3ec;
  color:#00695c;
  border-radius:999px;
  font-size:13px;
  font-weight:bold;
}

.hero h1,
.page-hero h1{
  font-size:clamp(28px, 4vw, 42px);
  line-height:1.35;
  margin:0 0 14px;
}

.lead{
  font-size:16px;
  color:#555;
  margin:0;
}

.hero-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:22px;
}

/* =========================
   Buttons
========================= */
.btn{
  display:inline-block;
  padding:11px 18px;
  border-radius:10px;
  font-weight:bold;
  transition:all .25s ease;
}

.btn.primary{
  background:#009688;
  color:#fff;
}

.btn.primary:hover{
  background:#00796b;
}

.btn.secondary{
  background:#fff;
  color:#009688;
  border:1px solid #009688;
}

.btn.secondary:hover{
  background:#eefaf7;
}

/* =========================
   Generic Cards / Panels
========================= */
.panel,
.hub-block,
.category-card,
.story-block{
  background:#fff;
  border-radius:14px;
  box-shadow:0 0 5px rgba(0,0,0,0.10);
}

.panel{
  padding:22px;
}

.hub-block{
  padding:22px;
  margin-bottom:18px;
}

.category-card{
  display:block;
  padding:20px;
  color:#333;
  transition:all .25s ease;
}

.category-card:hover{
  transform:translateY(-2px);
}

.intro{
  margin:26px auto 8px;
}

.intro-panel h2,
.note-panel h2,
.section-heading h2,
.hub-head h2{
  margin-top:0;
}

.section-heading{
  text-align:center;
  margin:44px 0 22px;
}

.section-heading p{
  margin:8px 0 0;
  color:#666;
}

.hub-head{
  margin-bottom:14px;
}

.hub-head p{
  margin:8px 0 0;
  color:#666;
}

/* =========================
   Story Blocks
========================= */
.story-section{
  padding-bottom:14px;
}

.story-block{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:24px;
  padding:30px 20px;
  margin-bottom:18px;
}

.story-block.left{
  flex-direction:row;
}

.story-block.right{
  flex-direction:row-reverse;
}

.story-visual{
  width:34%;
  flex-shrink:0;
}

.story-text{
  width:66%;
  font-size:16px;
  line-height:1.7;
}

.story-visual img{
  width:100%;
  max-width:240px;
  height:auto;
  border-radius:12px;
  object-fit:cover;
  margin:0 auto;
  box-shadow:0 4px 14px rgba(0,0,0,0.08);
}

.story-label{
  display:inline-block;
  font-size:13px;
  font-weight:bold;
  color:#009688;
  background:#e5f7f3;
  padding:5px 10px;
  border-radius:999px;
  margin-bottom:10px;
}

.story-text h3,
.story-text h2{
  margin:0 0 12px;
  font-size:28px;
  line-height:1.4;
}

.story-text p{
  margin:0 0 14px;
}

/* =========================
   Small link chips / button rows
========================= */
.button-row{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin:18px 0 12px;
}

.mini-links{
  list-style:none;
  padding:0;
  margin:8px 0 0;
  display:flex;
  flex-wrap:wrap;
  gap:10px 12px;
}

.mini-links li a{
  display:inline-block;
  font-size:14px;
  color:#00695c;
  background:#f1fbf8;
  padding:7px 11px;
  border-radius:999px;
}

.mini-links li a:hover{
  background:#dff5ef;
}

/* =========================
   Category cards / listing
========================= */
.category-teaser{
  padding:12px 0 8px;
}

.cards-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:20px;
}

.category-card h3{
  margin:0 0 10px;
}

.card-prep{ background:#fff1ea; }
.card-life{ background:#edf7ff; }
.card-extension{ background:#fff7e6; }
.card-return{ background:#f1fbef; }

.category-page-list{
  padding:28px 0 44px;
}

/* =========================
   Lists
========================= */
.hub-links{
  margin:0;
  padding-left:20px;
}

.hub-links li{
  margin:10px 0;
}

.hub-links a{
  color:#00695c;
  font-weight:bold;
}

.hub-links a:hover{
  text-decoration:underline;
}

.list{
  padding-left:20px;
}

.list li{
  margin:8px 0;
}

/* =========================
   Footer
========================= */
.site-footer{
  background:#004d40;
  color:#fff;
  margin-top:28px;
}

.site-footer .wrap{
  padding:14px 0;
  text-align:center;
}

.footer-inner{
  text-align:center;
  padding:20px 0;
}

.footer-nav{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:12px 18px;
  margin-bottom:12px;
}

.footer-nav a{
  color:#fff;
  font-weight:bold;
}

.footer-nav a:hover{
  text-decoration:underline;
}

.footer-note{
  max-width:900px;
  margin:0 auto 10px;
  font-size:14px;
  line-height:1.6;
  color:#d9f3ee;
}

/* =========================
   Tables
========================= */
table,
.schedule-table{
  width:100%;
  border-collapse:collapse;
  margin:20px 0;
  font-size:15px;
  background:#fff;
}

table caption,
.schedule-table caption{
  text-align:left;
  font-weight:600;
  margin-bottom:6px;
}

th,
td{
  border:1px solid #e5e5e5;
  padding:10px 12px;
  text-align:left;
  line-height:1.6;
  vertical-align:top;
}

th{
  background:#f7f7f7;
  font-weight:600;
}

tr:nth-child(even){
  background:#fafafa;
}

.schedule-table-wrap{
  overflow-x:auto;
}

/* =========================
   Q&A thread cards
========================= */
.qa-thread{
  margin-top:18px;
  display:flex;
  flex-direction:column;
  gap:16px;
}

.qa-question,
.qa-answer,
.qa-summary{
  display:flex;
  align-items:flex-start;
  gap:12px;
}

.qa-badge{
  flex:0 0 auto;
  min-width:62px;
  text-align:center;
  font-size:12px;
  font-weight:700;
  line-height:1;
  padding:10px 8px;
  border-radius:999px;
  color:#fff;
  margin-top:6px;
}

.qa-question .qa-badge{
  background:#5aa9e6;
}

.qa-answer.local .qa-badge{
  background:#009688;
}

.qa-answer.hello-work .qa-badge{
  background:#6c63ff;
}

.qa-summary .qa-badge{
  background:#e0a800;
  color:#333;
}

.qa-card{
  flex:1 1 auto;
  background:#fff;
  border:1px solid #e8e8e8;
  border-radius:16px;
  padding:16px 18px;
  box-shadow:0 4px 14px rgba(0,0,0,0.05);
  position:relative;
}

.qa-question .qa-card{
  background:#f4f9ff;
}

.qa-answer.local .qa-card{
  background:#f3fbf9;
}

.qa-answer.hello-work .qa-card{
  background:#f5f4ff;
}

.qa-summary .qa-card{
  background:#fff9ea;
}

.qa-card p{
  margin:0 0 12px;
}

.qa-card p:last-child{
  margin-bottom:0;
}

.qa-card::before{
  content:"";
  position:absolute;
  left:-8px;
  top:18px;
  width:14px;
  height:14px;
  background:inherit;
  border-left:1px solid #e8e8e8;
  border-bottom:1px solid #e8e8e8;
  transform:rotate(45deg);
}

.qa-image-card{
  margin:4px 0 2px 74px;
  background:#fff;
  border:1px solid #e8e8e8;
  border-radius:16px;
  padding:14px;
  box-shadow:0 4px 14px rgba(0,0,0,0.05);
}

.qa-image-card img{
  width:100%;
  max-width:260px;
  height:auto;
  border-radius:12px;
  display:block;
  margin:0 auto;
}

.qa-image-card figcaption{
  font-size:13px;
  color:#666;
  line-height:1.5;
  margin-top:10px;
  text-align:center;
}

/* =========================
   Generic image helpers
========================= */
.img-responsive{
  max-width:100%;
  height:auto;
  display:block;
  margin:0 auto;
}

.content-media{
  margin:18px auto;
  text-align:center;
}

.content-media img{
  width:100%;
  max-width:320px;
  height:auto;
  border-radius:12px;
  object-fit:cover;
  margin:0 auto;
  box-shadow:0 4px 14px rgba(0,0,0,0.08);
}

.content-media.sm img{
  max-width:200px;
}

.content-media.md img{
  max-width:260px;
}

.content-media.lg img{
  max-width:360px;
}

.content-media figcaption{
  font-size:13px;
  color:#666;
  margin-top:8px;
  line-height:1.5;
}

.content-media.left{
  text-align:left;
}

.content-media.left img{
  margin-left:0;
  margin-right:auto;
}

.content-media.right{
  text-align:right;
}

.content-media.right img{
  margin-left:auto;
  margin-right:0;
}

.media-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:18px;
  margin:18px 0;
}

.media-grid figure{
  margin:0;
  text-align:center;
}

.media-grid img{
  width:100%;
  max-width:240px;
  height:auto;
  border-radius:12px;
  object-fit:cover;
  margin:0 auto;
  box-shadow:0 4px 14px rgba(0,0,0,0.08);
}

.media-grid figcaption{
  font-size:13px;
  color:#666;
  margin-top:8px;
  line-height:1.5;
}

.hub-block img,
.panel img,
.media img{
  max-width:100%;
  height:auto;
}

.media img{
  max-height:420px;
  object-fit:contain;
}

/* =========================
   Notes / misc
========================= */
.note{
  color:#64748b;
}

/* =========================
   Mobile
========================= */
@media (max-width:860px){

  .site-header .wrap{
    align-items:flex-start;
    flex-wrap:wrap;
    padding-top:8px;
    padding-bottom:8px;
  }

  .menu-toggle{
    display:block;
  }

  .gn{
    display:none;
    flex-direction:column;
    align-items:flex-start;
    width:100%;
    gap:0;
    padding:6px 0 8px;
  }

  .gn.open{
    display:flex;
  }

  .gn > a,
  .gn .has-sub{
    width:100%;
  }

  .gn > a,
  .gn .has-sub > a{
    width:100%;
    padding:12px 10px;
  }

  .has-sub{
    display:block;
  }

  .submenu{
    position:static;
    min-width:auto;
    width:100%;
    box-shadow:none;
    margin-top:6px;
    display:none;
  }

  .has-sub.open > .submenu{
    display:block;
  }

  .hero-inner{
    flex-direction:column;
    align-items:flex-start;
  }

  .hero-image{
    flex:0 0 auto;
    width:100%;
    justify-content:center;
  }

  .hero-image img{
    width:180px;
  }

  .story-block,
  .story-block.left,
  .story-block.right{
    flex-direction:column !important;
  }

  .story-visual,
  .story-text{
    width:100%;
  }

  .story-visual{
    text-align:center;
  }

  .story-visual img{
    max-width:220px;
  }

  .story-text h3,
  .story-text h2{
    font-size:24px;
  }

  .cards-grid{
    grid-template-columns:1fr;
  }

  .content-media img{
    max-width:100%;
  }

  .content-media.sm img{
    max-width:180px;
  }

  .content-media.md img{
    max-width:220px;
  }

  .content-media.lg img{
    max-width:100%;
  }

  .media-grid{
    grid-template-columns:1fr;
    gap:14px;
  }

  .media-grid img{
    max-width:220px;
  }

  .qa-question,
  .qa-answer,
  .qa-summary{
    flex-direction:column;
    gap:8px;
  }

  .qa-badge{
    min-width:auto;
    margin-top:0;
    align-self:flex-start;
  }

  .qa-card::before{
    display:none;
  }

  .qa-image-card{
    margin-left:0;
  }

  .qa-image-card img{
    max-width:200px;
  }

  .footer-nav{
    flex-direction:column;
    gap:10px;
  }

  table,
  .schedule-table{
    font-size:14px;
  }
}