/* ============================================================
   9Pinn × Motex — CSS Custom Properties
   Only variables are defined here. All component styles come
   from motex-style.css (the original Motex stylesheet) and
   motex-components.css (WordPress-specific additions).
   ============================================================ */

:root {
  /* Motex native variable (matched to brand) */
  --theme-color:        #E31837;

  /* Brand colours */
  --color-primary:      #E31837;
  --color-primary-dark: #B8122C;
  --color-secondary:    #8BC34A;
  --color-secondary-dk: #6A9C35;
  --color-black:        #111111;
  --color-text:         #4a4a4a;
  --color-text-light:   #666666;
  --color-bg:           #FFFFFF;
  --color-bg-alt:       #F7F8FA;
  --color-border:       #E2E8F0;
  --color-white:        #FFFFFF;

  --font-heading: 'Josefin Sans', sans-serif;
  --font-body:    'Open Sans',    sans-serif;

  --fw-regular: 400;
  --fw-medium:  500;
  --fw-semi:    600;
  --fw-bold:    700;
  --fw-black:   800;

  --fs-xs:   0.75rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-md:   1.125rem;
  --fs-lg:   1.25rem;
  --fs-xl:   1.5rem;
  --fs-2xl:  1.875rem;
  --fs-3xl:  2.25rem;
  --fs-4xl:  3rem;
  --fs-5xl:  3.75rem;

  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   20px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.12);

  --transition: 0.25s ease;
  --header-h:   80px;
}

/* Screen reader utility */
.screen-reader-text {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Entry content (blog/page editor content) */
.entry-content h2 { margin-top: 2.5rem; }
.entry-content h3 { margin-top: 2rem; }
.entry-content ul, .entry-content ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.entry-content ul li { list-style: disc;    margin-bottom: 0.5rem; }
.entry-content ol li { list-style: decimal; margin-bottom: 0.5rem; }
.entry-content blockquote {
  border-left: 4px solid var(--color-primary);
  padding: 1rem 1.5rem; background: var(--color-bg-alt);
  margin: 1.5rem 0; font-style: italic;
}
.entry-content a { text-decoration: underline; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 0.5rem; margin-top: 3rem; flex-wrap: wrap; }
.page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border: 1px solid var(--color-border);
  border-radius: var(--radius-md); color: var(--color-text);
  font-size: var(--fs-sm); font-weight: var(--fw-medium);
  transition: background var(--transition), color var(--transition);
}
.page-numbers.current, .page-numbers:hover {
  background: var(--color-primary); color: var(--color-white); border-color: var(--color-primary);
}

/* Sidebar */
.widget-title {
  font-size: 1.1rem; font-weight: 700; margin-bottom: 1rem;
  padding-bottom: 0.5rem; border-bottom: 2px solid var(--color-primary);
}



