/* ALEX BIRKETT SITE REDESIGN - Fine-tuning CSS */

/* --- Site Title Styling --- */
.site-title {
  text-transform: uppercase !important;
  letter-spacing: 0.03em !important;
  font-weight: 700 !important;
}

/* --- Nav Link Styling --- */
.main-navigation a,
.main-nav a {
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
}

/* --- Header border accent --- */
.site-header {
  border-bottom: 2px solid #7B2D3B !important;
}

/* --- Content cards --- */
.inside-article {
  border: 1px solid #e8e2da !important;
  border-radius: 4px !important;
  box-shadow: 0 1px 8px rgba(0,0,0,0.04) !important;
  transition: box-shadow 0.3s ease !important;
}

.inside-article:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08) !important;
}

/* --- Entry titles --- */
.entry-title {
  letter-spacing: -0.02em !important;
}

/* --- Read More --- */
a.read-more {
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  border-bottom: 2px solid #7B2D3B !important;
  padding-bottom: 2px !important;
}

/* --- Category tags --- */
.cat-links a,
.tag-links a {
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  font-size: 0.8rem !important;
  font-weight: 500 !important;
}

/* --- Entry meta --- */
.entry-meta {
  font-size: 0.85rem !important;
  letter-spacing: 0.02em !important;
}

/* --- Blockquotes --- */
blockquote {
  border-left: 4px solid #7B2D3B !important;
  background-color: #f5f0eb !important;
  padding: 20px 24px !important;
  margin: 2em 0 !important;
  font-style: italic !important;
}

/* --- Footer border accent --- */
.site-footer,
.site-info {
  border-top: 2px solid #7B2D3B !important;
}

/* --- Widget titles --- */
.widget-title {
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  border-bottom: 2px solid #7B2D3B !important;
  padding-bottom: 8px !important;
}

/* --- Selection highlight --- */
::selection {
  background-color: #7B2D3B !important;
  color: #fff !important;
}

/* --- Smooth scrolling --- */
html {
  scroll-behavior: smooth;
}

/* --- About page title underline --- */
.page .entry-title {
  border-bottom: 3px solid #7B2D3B !important;
  padding-bottom: 12px !important;
  display: inline-block !important;
}

/* --- Images --- */
.entry-content img {
  border-radius: 4px !important;
}

/* --- Featured Image Constraint (half-viewport) --- */
.single .featured-image.page-header-image-single {
  max-height: 40vh !important;
  overflow: hidden !important;
}

.single .featured-image.page-header-image-single img {
  width: 100% !important;
  height: 40vh !important;
  object-fit: cover !important;
  object-position: center !important;
}

/* --- Hero Section --- */
.ab-hero {
  background-color: #1a1a1a;
  padding: 60px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  max-width: 100%;
  border-bottom: 3px solid #7B2D3B;
}

.ab-hero-content {
  max-width: 480px;
  flex: 1;
}

.ab-hero h1 {
  color: #faf8f5 !important;
  font-size: 2.2rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  margin-bottom: 16px !important;
  letter-spacing: -0.02em !important;
}

.ab-hero .ab-hero-tagline {
  color: #b0a89e;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 28px;
}

.ab-hero-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.ab-hero-form input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 14px 18px;
  border: 1px solid #3d3d3d;
  border-radius: 4px;
  background: #2d2d2d;
  color: #faf8f5;
  font-size: 0.95rem;
  font-family: Inter, sans-serif;
  outline: none;
  transition: border-color 0.2s;
}

.ab-hero-form input[type="email"]:focus {
  border-color: #7B2D3B;
}

.ab-hero-form input[type="email"]::placeholder {
  color: #6b6b6b;
}

.ab-hero-form button {
  padding: 14px 28px;
  background: #7B2D3B;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: Inter, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.2s;
}

.ab-hero-form button:hover {
  background: #5C1F2B;
}

.ab-hero-photo {
  flex-shrink: 0;
}

.ab-hero-photo img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #7B2D3B;
}

.ab-hero .ab-hero-note {
  color: #6b6b6b;
  font-size: 0.8rem;
  margin-top: 12px;
}

/* Hero responsive */
@media (max-width: 768px) {
  .ab-hero {
    flex-direction: column-reverse;
    padding: 40px 24px;
    gap: 30px;
    text-align: center;
  }
  .ab-hero-form {
    justify-content: center;
  }
  .ab-hero-photo img {
    width: 160px;
    height: 160px;
  }
}

/* --- Page Featured Image Constraint (half-viewport) --- */
.page .featured-image.page-header-image {
  max-height: 40vh !important;
  overflow: hidden !important;
}
.page .featured-image.page-header-image img {
  width: 100% !important;
  height: 40vh !important;
  object-fit: cover !important;
  object-position: center !important;
}