/*
Theme Name:   Hello Elementor Child
Theme URI:    https://elementor.com/
Description:  Child theme for Hello Elementor with Bootstrap support
Author:       Your Name
Template:     hello-elementor
Version:      2.0.0
Text Domain:  hello-elementor-child
*/

/* ========================================
   Post Template Styles (Bootstrap Compatible)
   ======================================== */

/* Container */
.type-post.container {
  padding-top: 40px;
  padding-bottom: 40px;
}

/* Entry Title */
.entry-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #14256b;
  line-height: 1.3;
  margin-bottom: 20px;
  word-wrap: break-word;
}

/* Breadcrumbs */
#breadcrumbs {
  font-size: 0.875rem;
  color: #6c757d;
  margin-bottom: 20px;
  text-align: right;
}

#breadcrumbs a {
  color: #14256b;
  text-decoration: none;
  transition: color 0.3s ease;
}

#breadcrumbs a:hover {
  color: #0d1a4a;
  text-decoration: underline;
}

/* Article */
article {
  background: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
}

/* Post Excerpt */
.post-excerpt {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #495057;
  font-style: italic;
  padding: 20px;
  background: #f8f9fa;
  border-left: 4px solid #14256b;
  margin-bottom: 30px;
  border-radius: 4px;
}

.post-excerpt p {
  margin: 0;
}

/* Post Thumbnail */
.post-thumbnail {
  margin-bottom: 30px;
}

.post-thumbnailimg {
  margin-bottom: 15px;
  overflow: hidden;
  border-radius: 8px;
}

.post-thumbnailimg img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.post-thumbnailimg:hover img {
  transform: scale(1.02);
}

/* Thumbnail Caption */
.thumbcaption {
  font-size: 0.875rem;
  color: #6c757d;
  font-style: italic;
  display: block;
  padding-top: 10px;
}

/* Social Share */
.socialshare {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-top: 10px;
}

.socialshare .a2a_kit {
  display: flex;
  gap: 8px;
}

/* Post Content */
.post-content {
  font-size: 1rem;
  line-height: 1.8;
  color: #333333;
}

.post-content p {
  margin-bottom: 1.5rem;
}

.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
  color: #14256b;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.post-content h2 {
  font-size: 1.875rem;
  border-bottom: 2px solid #14256b;
  padding-bottom: 10px;
}

.post-content h3 {
  font-size: 1.5rem;
}

.post-content h4 {
  font-size: 1.25rem;
}

.post-content a {
  color: #14256b;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.post-content a:hover {
  color: #0d1a4a;
}

.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 1.5rem 0;
}

.post-content ul,
.post-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.post-content li {
  margin-bottom: 0.5rem;
}

.post-content blockquote {
  border-left: 4px solid #14256b;
  padding: 15px 20px;
  margin: 1.5rem 0;
  background: #f8f9fa;
  font-style: italic;
  color: #495057;
  border-radius: 4px;
}

.post-content code {
  background: #f4f4f4;
  padding: 2px 6px;
  border-radius: 3px;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
  color: #d63384;
}

.post-content pre {
  background: #2d2d2d;
  color: #f8f8f2;
  padding: 20px;
  border-radius: 4px;
  overflow-x: auto;
  margin: 1.5rem 0;
}

.post-content pre code {
  background: none;
  color: inherit;
  padding: 0;
}

/* Sidebar Styling */
.type-post .col-md-3 aside,
.type-post .col-md-3 #secondary {
  position: sticky;
  top: 20px;
}

/* Widget Styles */
.widget {
  background: #ffffff;
  padding: 20px;
  margin-bottom: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.widget-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #14256b;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #14256b;
}

.widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.widget ul li {
  padding: 8px 0;
  border-bottom: 1px solid #e9ecef;
}

.widget ul li:last-child {
  border-bottom: none;
}

.widget ul li a {
  color: #333333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.widget ul li a:hover {
  color: #14256b;
}

/* Responsive Design */
@media (max-width: 768px) {
  .type-post.container {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .entry-title {
    font-size: 1.875rem;
  }

  #breadcrumbs {
    text-align: left;
    margin-top: 15px;
  }

  article {
    padding: 20px;
  }

  .post-excerpt {
    font-size: 1rem;
    padding: 15px;
  }

  .post-content h2 {
    font-size: 1.5rem;
  }

  .post-content h3 {
    font-size: 1.25rem;
  }

  .socialshare {
    justify-content: flex-start;
    margin-top: 10px;
  }

  .type-post .col-md-3 aside,
  .type-post .col-md-3 #secondary {
    position: static;
    margin-top: 30px;
  }
}

@media (max-width: 576px) {
  .entry-title {
    font-size: 1.5rem;
  }

  .post-content {
    font-size: 0.9375rem;
  }

  .thumbcaption {
    font-size: 0.8125rem;
  }
}