/*
 * WordPress content, blog sidebar, pagination, and comments.
 * Design tokens are owned by style.scss; this file only styles generated
 * WordPress markup and theme templates that cannot be expressed there.
 */


:root {
  --color-primary: #2563eb;
  --color-primary-hover: #1d4ed8;
  --color-primary-light: #eff6ff;
  --color-secondary: #6d5dfc;
  --color-accent: #0b1533;
  --color-accent-soft: #142347;
  --color-text: #46536a;
  --color-text-muted: #6b7890;
  --color-background: #f7f9fd;
  --color-surface: #ffffff;
  --color-border: #e2e8f2;
  --color-success: #16a34a;
  --color-warning: #f59e0b;
  --color-cyan: #0891b2;
  --color-code-text: #dbeafe;
  --color-transparent: transparent;
  --color-surface-rgb: 255, 255, 255;
  --color-primary-rgb: 37, 99, 235;
  --font-heading: "Manrope", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow-sm: 0 8px 24px rgba(21, 39, 76, 0.06);
  --shadow-md: 0 20px 50px rgba(21, 39, 76, 0.1);
  --shadow-lg: 0 28px 80px rgba(15, 32, 67, 0.16);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

/* WordPress accessibility and media helpers */
.site-title h3 {
  margin: 0;
}

.site-title h3 a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.25s ease;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  top: 12px;
  left: 12px;
  z-index: 100000;
  display: block;
  width: auto;
  height: auto;
  padding: 10px 16px;
  margin: 0;
  clip: auto !important;
  clip-path: none;
  color: var(--color-surface);
  background: var(--color-accent);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  font-size: 14px;
  font-weight: 700;
}

#content[tabindex="-1"]:focus {
  outline: 0;
}

.wp-caption,
.gallery-caption,
.bypostauthor {
  max-width: 100%;
}

.wp-caption-text {
  margin: 8px 0 16px;
  color: var(--color-text-muted);
  font-size: 13px;
  text-align: center;
}

.alignleft {
  float: left;
  clear: both;
  margin: 0 28px 20px 0;
}

.alignright {
  float: right;
  clear: both;
  margin: 0 0 20px 28px;
}

.aligncenter {
  display: block;
  clear: both;
  margin: 0 auto 20px;
}

.alignwide,
.alignfull,
.wp-block-button,
.wp-block-file {
  margin-bottom: 20px;
}

.page-content-wrapper::after,
.blog-details-content-wrap::after,
.linksmm-article-content::after,
.wp-block-image::after {
  display: table;
  clear: both;
  content: "";
}

.wp-block-cover p,
.wp-block-cover-text {
  color: var(--color-surface);
}

.wp-block-button__link,
.wp-block-file__button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  color: var(--color-surface);
  background: var(--color-primary);
  border-radius: 9px;
  font-size: 14px;
  font-weight: 700;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.wp-block-button__link:hover,
.wp-block-file__button:hover {
  color: var(--color-surface);
  background: var(--color-primary-hover);
  transform: translateY(-1px);
}

/* Long-form page and post content */

:where(.page-content-wrapper, .blog-details-content-wrap, .linksmm-article-content, .single-comment-area) :where(ul, ol) {
  padding-left: 22px;
  margin-bottom: 20px;
}

:where(.page-content-wrapper, .blog-details-content-wrap, .linksmm-article-content, .single-comment-area) li+li {
  margin-top: 8px;
}

:where(.page-content-wrapper, .blog-details-content-wrap, .linksmm-article-content, .single-comment-area) :where(ul, ol) :where(ul, ol) {
  margin: 8px 0 0;
}

:where(.page-content-wrapper, .blog-details-content-wrap, .linksmm-article-content, .single-comment-area) :where(code, kbd) {
  padding: 3px 7px;
  color: var(--color-accent);
  background: var(--color-primary-light);
  border-radius: 5px;
  font-size: 0.9em;
}

:where(.page-content-wrapper, .blog-details-content-wrap, .linksmm-article-content, .single-comment-area) pre {
  max-width: 100%;
  margin: 24px 0;
  padding: 20px;
  overflow: auto;
  color: var(--color-code-text);
  background: var(--color-accent);
  border: 1px solid var(--color-accent-soft);
  border-radius: var(--radius-sm);
  white-space: pre-wrap;
}

:where(.page-content-wrapper, .blog-details-content-wrap, .linksmm-article-content, .single-comment-area) pre code {
  padding: 0;
  color: inherit;
  background: var(--color-transparent);
}

:where(.page-content-wrapper, .blog-details-content-wrap, .linksmm-article-content) :where(iframe, embed, object) {
  width: 100%;
  max-width: 100%;
  min-height: 400px;
  border-radius: var(--radius-sm);
}

:where(.page-content-wrapper, .blog-details-content-wrap, .linksmm-article-content, .single-comment-area) table {
  width: 100%;
  margin: 24px 0;
  border-collapse: collapse;
  background: var(--color-surface);
}

:where(.page-content-wrapper, .blog-details-content-wrap, .linksmm-article-content, .single-comment-area) :where(th, td) {
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  text-align: left;
}

:where(.page-content-wrapper, .blog-details-content-wrap, .linksmm-article-content, .single-comment-area) th {
  color: var(--color-accent);
  background: var(--color-background);
  font-family: var(--font-heading);
  font-weight: 800;
}

form.post-password-form {
  max-width: 768px;
  padding: 24px;
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

form.post-password-form input {
  min-height: 48px;
  padding: 9px 14px;
  color: var(--color-accent);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
}

form.post-password-form input[type="submit"] {
  padding-inline: 20px;
  color: var(--color-surface);
  background: var(--color-primary);
  border-color: var(--color-primary);
  font-weight: 700;
  cursor: pointer;
}

/* Blog cards and legacy post-format detail templates */
.linksmm-blog-card {
  position: relative;
}

.sticky-post-icon {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--color-primary);
  background: rgba(var(--color-surface-rgb), 0.94);
  border: 1px solid rgba(var(--color-primary-rgb), 0.16);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  font-size: 18px;
}

.blog-details-content-wrap {
  color: var(--color-text);
  font-size: 17px;
}

.blog-author-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--color-border);
}

.blog-author-meta .author-img img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.blog-author-meta .author-name {
  display: block;
  color: var(--color-accent);
  font-family: var(--font-heading);
}

.blog-author-meta .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  color: var(--color-text-muted);
  font-size: 12px;
}

.tag-and-social-area {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid var(--color-border);
}

.tag-and-social-area .tag-title {
  margin: 0;
  font-size: 14px;
}

.tag-and-social-area :where(.tag-list, .social-list, .social-area) {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.tag-and-social-area :where(.tag-list a, .social-list a, .social-link) {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 6px 11px;
  color: var(--color-text);
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  font-size: 12px;
}

.tag-and-social-area :where(.tag-list a, .social-list a, .social-link):hover {
  color: var(--color-surface);
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.copy-link-btn {
  position: relative;
}

.copy-alert {
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  display: none;
  padding: 5px 8px;
  color: var(--color-surface);
  background: var(--color-accent);
  border-radius: 5px;
  font-size: 10px;
  white-space: nowrap;
}

.copy-link-btn.is-copied .copy-alert {
  display: block;
}

/* Blog sidebar and native WordPress widgets */
.blog-sidebar-area,
.blog-details-sidebar {
  display: grid;
  gap: 22px;
}

.wp-block-search__label,
.wp-block-heading {
  margin: 0 0 20px;
  padding-bottom: 13px;
  color: var(--color-accent);
  border-bottom: 1px solid var(--color-border);
  font-size: 17px;
}

:where(.blog-sidebar-area, .blog-details-sidebar) .single-widget {
  min-width: 0;
  padding: 25px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

:where(.blog-sidebar-area, .blog-details-sidebar) :where(.widget-title, .widget-title a, .single-widget > label, h2.wp-block-heading) {
  margin: 0 0 18px;
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
}

:where(.blog-sidebar-area, .blog-details-sidebar) .single-widget :where(ul, ol) {
  padding: 0;
  margin: 0;
  list-style: none;
}

:where(.blog-sidebar-area, .blog-details-sidebar) .single-widget li+li {
  margin-top: 10px;
}

:where(.blog-sidebar-area, .blog-details-sidebar) .single-widget li :where(ul, ol) {
  padding: 10px 0 0 12px;
}

:where(.blog-sidebar-area, .blog-details-sidebar) .single-widget li a {
  color: var(--color-text);
  font-size: 13px;
}

:where(.blog-sidebar-area, .blog-details-sidebar) .single-widget li a:hover {
  color: var(--color-primary);
}

.wp-block-search__inside-wrapper {
  position: relative;
  display: flex;
  width: 100%;
}

.wp-block-search__inside-wrapper input {
  min-width: 0;
  width: 100%;
  min-height: 46px;
  padding: 8px 12px;
  color: var(--color-accent);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 9px 0 0 9px;
}

.wp-block-search__inside-wrapper button {
  min-height: 46px;
  margin: 0;
  padding: 8px 12px;
  color: var(--color-surface);
  background: var(--color-primary);
  border-radius: 0 9px 9px 0;
  cursor: pointer;
}

:where(.blog-sidebar-area, .blog-details-sidebar) :where(select, .nice-select) {
  width: 100%;
  min-height: 46px;
  padding: 8px 12px;
  color: var(--color-accent);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 9px;
}

:where(.blog-sidebar-area, .blog-details-sidebar) .tagcloud,
.blog-details-content-wrap .wp-block-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

:where(.blog-sidebar-area, .blog-details-sidebar) .tagcloud a,
.blog-details-content-wrap .wp-block-tag-cloud a {
  padding: 6px 10px;
  color: var(--color-text);
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  font-size: 11px !important;
}

:where(.blog-sidebar-area, .blog-details-sidebar) .tagcloud a:hover,
.blog-details-content-wrap .wp-block-tag-cloud a:hover {
  color: var(--color-surface);
  background: var(--color-primary);
  border-color: var(--color-primary);
}

:where(.blog-sidebar-area, .blog-details-sidebar) table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

:where(.blog-sidebar-area, .blog-details-sidebar) :where(th, td) {
  padding: 7px;
  border: 1px solid var(--color-border);
  text-align: center;
}

/* WordPress query and multipage pagination */
.wp-block-query-pagination,
.wp-block-query-pagination-numbers,
.page-paginations {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin: 28px 0 0;
}

.page-paginations {
  padding: 0 !important;
  list-style: none;
}

.page-paginations li {
  margin: 0 !important;
}

:where(.wp-block-query-pagination-numbers, .page-paginations) :where(a, span) {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--color-accent);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
}

:where(.wp-block-query-pagination-numbers, .page-paginations) :where(.current, a:hover) {
  color: var(--color-surface);
  background: var(--color-primary);
  border-color: var(--color-primary);
}

/* Comment list and form */
.inquiry-form {
  clear: both;
}

.comment-and-form-area {
  max-width: 768px;
}

.comment-area {
  margin-bottom: 45px;
}

.comment-area>.title h3,
.comment-respond .comment-reply-title,
.comment-respond .comment-title {
  margin-bottom: 24px;
  font-size: 24px;
}

.comment-area .comment,
.comment-area .children {
  padding: 0;
  margin: 0;
  list-style: none;
}

.comment-area .children {
  padding-left: 52px;
}

.single-comment-area {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
  padding: 22px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.single-comment-area>.author-img {
  flex: 0 0 48px;
}

.single-comment-area>.author-img img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.single-comment-area .comment-content {
  min-width: 0;
  flex: 1 1 auto;
}

.single-comment-area .comment-content p {
  margin-bottom: 10px;
}

.single-comment-area .author-name-deg {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 10px;
  margin-bottom: 8px;
}

.single-comment-area .author-name-deg h6 {
  margin: 0;
  font-size: 14px;
}

.single-comment-area .author-name-deg span {
  color: var(--color-text-muted);
  font-size: 11px;
}

.single-comment-area .replay-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 700;
}

.comment-respond {
  padding: 32px;
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.comment-respond .comment-reply-title small {
  float: right;
  font-size: 12px;
}

.comment-respond :where(.comment-notes, .logged-in-as) {
  margin-bottom: 22px;
  color: var(--color-text-muted);
  font-size: 13px;
}

.comment-respond .form-inner label {
  display: block;
  margin-bottom: 7px;
  color: var(--color-accent);
  font-size: 12px;
  font-weight: 700;
}

.comment-respond .form-inner :where(input, textarea) {
  width: 100%;
  min-height: 48px;
  padding: 10px 13px;
  color: var(--color-accent);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 9px;
}

.comment-respond .form-inner textarea {
  height: 170px;
  resize: vertical;
}

.comment-respond .comment-form-cookies-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 18px 0;
  color: var(--color-text-muted);
  font-size: 12px;
}

.comment-respond .comment-form-cookies-consent input {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  accent-color: var(--color-primary);
}

.comment-respond :where(button.primary-btn3, .form-submit input[type="submit"]) {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  padding: 11px 20px;
  color: var(--color-surface);
  background: var(--color-primary);
  border: 1px solid var(--color-primary);
  border-radius: 9px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.comment-respond :where(button.primary-btn3, .form-submit input[type="submit"]):hover {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
}

@media (max-width: 767.98px) {

  .alignleft,
  .alignright {
    float: none;
    margin: 0 0 20px;
  }

  :where(.page-content-wrapper, .blog-details-content-wrap, .linksmm-article-content) :where(iframe, embed, object) {
    min-height: 280px;
  }

  .comment-area .children {
    padding-left: 18px;
  }

  .comment-respond {
    padding: 24px;
  }
}

@media (max-width: 575.98px) {
  .single-comment-area {
    padding: 18px;
  }

  .single-comment-area>.author-img {
    display: none;
  }

  .comment-respond {
    padding: 20px;
  }
}