﻿/*
Theme Name: Aveshost
Theme URI: https://www.aveshost.com
Author: Aveshost
Author URI: https://www.aveshost.com
Description: Fast, Elementor-ready theme for the Aveshost blog with modern post card widgets.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aveshost
Tags: blog, custom-logo, custom-menu, editor-style, featured-images
*/

:root {
  --aveshost-navy: #0b1f4a;
  --aveshost-blue: #1758ff;
  --aveshost-sky: #45c6ff;
  --aveshost-ink: #0f172a;
  --aveshost-muted: #5b6b8a;
  --aveshost-sand: #f4f6fb;
  --aveshost-card: #ffffff;
  --aveshost-border: #e3e9f5;
  --aveshost-radius: 20px;
  --aveshost-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Onest", "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--aveshost-ink);
  background: radial-gradient(circle at top right, #ecf7ff 0%, #ffffff 55%, #f7f5ff 100%);
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-content {
  flex: 1;
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.aveshost-site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(227, 233, 245, 0.8);
}

.aveshost-header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 18px 0;
}

.aveshost-site-title {
  font-family: "Space Grotesk", "Onest", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--aveshost-navy);
}

.aveshost-primary-nav {
  justify-self: center;
}

.aveshost-nav {
  list-style: none;
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
  font-weight: 500;
  color: var(--aveshost-muted);
}

.aveshost-nav a:hover {
  color: var(--aveshost-blue);
}

.aveshost-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.aveshost-archive-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.aveshost-post-card {
  overflow: hidden;
  display: grid;
}

.aveshost-card-media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.aveshost-card-body {
  padding: 24px;
}

.aveshost-card-title {
  font-family: "Space Grotesk", "Onest", sans-serif;
  font-size: 1.2rem;
  margin: 12px 0;
}

.aveshost-card-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--aveshost-blue);
  font-weight: 600;
}

.aveshost-pagination {
  margin-top: 32px;
}

.aveshost-widget ul,
.aveshost-single-content ul {
  padding-left: 18px;
}

.aveshost-footer input[type="email"] {
  width: 100%;
  padding: 12px 14px;
  margin: 10px 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.aveshost-footer button {
  width: 100%;
}

@media (max-width: 768px) {
  .aveshost-header-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .aveshost-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .aveshost-hero h1 {
    font-size: clamp(1.5rem, 5.5vw, 2.2rem);
  }

}

.aveshost-featured-image img {
  border-radius: 10px;
}

.aveshost-hero {
  background: linear-gradient(135deg, #0b2a6d 0%, #0b1f4a 35%, #0b335f 100%);
  color: #fff;
  padding: 40px 0 60px;
  position: relative;
  overflow: hidden;
}

.aveshost-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(69, 198, 255, 0.55), transparent 45%);
  opacity: 0.8;
}

.aveshost-hero .container {
  position: relative;
  z-index: 1;
}

.aveshost-hero h1 {
  font-family: "Space Grotesk", "Onest", sans-serif;
  font-size: clamp(1.9rem, 2.4vw, 2.45rem);
  line-height: 1.15;
  margin-bottom: 6px;
  text-align: center;
}

.aveshost-hero p {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.82);
}

.aveshost-hero-category {
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  font-size: 0.72rem;
  margin-bottom: 6px;
}

.aveshost-hero-category a {
  color: rgba(255, 255, 255, 0.9);
}

.aveshost-hero-meta {
  text-align: center;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
  font-size: 0.88rem;
}

.aveshost-hero-meta a {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
}

.aveshost-single-content a,
.aveshost-entry-content a,
.entry-content a {
  color: #1758ff;
  text-decoration: underline;
  text-decoration-color: rgba(23, 88, 255, 0.35);
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.aveshost-single-content a:hover,
.aveshost-entry-content a:hover,
.entry-content a:hover {
  color: #0f4bd1;
  text-decoration-color: rgba(23, 88, 255, 0.7);
}

.aveshost-main {
  padding: 5px 0 90px;
}

.aveshost-comments-section {
  padding-top: 20px;
}

.aveshost-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
}

@media (max-width: 980px) {
  .aveshost-layout {
    grid-template-columns: 1fr;
  }
}

.aveshost-card {
  background: var(--aveshost-card);
  border-radius: var(--aveshost-radius);
  box-shadow: var(--aveshost-shadow);
  border: 1px solid var(--aveshost-border);
}

.aveshost-card+.aveshost-card {
  margin-top: 24px;
}

.aveshost-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--aveshost-muted);
  font-size: 0.9rem;
}

.aveshost-sidebar {
  display: grid;
  gap: 18px;
}

.aveshost-footer {
  background: #081a3a;
  color: #dbe5ff;
  padding: 70px 0;
}

.aveshost-footer a {
  color: #dbe5ff;
}

.aveshost-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
}

.aveshost-footer .newsletter {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 24px;
}

.aveshost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--aveshost-blue);
  color: #fff;
  font-weight: 600;
  border: none;
}

.aveshost-button.is-outline {
  background: transparent;
  color: var(--aveshost-blue);
  border: 2px solid var(--aveshost-blue);
}

.aveshost-single-content {
  padding: 32px;
}

.aveshost-single-grid {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}

.aveshost-single-grid.no-share {
  grid-template-columns: minmax(0, 1fr) 320px;
}

.aveshost-single-grid.no-sidebar {
  grid-template-columns: 56px minmax(0, 1fr);
}

.aveshost-single-grid.no-share.no-sidebar {
  grid-template-columns: minmax(0, 1fr);
}

.aveshost-share-rail {
  position: sticky;
  top: 140px;
  display: grid;
  gap: 10px;
  justify-items: center;
}

.aveshost-share-link {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid #d9e3f4;
  color: var(--aveshost-blue);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
}

.aveshost-share-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.aveshost-share-square .aveshost-share-link {
  border-radius: 12px;
}

.aveshost-promo {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--aveshost-promo-bg, #eaf2ff) 0%, #f6f9ff 45%, rgba(23, 88, 255, 0.14) 100%);
  border-radius: 20px;
  padding: 24px;
  color: #0f172a;
  border: 1px solid rgba(23, 88, 255, 0.18);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14), inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.aveshost-promo::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -60px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(23, 88, 255, 0.35), transparent 70%);
  pointer-events: none;
}

.aveshost-promo::after {
  content: "";
  position: absolute;
  left: -40px;
  bottom: -50px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(12, 161, 255, 0.22), transparent 70%);
  pointer-events: none;
}

.aveshost-promo--sticky,
.aveshost-promo--floating {
  position: sticky;
  top: var(--aveshost-promo-offset, 120px);
}

.aveshost-sidebar.is-promo-only {
  position: sticky;
  top: var(--aveshost-promo-offset, 120px);
}

.aveshost-sidebar.is-promo-only .aveshost-promo--sticky,
.aveshost-sidebar.is-promo-only .aveshost-promo--floating {
  position: static;
}

.aveshost-promo--floating {
  animation: aveshost-promo-float 6s ease-in-out infinite;
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.18);
}

@keyframes aveshost-promo-float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .aveshost-promo--floating {
    animation: none;
  }
}

.aveshost-promo h3 {
  margin-top: 0;
  color: var(--aveshost-promo-accent, #1758ff);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.aveshost-promo-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--aveshost-promo-accent, #1758ff), #4da3ff);
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  font-weight: 600;
  margin-top: 12px;
  box-shadow: 0 12px 26px rgba(23, 88, 255, 0.35);
}

.aveshost-single-variant-flat .aveshost-card,
.aveshost-single-variant-flat .aveshost-promo {
  box-shadow: none;
}

.aveshost-single-variant-outline .aveshost-card,
.aveshost-single-variant-outline .aveshost-promo {
  box-shadow: none;
  border: 1px solid #d4def3;
  background: transparent;
}

.aveshost-single-variant-glass .aveshost-card,
.aveshost-single-variant-glass .aveshost-promo {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
  backdrop-filter: blur(16px);
}

@media (max-width: 1100px) {
  .aveshost-single-grid {
    grid-template-columns: 1fr 320px;
  }

  .aveshost-single-grid.no-share {
    grid-template-columns: 1fr 320px;
  }

  .aveshost-single-grid.no-sidebar,
  .aveshost-single-grid.no-share.no-sidebar {
    grid-template-columns: 1fr;
  }

  .aveshost-share-rail {
    position: static;
    grid-template-columns: repeat(auto-fit, minmax(40px, 1fr));
    grid-auto-flow: column;
    justify-content: start;
    margin-bottom: 16px;
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {

  .aveshost-single-grid,
  .aveshost-single-grid.no-share {
    grid-template-columns: 1fr;
  }

  .aveshost-share-rail {
    justify-content: center;
  }

  .aveshost-promo--sticky,
  .aveshost-promo--floating {
    position: static;
  }

  .aveshost-sidebar.is-promo-only {
    position: static;
  }
}

@media (max-width: 767px) {
  .aveshost-share-rail {
    position: static;
    top: auto;
    width: 100%;
    margin: 0 0 24px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    z-index: 1;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .aveshost-share-link {
    width: 44px;
    height: 44px;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
  }
}

.aveshost-single-content h2,
.aveshost-single-content h3,
.aveshost-single-content h4 {
  font-family: "Space Grotesk", "Onest", sans-serif;
  margin-top: 2rem;
}

.aveshost-entry-footer {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--aveshost-border);
}

.aveshost-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
}

.aveshost-tags a {
  background: #e9edf3;
  color: #0f172a;
  text-transform: uppercase;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 6px;
  text-decoration: none;
  border: 1px solid #e1e7ef;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.aveshost-tags a:hover {
  background: #dde6f3;
  border-color: #cfd8e6;
  color: #0b1f4a;
}

.aveshost-related-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.aveshost-related-title {
  text-align: center;
  font-family: "Space Grotesk", "Onest", sans-serif;
  font-size: 1.5rem;
  margin-bottom: 28px;
}

.aveshost-related-grid-wrap {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 320px;
  gap: 28px;
}

.aveshost-related-grid-wrap.no-share {
  grid-template-columns: minmax(0, 1fr) 320px;
}

.aveshost-related-grid-wrap.no-sidebar {
  grid-template-columns: 56px minmax(0, 1fr);
}

.aveshost-related-grid-wrap.no-share.no-sidebar {
  grid-template-columns: minmax(0, 1fr);
}

.aveshost-related-grid-wrap .aveshost-related-title,
.aveshost-related-grid-wrap .aveshost-related-grid {
  grid-column: 2;
}

.aveshost-comments {
  grid-column: 2;
}

.aveshost-comments .comments-area {
  background: transparent;
  border: none;
  padding: 0;
}

.aveshost-comments .comments-title,
.aveshost-comments .comment-reply-title {
  font-family: "Space Grotesk", "Onest", sans-serif;
  font-size: 1.1rem;
  margin: 0 0 18px;
  text-align: center;
  display: flex;
  align-items: center;
  gap: 18px;
  color: #0f172a;
}

.aveshost-comments .comment-reply-title::before,
.aveshost-comments .comment-reply-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #d7dde8;
}

.aveshost-comments .comment-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 26px;
}

.aveshost-comments .comment-list>li,
.aveshost-comments .commentlist>li {
  margin: 0 0 22px;
}

.aveshost-comments .comment-list>li:last-child,
.aveshost-comments .commentlist>li:last-child {
  margin-bottom: 0;
}

.aveshost-comments .comment-list .children {
  list-style: none;
  margin: 18px 0 0;
  --aveshost-reply-indent: 24px;
  padding: 0 0 0 var(--aveshost-reply-indent);
  border-left: 1px dashed #dbe3f1;
  display: grid;
  gap: 18px;
}

.aveshost-comments .comment-body {
  border: 1px solid #e6ecf6;
  border-radius: 18px;
  padding: 18px 20px;
  background: #ffffff;
  position: relative;
}

.aveshost-comments .comment-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 10px;
  color: #5b6b8a;
  font-size: 0.9rem;
}

.aveshost-comments .comment-author {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.aveshost-comments .comment-author img {
  border-radius: 50%;
  width: 36px;
  height: 36px;
}

.aveshost-comments .comment-author .fn {
  font-weight: 600;
  color: #0f172a;
}

.aveshost-comments .comment-author .fn::after {
  content: "";
}

.aveshost-comments .comment-metadata a {
  color: #5b6b8a;
  text-decoration: none;
}

.aveshost-comments .comment-metadata a:hover {
  color: #1758ff;
}

.aveshost-comments .comment-content p {
  margin: 0 0 10px;
}

.aveshost-comments .reply .comment-reply-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #1758ff;
  font-weight: 600;
  text-decoration: none;
}

.aveshost-comments .reply .comment-reply-link:hover {
  color: #0f3dcc;
}

.aveshost-comments .comment-awaiting-moderation {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: #b45309;
  background: #fef3c7;
  padding: 4px 10px;
  border-radius: 999px;
}

.aveshost-comments .bypostauthor>.comment-body {
  background: #eef5ff;
  border-color: #cfe0ff;
}

.aveshost-comments .comment-list .children .bypostauthor {
  margin-left: 18px;
}

.aveshost-comments .bypostauthor .comment-author .fn::after {
  content: "Author";
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #0f3dcc;
  background: #dbe7ff;
}

.aveshost-comments .comment-respond {
  margin-top: 24px;
}

.aveshost-comments .aveshost-comment-alert {
  margin: 0 0 16px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #fecdd3;
  background: #fff1f2;
  color: #9f1239;
  font-weight: 600;
}

.aveshost-comments .comment-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.aveshost-comments .comment-form-comment,
.aveshost-comments .comment-form-cookies-consent,
.aveshost-comments .form-submit,
.aveshost-comments .logged-in-as,
.aveshost-comments .comment-notes {
  grid-column: 1 / -1;
}

.aveshost-comments .comment-form input[type="text"],
.aveshost-comments .comment-form input[type="email"],
.aveshost-comments .comment-form input[type="url"],
.aveshost-comments .comment-form textarea {
  width: 100%;
  border-radius: 6px;
  border: 1px solid #1f2937;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 0.95rem;
  background: #ffffff;
}

.aveshost-comments .comment-form input:focus,
.aveshost-comments .comment-form textarea:focus {
  outline: none;
  border-color: #111827;
  box-shadow: none;
}

.aveshost-comments .form-submit .submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 999px;
  background: #1758ff;
  color: #ffffff;
  border: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.aveshost-comments .logged-in-as,
.aveshost-comments .comment-notes {
  color: #5b6b8a;
  font-size: 0.9rem;
}

@media (max-width: 700px) {
  .aveshost-comments .comment-form {
    grid-template-columns: 1fr;
  }

  .aveshost-comments .comment-list .children {
    --aveshost-reply-indent: 16px;
    padding-left: var(--aveshost-reply-indent);
  }
}

@media (max-width: 768px) {
  .aveshost-hero h1 {
    font-size: clamp(1.1rem, 5vw, 2rem);
  }

  .aveshost-hero {
    padding: 20px 0 25px;
  }

  .aveshost-hero-category {
    font-size: 0.59rem;
  }

  .aveshost-hero-meta {
    font-size: 0.61rem;
  }
}

.aveshost-related-grid-wrap.no-share .aveshost-related-title,
.aveshost-related-grid-wrap.no-share .aveshost-related-grid {
  grid-column: 1;
}

.aveshost-related-grid-wrap.no-share .aveshost-comments {
  grid-column: 1;
}

.aveshost-related-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #e6ecf6;
  box-shadow: none;
  display: grid;
}

.aveshost-related-media img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.aveshost-related-placeholder {
  width: 100%;
  height: 210px;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #1b2a6b, #5c8cff);
  letter-spacing: 0.08em;
}

.aveshost-related-body {
  padding: 18px 20px 24px;
  text-align: center;
}

.aveshost-related-card-title {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.5;
}

.aveshost-related-card-title a {
  color: #0f172a;
}

.aveshost-author-archive {
  padding: 60px 0 90px;
}

.aveshost-author-hero {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 20px;
  padding: 26px 28px;
  border: 1px solid #d6dbe6;
  border-radius: 6px;
  background: #ffffff;
  align-items: center;
}

.aveshost-author-hero-avatar img {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  object-fit: cover;
}

.aveshost-author-hero-content h1 {
  margin: 0 0 6px;
  font-size: 1.7rem;
  font-family: "Space Grotesk", "Onest", sans-serif;
}

.aveshost-author-hero-content p {
  margin: 0;
  color: #4b5563;
}

.aveshost-author-posts-header {
  margin: 36px 0 20px;
}

.aveshost-author-posts-header h2 {
  margin: 0 0 6px;
  font-size: 1.6rem;
  font-family: "Space Grotesk", "Onest", sans-serif;
}

.aveshost-author-posts-header p {
  margin: 0;
  color: #64748b;
}

.aveshost-author-posts-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.aveshost-author-card {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
  display: grid;
}

.aveshost-author-card-media img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.aveshost-author-card-placeholder {
  width: 100%;
  height: 190px;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #1b2a6b, #5c8cff);
  letter-spacing: 0.08em;
}

.aveshost-author-card-body {
  padding: 16px 18px 20px;
}

.aveshost-author-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.aveshost-author-tag {
  font-size: 0.72rem;
  font-weight: 600;
  border: 1px solid #1e40af;
  color: #1e40af;
  border-radius: 4px;
  padding: 2px 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.aveshost-author-card-title {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.aveshost-author-card-title a {
  color: #0f172a;
}

.aveshost-author-card-body p {
  margin: 0 0 16px;
  color: #4b5563;
}

.aveshost-author-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: #5b6b8a;
  flex-wrap: wrap;
}

.aveshost-author-card-meta img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
}

.aveshost-author-card-meta a {
  color: #0f172a;
  font-weight: 600;
}

.aveshost-category-archive {
  padding: 60px 0 90px;
}

.aveshost-category-header h1 {
  margin: 0 0 10px;
  font-size: 1.9rem;
  font-family: "Space Grotesk", "Onest", sans-serif;
}

.aveshost-category-header p {
  margin: 0 0 28px;
  color: #64748b;
}

.aveshost-category-grid {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.aveshost-category-card {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
  display: grid;
}

.aveshost-category-media img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.aveshost-category-placeholder {
  width: 100%;
  height: 190px;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #1b2a6b, #5c8cff);
  letter-spacing: 0.08em;
}

.aveshost-category-body {
  padding: 16px 18px 20px;
}

.aveshost-category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.aveshost-category-tag {
  font-size: 0.72rem;
  font-weight: 600;
  border: 1px solid #1e40af;
  color: #1e40af;
  border-radius: 4px;
  padding: 2px 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.aveshost-category-card-title {
  margin: 0 0 8px;
  font-size: 1.05rem;
  line-height: 1.4;
}

.aveshost-category-card-title a {
  color: #0f172a;
}

.aveshost-category-body p {
  margin: 0 0 16px;
  color: #4b5563;
}

.aveshost-category-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: #5b6b8a;
  flex-wrap: wrap;
}

.aveshost-category-meta img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
}

.aveshost-category-meta a {
  color: #0f172a;
  font-weight: 600;
}

.aveshost-404 {
  padding: 80px 0 120px;
}

.aveshost-404-card {
  background: radial-gradient(circle at top right, rgba(23, 88, 255, 0.12), transparent 55%), #ffffff;
  border: 1px solid rgba(227, 233, 245, 0.8);
  border-radius: 28px;
  padding: 56px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.1);
}

.aveshost-404-card::before,
.aveshost-404-card::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(69, 198, 255, 0.3), transparent 60%);
  top: -120px;
}

.aveshost-404-card::before {
  left: -90px;
}

.aveshost-404-card::after {
  right: -90px;
}

.aveshost-404-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: linear-gradient(135deg, #1758ff, #45c6ff);
  color: #ffffff;
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 18px;
  box-shadow: 0 14px 30px rgba(23, 88, 255, 0.35);
}

.aveshost-404 h1 {
  margin: 0 0 10px;
  font-family: "Space Grotesk", "Onest", sans-serif;
  font-size: clamp(2.1rem, 3.2vw, 3rem);
}

.aveshost-404 p {
  margin: 0 auto 28px;
  max-width: 520px;
  color: #5b6b8a;
}

.aveshost-404-actions {
  display: grid;
  gap: 16px;
  justify-items: center;
}

.aveshost-404-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  width: min(520px, 100%);
}

.aveshost-404-search input {
  border: 1px solid #d7e2f3;
  border-radius: 999px;
  padding: 13px 18px;
  font-size: 0.95rem;
  box-shadow: inset 0 0 0 1px rgba(23, 88, 255, 0.05);
}

.aveshost-404-search button {
  border-radius: 999px;
  border: none;
  background: #0f172a;
  color: #ffffff;
  padding: 12px 20px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.2);
}

@media (max-width: 600px) {
  .aveshost-404-card {
    padding: 32px 24px;
  }

  .aveshost-404-search {
    grid-template-columns: 1fr;
  }
}

.aveshost-pagination.is-modern {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.aveshost-pagination.is-modern .page-numbers a,
.aveshost-pagination.is-modern .page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid #d4def3;
  color: #0f172a;
  background: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
}

.aveshost-pagination.is-modern .page-numbers .current {
  background: #1758ff;
  border-color: #1758ff;
  color: #ffffff;
}

.aveshost-pagination.is-modern .page-numbers a:hover {
  border-color: #1758ff;
  color: #1758ff;
}

.aveshost-pagination.is-modern .page-numbers.dots {
  border: none;
  padding: 0 4px;
}

@media (max-width: 700px) {
  .aveshost-author-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .aveshost-author-hero-avatar {
    margin: 0 auto;
  }
}

.aveshost-author-section {
  padding: 24px 0 10px;
}

.aveshost-author-grid {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 320px;
  gap: 28px;
}

.aveshost-author-grid.no-share {
  grid-template-columns: minmax(0, 1fr) 320px;
}

.aveshost-author-grid.no-sidebar {
  grid-template-columns: 56px minmax(0, 1fr);
}

.aveshost-author-grid.no-share.no-sidebar {
  grid-template-columns: minmax(0, 1fr);
}

.aveshost-author-box {
  grid-column: 2;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 28px;
  border-radius: 18px;
  border: 1px solid #e6ecf6;
  background: #ffffff;
}

.aveshost-author-grid.no-share .aveshost-author-box {
  grid-column: 1;
}

.aveshost-author-avatar img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #f2f5fb;
}

.aveshost-author-content h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-family: "Space Grotesk", "Onest", sans-serif;
}

.aveshost-author-social {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.aveshost-author-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.aveshost-author-icons a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #0f5bd8;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.aveshost-author-icons svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

@media (max-width: 800px) {

  .aveshost-related-grid-wrap,
  .aveshost-related-grid-wrap.no-share,
  .aveshost-related-grid-wrap.no-sidebar,
  .aveshost-related-grid-wrap.no-share.no-sidebar {
    grid-template-columns: 1fr;
  }
}

.aveshost-rankmath-breadcrumbs {
  margin: 6px 0 6px;
  font-size: 0.78rem;
  color: #64748b;
  display: block;
  width: 100%;
  text-align: center;
}

.aveshost-rankmath-breadcrumbs .rank-math-breadcrumb {
  display: flex !important;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  justify-content: center !important;
  width: 100% !important;
  margin: 0 auto !important;
  float: none !important;
  font-size: 0.78rem !important;
}

.aveshost-rankmath-breadcrumbs .rank-math-breadcrumb,
.aveshost-rankmath-breadcrumbs .rank-math-breadcrumb * {
  font-size: 0.78rem !important;
  text-align: center;
}

.aveshost-rankmath-breadcrumbs a {
  color: #1e40af;
  text-decoration: none;
}

.aveshost-rankmath-breadcrumbs a:hover {
  text-decoration: underline;
}

#rank-math-toc,
.rank-math-toc,
.wp-block-rank-math-toc-block {
  background: #f6f9ff;
  border: 1px solid #e6eefb;
  border-radius: 12px;
  padding: 18px 20px;
  margin: 24px 0;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

#rank-math-toc>h2,
#rank-math-toc>h3,
#rank-math-toc>h4,
#rank-math-toc>h5,
#rank-math-toc>h6,
#rank-math-toc>p,
#rank-math-toc>div,
.rank-math-toc-title,
.wp-block-rank-math-toc-block>h2,
.wp-block-rank-math-toc-block>h3,
.wp-block-rank-math-toc-block>h4,
.wp-block-rank-math-toc-block>h5,
.wp-block-rank-math-toc-block>h6,
.wp-block-rank-math-toc-block>p,
.wp-block-rank-math-toc-block>div {
  font-family: "Space Grotesk", "Onest", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #0f172a;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

#rank-math-toc>h2::before,
#rank-math-toc>h3::before,
#rank-math-toc>h4::before,
#rank-math-toc>h5::before,
#rank-math-toc>h6::before,
#rank-math-toc>p::before,
#rank-math-toc>div::before,
.rank-math-toc-title::before,
.wp-block-rank-math-toc-block>h2::before,
.wp-block-rank-math-toc-block>h3::before,
.wp-block-rank-math-toc-block>h4::before,
.wp-block-rank-math-toc-block>h5::before,
.wp-block-rank-math-toc-block>h6::before,
.wp-block-rank-math-toc-block>p::before,
.wp-block-rank-math-toc-block>div::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: linear-gradient(135deg, #5b8cff, #1758ff);
  box-shadow: 0 6px 14px rgba(23, 88, 255, 0.35);
}

#rank-math-toc ul,
#rank-math-toc ol,
.rank-math-toc ul,
.rank-math-toc ol,
.wp-block-rank-math-toc-block ul,
.wp-block-rank-math-toc-block ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

#rank-math-toc li,
.rank-math-toc li,
.wp-block-rank-math-toc-block li {
  margin: 0;
}

#rank-math-toc a,
.rank-math-toc a,
.wp-block-rank-math-toc-block a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #1f2a44;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #edf2fb;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

#rank-math-toc a::before,
.rank-math-toc a::before,
.wp-block-rank-math-toc-block a::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #a3b9ff;
}

#rank-math-toc a:hover,
.rank-math-toc a:hover,
.wp-block-rank-math-toc-block a:hover {
  background: #eef4ff;
  color: #1758ff;
  border-color: #d7e6ff;
  transform: translateX(2px);
}

#rank-math-faq,
.rank-math-block,
.wp-block-rank-math-faq-block,
#rank-math-faq.rank-math-block {
  background: #f3f6fa !important;
  border-radius: 8px !important;
  padding: 12px !important;
  margin-bottom: 1.2rem !important;
}

.rank-math-list,
.rank-math-block ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

#rank-math-faq.rank-math-block .rank-math-list {
  display: block !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.rank-math-list-item,
.rank-math-block .rank-math-list-item,
#rank-math-faq.rank-math-block .rank-math-list-item {
  background: #ffffff !important;
  padding: 16px 18px 18px !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08) !important;
  margin-bottom: 14px !important;
  border-radius: 8px !important;
  border: 1px solid #eef2f7 !important;
}

.rank-math-question,
.rank-math-block .rank-math-question,
#rank-math-faq.rank-math-block .rank-math-question {
  border-bottom: 1px solid #eef2f7 !important;
  padding-bottom: 10px !important;
  margin-bottom: 12px !important;
  position: relative;
  padding-right: 36px !important;
  font-weight: 600 !important;
  color: #0f172a !important;
}

.rank-math-question::after,
.rank-math-block .rank-math-question::after,
#rank-math-faq.rank-math-block .rank-math-question::after {
  content: "?";
  position: absolute;
  right: 4px;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #94a3b8;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.rank-math-answer {
  color: #475569 !important;
}

.rank-math-answer p:last-child {
  margin-bottom: 0 !important;
}

@media (max-width: 640px) {
  .rank-math-toc {
    padding: 14px 16px;
    border-radius: 12px;
  }

  .rank-math-toc-title {
    font-size: 1rem;
  }

  .rank-math-faq-item {
    padding: 16px;
    border-radius: 8px;
  }
}

@media (max-width: 800px) {

  .aveshost-related-grid-wrap .aveshost-related-title,
  .aveshost-related-grid-wrap .aveshost-related-grid {
    grid-column: 1;
  }

  .aveshost-comments {
    grid-column: 1;
  }

  .aveshost-author-grid,
  .aveshost-author-grid.no-share,
  .aveshost-author-grid.no-sidebar,
  .aveshost-author-grid.no-share.no-sidebar {
    grid-template-columns: 1fr;
  }

  .aveshost-author-box {
    grid-column: 1;
  }

  .aveshost-author-box {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .aveshost-author-avatar {
    margin: 0 auto;
  }

  .aveshost-author-social {
    justify-content: center;
  }
}

@media (max-width: 1024px) {
  .aveshost-mega-nav-inner {
    display: flex;
    align-items: center;
    width: 100%;
    /* Ensure other elements don't block space */
  }

  .aveshost-mega-hamburger {
    margin-left: auto;
    order: 999;
    /* Ensure it stays at the end */
  }
}