/*
Theme Name: AISkillskey
Template: astra
Description: AISkillskey Blog Child Theme
Version: 1.0.0
Last updated: 2026-06-10 18:26  (added PART I - steps / path boxes)
*/

/* ============================================================
   PART A — CALLOUT BOXES
   ============================================================ */

.notion-callout {
    padding: 16px 20px;
    margin: 20px 0;
    border-radius: 8px;
    background-color: #f8f9fa;
    box-shadow: 0 1px 3px rgba(0,0,0,.05);
}
.notion-callout-header  { display: inline; }
.notion-callout-icon    { display: inline; font-size: 16px; margin-right: 4px; vertical-align: middle; }
.notion-callout-label   { display: inline; font-size: 18px; font-weight: 600; line-height: 1.6; }
.notion-callout-content { display: inline; font-size: 18px; line-height: 1.6; }
.notion-callout-content p { display: inline; margin: 0; }

.notion-callout-insight    { background-color: #DBEAFE; }
.notion-callout-insight    .notion-callout-label { color: #1E40AF; }
.notion-callout-takeaway   { background-color: #DCFCE7; }
.notion-callout-takeaway   .notion-callout-label { color: #1E40AF; }
.notion-callout-warning    { background-color: #FEE2E2; }
.notion-callout-warning    .notion-callout-label { color: #991B1B; }
.notion-callout-example    { background-color: #F3E8F9; }
.notion-callout-example    .notion-callout-label { color: #6B21A8; }
.notion-callout-quickwin   { background-color: #D1FAE5; }
.notion-callout-quickwin   .notion-callout-label { color: #065F46; }
.notion-callout-tip        { background-color: #E3F1EC; }
.notion-callout-tip        .notion-callout-label { color: #0F766E; }
.notion-callout-mistake    { background-color: #FEE2E2; }
.notion-callout-mistake    .notion-callout-label { color: #7F1D1D; }
.notion-callout-strategy   { background-color: #F3E8F9; }
.notion-callout-strategy   .notion-callout-label { color: #581C87; }
.notion-callout-note       { background-color: #E9F1EC; }
.notion-callout-note       .notion-callout-label { color: #0E7490; }
.notion-callout-important  { background-color: #FFF4E6; }
.notion-callout-important  .notion-callout-label { color: #9A3412; }
.notion-callout-tldr       { background-color: #f5f5f5; border: 1px solid #e0e0e0; }
.notion-callout-tldr       .notion-callout-label { color: #374151; }
.notion-callout-reflection { background-color: #EDE9FE; }
.notion-callout-reflection .notion-callout-label { color: #5B21B6; }
.notion-callout-caution    { background-color: #FEF9E7; }
.notion-callout-caution    .notion-callout-label { color: #8B6914; }

.disclaimer-box {
    background-color: #F9FAFB;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    padding: 16px 20px;
    margin: 24px 0;
    font-size: 15px;
    line-height: 1.6;
}
.disclaimer-header  { display: inline; }
.disclaimer-icon    { display: inline; font-size: 15px; margin-right: 4px; vertical-align: middle; }
.disclaimer-label   { display: inline; font-size: 15px; font-weight: 600; color: #6B7280; margin-right: 4px; }
.disclaimer-content { display: inline; font-size: 15px; color: #6B7280; }

.notion-marker          { padding: 2px 6px; border-radius: 3px; display: inline; }
.notion-marker-yellow   { background-color: #FEF3C7; color: #92400E; }
.notion-marker-green    { background-color: #D1FAE5; color: #065F46; }
.notion-marker-blue     { background-color: #DBEAFE; color: #1E3A8A; }
.notion-marker-red      { background-color: #FEE2E2; color: #991B1B; }


/* ============================================================
   PART B — TABLES
   ============================================================ */

.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 16px;
    background-color: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
    border: none !important;
}
.entry-content table thead th,
.entry-content table th {
    background-color: #1E3A5F;
    color: #fff;
    font-weight: 600;
    text-align: left;
    padding: 14px 16px;
    border: none !important;
}
.entry-content table td {
    padding: 14px 16px;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: 1px solid #E5E7EB;
    color: #374151;
}
.entry-content table tbody tr:nth-child(even) { background-color: #F0F5FB; }
.entry-content table tbody tr:nth-child(odd)  { background-color: #fff; }
.entry-content table tbody tr:hover           { background-color: #E8EEF5; }
.entry-content table tbody td:first-child     { font-weight: 600; }
.entry-content table tbody tr:last-child td   { border-bottom: none !important; }

@media (max-width: 768px) {
    .entry-content table { font-size: 14px; }
    .entry-content table th,
    .entry-content table td { padding: 10px 12px; }
}


/* ============================================================
   PART C — FAQ EXPAND / COLLAPSE
   ============================================================ */

.wp-block-details {
    border: 1px solid #e0e0e0 !important;
    border-radius: 8px !important;
    margin-bottom: 12px !important;
    overflow: hidden !important;
    background: #fff !important;
    box-shadow: none !important;
    outline: none !important;
    padding: 0 !important;
}
.faq {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
    background: #fff;
}
.faq summary,
.wp-block-details > summary {
    padding: 16px 20px !important;
    background: #f9fafb !important;
    cursor: pointer !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
    list-style: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    border: none !important;
    outline: none !important;
    margin: 0 !important;
}
.faq summary::-webkit-details-marker,
.wp-block-details summary::-webkit-details-marker { display: none; }
.faq summary::marker,
.wp-block-details summary::marker { display: none; }
.faq summary:hover,
.wp-block-details > summary:hover { background: #f3f4f6 !important; }
.faq summary::before,
.wp-block-details > summary::before {
    content: "+" !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #1E3A5F !important;
    width: 22px !important;
    min-width: 22px !important;
    text-align: center !important;
    flex-shrink: 0 !important;
}
.faq[open] > summary::before,
.wp-block-details[open] > summary::before { content: "\u2212" !important; }
.faq[open] > summary,
.wp-block-details[open] > summary {
    background: #f3f4f6 !important;
    border-bottom: 1px solid #e0e0e0 !important;
}
.faq-content,
.wp-block-details > p,
.wp-block-details > div:not([class]) {
    padding: 18px 20px;
    background: #fff;
}
.faq-content p,
.wp-block-details > p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: #374151;
}
.wp-block-details { border-color: #e0e0e0 !important; }

@media (max-width: 768px) {
    .faq summary,
    .wp-block-details > summary { padding: 14px 16px !important; font-size: 15px !important; }
    .faq-content,
    .wp-block-details > p { padding: 14px 16px; }
}


/* ============================================================
   PART D — HR SEPARATOR
   ============================================================ */

.entry-content hr,
article hr {
    width: 100%;
    max-width: 800px;
    height: 1px;
    background-color: #e5e7eb;
    border: none;
    margin: 40px auto;
    display: block;
}
.wp-block-separator,
hr.wp-block-separator {
    width: 100% !important;
    max-width: 800px !important;
    height: 1px !important;
    background-color: #e5e7eb !important;
    border: none !important;
    margin: 40px auto !important;
    color: transparent !important;
}


/* ============================================================
   PART E — CODE BLOCKS
   ============================================================ */

.entry-content code,
article code {
    font-family: 'SFMono-Regular', Consolas, monospace;
    font-size: 14px;
    background-color: #f1f5f9;
    color: #1e293b;
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
}
.entry-content pre,
article pre,
.wp-block-code {
    font-family: 'SFMono-Regular', Consolas, monospace;
    font-size: 14px;
    background-color: #1e293b;
    color: #e2e8f0;
    padding: 20px 24px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
    line-height: 1.6;
    border: 1px solid #334155;
    white-space: pre;
}
.entry-content pre code,
article pre code,
.wp-block-code code {
    background-color: transparent;
    color: inherit;
    padding: 0;
    border: none;
    border-radius: 0;
}

@media (max-width: 768px) {
    .entry-content pre,
    article pre,
    .wp-block-code { font-size: 13px; padding: 16px; }
    .entry-content code,
    article code { font-size: 13px; }
}

/* ============================================================
   PART F — PROMPT STEP BADGES
   ============================================================ */
.prompt-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 36px 0 18px;
}
.prompt-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #334155;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}
.prompt-text { line-height: 1.25; }
.prompt-label {
  font-size: 14px;
  font-weight: 500;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.prompt-name {
  font-size: 20px;
  font-weight: 800;
  color: #1e293b;
}

/* ============================================================
   PART G — IMAGE STYLING
   Removes Astra's default 3D shadow/lift effect from article images.
   ============================================================ */
.entry-content .wp-block-image img,
.entry-content figure img {
    box-shadow: none !important;
    border: none !important;
    transform: none !important;
    filter: none !important;
    outline: none !important;
}
.entry-content figure.wp-block-image {
    box-shadow: none !important;
}

/* ============================================================
   Post Meta Bar Styling
   ============================================================ */
.ast-single-post .entry-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    font-size: 14px;
}
.ast-single-post .entry-meta,
.ast-single-post .entry-meta a,
.ast-single-post .entry-meta .ast-pvc-views {
    color: #6b7280 !important;
    text-decoration: none;
}
.ast-single-post .entry-meta .posted-by::before { content: "👤 "; }
.ast-single-post .entry-meta .posted-on::before { content: "📅 "; }
.ast-single-post .entry-meta .ast-reading-time::before { content: "🕐 "; }
.ast-single-post .entry-meta .ast-pvc-views::before { content: "👁 "; }

/* ============================================================
   Simple Download Monitor — Modern Blue Button + Ring Hover
   ============================================================ */
body .sdm_download_link a.sdm_download,
body a.sdm_download.green,
body a.sdm_download.blue,
body a.sdm_download.red,
body a.sdm_download.purple,
body a.sdm_download.orange,
body a.sdm_download.grey {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background-color: #1E5A85 !important;
    background-image: none !important;
    color: #ffffff !important;
    font-family: inherit !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    padding: 11px 22px !important;
    border: none !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    text-shadow: none !important;
    box-shadow: none !important;
    transition: box-shadow .18s ease !important;
}
body .sdm_download_link a.sdm_download::before {
    content: "" !important;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 17v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-2'/%3E%3Cpath d='M7 11l5 5 5-5'/%3E%3Cpath d='M12 4v12'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    flex: 0 0 auto;
}
body .sdm_download_link a.sdm_download:hover,
body a.sdm_download.green:hover,
body a.sdm_download.blue:hover,
body a.sdm_download.red:hover,
body a.sdm_download.purple:hover,
body a.sdm_download.orange:hover,
body a.sdm_download.grey:hover {
    background-color: #1E5A85 !important;
    color: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(30,90,133,.28) !important;
}

/* ============================================================
   PART H — DOWNLOAD SECTION
   Card grid for article file downloads.
   Button styling handled by existing SDM CSS — not repeated here.
   ============================================================ */
.download-section {
    border-top: 1px solid #E5E7EB;
    border-bottom: 1px solid #E5E7EB;
    padding: 20px 0;
    margin: 24px 0;
}
.download-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.download-card {
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.download-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
}
.download-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 8px;
    background: #EFF4FB;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}
.download-label {
    font-size: 11px;
    font-weight: 600;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.download-title {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}
.download-desc {
    font-size: 12px;
    color: #6B7280;
    line-height: 1.5;
    margin: 0;
    flex: 1;
}
@media (max-width: 640px) {
    .download-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   accordion header colour .
   ============================================================ */

.aagb__accordion_head,
.aagb__accordion_heading {
  background-color: #f2f2f2 !important;
}

/* ============================================================
   PART I - STEPS / PATH BOXES  (clean, not code)
   Added 2026-06-10 18:26
   ============================================================ */
.steps-box {
    margin: 20px 0;
    padding: 16px 20px;
    font-family: inherit;     /* normal text, never monospace */
    font-size: 18px;
    color: inherit;
    line-height: 1.7;
    border-radius: 8px;
}

/* [steps] - thin border all around, no background */
.steps-box-border {
    border: 1px solid #d9d9d9;
    background: none;
}

/* [steps2] - left gray line only, no background */
.steps-box-leftline {
    border: none;
    border-left: 3px solid #cfcfcf;
    border-radius: 0;
    background: none;
    padding-left: 18px;
}

/* [steps3] - very light gray fill, no border */
.steps-box-fill {
    border: none;
    background: #f5f5f5;
}





/* Soft quote — left line, no background, normal size */
.entry-content blockquote.wp-block-quote {
    background: none !important;
    border: none !important;
    border-left: 3px solid #cbd5e1 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin: 20px 0 !important;
    padding: 2px 0 2px 18px !important;
    color: #374151 !important;
    font-size: 18px !important;
    font-style: normal !important;
}
.entry-content blockquote.wp-block-quote p {
    font-size: 18px !important;
    font-style: normal !important;
    margin: 0 !important;
}


/* entry-content table */


.entry-content table,
.wp-block-table table,
.wp-block-table table.has-fixed-layout {
    box-shadow: none !important;
    border-radius: 0 !important;
}





