/* =========================================================
   Mobile / tablet fixes  (loaded AFTER style.css)
   ========================================================= */

/* ---------- Header: logo left, hamburger always right ---------- */
.header-area .header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 15px;
  padding-top: 25px;
}
.header-area .header__logo { flex: 0 0 auto; }
.header-area .header__logo img { display: block; max-width: 100%; height: auto; }
.header-area .header__nav { margin-left: auto; }
.header-area .header__navicon {
  margin-left: auto;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.header-area .side-toggle {
  background: transparent;
  border: 0;
  padding: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.header-area .header__navicon i { font-size: 26px; color: #fff; }

@media only screen and (max-width: 1199px) {
  .header-area .header-flex { padding: 14px 0; }
  .header-area .header__logo img { width: 190px; }
  .header-area .header__nav { margin-left: 0; }   /* menu is hidden by meanmenu here */
}
@media only screen and (max-width: 575px) {
  .header-area .header-flex { padding: 10px 0; }
  .header-area .header__logo img { width: 140px; }
}

/* ---------- Blog details page ---------- */
.blog-details .blog { overflow-wrap: anywhere; }
.blog-details .blog img { max-width: 100%; height: auto; }
.blog-details .blog table { display: block; max-width: 100%; overflow-x: auto; }
.blog-details .blog p,
.blog-details .blog li { font-size: 17px; line-height: 1.7; }
.blog-details .blog h2 { font-size: 28px; line-height: 1.3; }
.blog-details .blog h3 { font-size: 22px; line-height: 1.35; }

@media only screen and (max-width: 767px) {
  .blog-details .section-title-wrapper .section-title {
    font-size: 26px !important;
    line-height: 1.3 !important;
    letter-spacing: 0 !important;
  }
  .blog-details .blog p,
  .blog-details .blog li { font-size: 16px; line-height: 1.65; }
  .blog-details .blog h2 { font-size: 22px; }
  .blog-details .blog h3 { font-size: 19px; }
  .blog-details .blog-details__postmeta { font-size: 14px !important; gap: 8px 12px !important; }
}

/* ---------- Related blogs: small compact cards (heading + picture) ---------- */
.related-blogs { padding: 20px 0 80px; }
.related-blogs .related-title {
  font-size: 26px;
  font-family: sans-serif;
  margin: 0 0 24px;
}
.related-blogs .related-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.related-blogs .related-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: box-shadow .25s, transform .25s;
}
.related-blogs .related-card:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, .10);
  transform: translateY(-2px);
}
.related-blogs .related-card .rc-thumb {
  flex: 0 0 96px;
  width: 96px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
}
.related-blogs .related-card .rc-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.related-blogs .related-card .rc-title {
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
  font-family: sans-serif;
  color: #111;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media only screen and (max-width: 991px) {
  .related-blogs .related-list { grid-template-columns: 1fr 1fr; }
}
@media only screen and (max-width: 575px) {
  .related-blogs { padding-bottom: 50px; }
  .related-blogs .related-title { font-size: 21px; margin-bottom: 16px; }
  .related-blogs .related-list { grid-template-columns: 1fr; gap: 12px; }
  .related-blogs .related-card .rc-thumb { flex-basis: 88px; width: 88px; height: 66px; }
  .related-blogs .related-card .rc-title { font-size: 14px; }
}

/* ---------- Contact form: multi-line message field ---------- */
.contact-page .contact-formfield textarea {
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
  background: transparent;
  resize: none;
  color: var(--primary);
  font-size: 20px;
  font-family: inherit;
}
.contact-page .contact-formfield textarea::placeholder { color: var(--secondary); }
.contact-page .submit-btn button[disabled] { cursor: not-allowed; }
