/* Custom Design for alreemplastics.com - Style: clean-finance */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;600;700&family=Geist:wght@300;400;500;600&display=swap');

:root {
  --custom-primary: #2E5BFF;
  --custom-secondary: #F8F9FC;
  --custom-accent: #E8ECF4;
  --custom-bg: #FFFFFF;
  --custom-card: #F8F9FC;
  --custom-text: #1A1A2E;
  --custom-radius: 12px;
  --custom-heading-font: 'Instrument Sans', sans-serif;
  --custom-body-font: 'Geist', sans-serif;
}

/* Base overrides */
body {
  font-family: var(--custom-body-font);
  background: #FFFFFF;
  color: var(--custom-text);
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--custom-heading-font);
  color: var(--custom-primary);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-size: 2.5rem; line-height: 1.1; }
h2 { font-size: 1.8rem; line-height: 1.2; margin-top: 2rem; }
h3 { font-size: 1.4rem; line-height: 1.3; }

/* Links */
a {
  color: var(--custom-primary);
  text-decoration: none;
  transition: all 0.3s ease;
}
a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* Header/Navigation */
.wp-site-header, header {
  background: #F8F9FC;
  border-bottom: 1px solid #2E5BFF20;
  padding: 1rem 0;
}

/* Navigation links */
.wp-site-header a, header a, nav a {
  color: var(--custom-text);
  font-family: var(--custom-heading-font);
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Cards/Articles */
article, .wp-block-post, .entry-content {
  background: var(--custom-card);
  
  border-radius: var(--custom-radius);
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  
}

/* Post titles in cards */
article h2, .wp-block-post-title {
  font-family: var(--custom-heading-font);
  color: var(--custom-primary);
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
}

/* Featured images */
article img, .wp-post-image, .featured-image {
  border-radius: calc(var(--custom-radius) - 4px);
  overflow: hidden;
  
}

/* Buttons */
.wp-element-button, button, input[type="submit"] {
  background: var(--custom-primary);
  color: #0A0A0A;
  border: none;
  border-radius: calc(var(--custom-radius) - 4px);
  padding: 0.8rem 1.8rem;
  font-family: var(--custom-heading-font);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  cursor: pointer;
}
.wp-element-button:hover, button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px #2E5BFF40;
}

/* Sidebar */
aside, .wp-sidebar, .widget-area {
  background: var(--custom-card);
  border-radius: var(--custom-radius);
  padding: 1.5rem;
  
}

/* Footer */
.wp-site-footer, footer {
  background: #F8F9FC;
  border-top: 1px solid #2E5BFF15;
  padding: 3rem 0;
  margin-top: 3rem;
}

/* Blockquotes */
blockquote {
  border-left: 4px solid var(--custom-primary);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: #2E5BFF10;
  border-radius: 0 var(--custom-radius) var(--custom-radius) 0;
  font-style: italic;
}

/* Code blocks */
pre, code {
  background: #F8F9FC;
  border-radius: calc(var(--custom-radius) - 4px);
  padding: 1rem;
  font-size: 0.9rem;
}

/* Tables */
table {
  border-collapse: collapse;
  width: 100%;
  border-radius: var(--custom-radius);
  overflow: hidden;
}
th {
  background: var(--custom-primary);
  color: #0A0A0A;
  font-family: var(--custom-heading-font);
  font-weight: 600;
  padding: 0.8rem;
}
td {
  padding: 0.8rem;
  border-bottom: 1px solid #2E5BFF15;
}

/* Scrollbar (Webkit) */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--custom-secondary);
}
::-webkit-scrollbar-thumb {
  background: var(--custom-primary);
  border-radius: 4px;
}

/* Selection */
::selection {
  background: #2E5BFF40;
  color: var(--custom-text);
}

/* Smooth animations */
* {
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* Read more links */
.more-link, .read-more {
  color: var(--custom-primary);
  font-family: var(--custom-heading-font);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.more-link::after {
  content: '→';
  transition: transform 0.3s ease;
}
.more-link:hover::after {
  transform: translateX(4px);
}

/* Magazine grid layout */
.wp-block-post-template { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; }
