/* Custom overrides for MyBlog / DBA Prayank Waluskar.
 * Tailwind is loaded via CDN; keep this file light. */

:root {
  --oracle-accent: #e66c37;
  --app-font: "Raleway", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  overflow-x: clip;
  font-family: var(--app-font);
}

/* Typography: consistent heading font everywhere */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--app-font);
}

/* Page title (banner) sizing across templates */
main>section.inner-page-banner h1,
main>section.bg-slate-800 h1 {
  font-size: 1.875rem;
  /* 30px for <1200px */
  line-height: 1.2;
}

@media (min-width: 1200px) {

  main>section.inner-page-banner h1,
  main>section.bg-slate-800 h1 {
    font-size: 2.25rem;
    /* 36px for >=1200px */
  }
}

/* Site-wide smooth transitions for interactive elements */
a,
button,
[role="button"],
.transition-smooth {
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

/* Carousel: hide horizontal scrollbar; navigation via buttons only */
#recent,
#videos {
  overflow-x: clip;
}

#recent-carousel,
#video-carousel {
  overflow-x: hidden !important;
  overflow-y: visible;
}

#recent-carousel .recent-track,
#video-carousel .video-track {
  will-change: transform;
}

/* Carousel / swiper slides */
.swiper-slide,
[data-carousel-item],
[data-swiper] {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Cards and clickable articles (e.g. video cards) */
article[data-modal-toggle] {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Modal backdrop and content smooth appear */
[data-modal-backdrop],
[id$="Modal"]>div:first-child {
  transition: opacity 0.2s ease;
}

[id$="Modal"] .relative.rounded-2xl {
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Primary menu: horizontal list + dropdown (high specificity to override Tailwind) */
.site-header .header-nav .header-nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 1.5rem;
  list-style: none;
}

.site-header .header-nav .header-nav-list>li {
  list-style: none;
  margin: 0;
  padding: 0;
  height: 40px;
  display: flex;
  align-items: center;
}

.site-header .header-nav .header-nav-list>li>a {
  white-space: nowrap;
  display: flex;
  align-items: center;
}

/* Dropdown: keep sub-menu out of flow so it doesn’t sit in the nav bar */
.site-header .header-nav .header-nav-list>li.menu-item-has-children {
  position: relative;
}

.site-header .header-nav .header-nav-list .sub-menu {
  position: absolute;
  left: 0;
  top: 100%;
  margin-top: 0.25rem;
  z-index: 50;
  min-width: 200px;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 0;
  padding: 0.25rem 0 0.5rem;
  list-style: none;
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0 0 0.5rem 0.5rem;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.site-header .header-nav .header-nav-list>li.menu-item-has-children:hover .sub-menu,
.site-header .header-nav .header-nav-list>li.menu-item-has-children:focus-within .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Also show submenu when toggled open via JS (click support) */
.site-header .header-nav .header-nav-list>li.menu-item-has-children.is-open .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.site-header .header-nav .header-nav-list .sub-menu li {
  margin: 0;
  list-style: none;
}

.site-header .header-nav .header-nav-list .sub-menu a {
  display: block;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  color: #e2e8f0;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.site-header .header-nav .header-nav-list .sub-menu a:hover {
  background: #334155;
  color: #fff;
}

/* Mobile menu list */
.mobile-nav-list li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav-list .sub-menu {
  list-style: none;
  margin: 0.25rem 0 0 0;
  padding-left: 1rem;
  border-left: 2px solid #475569;
}

.mobile-nav-list .sub-menu a {
  display: block;
  padding: 0.375rem 0;
  color: #cbd5e1;
}

.mobile-nav-list .sub-menu a:hover {
  color: #fff;
}

/* Header submenu dropdown chevron (CSS-only, no HTML injection) */
.header-nav-list>li.menu-item-has-dropdown-icon>a {
  position: relative;
  padding-right: 0.25rem;
}

.header-nav-list>li.menu-item-has-dropdown-icon>a::after {
  content: '';
  display: inline-block;
  margin-left: 0.35rem;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 6px solid currentColor;
  transform: rotate(0deg);
  transition: transform 0.2s ease;
  vertical-align: middle;
  align-self: center;
  flex: 0 0 auto;
}

.header-nav-list>li.menu-item-has-dropdown-icon:hover>a::after,
.header-nav-list>li.menu-item-has-dropdown-icon:focus-within>a::after {
  transform: rotate(180deg);
}

/* Oracle-style header: dark (when .site-header has bg-slate-900) */
.site-header.bg-slate-900 .header-inner {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  text-align: left;
}

.site-header.bg-slate-900 .header-nav-wrap {
  border: none;
  margin: 0;
  width: auto;
}

.text-oracle-accent {
  color: var(--oracle-accent);
}

.hover\:text-oracle-accent:hover {
  color: var(--oracle-accent);
}

.focus\:ring-oracle-accent\/40:focus {
  --tw-ring-color: rgb(230 108 55 / 0.4);
}

.focus\:border-oracle-accent:focus {
  border-color: var(--oracle-accent);
}

/* Legacy header: light grey (other pages) */
.site-header:not(.bg-slate-900) {
  background-color: #f4f4f3;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  transition: box-shadow 0.2s ease;
  transform: translateZ(0);
}

/* Mobile first: logo left, hamburger right in one line; hide tagline and hr on small screens */
@media (max-width: 767px) {
  .site-header .header-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .site-header .header-tagline,
  .site-header .header-hr {
    display: none !important;
    visibility: hidden;
    max-height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
  }

  .site-header .header-nav-wrap {
    margin-left: auto;
    flex-shrink: 0;
    border-top: none;
    border-bottom: none;
    height: 50px;
    margin-top: 0px;
    width: unset;
  }
}

/* Smooth transition for header inner (avoids layout jump/flicker) */
.header-inner {
  transition: padding 0.25s ease, flex-direction 0.25s ease;
}

.header-tagline {
  max-height: 2rem;
  transition: opacity 0.2s ease, max-height 0.25s ease, margin 0.2s ease;
  overflow: hidden;
}

.header-hr {
  max-height: 2px;
  transition: opacity 0.2s ease, max-height 0.25s ease, margin 0.2s ease;
  overflow: hidden;
}

.header-logo-link img {
  transition: height 0.25s ease;
}

.header-nav-wrap {
  width: 100%;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

/* Sticky one-line header when scrolled: logo left, menu right */
.site-header.header-scrolled .header-inner {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.site-header.header-scrolled .header-tagline,
.site-header.header-scrolled .header-hr {
  opacity: 0;
  max-height: 0;
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
  border: none;
  visibility: hidden;
  pointer-events: none;
}

.site-header.header-scrolled .header-nav-wrap {
  margin-left: auto;
  flex-shrink: 0;
  width: 100%;
  border-top: none;
  border-bottom: none;
  height: 50px;
  margin-top: 0px;
}

.site-header.header-scrolled .header-nav {
  flex-wrap: nowrap;
}

.site-header.header-scrolled .header-logo-link img {
  height: 2rem;
}

@media (min-width: 768px) {
  .site-header.header-scrolled .header-logo-link img {
    height: 2.25rem;
  }
}

/* Footer: dark theme, equal-width columns, accent headers */
.site-footer {
  background-color: #1e293b;
  color: #e2e8f0;
  transition: background-color 0.2s ease;
}

.site-footer .footer-heading {
  color: var(--oracle-accent);
}

.site-footer.bg-slate-900 {
  background-color: #0f172a;
}

.site-footer.bg-slate-900 .footer-heading {
  color: var(--oracle-accent);
}

.site-footer.bg-slate-900 .footer-social-circle:hover {
  background-color: var(--oracle-accent);
}

/* Equal-width three columns */
.site-footer .footer-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  width: 100%;
}

@media (min-width: 768px) {
  .site-footer .footer-cols {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
  }
}

.site-footer .footer-col-visitors {
  text-align: left;
  min-width: 0;
}

.site-footer .footer-col-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.site-footer .footer-brand-logo {
  height: 3.5rem;
  max-width: 220px;
  width: auto;
}

.site-footer .footer-col-follow {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
}

.site-footer .footer-col-calendar {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  min-width: 0;
}

@media (min-width: 768px) {
  .site-footer .footer-col-calendar .footer-calendar-box {
    margin-left: auto;
  }
}

.site-footer .footer-heading {
  font-size: 0.875rem;
  font-weight: 600;
}

/* Digit segments: white boxes with dark digits (Oracle style) */
.footer-digit-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.75rem;
  height: 2rem;
  padding: 0 0.25rem;
  background-color: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  color: #1e293b;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: 0.875rem;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.site-footer .footer-calendar-box {
  border-radius: 0.5rem;
  transition: background-color 0.2s ease;
}

/* Current day: blue highlight */
.site-footer .footer-calendar-today {
  background-color: #2563eb;
  color: #fff;
  border-radius: 4px;
  font-weight: 600;
}

.site-footer .footer-calendar-selected {
  background-color: var(--oracle-accent);
  color: #fff;
  border-radius: 4px;
  font-weight: 600;
}

.site-footer .footer-calendar-other-month {
  color: #64748b;
}

.site-footer .footer-social-circle {
  transition: background-color 0.2s ease, color 0.2s ease;
}

.site-footer .footer-social-circle:hover {
  color: #fff;
}

.site-footer .footer-copyright {
  border-top: 1px solid #334155;
  color: #94a3b8;
  font-size: 0.6875rem;
  transition: color 0.2s ease;
}

.site-footer .footer-eye-icon {
  color: #ffa500;
}

.site-footer .footer-total-views {
  color: #94a3b8;
  font-size: 0.75rem;
}

.site-footer .footer-calendar-nav {
  color: #e2e8f0;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.site-footer .footer-calendar-nav:hover {
  color: #ffa500;
}

.site-footer thead th {
  color: #94a3b8;
  font-size: 0.625rem;
}

.site-footer .footer-calendar-day {
  color: #e2e8f0;
  font-size: 0.75rem;
  transition: background-color 0.2s ease, color 0.2s ease;
  min-width: 1.6rem;
  height: 1.6rem;
  vertical-align: middle;
  border-radius: 0.25rem;
}

/* Comments form */
.comment-respond {
  margin-top: 2rem;
}

.comment-respond .comment-reply-title {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
}

.comment-respond .comment-notes {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  color: #64748b;
}

.comment-respond .comment-form p {
  margin: 0 0 1rem;
}

.comment-respond .comment-form label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #334155;
}

.comment-respond .comment-form textarea,
.comment-respond .comment-form input[type="text"],
.comment-respond .comment-form input[type="email"] {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 0;
  background: #fff;
  color: #0f172a;
  padding: 0.625rem 0.75rem;
  font-size: 0.95rem;
  line-height: 1.4;
}

.comment-respond .comment-form textarea {
  min-height: 140px;
  resize: vertical;
}

.comment-respond .comment-form textarea:focus,
.comment-respond .comment-form input[type="text"]:focus,
.comment-respond .comment-form input[type="email"]:focus {
  outline: none;
  border-color: #94a3b8;
  box-shadow: 0 0 0 2px rgba(148, 163, 184, 0.15);
}

.comment-respond .form-submit .submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0.375rem;
  background: #e66c37;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.65rem 1rem;
  cursor: pointer;
}

.comment-respond .form-submit .submit:hover {
  background: #d45a2a;
}

.comment-respond .comment-form .comment-form-author,
.comment-respond .comment-form .comment-form-email {
  width: 100%;
}

@media (min-width: 768px) {
  .comment-respond .comment-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .comment-respond .comment-form .comment-notes,
  .comment-respond .comment-form .comment-form-comment,
  .comment-respond .comment-form .form-submit,
  .comment-respond .comment-form .comment-form-cookies-consent {
    grid-column: 1 / -1;
  }
}

.site-footer .footer-calendar-day.footer-calendar-other-month {
  color: #64748b;
}

.site-footer .footer-calendar-day.footer-calendar-today {
  color: #fff;
}

.site-footer .footer-calendar-day.footer-calendar-selected {
  color: #fff;
}

.site-footer .footer-calendar-month-year {
  color: #e2e8f0;
  font-size: 0.75rem;
  font-weight: 600;
}

.site-footer .footer-days-row {
  color: #94a3b8;
  font-size: 0.625rem;
}

/* Calendar: keep days in one line per row (table layout) */
.site-footer .footer-calendar-box table {
  display: table;
  table-layout: fixed;
  width: 100%;
  min-width: 10rem;
}

.site-footer .footer-calendar-box tbody {
  display: table-row-group;
}

.site-footer .footer-calendar-box tr.footer-calendar-day {
  display: table-row;
}

.site-footer .footer-calendar-box .footer-calendar-day td {
  display: table-cell;
  width: 1%;
  min-width: 0;
  text-align: center;
  white-space: nowrap;
}

/* Post detail page: code blocks */
.post-content pre {
  margin-top: 1rem;
  margin-bottom: 1rem;
  padding: 1rem 1.25rem;
  overflow-x: auto;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #e2e8f0;
  background-color: #1e293b;
  border: 1px solid #334155;
  border-radius: 0.5rem;
}

.post-content pre code {
  padding: 0;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  color: inherit;
  background: transparent;
  border-radius: 0;
}

.post-content code {
  padding: 0.125rem 0.375rem;
  font-size: 0.875em;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  color: #0f172a;
  background-color: #f1f5f9;
  border-radius: 0.25rem;
}

.dark .post-content code {
  color: #e2e8f0;
  background-color: #334155;
}

.dark .post-content pre {
  background-color: #0f172a;
  border-color: #334155;
}

.post-content pre+p,
.post-content p+pre {
  margin-top: 1.25rem;
}

.hero-bg {
  background: url("../images/hero.jpg");
  background-size: cover;
  background-repeat: no-repeat;
}

.inner-page-banner {
  background-color: #193366 !important;
}

/* Contact Form 7 (Contact page) styling to match design */
.contact-cf7 .wpcf7 form {
  margin: 0;
}

.contact-cf7 .wpcf7 p {
  margin: 0 0 1rem 0;
}

.contact-cf7 .wpcf7 label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.375rem;
}

.contact-cf7 .wpcf7 .wpcf7-form-control-wrap {
  display: block;
}

.contact-cf7 .wpcf7 input[type="text"],
.contact-cf7 .wpcf7 input[type="email"],
.contact-cf7 .wpcf7 input[type="tel"],
.contact-cf7 .wpcf7 input[type="url"],
.contact-cf7 .wpcf7 select,
.contact-cf7 .wpcf7 textarea {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  color: #0f172a;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.contact-cf7 .wpcf7 textarea {
  min-height: 180px;
  resize: vertical;
}

.contact-cf7 .wpcf7 input:focus,
.contact-cf7 .wpcf7 select:focus,
.contact-cf7 .wpcf7 textarea:focus {
  border-color: rgba(230, 108, 55, 0.8);
  box-shadow: 0 0 0 3px rgba(230, 108, 55, 0.18);
  background: #ffffff;
}

/* Make first row (Name + Email) two columns on desktop */
.contact-cf7 .wpcf7 form>p:first-of-type {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .contact-cf7 .wpcf7 form>p:first-of-type {
    grid-template-columns: 1fr 1fr;
  }
}

/* Submit button */
.contact-cf7 .wpcf7 input[type="submit"],
.contact-cf7 .wpcf7 button,
.contact-cf7 .wpcf7 .wpcf7-submit {
  appearance: none;
  border: 0;
  border-radius: 0.5rem;
  background: var(--oracle-accent);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.25rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-cf7 .wpcf7 input[type="submit"]:hover,
.contact-cf7 .wpcf7 .wpcf7-submit:hover {
  background: #d45a2a;
}

/* Hide CF7 spinner and align response messages */
.contact-cf7 .wpcf7-spinner {
  display: none;
}

.contact-cf7 .wpcf7 form .wpcf7-response-output {
  margin: 1rem 0 0 0;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
}

/* Page titles: consistent sizing across templates */
.dbaprayank-page-title {
  font-size: 2.25rem !important;
  /* 36px */
  line-height: 1.15 !important;
}

@media (max-width: 1199px) {
  .dbaprayank-page-title {
    font-size: 1.875rem !important;
    /* 30px */
  }
}

/* Pagination: right-aligned button style */
.pagination,
.navigation.pagination {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.5rem;
}

.navigation.pagination .nav-links,
.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
  width: 100%;
}

.navigation.pagination .nav-links a,
.navigation.pagination .nav-links span,
.pagination .nav-links a,
.pagination .nav-links span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.75rem;
  border-radius: 0.5rem;
  border: 0;
  background: #193366;
  /* navy button */
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: none;
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.navigation.pagination .nav-links a:hover,
.pagination .nav-links a:hover {
  background: #142a52;
}

.navigation.pagination .nav-links a:active,
.pagination .nav-links a:active {
  transform: translateY(1px);
}

.navigation.pagination .nav-links .current,
.pagination .nav-links .current {
  background: #6b7280;
  color: #ffffff;
}

.navigation.pagination .nav-links a.next,
.navigation.pagination .nav-links a.prev,
.pagination .nav-links a.next,
.pagination .nav-links a.prev {
  background: #193366;
  color: #ffffff;
}

.navigation.pagination .nav-links a.next:hover,
.navigation.pagination .nav-links a.prev:hover,
.pagination .nav-links a.next:hover,
.pagination .nav-links a.prev:hover {
  background: #142a52;
}

.navigation.pagination .nav-links .dots,
.pagination .nav-links .dots {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  padding: 0 0.25rem;
  min-width: auto;
}

#main-header .header-nav .header-nav-list .sub-menu {
  margin: 0 !important;
}

/* Approved comments list style */
.dba-comments-wrap {
  margin-top: 0.75rem;
}

.dba-comments-title {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 700;
  color: #1f2937;
}

.dba-comment-list,
.dba-comment-list .children {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dba-comment-list>.dba-comment-item {
  margin-bottom: 1.5rem;
}

.dba-comment-card {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0.875rem;
}

.dba-avatar {
  width: 44px;
  height: 44px;
  border-radius: 999px;
}

.dba-comment-meta {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.dba-comment-author {
  font-size: 1rem;
  font-weight: 700;
  color: #1f2937;
  line-height: 1.1;
}

.dba-comment-dot,
.dba-comment-time {
  font-size: .875rem;
  color: #4b5563;
  font-weight: 600;
}

.dba-comment-content {
  margin-top: 0.35rem;
  color: #374151;
  font-size: 1rem;
  line-height: 1.65;
}

.dba-comment-content p {
  margin: 0 0 0.55rem;
}

.dba-comment-actions {
  margin-top: 0.5rem;
}

.dba-comment-actions .comment-reply-link {
  font-size: .875rem;
  color: #374151;
  font-weight: 600;
  text-decoration: none;
}

.dba-comment-actions .comment-reply-link:hover {
  color: #e66c37;
}

.dba-comment-list .children {
  margin-top: 0.8rem;
  margin-left: 3.2rem;
  border-left: 2px solid #e5e7eb;
  padding-left: 0.9rem;
}

.dba-comment-list .children::before {
  content: "Replies";
  display: block;
  margin: 0.15rem 0 0.8rem;
  font-size: .875rem;
  font-weight: 700;
  color: #374151;
}

@media (max-width: 767px) {
  .dba-comments-title {
    font-size: 1rem;
  }

  .dba-comment-author {
    font-size: .875rem;
  }

  .dba-comment-time,
  .dba-comment-dot {
    font-size: 0.85rem;
  }

  .dba-comment-content {
    font-size: .875rem;
  }

  .dba-comment-list .children::before {
    font-size: .85rem;
  }
}

.contact-email {
  word-break: break-all;
}

section.dba-comments-wrap {
  width: 100%;
  border-top: 1px solid #eeeeee;
  padding-top: 20px;
}

section.dba-comments-wrap .dba-comment-list {
  background: #f9f9f9;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  padding: 10px;
}

section.dba-comments-wrap .comment-respond {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.dba-comment-list .dba-comment-item {
  border-bottom: 1px solid #e5e7eb;
  padding: 10px;
}

.dba-comment-item .children .dba-comment-item {
    padding: 10px 0px;
}

.dba-comment-list .dba-comment-item:last-child {
  border-bottom: none;
}
