html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/* Blog Post Article Styles */
.post-article {
  max-width: 900px;
  margin: 0 auto;
  color: #333;
  line-height: 1.8;
}

.post-article .post-wrapper {
  padding: 0;
}

.post-article .post-breadcrumb {
  font-size: 14px;
  color: #888;
  margin-bottom: 20px;
}

.post-article .post-breadcrumb a {
  color: #092ef1;
  text-decoration: none;
}

.post-article .post-header {
  margin-bottom: 30px;
}

.post-article .post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 15px;
}

.post-article .post-tag {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}

.post-article .post-tag-blue { background: #092ef1; }
.post-article .post-tag-red { background: #e74c3c; }
.post-article .post-tag-green { background: #27ae60; }
.post-article .post-tag-purple { background: #8e44ad; }

.post-article .post-date {
  font-size: 13px;
  color: #999;
}

.post-article .post-title {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.3;
  margin-bottom: 15px;
}

.post-article .post-subtitle {
  font-size: 17px;
  color: #555;
  line-height: 1.7;
  border-left: 4px solid #092ef1;
  padding-left: 15px;
}

.post-article .post-body h2 {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a2e;
  margin-top: 35px;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 2px solid #f0f0f0;
}

.post-article .post-body h3 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin-top: 25px;
  margin-bottom: 10px;
}

.post-article .post-body p {
  font-size: 16px;
  color: #444;
  margin-bottom: 15px;
}

.post-article .post-body blockquote {
  background: #f8f9ff;
  border-left: 4px solid #092ef1;
  padding: 20px 25px;
  margin: 25px 0;
  font-style: italic;
  color: #555;
  border-radius: 0 8px 8px 0;
}

.post-article .post-body ul,
.post-article .post-body ol {
  padding-left: 25px;
  margin-bottom: 20px;
}

.post-article .post-body li {
  margin-bottom: 8px;
  font-size: 16px;
  color: #444;
}

.post-article .post-body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 20px 0;
}

.post-article .post-body a {
  color: #092ef1;
  text-decoration: none;
}

.post-article .post-body a:hover {
  text-decoration: underline;
}

/* Blog Tables */
.post-article .table-wrapper {
  overflow-x: auto;
  margin: 25px 0;
}

.post-article .custom-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.post-article .custom-table thead {
  background: #092ef1;
  color: #fff;
}

.post-article .custom-table th {
  padding: 12px 18px;
  font-weight: 600;
  font-size: 14px;
  text-align: left;
}

.post-article .custom-table td {
  padding: 12px 18px;
  font-size: 14px;
  color: #444;
  border-bottom: 1px solid #eee;
}

.post-article .custom-table tbody tr:hover {
  background: #f8f9ff;
}

/* Blog detail text area - for content without post-article wrapper */
.blog-single-content .post-details .text {
  color: #333;
}

.blog-single-content .post-details .text h1,
.blog-single-content .post-details .text h2 {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a2e;
  margin-top: 30px;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 2px solid #f0f0f0;
}

.blog-single-content .post-details .text h3 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin-top: 25px;
  margin-bottom: 10px;
}

.blog-single-content .post-details .text p {
  font-size: 16px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 15px;
}

.blog-single-content .post-details .text blockquote {
  background: #f8f9ff;
  border-left: 4px solid #092ef1;
  padding: 20px 25px;
  margin: 25px 0;
  font-style: italic;
  color: #555;
  border-radius: 0 8px 8px 0;
}

.blog-single-content .post-details .text strong {
  color: #1a1a2e;
}

.blog-single-content .post-details .text table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  border-radius: 8px;
  overflow: hidden;
}

.blog-single-content .post-details .text thead {
  background: #092ef1;
  color: #fff;
}

.blog-single-content .post-details .text th {
  padding: 12px 18px;
  font-weight: 600;
  font-size: 14px;
  text-align: left;
}

.blog-single-content .post-details .text td {
  padding: 12px 18px;
  font-size: 14px;
  color: #444;
  border-bottom: 1px solid #eee;
}

.blog-single-content .post-details .text tbody tr:hover {
  background: #f8f9ff;
}

.blog-single-content .post-details .text ul,
.blog-single-content .post-details .text ol {
  padding-left: 25px;
  margin-bottom: 20px;
}

.blog-single-content .post-details .text li {
  margin-bottom: 8px;
  font-size: 16px;
  color: #444;
}

.blog-single-content .post-details .text img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 20px 0;
}

.blog-single-content .post-details .text a {
  color: #092ef1;
}

/* Blog Body Content - for @Html.Raw() rendered blog HTML */
.blog-body-content {
  color: #333;
  font-size: 16px;
  line-height: 1.8;
  max-width: 900px;
}

.blog-body-content h1 {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 35px 0 15px;
}

.blog-body-content h2 {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 30px 0 15px;
  padding-bottom: 8px;
  border-bottom: 2px solid #f0f0f0;
}

.blog-body-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: #222;
  margin: 25px 0 10px;
}

.blog-body-content h4 {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin: 20px 0 10px;
}

.blog-body-content p {
  font-size: 16px;
  color: #444;
  margin-bottom: 15px;
  line-height: 1.8;
}

.blog-body-content strong {
  color: #1a1a2e;
}

.blog-body-content a {
  color: #092ef1;
  text-decoration: none;
}

.blog-body-content a:hover {
  text-decoration: underline;
}

.blog-body-content blockquote {
  background: #f8f9ff;
  border-left: 4px solid #092ef1;
  padding: 20px 25px;
  margin: 25px 0;
  font-style: italic;
  color: #555;
  border-radius: 0 8px 8px 0;
}

.blog-body-content ul,
.blog-body-content ol {
  padding-left: 25px;
  margin-bottom: 20px;
}

.blog-body-content li {
  margin-bottom: 8px;
  font-size: 16px;
  color: #444;
}

.blog-body-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 20px 0;
}

.blog-body-content table,
.blog-body-content .custom-table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  border-radius: 8px;
  overflow: hidden;
}

.blog-body-content thead {
  background: #092ef1;
  color: #fff;
}

.blog-body-content th {
  padding: 12px 18px;
  font-weight: 600;
  font-size: 14px;
  text-align: left;
  color: #fff;
}

.blog-body-content td {
  padding: 12px 18px;
  font-size: 14px;
  color: #444;
  border-bottom: 1px solid #eee;
}

.blog-body-content tbody tr:hover {
  background: #f8f9ff;
}

.blog-body-content .table-wrapper {
  overflow-x: auto;
  margin: 25px 0;
}

.blog-body-content .post-article {
  max-width: 100%;
}

.blog-body-content .post-title {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.3;
  margin-bottom: 15px;
}

.blog-body-content .post-subtitle {
  font-size: 17px;
  color: #555;
  line-height: 1.7;
  border-left: 4px solid #092ef1;
  padding-left: 15px;
  margin-bottom: 20px;
}

.blog-body-content .post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 15px;
}

.blog-body-content .post-tag {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}

.blog-body-content .post-tag-blue { background: #092ef1; }
.blog-body-content .post-tag-red { background: #e74c3c; }
.blog-body-content .post-tag-green { background: #27ae60; }
.blog-body-content .post-tag-purple { background: #8e44ad; }

.blog-body-content .post-breadcrumb {
  font-size: 14px;
  color: #888;
  margin-bottom: 20px;
}

.blog-body-content .post-breadcrumb a {
  color: #092ef1;
}

/* Blog Detail Banner - fixed aspect ratio */
.blog-banner {
  width: 100%;
  max-height: 210px;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 30px;
}
.blog-banner img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}