/*
Theme Name: TechyDen Kadence Child Theme
Theme URI: https://techyden.com/
Description: A lightweight, responsive Kadence child theme for TechyDen.com with a blue-and-white technology editorial design.
Author: TechyDen
Author URI: https://techyden.com/
Template: kadence
Version: 1.0.1
Text Domain: techyden-kadence-child
*/

/* Main styles are loaded from assets/css/main.css. */

/* TechyDen blue-and-white global palette for Kadence */
:root {
    --global-palette1: #3b82f6;
    --global-palette2: #2563eb;
    --global-palette3: #182b5b;
    --global-palette4: #334155;
    --global-palette5: #475569;
    --global-palette6: #64748b;
    --global-palette7: #f8fafc;
    --global-palette8: #eff6ff;
    --global-palette9: #ffffff;
}

/* =========================================
   TechyDen – Kadence Header Dropdown Fix
   Remove unwanted decorative toggle backgrounds
========================================= */

.header-navigation .dropdown-nav-special-toggle,
.header-navigation .dropdown-nav-special-toggle:hover,
.header-navigation .dropdown-nav-special-toggle:focus {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline-offset: 2px;
}


/* ==========================================
   TechyDen – Kadence Dropdown Alignment
========================================== */

/* Vertically align menu items and dropdown toggles */
.header-navigation .menu-item-has-children {
    display: flex;
    align-items: center;
}

/* Correct dropdown toggle position */
.header-navigation .dropdown-nav-special-toggle {
    position: static !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 20px;
    height: 40px;

    margin: 0 0 0 3px !important;
    padding: 0 !important;

    line-height: 1 !important;
    vertical-align: middle;
    transform: none !important;

    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* Keep dropdown arrow properly aligned */
.header-navigation .dropdown-nav-special-toggle svg {
    display: block;
    width: 12px;
    height: 12px;
}
/* Simple Static FAQ Styling (No JavaScript Needed) */

.rank-math-list {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px;
  margin: 32px 0;
}

.rank-math-list-item {
  margin-bottom: 20px;
  padding: 20px;
  background: #f8fafc;
  border-radius: 12px;
  border: 2px solid #e2e8f0;
}

.rank-math-question {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 12px;
}

.rank-math-answer {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #475569;
}

.rank-math-answer strong {
  color: #3b82f6;
}

.rank-math-answer a {
  color: #3b82f6;
  text-decoration: underline;
}


/* TechyDen Astra Affiliate CTA Boxes */

.td-astra-cta {
    --td-accent: #3b82f6;
    --td-text: #0f172a;
    --td-muted: #475569;

    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
    margin: 30px 0;
    background: #f8fafc;
    border: 1px solid #bfdbfe;
    border-left: 5px solid var(--td-accent);
    border-radius: 12px;
    color: var(--td-text);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.td-astra-cta .td-cta-label {
    display: inline-block;
    width: fit-content;
    padding: 5px 10px;
    background: #dbeafe;
    color: #2563eb;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.td-astra-cta h3 {
    margin: 0;
    color: var(--td-text);
    font-size: 22px;
    line-height: 1.35;
    font-weight: 700;
}

.td-astra-cta p {
    margin: 0;
    color: var(--td-muted);
    font-size: 15px;
    line-height: 1.7;
}

.td-astra-cta .td-cta-button {
    display: inline-block;
    width: fit-content;
    padding: 13px 23px;
    background: var(--td-accent);
    color: #ffffff !important;
    border: 2px solid var(--td-accent);
    border-radius: 7px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.td-astra-cta .td-cta-button:hover {
    background: #1e40af;
    border-color: #1e40af;
    color: #ffffff !important;
    transform: translateY(-2px);
}

.td-astra-cta .td-cta-note {
    color: #64748b;
    font-size: 12px;
    line-height: 1.5;
}

.td-astra-cta .td-cta-note a {
    color: #2563eb;
    text-decoration: underline;
}

/* Featured pricing CTA */
.td-astra-cta.td-cta-pricing {
    background: #eff6ff;
    border: 2px solid var(--td-accent);
    text-align: center;
    align-items: center;
    padding: 28px;
}

.td-astra-cta.td-cta-pricing h3 {
    font-size: 25px;
}

/* Final verdict CTA */
.td-astra-cta.td-cta-final {
    background: #0f172a;
    border: none;
    border-radius: 12px;
    text-align: center;
    align-items: center;
    padding: 30px 24px;
}

.td-astra-cta.td-cta-final h3 {
    color: #ffffff;
}

.td-astra-cta.td-cta-final p {
    color: #dbeafe;
}

.td-astra-cta.td-cta-final .td-cta-note {
    color: #bfdbfe;
}

.td-astra-cta.td-cta-final .td-cta-note a {
    color: #93c5fd;
}

/* Mobile responsive */
@media (max-width: 600px) {
    .td-astra-cta {
        padding: 19px;
        margin: 24px 0;
    }

    .td-astra-cta h3 {
        font-size: 20px;
    }

    .td-astra-cta .td-cta-button {
        width: 100%;
        box-sizing: border-box;
    }

    .td-astra-cta.td-cta-pricing,
    .td-astra-cta.td-cta-final {
        padding: 22px 18px;
    }
}

/* ==========================================
   TechyDen – Center Single Post Breadcrumbs
========================================== */

.single-post .kadence-breadcrumbs,
.single-post .rank-math-breadcrumb,
.single-post .yoast-breadcrumbs {
    width: 100%;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}

/* Center breadcrumb links and separators */
.single-post .kadence-breadcrumbs *,
.single-post .rank-math-breadcrumb *,
.single-post .yoast-breadcrumbs * {
    text-align: center;
}

/* ==========================================
   TechyDen – Single Post Breadcrumbs
========================================== */

.single-post .td-article-breadcrumbs {
    width: 100%;
    max-width: 100%;
    margin: 0 0 22px;
    padding: 0;
    text-align: left;
}

/* Keep breadcrumb links and separators aligned */
.single-post .td-article-breadcrumbs,
.single-post .td-article-breadcrumbs * {
    text-align: left;
}

/* Maintain consistent article header alignment */
.single-post .td-article-header {
    text-align: left;
}

.single-post .td-article-title {
    margin-top: 0;
}

/* ==========================================
   TechyDen – Custom Content List Bullets
   Blue Circular Right-Arrow Icons
   Applies only to posts and pages
========================================== */

/* Target unordered lists inside post and page content */
.single-post .entry-content ul:not(.bd-toc-list) > li,
.page .entry-content ul:not(.bd-toc-list) > li {
    position: relative;
    list-style: none !important;
    padding-left: 28px !important;
    margin-bottom: 10px;
}

/* Remove default bullet markers */
.single-post .entry-content ul:not(.bd-toc-list) > li::marker,
.page .entry-content ul:not(.bd-toc-list) > li::marker {
    content: "" !important;
}

/* Create TechyDen blue circular arrow icons */
.single-post .entry-content ul:not(.bd-toc-list) > li::before,
.page .entry-content ul:not(.bd-toc-list) > li::before {
    content: "›";
    position: absolute;
    left: 0;
    top: 0.18em;

    width: 16px;
    height: 16px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1.5px solid #0876c9;
    border-radius: 50%;

    color: #0876c9;
    font-size: 17px;
    font-weight: 600;
    line-height: 1;
    box-sizing: border-box;
}

/* Preserve nested unordered list indentation */
.single-post .entry-content ul ul,
.page .entry-content ul ul {
    margin-top: 8px;
    margin-bottom: 8px;
    padding-left: 18px;
}

/* Do not change ordered lists or TOC numbering */
.single-post .entry-content ol,
.page .entry-content ol {
    list-style-type: decimal;
}
