/*
 Theme Name:   Twenty Twenty Child
 Theme URI:    https://wordpress.org/themes/twentytwenty/
 Description: Twenty Twenty Child Theme
 Author:       Your Name
 Author URI:   https://yourwebsite.com
 Template:     twentytwenty
 Version:      1.0.0
*/
/* Blog Detail Page Styling */

.single-post .entry-title {
    font-size: 36px;
    font-weight: 700;
    color: #000;
    margin-left: 0 !important;
    text-align: left;
}

.single-post .entry-content {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}
.singular .entry-header {
    padding-top: 0;
    padding-bottom: 0px;
    background-color: transparent;
}
.single-post img {
    border-radius: 10px;
    margin: 20px 0;
}
.single-post .featured-media-inner img {
    height: 350px !important;
    object-fit: cover;
}
.single-post .post-meta {
    font-size: 14px;
    color: #888;
    margin-bottom: 20px;
}
.entry-categories-inner a {
    display: none;
}
.singular .featured-media::before {
    background: transparent !important;
}
/* ===== MAIN CONTAINER ===== */
#site-content {
    background: transparent;
    padding: 40px 0;
    width: 55%;
}
.footer-nav-widgets-wrapper {
    width: 41%;
    padding-left: 30px !important;
}
/* ===== ARTICLE CARD ===== */
.post {
    max-width: 900px;
    margin: auto;
    background: transparent;
    padding: 30px;
    border-radius: 14px;
    /* box-shadow: 0 10px 30px rgba(0,0,0,0.05); */
}
/* ===== HEADER ===== */
.entry-header {
  text-align: center;
  margin-bottom: 20px;
}

.entry-title {
  font-size: 34px;
  font-weight: 700;
  margin: 15px 0;
}

.entry-categories a {
  background: linear-gradient(135deg, #00439d 0%, #0066cc 100%);
  color: #fff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 13px;
  text-decoration: none;
}

/* ===== META ===== */
.post-meta {
  display: flex;
  justify-content: center;
  gap: 20px;
  list-style: none;
  padding: 0;
  font-size: 14px;
  color: #777;
}

.post-meta a {
  color: linear-gradient(135deg, #00439d 0%, #0066cc 100%);
  text-decoration: none;
}

/* ===== FEATURED IMAGE ===== */
.featured-media img {
  width: 100%;
  border-radius: 12px;
  margin: 20px 0;
}

/* ===== CONTENT ===== */
.entry-content {
  font-size: 16px;
  line-height: 1.8;
}

.entry-content p {
  margin-bottom: 15px;
}

.entry-content h2,
.entry-content h3 {
  margin-top: 25px;
  font-weight: 600;
}
ul.wp-block-latest-posts__list {
    padding-left: 0;
}
aside.footer-widgets-outer-wrapper {
    padding-top: 0;
    
}
.footer-widgets-wrapper .footer-widgets {
    margin: 0;
    width: 100%;
}
.widget_block {
    padding: 20px !important;
}
.wp-block-group {
    margin-top: 0 !important;
}
/* ===== EDIT LINK ===== */
.post-meta-edit-link-wrapper {
  margin-top: 20px;
  text-align: right;
}
.cenai-home img {
    max-width: 100%;
    height: auto;
    margin: 0;
}

/* ===== PAGINATION ===== */
.pagination-single {
    margin: 40px auto;
    max-width: 900px;
    display: none;
}

.pagination-single a {
  text-decoration: none;
  font-weight: 500;
  color: #333;
}

.pagination-single a:hover {
  color: linear-gradient(135deg, #00439d 0%, #0066cc 100%);
}

/* ===== COMMENTS ===== */
.comments-wrapper {
  max-width: 900px;
  margin: 40px auto;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.comment-reply-title {
  font-size: 24px;
  margin-bottom: 15px;
}

.comment-form textarea {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px;
  margin-top: 10px;
}

.comment-form input.submit {
  background: linear-gradient(135deg, #00439d 0%, #0066cc 100%);
  color: #fff;
  border: none;
  padding: 10px 20px;
  margin-top: 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.comment-form input.submit:hover {
  background: linear-gradient(135deg, #00439d 0%, #0066cc 100%);
}

/* ===== FOOTER WIDGETS (SIDEBAR STYLE) ===== */
.footer-nav-widgets-wrapper {
    background: transparent;
    padding: 40px 0;
}

.footer-widgets-wrapper {
  display: block;
  gap: 30px;
  /* max-width: 1100px; */
  margin: auto;
}

.footer-widgets {
  flex: 1;
}

/* Widget Box */
.widget {
    background: #fbfafa;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}
ul.wp-block-latest-posts__list li a {
    font-size: 18px;
    font-weight: 600;
}
/* Widget Titles */
.widget h2 {
  font-size: 18px;
  margin-bottom: 10px;
}
.comment-reply-title {
    text-align: justify !important;
}
/* Lists */
.widget ul,
.widget ol {
  padding-left: 15px;
}

.widget li {
  margin-bottom: 8px;
}

.widget a {
  text-decoration: none;
  color: #333;
}

.widget a:hover {
  color: linear-gradient(135deg, #00439d 0%, #0066cc 100%);
}

/* Search */
.wp-block-search__inside-wrapper {
  display: flex;
  gap: 10px;
}

.wp-block-search__input {
  flex: 1;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 6px;
}

.wp-block-search__button {
  background: linear-gradient(135deg, #00439d 0%, #0066cc 100%);
  color: #fff;
  border: none;
  padding: 8px 15px;
  border-radius: 6px;
  cursor: pointer;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .post {
    padding: 20px;
  }

  .footer-widgets-wrapper {
    flex-direction: column;
  }

  .post-meta {
    flex-direction: column;
    gap: 10px;
  }
}
.singular .featured-media-inner {
    position: relative;
    left: inherit !important;
    width: 100vw;
}
.singular .section-inner {
    max-width: 70rem !important;
    box-shadow: none;
    margin-left: 0;
}
.post-inner {
    padding-top: 30px;
}

.comment-respond p.comment-notes, .comment-respond p.logged-in-as {
    margin: 0 !important;
}
.single-post .post-meta {
    display: none;
}
p.logged-in-as {
    display: none;
}
.form-submit input#submit {
    background-color: #0050ae;
    border-radius: 10px;
}
.post-inner .entry-content p {
    font-size: 18px;
    font-family: 'Poppins', sans-serif;
    margin-left: 0;
}
.blogers-mains {
    display: flex;
    flex-wrap: wrap;
    background-color: #fff;
}
.section-inner {
    margin-left: auto;
    margin-right: auto;
    max-width: 69rem;
    width: calc(100% - 4rem);
}

/* ===== SEARCH RESULTS PAGE ===== */
.cenai-search-page-wrapper {
    background: #f8f9fb;
    min-height: 100vh;
}

.cenai-search-results-container {
    padding-top: 40px;
    padding-bottom: 60px;
}

/* Ensure cards look good in the search grid */
.cenai-search-results-container .cenai-at-tool-card,
.cenai-search-results-container .cenai-blog-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 0px;
}

.cenai-search-results-container .cenai-at-tool-card:hover,
.cenai-search-results-container .cenai-blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 67, 157, 0.1);
}

.archive-header.header-footer-group {
    background: #fff;
    padding: 60px 0;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.archive-title .color-accent {
    color: #00439d;
}

/* Simplify Search Cards: Only Title (Hiding Info + Buttons) */
.cenai-search-results-container .cenai-at-tool-icon,
.cenai-search-results-container .cenai-at-tool-tags,
.cenai-search-results-container .cenai-at-tool-desc,
.cenai-search-results-container .cenai-blog-card-img-wrap,
.cenai-search-results-container .cenai-blog-card-meta,
.cenai-search-results-container .cenai-blog-card-excerpt,
.cenai-search-results-container .cenai-blog-card-tag,
.cenai-search-results-container .cenai-at-tool-btn,
.cenai-search-results-container .cenai-blog-card-cta {
    display: none !important;
}

.cenai-search-results-container .cenai-at-tool-card,
.cenai-search-results-container .cenai-blog-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px 24px;
    height: 100%;
    min-height: 140px;
    text-align: center;
}

.cenai-search-results-container .cenai-at-tool-name,
.cenai-search-results-container .cenai-blog-card-title {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.4;
}

.cenai-search-results-container .cenai-at-tool-name a,
.cenai-search-results-container .cenai-blog-card-title {
    color: #111;
    transition: color 0.2s ease;
}

.cenai-search-results-container .cenai-at-tool-card:hover .cenai-at-tool-name a,
.cenai-search-results-container .cenai-blog-card:hover .cenai-blog-card-title {
    color: #00439d;
    text-decoration: underline;
}