/* ========================================================= */
/* --- GENERAL TYPOGRAPHY & LAYOUT --- */
/* ========================================================= */

.page__content {
  background-color: var(--light-color);
}

.post--single,
.post--single .post__title,
#comments {
  max-width: 120vw;
  margin-left: calc(-10vw);
  margin-right: calc(-10vw);
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

#comments {
  margin-top: 2rem !important;
}

.post--single .post__title {
  text-align: center;
}

h2.post__title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark) !important;
  line-height: 1.2;
  margin-top: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

/* ========================================================= */
/* --- BLOG POST CARD STYLES --- */
/* ========================================================= */

.blog-post-card,
div.posts,
div.page__text,
div.hp-form__fields, div.post--single, .inner-wrapper-sticky {
  background-color: var(--text-light);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-medium);
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
  border: solid 1px var(--border-color);
}

div.post--single, .inner-wrapper-sticky {margin-top: 25px}

.blog-post-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.post-category a {
  font-size: 0.8em;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--secondary-color);
  letter-spacing: 0.05em;
  background-color: transparent;
  text-decoration: none;
  border-bottom: 2px solid var(--secondary-color);
  padding: 0;
}

.post-category a:hover {
  color: var(--interactive-hover);
}

.post-excerpt {
  color: var(--neutral-muted);
  line-height: 1.6;
}

 div.posts {margin-top: 25px}
/* ========================================================= */
/* --- POST DETAILS & LINKS --- */
/* ========================================================= */

.post__details {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 15px;
  font-size: 14px;
  color: var(--text-dark);
  border-top: 1px solid var(--secondary-color);
  padding-top: 15px;
}

.post__date,
.post__author,
.post__comments {
  color: var(--neutral-muted);
  font-size: 0.9em;
  font-weight: 400;
}

.post__author {
  font-style: italic;
}

.post__readmore {
  text-decoration: none;
  color: var(--accent-color);
  font-size: 1em !important;
  font-weight: 600;
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}

.post__readmore span {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary-color);
  margin-right: 5px;
}

.post__readmore i {
  font-size: 1em;
}

.post__readmore:hover,
.post__comments:hover {
  color: var(--interactive-hover) !important;
}


/* ========================================================= */
/* --- WIDGETS & SIDEBAR STYLES --- */
/* ========================================================= */

.sidebar,
.widget,
.widget.hp-menu {
  background-color: var(--text-light);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.widget-title,
.sidebar h3 {
  color: var(--text-dark);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: var(--spacing-sm);
}

.widget--sidebar {
    padding: 0 !important;
}


/* ========================================================= */
/* --- MEDIA QUERIES --- */
/* ========================================================= */

@media (max-width: 767px) {
  .post--single,
  .post--single .post__title,
  #comments {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}

@media (min-width: 600px) {
  .comment-form-author,
  .comment-form-email {
    display: inline-block !important;
    width: 47%;
    box-sizing: border-box;
  }

  .comment-form-author {
    margin-right: 20px;
  }
}

/* ========================================================= */
/* --- UNUSED/REDUNDANT STYLES REMOVED --- */
/* ========================================================= */


.post__categories a {

    color: var(--primary-color);

}

 div.posts {margin-top: 25px}
 
.widget_search {margin-top: 20px}
/*  */
/* Header Background (Fallbacks) */
.site-header,
.header-hero__content {
  background-size: cover;
  background-position: center;
}

.header-hero__content {
  height: 260px !important;
  margin: 0px;
}

.header-hero__content {
  background-image: url('https://aircraft.zone/wp-content/uploads/2025/09/header-color-scheme-3.png') !important;
}

.header-hero__content h1 {
  color: white;
}

/* Line before and after navbar */
.post-navbar {
  margin-top: 2rem;
  border-top: 1px solid var( --primary-color);
  padding: 2rem 0 1rem 0;
}

/* Flex row tweaks */
.post-navbar .row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start; /* align both top */
}

/* Left/right text alignment */
.post-navbar__start {
  text-align: left;
}

.post-navbar__end {
  text-align: right;
}

/* Icon on first line */
.post-navbar__link h5 a {
  display: flex;
  align-items: flex-start; /* icon top-aligned */
  gap: 0.5rem; /* spacing between icon and text */
}

.post-navbar__link h5 a i {
  margin-top: 0.2em; /* nudge down if needed */
}

/* Responsive font size */
@media (max-width: 576px) {
  .post-navbar__link h5 {
    font-size: 0.9rem; /* smaller text on mobile */
    line-height: 1.3;  /* tighter line spacing */
  }
}

a, a:hover, a:focus, a:active {
  text-decoration: none;
}

.post__details>* 
{color: var(--primary-color) !important; font-size: 14px !important;}

/* Remove gap between navbar and header image */
.header-hero,
.header-hero__content,
.header-hero__image {
  margin-top: 0 !important;
  padding: 0 !important;
}

/* Ensure no extra margin/padding on the site header */
.site-header {
  margin-bottom: 0;
  padding-bottom: 0;
}

.post--single .post__details,
.post--single .post__date,
.post--single .post__author,
.post--single .post__comments {
  color: var(--text-light) !important;
}

.post--single .post__details{
  border-top: 1px solid var(--text-light);
}

.post--single .post__comments:hover {
  color: #e0e0e0;
}

.site-sidebar .widget {padding-top: 10px}

.post__categories a
{
color: black !important;
font-weight: 900  !important;
padding: .75rem 1.2rem  !important;
font-size: 1rem  !important
}

.post__categories a:hover {color: var(--text-light) !important}


