/*
Theme Name: BlogSimpleAsFukk
Theme URI: 
Author: Custom
Description: A plain, clean private blog theme. Not listed in the WordPress.org directory.
Version: 1.0.3
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: blogsimpleasfukk
Update URI: false
*/

/* -------------------------------------------------------------------------
   Base
   ------------------------------------------------------------------------- */

:root {
  --pb-bg: #f6f4f0;
  --pb-header-bg: #fffdf9;
  --pb-stripe: #1f4b3a;
  --pb-footer-bg: #1c1917;
  --pb-header-pad-y: 8px;
  --pb-header-pad-x: 20px;
  --pb-paper: #fffdf9;
  --pb-ink: #1c1917;
  --pb-muted: #57534e;
  --pb-line: #e7e2d9;
  --pb-accent: #1f4b3a;
  --pb-accent-soft: #e8f0ec;
  --pb-max: 1080px;
  --pb-wide: 68%;
  --pb-narrow: 32%;
  --pb-radius: 10px;
  --pb-shadow: 0 1px 0 rgba(28, 25, 23, 0.04);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 17px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--pb-bg);
  color: var(--pb-ink);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  line-height: 1.65;
}

a {
  color: var(--pb-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #0f2e23;
}

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

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* -------------------------------------------------------------------------
   Header / logo
   ------------------------------------------------------------------------- */

.site-header {
  background: var(--pb-header-bg);
  border-bottom: 1px solid var(--pb-line);
}

.site-header-inner {
  max-width: var(--pb-max);
  margin: 0 auto;
  padding: var(--pb-header-pad-y) var(--pb-header-pad-x);
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.logo-align-left .site-branding {
  justify-content: flex-start;
  text-align: left;
}

.logo-align-center .site-branding {
  justify-content: center;
  text-align: center;
  flex-direction: column;
}

.logo-align-right .site-branding {
  justify-content: flex-end;
  text-align: right;
  flex-direction: row-reverse;
}

.custom-logo-link {
  display: block;
  line-height: 0;
}

.custom-logo-link img,
.custom-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: none;
}

.site-title {
  margin: 0;
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.site-title a {
  color: var(--pb-ink);
  text-decoration: none;
}

.site-description {
  margin: 0.2rem 0 0;
  color: var(--pb-muted);
  font-size: 0.92rem;
}

/* -------------------------------------------------------------------------
   Page stripe
   ------------------------------------------------------------------------- */

.page-stripe {
  background: var(--pb-stripe);
  color: #f4faf7;
}

.page-stripe-inner {
  max-width: var(--pb-max);
  margin: 0 auto;
  padding: 0 0.5rem;
}

.page-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.page-menu li {
  margin: 0;
}

.page-menu a {
  display: block;
  padding: 0.72rem 1rem;
  color: #e8f3ee;
  text-decoration: none;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.page-menu a:hover,
.page-menu .current_page_item > a,
.page-menu .current-menu-item > a {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* -------------------------------------------------------------------------
   Layout
   ------------------------------------------------------------------------- */

.site-main-wrap {
  max-width: var(--pb-max);
  margin: 0 auto;
  padding: 1.6rem 1.25rem 2.5rem;
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(240px, 1fr);
  gap: 1.6rem;
  align-items: start;
}

.content-area {
  min-width: 0;
}

.site-content {
  background: var(--pb-paper);
  border: 1px solid var(--pb-line);
  border-radius: var(--pb-radius);
  box-shadow: var(--pb-shadow);
  padding: 1.4rem 1.5rem 1.6rem;
}

/* -------------------------------------------------------------------------
   Posts
   ------------------------------------------------------------------------- */

.page-heading {
  margin: 0 0 1.1rem;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pb-muted);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

.entry {
  padding: 1.15rem 0;
  border-top: 1px solid var(--pb-line);
}

.entry:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.entry-title {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  line-height: 1.3;
}

.entry-title a {
  color: var(--pb-ink);
  text-decoration: none;
}

.entry-title a:hover {
  color: var(--pb-accent);
}

.entry-meta {
  color: var(--pb-muted);
  font-size: 0.86rem;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  margin-bottom: 0.55rem;
}

.entry-summary p {
  margin: 0 0 0.5rem;
}

.more-link {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.88rem;
}

.pagination {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.4rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--pb-line);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.92rem;
}

.pagination .nav-previous,
.pagination .nav-next {
  flex: 1;
}

.pagination .nav-next {
  text-align: right;
}

.no-posts {
  color: var(--pb-muted);
}

/* Single / page */

.single .entry,
.page .entry {
  border: 0;
  padding: 0;
}

.entry-content p {
  margin: 0 0 1rem;
}

.entry-footer {
  margin-top: 1.2rem;
  color: var(--pb-muted);
  font-size: 0.88rem;
}

/* Comments */

.comments-area {
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--pb-line);
}

.comment-list {
  list-style: none;
  margin: 0 0 1.2rem;
  padding: 0;
}

.comment {
  margin-bottom: 1rem;
}

.comment-meta {
  font-size: 0.86rem;
  color: var(--pb-muted);
}

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

.widget-area .widget {
  background: var(--pb-paper);
  border: 1px solid var(--pb-line);
  border-radius: var(--pb-radius);
  box-shadow: var(--pb-shadow);
  padding: 1rem 1.1rem 1.15rem;
  margin-bottom: 1rem;
}

.widget-title {
  margin: 0 0 0.7rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pb-muted);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

.widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.widget li {
  padding: 0.28rem 0;
  border-top: 1px solid var(--pb-line);
  font-size: 0.95rem;
}

.widget li:first-child {
  border-top: 0;
  padding-top: 0;
}

.widget a {
  text-decoration: none;
}

.widget a:hover {
  text-decoration: underline;
}

.widget_calendar table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

.widget_calendar caption {
  caption-side: top;
  text-align: left;
  font-weight: 600;
  padding-bottom: 0.4rem;
}

.widget_calendar th,
.widget_calendar td {
  text-align: center;
  padding: 0.28rem 0;
}

#wp-calendar tbody td a,
.widget_calendar tbody td a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.7em;
  min-height: 1.7em;
  padding: 0.1em 0.25em;
  font-weight: 700;
  color: #fff;
  background: var(--pb-accent);
  border-radius: 6px;
  text-decoration: none;
}

#wp-calendar tbody td a:hover,
.widget_calendar tbody td a:hover {
  background: #0f2e23;
  color: #fff;
}

#wp-calendar td#today,
.widget_calendar td#today {
  font-weight: 700;
  background: var(--pb-accent-soft);
  border-radius: 6px;
}

#wp-calendar td#today a,
.widget_calendar td#today a {
  background: #c2410c;
}

.widget_tag_cloud .tagcloud a,
.widget_tag_cloud a {
  display: inline-block;
  margin: 0 0.25rem 0.35rem 0;
  padding: 0.15rem 0.5rem;
  background: var(--pb-accent-soft);
  border-radius: 999px;
  font-size: 0.82rem !important;
  text-decoration: none;
}

/* -------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------- */

.site-footer {
  background: var(--pb-footer-bg);
  color: #d6d3d1;
  padding: 1.4rem 1.25rem 1.7rem;
  text-align: center;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.88rem;
}

.site-footer .buzz {
  margin: 0 0 0.35rem;
  color: #f5f5f4;
}

.site-footer .copyright {
  margin: 0;
  color: #a8a29e;
}

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

@media (max-width: 800px) {
  .site-main-wrap {
    grid-template-columns: 1fr;
  }

  .page-menu {
    justify-content: center;
  }
}
