/*
Theme Name: ByondBoundrys
Theme URI: https://byondboundrys.com
Author: Nandlal Gupta
Author URI: https://byondboundrys.com
Description: Custom lightweight theme for ByondBoundrys with menus and widget areas.
Version: 1.0.0
Text Domain: ByondBoundrys
*/

/* Basic layout */
body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    background: #f5f5f5;
}

.menu-description li {
    margin: 10px;
}




/* HERO CONTENT SLIDER */
.hero-slider {
  position: relative;
}

.hero-slide {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.7s ease;
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  transform: translateY(0);
  position: relative;
  pointer-events: auto;
}








/* Main content text */
.single-blog {
    font-size: 1rem;
    line-height: 1.8;
    color: #111827;
}

.single-blog p {
    margin-bottom: 1.1em;
}

.single-blog h2 {
    font-size: 1.6rem;
    margin: 1.8em 0 0.6em;
    font-weight: 700;
    color: #0f172a;
}

.single-blog h3 {
    font-size: 1.3rem;
    margin: 1.4em 0 0.4em;
    font-weight: 600;
    color: #111827;
}

.single-blog a {
    color: #2563eb;
    text-decoration: none;
    border-bottom: 1px solid rgba(37, 99, 235, 0.3);
}

.single-blog a:hover {
    color: #1d4ed8;
    border-bottom-color: #1d4ed8;
}

.single-blog ul,
.single-blog ol {
    margin: 0 0 1.2em 1.3em;
    padding-left: 0.5em;
}

.single-blog li {
    margin-bottom: 0.4em;
    list-style: auto;
}

.single-blog blockquote {
    margin: 1.5em 0;
    padding: 1.2em 1.4em;
    border-left: 4px solid #2562e9;
    background: #eff6ff;
    border-radius: 8px;
    font-style: italic;
    color: #1f2933;
}

.single-blog img {
    max-width: 100%;
    border-radius: 10px;
    display: block;
    margin: 1.5em auto;
}

.single-blog table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 1.8em 0;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.single-blog table thead th {
    background: #f1f5f9;
    color: #0f172a;
    font-weight: 600;
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.95rem;
}

.single-blog table td {
    padding: 14px 16px;
    border-bottom: 1px solid #e5e7eb;
    font-size: 0.93rem;
    color: #1f2937;
}

.single-blog table tr:last-child td {
    border-bottom: none;
}

.single-blog table tbody tr:nth-child(even) {
    background: #f9fafb;
}

.single-blog table tbody tr:hover {
    background: #eef2ff;
}

.single-blog table a {
    color: #2563eb;
    text-decoration: none;
    border-bottom: 1px solid rgba(37, 99, 235, 0.3);
}

.single-blog table a:hover {
    color: #1d4ed8;
    border-bottom-color: #1d4ed8;
}

.single-blog table caption {
    caption-side: top;
    text-align: left;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1rem;
    color: #111827;
}

.single-blog table {
    display: block;
    overflow-x: auto;
}



/* ==============================
   WordPress Comment Form – Custom
   ============================== */

.comment-form {
    max-width: 720px;
    margin-top: 3rem;
    padding: 0;
    font-family: inherit;
}

.comment-notes,
.comment-form-cookies-consent {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 1rem;
}

.comment-form label {
    display: block;
    margin-bottom: 0.375rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #0f172a;
}

.comment-form .required {
    color: #dc2626;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
    padding: 0.75rem 0.9rem;
    font-size: 0.875rem;
    color: #0f172a;
    background-color: #ffffff;
    transition: all 0.2s ease;
}

.comment-form textarea {
    min-height: 140px;
    resize: vertical;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.comment-form p {
    margin-bottom: 1.25rem;
}

.comment-form-cookies-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.comment-form-cookies-consent input {
    margin-top: 0.25rem;
}

.comment-form .form-submit {
    margin-top: 1.5rem;
}

.comment-form .submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    background-color: #2563eb;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.comment-form .submit:hover {
    background-color: #1d4ed8;
}

.comment-form .submit:active {
    transform: translateY(1px);
}

.logged-in-as {
    font-size: 0.875rem;
    margin-bottom: 1rem;
    color: #475569;
}

.logged-in-as a {
    color: #2563eb;
    text-decoration: none;
}

.logged-in-as a:hover {
    text-decoration: underline;
}

.comment-list {
    margin-top: 3rem;
    padding: 0;
    list-style: none;
}

.comment-list li {
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.comment-author {
    font-weight: 600;
    color: #0f172a;
}

.comment-metadata {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 0.25rem;
}

.comment-content {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    color: #334155;
}

.comment-reply-link {
    font-size: 0.75rem;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
}

.comment-reply-link:hover {
    text-decoration: underline;
}


/* ==================================
   WordPress Comment List – Custom UI
   ================================== */

.comment-list {
    margin-top: 3rem;
    padding: 0;
    list-style: none;
}

.comment-list .comment {
    position: relative;
    padding: 1.5rem 1.25rem 1.25rem 1.25rem;
    margin-bottom: 1.25rem;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    background-color: #ffffff;
}

.comment-list .children {
    margin-top: 1.25rem;
    margin-left: 1.5rem;
    padding-left: 1.25rem;
    border-left: 2px solid #e2e8f0;
}

.comment-body {
    display: block;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 10px;
    padding-bottom: 10px;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
}

.comment-author img.avatar {
    width: 32px;
    height: 32px;
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
}

.comment-author .fn {
    font-weight: 600;
    color: #0f172a;
}

.comment-author .fn a {
    color: inherit;
    text-decoration: none;
}

.comment-author .fn a:hover {
    text-decoration: underline;
}

.comment-author .says {
    display: none;
}

.comment-metadata {
    margin-top: 0.25rem;
    margin-left: 2.75rem;
    font-size: 0.75rem;
    color: #64748b;
}

.comment-metadata a {
    color: inherit;
    text-decoration: none;
}

.comment-metadata a:hover {
    text-decoration: underline;
}

.comment-content {
    margin-top: 0.75rem;
    margin-left: 2.75rem;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #334155;
}

.comment-content p {
    margin: 0.5rem 0;
}

.comment .reply {
    margin-top: 0.2rem;
    margin-left: 2.75rem;
}

.comment-reply-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
}

.comment-reply-link:hover {
    text-decoration: underline;
}

.bypostauthor>.comment-body {
    background-color: #f8fafc;
    border-radius: 0.75rem;
    padding: 0.75rem;
}

.comment-awaiting-moderation {
    margin-top: 0.5rem;
    margin-left: 2.75rem;
    font-size: 0.75rem;
    color: #ca8a04;
}

/* Small screens */
@media (max-width: 640px) {
    .comment-list .comment {
        padding: 1rem;
    }

    .comment-metadata,
    .comment-content,
    .comment .reply {
        margin-left: 0;
    }

    .comment-author {
        gap: 0.5rem;
    }
}






/* ===== Contact Form 7 + Tailwind-like styling (no plugin needed) ===== */
.custom-flex p{
    display: flex;
    gap: 20px;
}
.wpcf7-form p {
  margin: 0;
}
.wpcf7-form p + p {
  margin-top: 20px;
}
.wpcf7-form label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #71717a;
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  padding: 10px 12px;
  font-size: 14px;
  color: #0f172a;
  background-color: #ffffff;
  transition: all 0.2s ease;
}
.wpcf7-form textarea {
  height: 120px;
  resize: vertical;
}
.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}
.wpcf7-form input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px 28px;
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  background-color: #2563eb;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.wpcf7-form input[type="submit"]:hover {
  background-color: #1e40af;
  transform: translateY(-1px);
}
.wpcf7-spinner {
  margin-left: 12px;
}
.wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #dc2626;
}
.wpcf7-not-valid {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.15);
}
.wpcf7-response-output {
  margin-top: 24px;
  padding: 16px 18px;
  border-radius: 16px;
  font-size: 14px;
  border: 1px solid;
}
.wpcf7 form.sent .wpcf7-response-output {
  background-color: #ecfdf5;
  border-color: #10b981;
  color: #065f46;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
  background-color: #fef2f2;
  border-color: #ef4444;
  color: #7f1d1d;
}
.hidden-fields-container {
  display: none !important;
}










/* Wave bar random heights */
#bb-tts-player .bb-tts-bar { height: 8px; }
#bb-tts-player .bb-tts-bar:nth-child(3n) { height: 16px; }
#bb-tts-player .bb-tts-bar:nth-child(4n) { height: 20px; }
#bb-tts-player .bb-tts-bar:nth-child(5n) { height: 12px; }
#bb-tts-player .bb-tts-bar:nth-child(7n) { height: 24px; }

