@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");
/*
Theme Name: GeneratePress Child
Template: generatepress
Version: 3.14.4
*/

/* ===== GLOBAL DARK THEME ===== */
body {
    background: #080808 !important;
    color: #e0e0e0 !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    font-weight: 400;
}

/* ===== CONTAINER WIDTH (match Namify) ===== */
.grid-container {
  max-width: 1024px !important;
}

/* ===== BLOG LISTING - CARD GRID ===== */
body.blog .site-main,
body.archive .site-main {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 30px !important;
}
body.blog .site-main .paging-navigation,
body.blog .site-main .navigation,
body.archive .site-main .paging-navigation,
body.archive .site-main .navigation { grid-column: 1 / -1; }

/* ===== CARD STYLE (no hover) ===== */
body.blog .site-main article,
body.archive .site-main article {
  background: #080808 !important;
  border: 1px solid #171717;
  border-radius: 8px;
  overflow: hidden;
}

/* ===== INSIDE ARTICLE ===== */
body.blog .site-main .inside-article,
body.archive .site-main .inside-article {
  display: flex;
  flex-direction: column;
  padding: 0 0 20px 0 !important;
  margin: 0 !important;
  position: relative;
  background: transparent !important;
}

body.blog .site-main .post-image,
body.archive .site-main .post-image {
  order: -1;
  margin: 0 !important;
  padding: 0 !important;
}
body.blog .site-main .post-image img,
body.archive .site-main .post-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
body.blog .site-main .post-image a,
body.archive .site-main .post-image a {
  display: block;
  position: relative;
}
body.blog .site-main .post-image a::after,
body.archive .site-main .post-image a::after {
  display: none;
}

/* ===== CATEGORY PILL ===== */
body.blog .site-main footer.entry-meta,
body.archive .site-main footer.entry-meta {
  position: static !important;
  margin-top: 0 !important;
  padding: 15px 20px 0 !important;
  background: none !important;
  box-shadow: none !important;
  order: 0;
}
body.blog .site-main footer.entry-meta .cat-links a,
body.archive .site-main footer.entry-meta .cat-links a {
  display: inline-block;
  background: #1e1f1f;
  color: #828787 !important;
  border: 1px solid #1e1f1f;
  border-radius: 25px;
  padding: 5px 14px;
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
  text-transform: none;
}
body.blog .site-main footer.entry-meta .cat-links,
body.archive .site-main footer.entry-meta .cat-links {
  color: transparent !important;
  font-size: 0;
}
body.blog .site-main footer.entry-meta .gp-icon,
body.archive .site-main footer.entry-meta .gp-icon { display: none; }
body.blog .site-main footer.entry-meta .comments-link,
body.archive .site-main footer.entry-meta .comments-link { display: none; }

/* Reorder: image first, then category, then title */
body.blog .site-main .post-image,
body.archive .site-main .post-image { order: -2; }
body.blog .site-main footer.entry-meta,
body.archive .site-main footer.entry-meta { order: -1; }
body.blog .site-main .entry-header,
body.archive .site-main .entry-header { order: 0; }
body.blog .site-main .entry-summary,
body.archive .site-main .entry-summary { order: 1; }

/* ===== HEADER ===== */
body.blog .site-main .entry-header,
body.archive .site-main .entry-header {
  padding: 15px 20px 0 !important;
  margin: 0 !important;
  order: 0;
}
body.blog .site-main .entry-header .entry-meta,
body.archive .site-main .entry-header .entry-meta { display: none; }
body.blog .site-main .entry-header .entry-title,
body.archive .site-main .entry-header .entry-title {
    font-size: 19px;
    line-height: 24px;
    margin: 0 0 8px 0 !important;
    font-weight: 600;
    letter-spacing: -0.012em;
}
body.blog .site-main .entry-header .entry-title a,
body.archive .site-main .entry-header .entry-title a {
  color: #f9fafb;
  text-decoration: none;
}
body.blog .site-main .entry-header .entry-title a:hover,
body.archive .site-main .entry-header .entry-title a:hover { color: #22c55e; }

/* ===== EXCERPT ===== */
body.blog .site-main .entry-summary,
body.archive .site-main .entry-summary {
  padding: 12px 20px 0 !important;
  margin: 0 !important;
  font-size: 14px;
  color: #898e8e;
  line-height: 20px;
  letter-spacing: -0.01em;
}

body.blog .site-main .entry-summary p,
body.archive .site-main .entry-summary p {
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

/* ===== READ MORE BUTTON ===== */
body.blog .site-main .entry-summary a.read-more,
body.blog .site-main .entry-summary a[class*="read-more"],
body.blog .site-main a[title*="Read more"],
body.archive .site-main .entry-summary a.read-more,
body.archive .site-main a[title*="Read more"] {
  display: block !important;
  clear: both;
  width: fit-content;
  margin: 15px 0 20px 0 !important;
  padding: 12px 16px;
  background: #080808 !important;
  color: #898e8e !important;
  border: 1px solid #262626;
  border-radius: 5px;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.012em;
  cursor: pointer;
  transition: all 0.3s;
}
body.blog .site-main .entry-summary a.read-more:hover,
body.blog .site-main .entry-summary a[class*="read-more"]:hover,
body.blog .site-main a[title*="Read more"]:hover,
body.archive .site-main .entry-summary a.read-more:hover,
body.archive .site-main a[title*="Read more"]:hover {
    background-color: #75de82 !important;
    color: #000000 !important;
    border-color: #75de82 !important;
}

/* ===== SINGLE POST ===== */
body.single-post .inside-article {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
}
body.single-post .entry-header .entry-title {
  font-size: 2rem;
  font-weight: 700;
  color: #f0f0f0;
  margin-bottom: 10px;
}
body.single-post .entry-meta {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 20px;
}
body.single-post .entry-meta a { color: #22c55e; }
body.single-post .entry-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #ccc;
}
body.single-post .entry-content h2,
body.single-post .entry-content h3,
body.single-post .entry-content h4 { color: #f0f0f0; }
body.single-post .entry-content a { color: #22c55e; }
body.single-post .entry-content img,
body.single-post .post-image img,
body.single-post .featured-image img {
  width: 100%;
  border-radius: 8px;
}
body.single-post .featured-image { margin-bottom: 20px !important; }
body.single-post .entry-content figure { margin: 20px 0 !important; }

/* ===== SIDEBAR ===== */
#right-sidebar .widget,
.sidebar .widget {
  background: #080808 !important;
  border: 1px solid #171717;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: none;
}
#right-sidebar #right-sidebar .widget .wp-block-heading,
#right-sidebar .widget-title,
.sidebar .widget-title {
  font-size: 19px !important;
  font-weight: 600 !important;
  line-height: 24px !important;
  letter-spacing: -0.012em !important;
  color: #f0f0f0;
  margin-bottom: 15px;
}
#right-sidebar .widget a,
.sidebar .widget a { color: #ccc; }
#right-sidebar .widget a:hover,
.sidebar .widget a:hover { color: #22c55e; text-decoration: underline !important; }
.widget_search .search-field {
  border-radius: 25px;
  border: 1px solid #333;
  padding: 10px 15px;
  background-color: #080808;
  color: #ccc;
}
.widget_search .search-submit,
.widget_search button {
  background: #22c55e !important;
  color: #fff !important;
  border: none;
  border-radius: 50%;
  width: 40px; height: 40px;
  cursor: pointer;
}
.widget_recent_entries {
  background: #0a1a10 !important;
  border-color: #1a3a25 !important;
}

/* ===== PAGINATION ===== */
body.blog .site-main .paging-navigation a,
body.archive .site-main .paging-navigation a,
body.blog .site-main .navigation a,
body.archive .site-main .navigation a { color: #22c55e; }

/* ===== SITE HEADER ===== */
.site-header {
  background: #080808 !important;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  height: 68px;
  display: flex;
  align-items: center;
}
.inside-header {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 !important;
}
@media (max-width: 768px) {
  .inside-header {
    padding: 0 15px !important;
  }
}
.site-branding .main-title,
.site-branding .site-title {
  margin: 0 !important;
}
.site-branding .main-title a,
.site-branding .site-title a {
  display: block;
  width: 154px !important;
  height: 67px !important;
  background: url('https://namify-api.b-cdn.net/assets/hero/navbar.svg') no-repeat center;
  background-size: contain;
  font-size: 0 !important;
  color: transparent !important;
  text-decoration: none;
}
.site-branding p.site-title {
  margin: 0 !important;
}
.main-navigation,
.mobile-menu-control-wrapper {
  display: none !important;
}

/* ===== SITE FOOTER ===== */
.site-footer {
  background: #080808 !important;
  border-top: none !important;
  padding: 0 25px 20px !important;
  color: #898e8e;
  font-size: 14px;
}
.site-footer .inside-site-info {
  max-width: 1024px;
  margin: 0 auto;
  padding: 20px 0 0 !important;
  border-top: 1px solid;
    border-image-source: linear-gradient(90deg, rgba(34, 34, 34, .2) 0%, rgba(196, 196, 196, .1) 40.28%, rgba(200, 200, 200, .1) 59.81%, rgba(34, 34, 34, .2) 100%);
    border-image-slice: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.site-footer a {
  color: #898e8e !important;
  text-decoration: none !important;
  font-size: 14px;
}
.site-footer a:hover {
  color: #f0f0f0 !important;
}
.site-footer .copyright-bar {
  font-size: 14px;
  color: #898e8e;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  body.blog .site-main,
  body.archive .site-main {
    grid-template-columns: 1fr !important;
    padding: 0 15px !important;
  }
  body.blog .site-main .entry-header .entry-title,
  body.archive .site-main .entry-header .entry-title {
    font-size: 16px !important;
    line-height: 19px !important;
  }
  body.blog .site-main .entry-summary,
  body.archive .site-main .entry-summary {
    font-size: 13px !important;
    line-height: 19px !important;
  }
}
.inside-article footer.entry-meta { margin-top: 0 !important; }

.site-info a, .site-footer .site-info a, .site-footer .inside-site-info a, .site-footer .copyright-bar a { color: #898e8e !important; text-decoration: none !important; }
.site-info a:hover, .site-footer a:hover { color: #f0f0f0 !important; }

/* Footer link color override */
.site-footer .site-info .copyright-bar a {
    color: #898e8e !important;
}
.site-footer .site-info .copyright-bar a:hover {
    color: #f9fafb !important;
}
.site-info {
    background: #080808 !important;
}

.copyright-bar {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100%;
}
.copyright-bar .footer-left a {
    color: #898e8e !important;
}
.copyright-bar .footer-left a:hover {
    color: #f9fafb !important;
}

.site-footer {
    margin-top: 40px !important;
}

.site-content {
    padding-top: 30px !important;
}

/* ===== SIDEBAR STYLING ===== */
.sidebar .widget {
    background: #080808 !important;
    border: 1px solid #1e1f1f !important;
    border-radius: 8px !important;
}

/* Search label */
.wp-block-search__label {
    color: #898e8e !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    display: block !important; margin-bottom: 12px !important;
}

/* Search input */
.wp-block-search__input {
    background: #1a1a1a !important;
    border: 1px solid #2a2a2a !important;
    color: #f9fafb !important;
    border-radius: 6px !important;
    padding: 8px 12px !important;
    font-size: 14px !important;
}
.wp-block-search__input::placeholder {
    color: #555 !important;
}
.wp-block-search__input:focus {
    border-color: #444 !important;
    outline: none !important;
}

/* Search button — icon only */
.wp-block-search__button {
    background: #1a1a1a !important;
    border: 1px solid #2a2a2a !important;
    border-radius: 6px !important;
    color: #898e8e !important;
    font-size: 0 !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    padding: 0 !important;
    cursor: pointer;
    position: relative !important;
}
.wp-block-search__button::after {
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    border: 2px solid #898e8e;
    border-radius: 50%;
    position: absolute;
    top: 9px;
    left: 9px;
}
.wp-block-search__button::before {
    content: '';
    display: block;
    width: 2px;
    height: 8px;
    background: #898e8e;
    position: absolute;
    bottom: 8px;
    right: 12px;
    transform: rotate(-45deg);
}
.wp-block-search__button:hover {
    border-color: #444 !important;
}

/* Widget headings */
.sidebar .wp-block-heading {
    color: #f9fafb !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    margin-bottom: 12px !important;
}

/* Sidebar links */
#right-sidebar .widget li,
.sidebar .widget li {
    line-height: 20px !important;
    padding-bottom: 12px !important;
    margin-bottom: 13px !important;
}
.sidebar a {
    color: #898e8e !important;
    text-decoration: none !important;
    font-size: 14px !important;
    line-height: 20px !important;
}
.sidebar a:hover {
    color: #87b6f7 !important;
    text-decoration: underline !important;
}

/* Recent posts list spacing */
.sidebar .wp-block-latest-posts li {
    margin-bottom: 10px !important;
    padding-bottom: 10px !important;
    border-bottom: 1px solid #1e1f1f !important;
}
.sidebar .wp-block-latest-posts li:last-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.sidebar .widget .wp-block-search__button.wp-element-button,
.wp-block-search__button.wp-element-button {
    background: #1a1a1a !important;
    background-color: #1a1a1a !important;
    border: 1px solid #2a2a2a !important;
    border-radius: 6px !important;
    color: transparent !important;
}

body.author .page-header {
    display: none !important;
}
/* Author byline - plain text, not clickable */
.entry-meta .byline a {
  pointer-events: none !important;
  color: inherit !important;
  text-decoration: none !important;
}


/* Category/archive page header */
.page-header {
    background: transparent !important;
    border: none !important;
    padding: 0 0 10px 0 !important;
    margin-bottom: 10px !important;
    grid-column: 1 / -1 !important;
}
.page-header .page-title {
    color: #f9fafb !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    margin: 0 !important;
    letter-spacing: -0.02em !important;
}

/* Single post footer meta (categories, tags) */
.entry-meta.footer-entry-meta a,
.post-categories a,
.cat-links a,
.tag-links a {
    color: #898e8e !important;
}
.entry-meta.footer-entry-meta a:hover,
.cat-links a:hover,
.tag-links a:hover {
    color: #87b6f7 !important;
}

/* Post navigation (prev/next) */
.post-navigation a,
.paging-navigation a,
.nav-links a {
    color: #898e8e !important;
}
.post-navigation a:hover,
.nav-links a:hover {
    color: #87b6f7 !important;
}

/* Gap between post content and footer meta */
.entry-content {
    margin-bottom: 20px !important;
}
.inside-article footer.entry-meta {
    padding-top: 20px !important;
    border-top: 1px solid #1e1f1f !important;
}

/* ===== GLOBAL DARK THEME ===== */
.site-content .inside-article {
    background: transparent !important;
    color: #e0e0e0 !important;
}
.inside-article .entry-title,
.inside-article .entry-title a {
    color: #f9fafb !important;
}
.inside-article .entry-meta {
    color: #898e8e !important;
}
.inside-article .entry-content,
.inside-article .entry-content p,
.inside-article .entry-content li,
.inside-article .entry-content h2,
.inside-article .entry-content h3,
.inside-article .entry-content h4 {
    color: #e0e0e0 !important;
}
.inside-article .entry-content a {
    color: #87b6f7 !important;
}
.inside-article .entry-content a:hover {
    color: #aecdf9 !important;
}
.site-content,
.site-main,
.content-area {
    background: transparent !important;
}
#page {
    background: #080808 !important;
}

/* Read more link on search/archive pages only */
body.search .entry-summary a.read-more,
body.search .entry-content a.read-more {
    display: inline-block !important;
    background: transparent !important;
    color: #898e8e !important;
    border: none !important;
    padding: 0 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    text-decoration: underline !important;
    margin-top: 10px !important;
    margin-bottom: 30px !important;
}
body.search .entry-summary a.read-more:hover,
body.search .entry-content a.read-more:hover {
    color: #87b6f7 !important;
    background: transparent !important;
}

/* Single post content styling */
body.single-post .featured-image {
    margin-top: 20px !important;
    margin-bottom: 20px !important;
}
body.single-post .entry-content h2 {
    font-size: 19px !important;
    line-height: 24px !important;
    font-weight: 600 !important;
    letter-spacing: -0.012em !important;
    color: #f9fafb !important;
    margin-top: 20px !important;
    margin-bottom: 20px !important;
}
body.single-post .entry-content p {
    font-size: 14px !important;
    line-height: 20px !important;
    font-weight: 400 !important;
    letter-spacing: -0.01em !important;
    color: #898e8e !important;
    margin-bottom: 0.8em !important;
}
body.single-post .entry-content h2,
body.single-post .entry-content h3 {
    margin-top: 2em !important;
    margin-bottom: 0.8em !important;
    line-height: 1.3 !important;
}
body.single-post .entry-header {
    margin-bottom: 24px !important;
}
body.single-post .entry-title {
    font-family: Inter, sans-serif !important;
    font-weight: 500 !important;
    font-size: 32px !important;
    line-height: 36px !important;
    letter-spacing: -0.05em !important;
    margin-bottom: 15px !important;
    color: #f9fafb !important;
    text-align: left !important;
}
body.single-post .entry-meta {
    margin-bottom: 20px !important;
}

/* ===== SIDEBAR OVERRIDES ===== */
.sidebar .widget,
#right-sidebar .widget {
    background-color: #080808 !important;
}
.sidebar .widget .wp-block-heading,
#right-sidebar .widget .wp-block-heading {
    font-size: 19px !important;
    line-height: 24px !important;
    letter-spacing: -0.012em !important;
    font-weight: 600 !important;
}

#right-sidebar .widget li:last-child,
.sidebar .widget li:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* ===== MOBILE OVERRIDES (must be last) ===== */
@media (max-width: 768px) {
  .site-header .inside-header {
    padding: 0 15px !important;
  }
}
