/*
Theme Name: BlankSlateChild02 2025-12-02
Template: blankslate
Author: André Sanz
Author URI: https://randomcategory.com/about
Description: created 2025-12-02 by me in Brewster, NY
*/

:root {
  --font-size-small: 0.875rem;
  --font-size-base: 1.25rem;
  --font-size-large: 1.35rem;
  --font-size-xlarge: 1.5rem;

  --font-family-primary: "Open Sans", sans-serif;
  --font-family-secondary: "Lato", sans-serif;
  --font-family-tertiary: "Montserrat", sans-serif;

  --color-primary: #333;
  --color-secondary: #666;

  /* --background-color-primary: cornsilk; */
  --background-color-primary: #fcf7e8;
  --background-color-secondary: #e6f3e6;
  --background-color-tertiary: #fff;

  --font-weight-regular: 400;
  --font-weight-bold: 600;

  --line-height: 1.4;
}

/* === Base Styles === */
html {
  scrollbar-gutter: stable;
}

body {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-base);
  color: var(--color-primary);
  margin: 1em;
  line-height: var(--line-height);
}

h1 {
  /* font-size: clamp(1.75rem, 1.3rem + 2vw, 2.5rem); */
  font-size: 50px;
  margin: 0;
  font-weight: 500;
  line-height: 1.2;
  color: var(--bs-heading-color, var(--color-primary));
}
h2,
h3,
h4,
h5,
h6 {
  margin: 0.5rem 0;
}
h2 {
  font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2rem);
}
h3 {
  font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
}
h4 {
  font-size: clamp(1.125rem, 0.95rem + 0.5vw, 1.5rem);
}
h5 {
  font-size: clamp(1rem, 0.9rem + 0.3vw, 1.25rem);
}
h6 {
  font-size: clamp(0.875rem, 0.85rem + 0.2vw, 1rem);
}

p {
  font-size: clamp(1rem, 0.95rem + 0.5vw, 1.25rem);
  line-height: 1.6;
}

ul,
li {
  list-style: none;
  margin: 0;
  padding: 0;
}
li {
  margin: 0.5rem 0;
}

a {
  color: #007bff;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
a:visited {
  color: #0056b3;
}
a:active {
  color: #004085;
}
a:focus-visible {
  outline: 2px solid #0056b3;
  outline-offset: 2px;
}

/* === Layout === */
header,
nav,
/* main, */
aside,
footer {
  padding: 0.25rem;
}

header {
  /*
  background: var(--background-color-secondary);
  */
  text-align: center;
}

footer {
  background: var(--background-color-secondary);
  text-align: center;
  padding: 0.75em;
}

.container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

/* Mobile-first: stack layout */
.main-area {
  /*
  display: grid;
  grid-template-columns: 3fr 1fr;
  */
  display: flex;

  flex-direction: column;
  background: none !important;
  gap: 1rem;
}

/* Tablet and up: sidebar layout */
@media (min-width: 768px) {
  .main-area {
    flex-direction: row;
    align-items: stretch;
    gap: 1rem;
    background: none !important;
  }

  aside {
    padding-inline: 12px;
  }
}

main {
  flex: 3;
  min-width: 0;
  background: transparent;
}
aside {
  flex: 1;
  background: var(--background-color-primary);
  /*min-width: 260px;*/
  /*min-width: 260px;
  max-width: 320px;*/
}

.site-title {
  margin-bottom: 0.25rem;
}

.site-subtitle {
  font-size: 1rem;
  color: #777;
  margin-bottom: 1rem;
}

/* === Boxes === */
.roundedrectangle {
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: var(--background-color-primary);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* === Nav === */
nav {
  background: var(--background-color-primary);
  margin-block: 0.25rem;
}
nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}
nav a {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  line-height: 1.2;
}

.menu {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0rem;
  overflow-x: auto; /* optional: scroll instead of wrap */
}

.menu li {
  display: inline-block;
}

.menu li + li::before {
  display: inline-block;
  vertical-align: middle;
}

.menu li a {
  line-height: 1.2;
}

/* === Pagination === */
.pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin: 0.5rem 0;
}

.pagination .page-numbers {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  background: #e6f5ec;
  color: #333;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 4px;
  text-decoration: none;
  line-height: 1.2;
}

.pagination .page-numbers.current {
  background: #bce3cd;
  color: #000;
  font-weight: 600;
}

.pagination .page-numbers:hover {
  background: #d3f0e0;
}

/* === Sidebar Widgets Fix === */
aside > li.widget-container {
  display: block;
}
aside > li.widget-container::marker {
  content: none;
}

.entry-header img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 0 1rem 0;
  border-radius: 6px;
}

article.post {
  padding: 1rem;
  border-radius: 8px;
  /* background: #fff;*/
  /*box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);*/
}

article.post .entry-header,
article.post .entry-summary {
  text-align: left;
}

article.post .entry-header img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.post-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--background-color-primary, #fff);
  padding: 1rem;
  border-radius: 8px;
  /* box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);*/
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.1s ease;
}

.post-card .post-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* Horizontal layout on wide screens */
@media (min-width: 600px) {
  .post-card {
    flex-direction: row;
  }

  .post-card .post-thumbnail {
    flex: 0 0 250px;
  }

  .post-card .post-content {
    flex: 1;
    padding-left: 1rem;
  }

  .post-card .post-thumbnail img {
    height: 100%;
  }
}

.entry-title {
  /*
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  */
}

.entry-meta {
  font-size: 1.25rem;
  color: var(--color-secondary, #666);
  margin-bottom: 0.75rem;
  line-height: 1.25em;
}

.entry-title {
  /* font-size: 1.35rem; */
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.entry-summary {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.read-more {
  display: block;
  text-align: right;
  color: #007bff;
  text-decoration: none;
  margin-top: 0.5rem;
}

.read-more:hover {
  text-decoration: underline;
}

/*
.single-post-thumbnail {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1rem auto;
  border-radius: 8px;
}
  */

/*
.single-post-thumbnail {
  width: 100%;
  max-width: 700px;
  display: block;
  margin: 0 auto 2rem auto;
}
  */

.featured-image {
  text-align: center;
}

.entry-content {
  /*max-width: 700px;*/
  max-width: 90%;
  margin: 0 auto;
  padding: 0 1rem;
  flex: 1 1 300px;
}

/*
.entry-content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1.5rem auto;
  border-radius: 8px;
}
  */

.entry-content img,
.single-post-thumbnail {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.entry-content img,
.single-post-thumbnail,
.entry-content p,
.entry-content h2,
.entry-content ul {
  margin-bottom: 0rem;
  margin-top: 1.5rem;
}

/* Fix for no-sidebar layout */
.main-area.no-sidebar {
  display: block; /* or flex-direction: column; if you're using flex */
}

.no-sidebar-main {
  max-width: 720px;
  margin: 2rem auto;
  padding: 1rem;
  float: none;
  display: block;
}

.widget_categories li,
.widget_tag_cloud li,
.widget ul li {
  padding-left: 1rem;
  padding-right: 1rem;
  line-height: 1.3;
  margin-bottom: 0.25rem;
  white-space: nowrap;
}

.widget_search form {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  padding-right: 1.5rem !important;
}

.widget_search input[type="search"],
.widget_search input[type="text"] {
  flex: 1;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  box-sizing: border-box;
  background-color: #fff;
  line-height: 1.4;
}

.widget_search input[type="submit"],
.widget_search button[type="submit"] {
  padding: 0.75rem 1rem;
  font-size: 1.2rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  background-color: #f2f2f2;
  cursor: pointer;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease-in-out;
}

.widget_search input[type="submit"]:hover {
  background-color: #e2e2e2;
}

.widget ul,
.wp-block-page-list {
  padding-left: 1.25rem;
  list-style-type: disc;
  margin: 0;
}

.widget ul li,
.wp-block-page-list li {
  margin-bottom: 0.25rem;
}

.social-icons a {
  margin-right: 0.5rem;
  font-size: 1.2rem;
  color: #333;
  text-decoration: none;
}

.social-icons a:hover {
  color: #1da1f2; /* Twitter blue as hover fallback */
}

.wp-block-archives li {
  padding-left: 1rem;
  padding-right: 1rem;
  line-height: 1.3;
  margin-bottom: 0.25rem;
  white-space: nowrap;
}

.fullwidth {
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0;
}

summary {
  cursor: pointer; /* Indicate that the summary is clickable */
}

.post-navigation .nav-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #ccc;
  font-size: 1rem;
}

.nav-previous a,
.nav-next a {
  background: var(--background-color-secondary);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 400;
  color: #000;
}

.nav-previous a:hover,
.nav-next a:hover {
  background: var(--background-color-secondary);
}

/* Hide page titles per page */
.page-id-6 .entry-title,
.page-id-23 .entry-title,
.page-id-166 .entry-title,
.page-id-872 .entry-title,
.page-id-100 .entry-title,
.page-id-1218 .entry-title,
.page-id-8 .entry-title {
  display: none;
}

.page-template-no-sidebar .entry-content {
  max-width: 100% !important;
  margin: 0 auto;
  padding: 0 1rem;
}

.entry-content strong {
  font-weight: bold !important;
}

.entry-content ul {
  list-style: circle !important;
  padding-left: 1.5rem;
  margin-left: 0;
}
.entry-content ol {
  list-style: decimal !important;
  padding-left: 1.5rem;
  margin-left: 0;
}
.entry-content li {
  list-style: circle !important;
  margin-bottom: 0.5em;
}

/* Fix cramped category layout */
.archive .main-area {
  gap: 1rem;
}

.archive main.roundedrectangle,
.archive aside.roundedrectangle {
  width: 100%;
}

@media (min-width: 768px) {
  .archive .main-area {
    flex-direction: row;
  }

  .archive main {
    flex: 3 1 0;
  }

  .archive aside {
    flex: 1 1 0;
  }
}

/* === Back to Top Button === */
#back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1.5rem;
  background: #333;
  color: #fff;
  font-size: 1rem;
  padding: 0.6rem 0.8rem;
  border-radius: 6px;
  text-decoration: none;
  opacity: 0.65;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 9999;
}

#back-to-top:hover {
  opacity: 1;
  transform: translateY(-2px);
}

#back-to-top:active {
  transform: translateY(0px);
}

/* Visibility trigger */
#back-to-top.hidden {
  display: none;
}

/* === Floating Back to Top Button (RandomCategory) === */
#back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1.5rem;
  width: 48px;
  height: 48px;
  background: var(--background-header, #dcefdc);
  color: #000;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 9999;
  pointer-events: none;
}

#back-to-top.visible {
  opacity: 0.9;
  transform: translateY(0px);
  pointer-events: auto;
}

#back-to-top:hover {
  opacity: 1;
  transform: translateY(-2px);
}

#back-to-top .arrow {
  position: relative;
  top: -1px;
}

@media (max-width: 600px) {
  #back-to-top {
    right: 0.75rem;
    bottom: 1rem;
    width: 42px;
    height: 42px;
    font-size: 1.2rem;
  }
}

/* === Floating Back to Top Button (RandomCategory) === */
#back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1.5rem;
  width: 48px;
  height: 48px;
  background: var(--background-header, #dcefdc);
  color: #000;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 9999;
  pointer-events: none;
}

#back-to-top.visible {
  opacity: 0.9;
  transform: translateY(0px);
  pointer-events: auto;
}

#back-to-top:hover {
  opacity: 1;
  transform: translateY(-2px);
}

#back-to-top .arrow {
  position: relative;
  top: -1px;
}

@media (max-width: 600px) {
  #back-to-top {
    right: 0.75rem;
    bottom: 1rem;
    width: 42px;
    height: 42px;
    font-size: 1.2rem;
  }
}

/* === Clean Comment Reply Area === */
.comment-respond {
  max-width: 620px;          /* narrower card */
  margin: 2rem auto;
  padding: 1rem 1.25rem;     /* reduced side padding */
  background: #fffdf8;
  border: 1px solid #ccc;
  border-radius: 8px;
}

/* Title */
.comment-respond .comment-reply-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

/* “Email address will not be published…” text */
.comment-respond .comment-notes {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1rem;
  max-width: 40rem;
}

/* Field labels */
.comment-respond label {
  display: block;
  font-weight: 600;
  margin: 1rem 0 0.35rem;
}

/* Inputs + textarea */
.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond input[type="url"],
.comment-respond textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.6rem 0.75rem;
  border: 1px solid #c8c2b2;
  border-radius: 6px;
  background: #ffffff;
  font-size: 1rem;
  font-family: inherit;
}

.comment-respond textarea {
  min-height: 170px;
  resize: vertical;
}

/* Cookies / remember-me row */
.comment-respond .comment-form-cookies-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 1rem;
}

.comment-respond .comment-form-cookies-consent input[type="checkbox"] {
  margin-top: 0.25rem;
}

/* Submit button */
.comment-respond input[type="submit"] {
  margin-top: 1.25rem;
  padding: 0.55rem 1.1rem;
  border-radius: 6px;
  border: 1px solid #888876;
  background: #f3e6c6;
  color: #000;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.comment-respond input[type="submit"]:hover {
  background: #ead8ae;
  border-color: #666655;
}

/* Mobile */
@media (max-width: 600px) {
  .comment-respond {
    margin: 1.5rem 0.5rem;
    padding: 1rem;
  }
}

.widget_categories li, .widget_tag_cloud li, .widget ul li {
    padding-left: 0rem;
  }


  widget ul, .wp-block-page-list {
    padding-left: 0rem;
}

.wp-block-page-list li {
    margin-bottom: 0rem; 
}

.home.page-id-872 nav {
  display: none !important;
}

.home.page-id-872 nav.menu + * {
  margin-top: 0;
}

/* Second .roundedrectangle on the page — the nav bar wrapper */
.home.page-id-872 .roundedrectangle:nth-of-type(2) {
  display: none !important;
}

.wp-block-archives li {
    padding-left: 0rem; 
    
}