/* -------------------------------------------------------------------------- */
/* News Page (#newsPage)                                                      */
/* -------------------------------------------------------------------------- */

#newsPage {
  padding: 0;
  box-sizing: border-box;
  font-family: "Kozuka Gothic Pr6N", sans-serif;
  color: #3a2e1b;
  margin-left: 0;
}

/* Breadcrumbs */
#newsPage .breadcrumbs {
  font-size: 1rem;
  /* 16px */
  margin-bottom: 6rem;
}

/* Container: two columns */
#newsPage .news-container {
  display: flex;
  gap: 6rem;
}

/* Main list */
#newsPage .news-list {
  flex: 1 1 70%;
}

/* Sidebar */
#newsPage .news-sidebar {
  flex: 0 0 30%;
  box-sizing: border-box;
}

/* -------------------------------------------------------------------------- */
/* News Items                                                                  */
/* -------------------------------------------------------------------------- */

#newsPage .news-item {
  margin-bottom: 2rem;
}

/* the HR separators */
#newsPage .item-separator {
  border: none;
  border-top: 1px solid #D6C17E;
  margin: 1rem 0;
}

/* inner flex for each item */
#newsPage .news-item-inner {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

/* Thumbnail */
#newsPage .news-thumb {
  flex: 0 0 10rem;
  /* 160px */
}

#newsPage .news-thumb img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.25rem;
  object-fit: cover;
}

/* Info column */
#newsPage .news-info {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Date + Category */
#newsPage .news-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  /* 14px */
  color: #A08F7A;
}

#newsPage .news-meta time {
  font-feature-settings: "tnum";
}
#newsPage #hero{

margin-top: 0;

display: flex;

min-height: 24rem;

flex-direction: column;

align-items: center;
}
#SingleNewsPage #hero{
  margin-top: 0;
  min-height: 24rem;
  display: flex;
  align-items: center;
  flex-direction: column;
}
#newsPage .news-meta .news-category {
  padding: 0.25rem 0.75rem;
  border: 1px solid #A08F7A;
  font-size: 0.75rem;
  /* 12px */
  color: #A08F7A;
  border-radius: 0.25rem;
}

/* Title */
#newsPage .news-title {
  font-size: 1.125rem;
  /* 18px */
  font-weight: bold;
  margin: 0;
}

/* Snippet */
#newsPage .news-snippet {
  font-size: 0.875rem;
  /* 14px */
  line-height: 1.6;
  margin: 0;
}

/* -------------------------------------------------------------------------- */
/* Sidebar                                                                    */
/* -------------------------------------------------------------------------- */

#newsPage .news-sidebar .sidebar-header {
  background: #61A8D3;
  color: #fff;
  padding: 1rem;
  font-size: 1rem;
  /* 16px */
  text-align: center;
  border-radius: 0.25rem;
  margin-bottom: 1rem;
}

#newsPage .news-sidebar .sidebar-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

#newsPage .news-sidebar .sidebar-list li {
  border-bottom: 1px dotted #A08F7A;
}

#newsPage .news-sidebar .sidebar-list li:last-child {
  border-bottom: none;
}

#newsPage .news-sidebar .sidebar-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  text-decoration: none;
  color: #3a2e1b;
  font-size: 0.875rem;
  /* 14px */
}

#newsPage .news-sidebar .sidebar-list .arrow {
  color: #D6C17E;
  font-size: 1rem;
  /* 16px */
}

#newsPageBody {
  padding: 3vw;
  box-sizing: border-box;
  font-family: "Kozuka Gothic Pr6N", sans-serif;
  color: #3a2e1b;
  margin-left: 6vw;
  margin-right: 6vw;
}

/* -------------------------------------------------------------------------- */
/* Responsive tweaks                                                          */
/* -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  #newsPage .news-container {
    flex-direction: column;
  }

  #newsPage .news-sidebar {
    order: -1;
    margin-bottom: 2rem;
  }
}

#hero {
  height: 57vw;
  height: auto;
  min-height: 60vw;
  margin-top: 10vw;
}
/* ──────────────────────────────────────────────────────
   Single Post Page
────────────────────────────────────────────────────── */

/* Base resets */
.post-page {
  font-family: "Kozuka Gothic Pr6N", sans-serif;
  color: #352302;
  padding: 2rem 1rem;
  line-height: 2;
}
.breadcrumb {
  font-size: 0.75rem;
  color: #86754b;
  margin-bottom: 1rem;
  max-width: 80vw;
  margin: auto;
  margin-bottom: 2rem;
}

/* Layout */
.content-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

/* Article */
.post-content {
}
.post-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}
.post-meta time {
  color: #86754b;
}
.post-category {
  padding: 0.25rem 0.5rem;
  border: 1px solid #61A8D3;
  color: #61A8D3;
  font-size: 0.75rem;
  border-radius: 0.25rem;
}

.post-title {
  font-family: "Hiragino Mincho Pro", serif;
  font-size: 1.5rem;
  font-weight: 300;
  margin: 0 0 1rem;
}

.post-divider {
  border: none;
  border-top: 2px solid #61A8D3;
  margin: 1rem 0;
}

.post-body p {
  line-height: 2.3;
  margin-bottom: 1rem;
}

/* Prev/Next nav */
.post-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
  margin: auto;
}
.post-nav a {
  font-size: 0.875rem;
  text-decoration: none;
  color: #61A8D3;
}
.post-nav .all {
  background: #61A8D3;
  color: #fff;
  padding: 0.75rem 3.5rem;
  border-radius: 2rem;
  margin-top: 3rem;
  margin-bottom: 3rem;
}

/* Sidebar */
.post-sidebar {
  border-left: 1px solid #eee;
  padding-left: 1.5rem;
}
.post-sidebar h2 {
  background: #61A8D3;
  color: #fff;
  font-size: 1rem;
  padding: 0.5rem;
  margin-bottom: 1rem;
}
.post-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.post-sidebar li {
  margin-bottom: 0.75rem;
}
.post-sidebar a {
  text-decoration: none;
  color: #352302;
  border-bottom: 1px dashed #ddd;
  padding-bottom: 0.25rem;
  font-size: 0.875rem;
}
#SingleNewsPage > section.post-page > div{
  width: 80vw;
  margin: auto;
}
.post-body{

font-size: 1rem;
}
/* ──────────────────────────────────────────────────────
   Mobile (<480px)
────────────────────────────────────────────────────── */
@media only screen and (max-width: 480px) {
  .content-wrapper {
    display: block;
  }
  #newsPage #hero {
    margin-top: 10vw;
    min-height: 10vw;
}
#SingleNewsPage #hero {  min-height: 10vw;}
  .post-sidebar {
    width: 100vw;
    border-left: none;
    padding: 2rem 0 0;
    margin-top: 2rem;
    margin-left: 0;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    align-content: center;
  }
  .post-nav {
    flex-direction: column;
    gap: 1rem;
  }
  .post-nav a {
    display: block;
    text-align: center;
  }
#SingleNewsPage #hero {
        height: auto;
        min-height: 10vw;
        margin-top: 10vw;
        }
.post-title {
    font-size: 1.2rem;
}
.post-body p {
    font-size: 0.8rem;
}
.post-sidebar h2 {
    width: 100vw;
}
#SingleNewsPage > section.post-page > div {
    width: 100vw;
}
.breadcrumb {
    width: 90vw;
}
.post-page {
    padding-left: 0;
}
.post-content {width: 90vw;margin: auto;}
.post-sidebar ul {width: 80vw;}
#newsPage .news-thumb img {}

#newsPage .news-thumb {
    flex: 0 0 5rem;
}

#newsPage .news-item-inner {
    display: flex;
    flex-direction: row;
    align-content: center;
    align-items: center;
}
    #newsPage .news-container {
        flex-direction: column-reverse;
    }

  
}

