/* ==========================================================
   Dollar Typing Service
   Knowledge Hub Stylesheet
   cornerstone.css v1.0

   Foundation
   ----------------------------------------------------------
   Shared stylesheet for all Cornerstone / Knowledge Hub
   articles.

   Depends on:
       style.css

   This stylesheet should NEVER redefine the global site
   header, footer, typography or navigation.
   ========================================================== */



/* ==========================================================
   
:root{

    --primary:#0b63ce;
    --primary-light:#eef6ff;
    --surface:#fafafa;
    --border:#e5e5e5;
    --text:#333;
    --text-light:#666;
    --radius:10px;
    --transition:.25s ease;
    --shadow-sm:0 6px 20px rgba(0,0,0,.06);
    --shadow:0 8px 24px rgba(0,0,0,.08);
    --shadow-lg:0 14px 30px rgba(0,0,0,.08);

}

/* ==========================================================
   FOUNDATION VARIABLES
   ========================================================== */

ARTICLE ROOT
   ========================================================== */

.cornerstone-article{

    width:100%;

    margin:0 auto;

}



/* ==========================================================
   ARTICLE CONTAINER
   ========================================================== */

.cornerstone-container{

    max-width:1100px;

    margin:0 auto;

    padding:40px 20px 80px;

}



/* ==========================================================
   ARTICLE CONTENT
   ========================================================== */

.article-content{

    max-width:900px;

    margin:0 auto;

}



/* ==========================================================
   SECTION SPACING
   ========================================================== */

.content-section{

    margin:70px 0;

}

.content-section:first-child{

    margin-top:0;

}

.content-section:last-child{

    margin-bottom:0;

}



/* ==========================================================
   HEADINGS
   ========================================================== */

.content-section h2{

    margin:0 0 25px;

    line-height:1.25;

    font-weight:700;

    font-size:2rem;

}

.content-section h3{

    margin:45px 0 18px;

    line-height:1.35;

    font-weight:600;

    font-size:1.45rem;

}

.content-section h4{

    margin:30px 0 15px;

    line-height:1.45;

    font-weight:600;

    font-size:1.15rem;

}



/* ==========================================================
   PARAGRAPHS
   ========================================================== */

.content-section p{

    margin:0 0 1.5rem;

    line-height:1.85;

    font-size:1.06rem;

}



/* ==========================================================
   LINKS
   ========================================================== */

.content-section a{

    color:#0b63ce;

    text-decoration:none;

    transition:all .2s ease;

}

.content-section a:hover{

    text-decoration:underline;

}



/* ==========================================================
   LISTS
   ========================================================== */

.content-section ul,

.content-section ol{

    margin:1.5rem 0;

    padding-left:1.6rem;

}

.content-section li{

    margin-bottom:.75rem;

    line-height:1.8;

}



/* ==========================================================
   ARTICLE HEADER
   ========================================================== */

.article-header{

    margin-bottom:50px;

}

.article-header h1{

    margin-bottom:25px;

    line-height:1.15;

}



/* ==========================================================
   ARTICLE META
   ========================================================== */

.article-meta{

    display:flex;

    flex-wrap:wrap;

    gap:20px;

    margin-top:20px;

    color:#666;

    font-size:.95rem;

}

.article-meta>*{

    display:flex;

    align-items:center;

    gap:6px;

}



/* ==========================================================
   BREADCRUMB
   ========================================================== */

.breadcrumb{

    margin-bottom:30px;

    font-size:.92rem;

    color:#666;

}

.breadcrumb a{

    color:#0b63ce;

    text-decoration:none;

}

.breadcrumb a:hover{

    text-decoration:underline;

}

.breadcrumb span{

    margin:0 .45rem;

}



/* ==========================================================
   SECTION HEADER
   ========================================================== */

.section-header{

    margin-bottom:25px;

}

.section-header p{

    margin-top:10px;

}



/* ==========================================================
   HORIZONTAL RULE
   ========================================================== */

.content-section hr{

    margin:60px 0;

    border:0;

    border-top:1px solid #e5e5e5;

}



/* ==========================================================
   ACCESSIBILITY
   ========================================================== */

:focus-visible{

    outline:3px solid #0b63ce;

    outline-offset:2px;

}



/* ==========================================================
   TEXT SELECTION
   ========================================================== */





/* ==========================================================
   SMOOTH SCROLL
   ========================================================== */





/* ==========================================================
   IMAGE DEFAULTS
   ========================================================== */

img{

    max-width:100%;

    height:auto;

    image-rendering:auto;

}



/* ==========================================================
   EMBEDDED MEDIA
   ========================================================== */

iframe,

video{

    max-width:100%;

}



/* ==========================================================
   PRINT PREPARATION
   ========================================================== */

@media print{

    .breadcrumb,

    .article-meta{

        display:none;

    }

}

/* ==========================================================
   PART 2
   HEADER COMPONENTS
   ========================================================== */


/* ==========================================================
   HERO SECTION
   ========================================================== */

.hero-section{

    margin:0 0 60px;

}

.hero-section h1{

    margin:0 0 20px;

    font-size:2.8rem;

    line-height:1.15;

    font-weight:700;

}

.hero-section .intro{

    font-size:1.18rem;

    line-height:1.9;

    color:#444;

    margin-bottom:30px;

}


/* ==========================================================
   HERO IMAGE
   ========================================================== */

.hero-image{

    max-width:900px;

    margin:40px auto;

}

.hero-image picture{

    display:block;

}

.hero-image img{

    display:block;

    width:100%;

    height:auto;

    border-radius:10px;

    box-shadow:0 8px 24px rgba(0,0,0,.08);

}

.hero-image figcaption{

    margin-top:12px;

    font-size:.92rem;

    color:#666;

    text-align:center;

    line-height:1.6;

}


/* ==========================================================
   LIVING DOCUMENT NOTICE
   ========================================================== */

.living-document{

    background:#eef6ff;

    border-left:5px solid #0b63ce;

    padding:18px 22px;

    margin:35px 0;

    border-radius:6px;

    font-size:.97rem;

    line-height:1.7;

}

.living-document strong{

    color:#0b63ce;

}


/* ==========================================================
   SUMMARY BOX
   ========================================================== */

.summary-box{

    background:#fafafa;

    border:1px solid #ddd;

    border-radius:10px;

    padding:28px;

    margin:45px 0;

}

.summary-box h2,

.summary-box h3{

    margin-top:0;

}

.summary-box p:last-child{

    margin-bottom:0;

}


/* ==========================================================
   QUICK SUMMARY LIST
   ========================================================== */

.summary-box ul{

    margin-top:20px;

}

.summary-box li{

    margin-bottom:10px;

}


/* ==========================================================
   TABLE OF CONTENTS
   ========================================================== */

.table-of-contents{

    background:#f7f9fc;

    border:1px solid #dbe5f1;

    border-radius:10px;

    padding:30px;

    margin:50px 0;

}

.table-of-contents h2{

    margin-top:0;

    margin-bottom:20px;

    font-size:1.6rem;

}

.table-of-contents ol,

.table-of-contents ul{

    margin:0;

    padding-left:22px;

}

.table-of-contents li{

    margin-bottom:12px;

}

.table-of-contents a{

    color:#0b63ce;

    text-decoration:none;

    font-weight:500;

}

.table-of-contents a:hover{

    text-decoration:underline;

}


/* ==========================================================
   ARTICLE STATISTICS
   ========================================================== */

.article-stats{

    display:flex;

    flex-wrap:wrap;

    gap:18px;

    margin:25px 0;

    color:#666;

    font-size:.95rem;

}

.article-stats span{

    display:flex;

    align-items:center;

    gap:6px;

}


/* ==========================================================
   ARTICLE INTRO
   ========================================================== */

.article-introduction{

    margin:40px 0 60px;

}

.article-introduction p{

    font-size:1.08rem;

    line-height:1.9;

}


/* ==========================================================
   SECTION DIVIDER
   ========================================================== */

.section-divider{

    width:80px;

    height:4px;

    background:#0b63ce;

    border-radius:4px;

    margin:40px auto;

}


/* ==========================================================
   ARTICLE LEAD
   ========================================================== */

.lead{

    font-size:1.18rem;

    line-height:1.9;

    color:#444;

}


/* ==========================================================
   ARTICLE BADGES
   ========================================================== */

.article-badges{

    display:flex;

    flex-wrap:wrap;

    gap:10px;

    margin:25px 0;

}

.article-badge{

    background:#eef6ff;

    color:#0b63ce;

    padding:8px 14px;

    border-radius:50px;

    font-size:.85rem;

    font-weight:600;

}


/* ==========================================================
   READING META ICONS
   ========================================================== */

.article-meta svg{

    width:16px;

    height:16px;

    flex-shrink:0;

}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width:992px){

.hero-section h1{

    font-size:2.4rem;

}

}


@media (max-width:768px){

.hero-section{

    margin-bottom:45px;

}

.hero-section h1{

    font-size:2rem;

}

.hero-section .intro{

    font-size:1.05rem;

}

.summary-box{

    padding:22px;

}

.table-of-contents{

    padding:22px;

}

.article-stats{

    display:block;

}

.article-stats span{

    display:block;

    margin-bottom:10px;

}

}


@media (max-width:480px){

.hero-section h1{

    font-size:1.75rem;

}

.hero-section .intro{

    font-size:1rem;

}

.table-of-contents{

    padding:18px;

}

.summary-box{

    padding:18px;

}

}

/* ==========================================================
   PART 3
   FIGURES • IMAGES • MEDIA
   ========================================================== */


/* ==========================================================
   ARTICLE FIGURE
   ========================================================== */

.article-figure{

    width:100%;

    max-width:900px;

    margin:50px auto;

    text-align:center;

}

.article-figure picture{

    display:block;

}

.article-figure img{

    display:block;

    width:100%;

    max-width:100%;

    height:auto;

    border-radius:10px;

    border:1px solid #e8e8e8;

    box-shadow:0 8px 20px rgba(0,0,0,.08);

    transition:transform .25s ease,
               box-shadow .25s ease;

}

.article-figure:hover img{

    transform:translateY(-2px);

    box-shadow:0 12px 28px rgba(0,0,0,.12);

}

.article-figure figcaption{

    margin-top:16px;

    padding:0 20px;

    font-size:.93rem;

    color:#666;

    line-height:1.7;

    font-style:italic;

}



/* ==========================================================
   IMAGE SIZES
   ========================================================== */

.image-small{

    max-width:500px;

    margin:40px auto;

}

.image-medium{

    max-width:700px;

    margin:45px auto;

}

.image-large{

    max-width:900px;

    margin:50px auto;

}

.image-full{

    max-width:1100px;

    margin:60px auto;

}



/* ==========================================================
   IMAGE ALIGNMENTS
   ========================================================== */

.image-left{

    float:left;

    width:42%;

    margin:0 35px 25px 0;

}

.image-right{

    float:right;

    width:42%;

    margin:0 0 25px 35px;

}

.image-center{

    margin-left:auto;

    margin-right:auto;

}



/* ==========================================================
   IMAGE BORDER OPTIONS
   ========================================================== */

.image-border{

    border:1px solid #ddd;

}

.image-shadow{

    box-shadow:0 12px 24px rgba(0,0,0,.12);

}

.image-rounded{

    border-radius:12px;

}



/* ==========================================================
   IMAGE GALLERY
   ========================================================== */

.image-gallery{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));

    gap:24px;

    margin:50px 0;

}

.image-gallery figure{

    margin:0;

}

.image-gallery img{

    width:100%;

    display:block;

    border-radius:8px;

}



/* ==========================================================
   SIDE BY SIDE IMAGES
   ========================================================== */

.image-row{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:30px;

    margin:45px 0;

}

.image-row figure{

    margin:0;

}



/* ==========================================================
   IMAGE OVERFLOW
   ========================================================== */

.image-wrapper{

    overflow:hidden;

    border-radius:10px;

}



/* ==========================================================
   RESPONSIVE IMAGE
   ========================================================== */

.responsive-image{

    width:100%;

    height:auto;

    display:block;

}



/* ==========================================================
   CTA IMAGE
   ========================================================== */

.cta-image{

    max-width:800px;

    margin:0 auto 35px;

}

.cta-image img{

    display:block;

    width:100%;

    height:auto;

    border-radius:12px;

}



/* ==========================================================
   FEATURE IMAGE
   ========================================================== */

.feature-image{

    margin:35px auto;

    max-width:800px;

}

.feature-image img{

    width:100%;

    height:auto;

}



/* ==========================================================
   IMAGE CREDIT
   ========================================================== */

.image-credit{

    margin-top:8px;

    font-size:.82rem;

    color:#999;

    text-align:right;

}



/* ==========================================================
   NO IMAGE
   ========================================================== */

.no-image{

    background:#f5f7fa;

    border:2px dashed #d9dde5;

    border-radius:10px;

    padding:60px 20px;

    text-align:center;

    color:#888;

}



/* ==========================================================
   MEDIA EMBEDS
   ========================================================== */

.media-embed{

    margin:50px 0;

}

.media-embed iframe{

    width:100%;

    aspect-ratio:16 / 9;

    border:0;

    border-radius:10px;

}



/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width:992px){

.image-left,

.image-right{

    float:none;

    width:100%;

    margin:40px auto;

}

}


@media (max-width:768px){

.article-figure{

    margin:40px auto;

}

.article-figure figcaption{

    padding:0 10px;

}

.image-row{

    grid-template-columns:1fr;

}

.image-gallery{

    gap:18px;

}

}


@media (max-width:480px){

.article-figure img{

    border-radius:8px;

}

.image-gallery{

    grid-template-columns:1fr;

}

}

/* ==========================================================
   PART 4
   CONTENT COMPONENTS
   Callouts • Info Boxes • Notes • Highlights
   ========================================================== */


/* ==========================================================
   BASE CONTENT BOX
   ========================================================== */

.callout,
.info-box,
.quick-facts,
.service-highlight{

    margin:40px 0;

    padding:28px;

    border-radius:10px;

}

.callout h3,
.info-box h3,
.quick-facts h3,
.service-highlight h3{

    margin-top:0;

    margin-bottom:16px;

}

.callout p:last-child,
.info-box p:last-child,
.quick-facts p:last-child,
.service-highlight p:last-child{

    margin-bottom:0;

}



/* ==========================================================
   PRIMARY CALLOUT
   ========================================================== */

.callout-primary{

    background:#eef6ff;

    border-left:6px solid #0b63ce;

}



/* ==========================================================
   SUCCESS CALLOUT
   ========================================================== */

.callout-success{

    background:#eefaf2;

    border-left:6px solid #28a745;

}



/* ==========================================================
   WARNING CALLOUT
   ========================================================== */

.callout-warning{

    background:#fff8e8;

    border-left:6px solid #f4a000;

}



/* ==========================================================
   DANGER CALLOUT
   ========================================================== */

.callout-danger{

    background:#fff1f1;

    border-left:6px solid #d63333;

}



/* ==========================================================
   INFORMATION BOX
   ========================================================== */

.info-box{

    background:#f8fbff;

    border:1px solid #d8e8fb;

}

.info-box ul{

    margin-top:18px;

}



/* ==========================================================
   QUICK FACTS
   ========================================================== */

.quick-facts{

    background:#fafafa;

    border:1px solid #ddd;

}

.quick-facts ul{

    margin:18px 0 0;

}



/* ==========================================================
   SERVICE HIGHLIGHT
   ========================================================== */

.service-highlight{

    background:#fdfdfd;

    border:1px solid #dcdcdc;

    box-shadow:0 3px 12px rgba(0,0,0,.05);

}



/* ==========================================================
   NOTE
   ========================================================== */

.note{

    background:#f7f9fc;

    border-left:5px solid #888;

    padding:20px;

    margin:35px 0;

    border-radius:8px;

}



/* ==========================================================
   PRO TIP
   ========================================================== */

.pro-tip{

    background:#eef7ff;

    border-left:5px solid #0066cc;

    padding:22px;

    margin:35px 0;

    border-radius:8px;

}

.pro-tip strong{

    color:#0066cc;

}



/* ==========================================================
   IMPORTANT
   ========================================================== */

.important{

    background:#fff7e8;

    border-left:5px solid #ff9800;

    padding:22px;

    margin:35px 0;

    border-radius:8px;

}



/* ==========================================================
   BEST PRACTICE
   ========================================================== */

.best-practice{

    background:#eefaf4;

    border-left:5px solid #28a745;

    padding:22px;

    margin:35px 0;

    border-radius:8px;

}



/* ==========================================================
   QUOTE
   ========================================================== */

blockquote{

    margin:40px 0;

    padding:24px 30px;

    border-left:5px solid #0b63ce;

    background:#f8fbff;

    font-size:1.08rem;

    line-height:1.9;

    font-style:italic;

}

blockquote p:last-child{

    margin-bottom:0;

}

blockquote cite{

    display:block;

    margin-top:18px;

    font-size:.9rem;

    font-style:normal;

    color:#666;

}



/* ==========================================================
   CHECKLIST
   ========================================================== */

.check-list{

    list-style:none;

    padding:0;

    margin:25px 0;

}

.check-list li{

    position:relative;

    padding-left:32px;

    margin-bottom:14px;

}

.check-list li::before{

    content:"✓";

    position:absolute;

    left:0;

    top:0;

    color:#198754;

    font-weight:700;

}



/* ==========================================================
   TWO COLUMN CHECKLIST
   ========================================================== */

.check-list.two-column{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:12px 40px;

}



/* ==========================================================
   DEFINITION BOX
   ========================================================== */

.definition-box{

    background:#fafafa;

    border:1px solid #ddd;

    padding:25px;

    margin:40px 0;

    border-radius:10px;

}

.definition-box dt{

    font-weight:700;

    margin-top:16px;

}

.definition-box dd{

    margin-left:0;

    margin-bottom:16px;

}



/* ==========================================================
   KEY TAKEAWAYS
   ========================================================== */

.key-takeaways{

    background:#f5f9ff;

    border:1px solid #cfe1ff;

    padding:30px;

    margin:45px 0;

    border-radius:10px;

}

.key-takeaways h3{

    margin-top:0;

}

.key-takeaways ul{

    margin-top:20px;

}



/* ==========================================================
   HIGHLIGHT TEXT
   ========================================================== */

.highlight{

    background:#fff4b3;

    padding:2px 5px;

    border-radius:3px;

}



/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width:768px){

.callout,
.info-box,
.quick-facts,
.service-highlight,
.note,
.pro-tip,
.important,
.best-practice,
.definition-box,
.key-takeaways{

    padding:22px;

}

.check-list.two-column{

    grid-template-columns:1fr;

}

blockquote{

    padding:22px;

}

}


@media (max-width:480px){

.callout,
.info-box,
.quick-facts,
.service-highlight,
.note,
.pro-tip,
.important,
.best-practice,
.definition-box,
.key-takeaways{

    padding:18px;

}

blockquote{

    padding:18px;

    font-size:1rem;

}

}

/* ==========================================================
   PART 5
   CARD SYSTEM
   Feature Cards • Service Cards • Article Cards
   ========================================================== */


/* ==========================================================
   GRID FOUNDATION
   ========================================================== */

.feature-grid,
.service-grid,
.article-grid,
.resource-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));

    gap:30px;

    margin:45px 0;

}


/* ==========================================================
   BASE CARD
   ========================================================== */

.feature-card,
.service-card,
.article-card,
.resource-card{

    display:flex;

    flex-direction:column;

    background:#fff;

    border:1px solid #e2e6ea;

    border-radius:12px;

    padding:28px;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;

}


/* ==========================================================
   CARD HOVER
   ========================================================== */

.feature-card:hover,
.service-card:hover,
.article-card:hover,
.resource-card:hover{

    transform:translateY(-4px);

    border-color:#0b63ce;

    box-shadow:0 14px 30px rgba(0,0,0,.08);

}


/* ==========================================================
   CARD HEADINGS
   ========================================================== */

.feature-card h3,
.service-card h3,
.article-card h3,
.resource-card h3{

    margin-top:0;

    margin-bottom:15px;

    font-size:1.25rem;

    line-height:1.4;

}

.feature-card h4,
.service-card h4,
.article-card h4,
.resource-card h4{

    margin-top:0;

}


/* ==========================================================
   CARD PARAGRAPHS
   ========================================================== */

.feature-card p,
.service-card p,
.article-card p,
.resource-card p{

    flex:1;

    margin-bottom:18px;

    line-height:1.75;

}


/* ==========================================================
   CARD LINKS
   ========================================================== */

.feature-card a,
.service-card a,
.article-card a,
.resource-card a{

    text-decoration:none;

}

.feature-card a:hover,
.service-card a:hover,
.article-card a:hover,
.resource-card a:hover{

    text-decoration:underline;

}


/* ==========================================================
   CARD IMAGES
   ========================================================== */

.feature-card img,
.service-card img,
.article-card img,
.resource-card img{

    width:100%;

    height:auto;

    display:block;

    border-radius:8px;

    margin-bottom:18px;

}


/* ==========================================================
   CARD FOOTER
   ========================================================== */

.card-footer{

    margin-top:auto;

    padding-top:18px;

    border-top:1px solid #ececec;

}


/* ==========================================================
   TEXT LINK
   ========================================================== */

.text-link{

    display:inline-flex;

    align-items:center;

    gap:8px;

    font-weight:600;

    color:#0b63ce;

}


/* ==========================================================
   RELATED ARTICLES
   ========================================================== */

.related-articles{

    margin-top:60px;

}

.related-articles h2{

    margin-bottom:25px;

}


/* ==========================================================
   RELATED SERVICES
   ========================================================== */

.related-services{

    margin-top:60px;

}

.related-services h2{

    margin-bottom:25px;

}


/* ==========================================================
   ICON CARD
   ========================================================== */

.icon-card{

    text-align:center;

    padding:35px 25px;

}

.icon-card img,
.icon-card svg{

    width:70px;

    height:70px;

    margin:0 auto 20px;

}


/* ==========================================================
   BENEFIT CARD
   ========================================================== */

.benefit-card{

    position:relative;

    padding-left:34px;

}

.benefit-card::before{

    content:"✓";

    position:absolute;

    left:0;

    top:0;

    font-size:22px;

    color:#198754;

    font-weight:700;

}


/* ==========================================================
   RESOURCE CARD
   ========================================================== */

.resource-card{

    background:#f9fbfd;

}


/* ==========================================================
   ARTICLE CARD TAG
   ========================================================== */

.card-tag{

    display:inline-block;

    margin-bottom:15px;

    padding:6px 12px;

    background:#eef6ff;

    color:#0b63ce;

    border-radius:40px;

    font-size:.82rem;

    font-weight:600;

}


/* ==========================================================
   ESTIMATED READING TIME
   ========================================================== */

.reading-time{

    margin-top:15px;

    font-size:.88rem;

    color:#777;

}


/* ==========================================================
   CARD BUTTON
   ========================================================== */

.card-button{

    display:inline-block;

    margin-top:15px;

}


/* ==========================================================
   CARD IMAGE WRAPPER
   ========================================================== */

.card-image{

    overflow:hidden;

    border-radius:10px;

    margin-bottom:18px;

}

.card-image img{

    transition:transform .35s ease;

}

.feature-card:hover .card-image img,
.service-card:hover .card-image img,
.article-card:hover .card-image img{

    transform:scale(1.04);

}


/* ==========================================================
   FEATURE HIGHLIGHT
   ========================================================== */

.feature-highlight{

    margin-top:18px;

    padding-top:18px;

    border-top:1px dashed #dcdcdc;

    font-size:.95rem;

    color:#555;

}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width:992px){

.feature-grid,
.service-grid,
.article-grid,
.resource-grid{

    grid-template-columns:repeat(2,1fr);

}

}


@media (max-width:768px){

.feature-grid,
.service-grid,
.article-grid,
.resource-grid{

    grid-template-columns:1fr;

    gap:22px;

}

.feature-card,
.service-card,
.article-card,
.resource-card{

    padding:22px;

}

}


@media (max-width:480px){

.feature-card,
.service-card,
.article-card,
.resource-card{

    padding:18px;

}

.icon-card{

    padding:25px 18px;

}

}

/* ==========================================================
   PART 6
   TABLES • WORKFLOWS • PROCESS COMPONENTS
   ========================================================== */


/* ==========================================================
   TABLE WRAPPER
   Prevent horizontal layout breaking on mobile
   ========================================================== */

.table-wrapper{

    width:100%;

    margin:45px 0;

    overflow-x:auto;

    -webkit-overflow-scrolling:touch;

}


/* ==========================================================
   BASE TABLE
   ========================================================== */

.comparison-table{

    width:100%;

    min-width:700px;

    border-collapse:collapse;

    border-spacing:0;

    background:#fff;

    border:1px solid #e4e7eb;

    border-radius:10px;

    overflow:hidden;

}


/* ==========================================================
   TABLE CAPTION
   ========================================================== */

.comparison-table caption{

    caption-side:top;

    text-align:left;

    font-weight:700;

    font-size:1.2rem;

    margin-bottom:18px;

}


/* ==========================================================
   TABLE HEADER
   ========================================================== */

.comparison-table thead{

    background:#0b63ce;

}

.comparison-table th{

    padding:16px 18px;

    color:#fff;

    text-align:left;

    font-weight:600;

    vertical-align:top;

}


/* ==========================================================
   TABLE CELLS
   ========================================================== */

.comparison-table td{

    padding:16px 18px;

    border-top:1px solid #eceff3;

    vertical-align:top;

    line-height:1.7;

}


/* ==========================================================
   ALTERNATE ROWS
   ========================================================== */

.comparison-table tbody tr:nth-child(even){

    background:#f8fafc;

}


/* ==========================================================
   HOVER
   ========================================================== */

.comparison-table tbody tr:hover{

    background:#eef6ff;

}


/* ==========================================================
   FIRST COLUMN
   ========================================================== */

.comparison-table td:first-child{

    font-weight:600;

}


/* ==========================================================
   SMALL TABLE
   ========================================================== */

.table-small{

    max-width:700px;

    margin:45px auto;

}


/* ==========================================================
   LARGE TABLE
   ========================================================== */

.table-large{

    min-width:1000px;

}


/* ==========================================================
   COMPARISON LABELS
   ========================================================== */

.good{

    color:#198754;

    font-weight:600;

}

.average{

    color:#d18d00;

    font-weight:600;

}

.poor{

    color:#c62828;

    font-weight:600;

}


/* ==========================================================
   WORKFLOW
   ========================================================== */

.workflow-list{

    margin:50px 0;

    padding:0;

    list-style:none;

}


/* ==========================================================
   WORKFLOW ITEM
   ========================================================== */

.workflow-list li{

    position:relative;

    padding:0 0 35px 65px;

}


/* ==========================================================
   WORKFLOW VERTICAL LINE
   ========================================================== */

.workflow-list li::before{

    content:"";

    position:absolute;

    left:22px;

    top:0;

    bottom:0;

    width:2px;

    background:#d8e4f4;

}


/* ==========================================================
   WORKFLOW CIRCLE
   ========================================================== */

.workflow-list li::after{

    content:"";

    position:absolute;

    left:12px;

    top:6px;

    width:22px;

    height:22px;

    background:#0b63ce;

    border:4px solid #fff;

    border-radius:50%;

    box-shadow:0 0 0 2px #0b63ce;

}


/* ==========================================================
   REMOVE LAST LINE
   ========================================================== */

.workflow-list li:last-child::before{

    display:none;

}


/* ==========================================================
   WORKFLOW HEADINGS
   ========================================================== */

.workflow-list h3{

    margin-top:0;

    margin-bottom:12px;

}


/* ==========================================================
   PROCESS STEPS
   ========================================================== */

.process-steps{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    gap:25px;

    margin:45px 0;

}


/* ==========================================================
   PROCESS CARD
   ========================================================== */

.process-step{

    background:#fff;

    border:1px solid #e5e5e5;

    border-radius:10px;

    padding:25px;

    position:relative;

}


/* ==========================================================
   STEP NUMBER
   ========================================================== */

.process-step-number{

    width:42px;

    height:42px;

    display:flex;

    align-items:center;

    justify-content:center;

    margin-bottom:18px;

    border-radius:50%;

    background:#0b63ce;

    color:#fff;

    font-weight:700;

}


/* ==========================================================
   TIMELINE
   ========================================================== */

.timeline{

    margin:60px 0;

}


/* ==========================================================
   TIMELINE ITEM
   ========================================================== */

.timeline-item{

    margin-bottom:45px;

}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width:992px){

.process-steps{

    grid-template-columns:repeat(2,1fr);

}

}


@media (max-width:768px){

.comparison-table{

    min-width:600px;

}

.workflow-list li{

    padding-left:55px;

}

.process-steps{

    grid-template-columns:1fr;

}

.process-step{

    padding:22px;

}

}


@media (max-width:480px){

.process-step{

    padding:18px;

}

.comparison-table th,

.comparison-table td{

    padding:12px;

}

}

/* ==========================================================
   PART 7
   FAQ • ACCORDION SYSTEM
   Semantic HTML5 (<details> / <summary>)
   ========================================================== */


/* ==========================================================
   FAQ SECTION
   ========================================================== */

.faq-list{

    margin:60px 0;

}


/* ==========================================================
   FAQ ITEM
   ========================================================== */

.faq-item{

    margin:0 0 18px;

    border:1px solid #e2e6ea;

    border-radius:10px;

    overflow:hidden;

    background:#fff;

    transition:border-color .25s ease,
               box-shadow .25s ease;

}


/* ==========================================================
   OPEN ITEM
   ========================================================== */

.faq-item[open]{

    border-color:#0b63ce;

    box-shadow:0 6px 20px rgba(0,0,0,.06);

}


/* ==========================================================
   SUMMARY
   ========================================================== */

.faq-item summary{

    position:relative;

    display:block;

    cursor:pointer;

    padding:22px 60px 22px 24px;

    list-style:none;

    font-size:1.08rem;

    font-weight:600;

    line-height:1.6;

    user-select:none;

}


/* Hide default marker */

.faq-item summary::-webkit-details-marker{

    display:none;

}

.faq-item summary::marker{

    display:none;

}


/* ==========================================================
   PLUS / MINUS ICON
   ========================================================== */

.faq-item summary::after{

    content:"+";

    position:absolute;

    right:24px;

    top:50%;

    transform:translateY(-50%);

    width:28px;

    height:28px;

    border-radius:50%;

    background:#eef6ff;

    color:#0b63ce;

    font-size:22px;

    font-weight:700;

    display:flex;

    align-items:center;

    justify-content:center;

    transition:all .25s ease;

}


.faq-item[open] summary::after{

    content:"−";

    background:#0b63ce;

    color:#fff;

}


/* ==========================================================
   SUMMARY HOVER
   ========================================================== */

.faq-item summary:hover{

    background:#f7fbff;

}


/* ==========================================================
   KEYBOARD FOCUS
   ========================================================== */

.faq-item summary:focus-visible{

    outline:3px solid #0b63ce;

    outline-offset:-3px;

}


/* ==========================================================
   ANSWER
   ========================================================== */

.faq-answer{

    padding:0 24px 24px;

}


.faq-answer p:last-child{

    margin-bottom:0;

}


/* ==========================================================
   FAQ LINKS
   ========================================================== */

.faq-answer a{

    color:#0b63ce;

    text-decoration:none;

    font-weight:500;

}


.faq-answer a:hover{

    text-decoration:underline;

}


/* ==========================================================
   FAQ LISTS
   ========================================================== */

.faq-answer ul,

.faq-answer ol{

    margin-top:18px;

}


.faq-answer li{

    margin-bottom:10px;

}


/* ==========================================================
   FAQ INTRO
   ========================================================== */

.faq-introduction{

    margin-bottom:35px;

}


/* ==========================================================
   FAQ CALLOUT
   ========================================================== */

.faq-callout{

    margin-top:40px;

    padding:24px;

    border-radius:10px;

    background:#f8fbff;

    border-left:5px solid #0b63ce;

}


/* ==========================================================
   FAQ CATEGORY
   ========================================================== */

.faq-category{

    margin-top:60px;

}


.faq-category h3{

    margin-bottom:22px;

}


/* ==========================================================
   FAQ SEARCH (Future)
   ========================================================== */

.faq-search{

    margin:35px 0;

}


.faq-search input{

    width:100%;

    padding:14px 18px;

    border:1px solid #d8dde3;

    border-radius:8px;

    font-size:1rem;

}


/* ==========================================================
   FAQ TAG
   ========================================================== */

.faq-tag{

    display:inline-block;

    margin-bottom:12px;

    padding:5px 10px;

    border-radius:20px;

    background:#eef6ff;

    color:#0b63ce;

    font-size:.8rem;

    font-weight:600;

}


/* ==========================================================
   FAQ FOOTER
   ========================================================== */

.faq-footer{

    margin-top:50px;

    text-align:center;

    color:#666;

    font-size:.95rem;

}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width:768px){

.faq-item summary{

    padding:20px 54px 20px 18px;

    font-size:1rem;

}

.faq-answer{

    padding:0 18px 20px;

}

.faq-callout{

    padding:20px;

}

}


@media (max-width:480px){

.faq-item summary{

    padding:18px 48px 18px 16px;

}

.faq-item summary::after{

    width:24px;

    height:24px;

    right:16px;

    font-size:18px;

}

.faq-answer{

    padding:0 16px 18px;

}

}

/* ==========================================================
   PART 8
   CTA SYSTEM
   Conversion Components
   ========================================================== */


/* ==========================================================
   CTA SECTION
   ========================================================== */

.cta-section{

    margin:80px 0;

    padding:0;

}


/* ==========================================================
   CTA WRAPPER
   ========================================================== */

.cta-wrapper{

    background:#0b63ce;

    color:#fff;

    border-radius:14px;

    overflow:hidden;

    box-shadow:0 14px 36px rgba(0,0,0,.14);

}


/* ==========================================================
   CTA IMAGE
   ========================================================== */

.cta-image{

    margin:0;

}

.cta-image picture{

    display:block;

}

.cta-image img{

    display:block;

    width:100%;

    height:auto;

}


/* ==========================================================
   CTA CONTENT
   ========================================================== */

.cta-content{

    padding:42px;

}


/* ==========================================================
   CTA HEADINGS
   ========================================================== */

.cta-content h2{

    margin:0 0 20px;

    color:#fff;

    font-size:2rem;

    line-height:1.25;

}

.cta-content h3{

    color:#fff;

}


/* ==========================================================
   CTA TEXT
   ========================================================== */

.cta-content p{

    color:rgba(255,255,255,.92);

    line-height:1.9;

}

.cta-lead{

    font-size:1.15rem;

    margin-bottom:22px;

}


/* ==========================================================
   CTA NOTE
   ========================================================== */

.cta-note{

    margin:25px 0;

    padding:18px 20px;

    background:rgba(255,255,255,.12);

    border-left:4px solid rgba(255,255,255,.7);

    border-radius:8px;

    font-size:.96rem;

}


/* ==========================================================
   CTA BUTTON GROUP
   ========================================================== */

.cta-buttons{

    display:flex;

    flex-wrap:wrap;

    gap:18px;

    margin-top:35px;

}


/* ==========================================================
   CTA BUTTONS
   ========================================================== */

.cta-buttons .btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    min-width:220px;

    padding:15px 28px;

    border-radius:8px;

    font-weight:600;

    text-decoration:none;

    transition:all .25s ease;

}


/* ==========================================================
   PRIMARY BUTTON
   ========================================================== */

.cta-buttons .btn-primary{

    background:#fff;

    color:#0b63ce;

    border:2px solid #fff;

}

.cta-buttons .btn-primary:hover{

    background:#f5f5f5;

    transform:translateY(-2px);

}


/* ==========================================================
   SECONDARY BUTTON
   ========================================================== */

.cta-buttons .btn-secondary{

    background:transparent;

    color:#fff;

    border:2px solid rgba(255,255,255,.7);

}

.cta-buttons .btn-secondary:hover{

    background:rgba(255,255,255,.12);

    transform:translateY(-2px);

}


/* ==========================================================
   CTA FEATURES
   ========================================================== */

.cta-features{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    gap:18px;

    margin:35px 0;

}


.cta-feature{

    padding:18px;

    border-radius:8px;

    background:rgba(255,255,255,.08);

}


.cta-feature h4{

    margin-top:0;

    color:#fff;

}


.cta-feature p{

    margin-bottom:0;

}


/* ==========================================================
   TRUST PANEL
   ========================================================== */

.trust-panel{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));

    gap:20px;

    margin:40px 0;

}


.trust-item{

    padding:20px;

    text-align:center;

    border-radius:8px;

    background:#f7f9fc;

    border:1px solid #dfe6ee;

}


.trust-item h4{

    margin:15px 0 10px;

}


.trust-item p{

    margin:0;

    font-size:.95rem;

}


/* ==========================================================
   GUARANTEE BOX
   ========================================================== */

.guarantee-box{

    margin:40px 0;

    padding:25px;

    border-radius:10px;

    background:#eef7ff;

    border-left:5px solid #0b63ce;

}


/* ==========================================================
   CONTACT PROMPT
   ========================================================== */

.contact-prompt{

    margin:40px 0;

    padding:30px;

    text-align:center;

    border:1px solid #e2e6ea;

    border-radius:10px;

    background:#fafafa;

}


.contact-prompt h3{

    margin-top:0;

}


/* ==========================================================
   CTA DIVIDER
   ========================================================== */

.cta-divider{

    margin:50px auto;

    width:100px;

    height:4px;

    border-radius:2px;

    background:#0b63ce;

}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width:992px){

.cta-content{

    padding:35px;

}

}


@media (max-width:768px){

.cta-content{

    padding:28px;

}

.cta-content h2{

    font-size:1.7rem;

}

.cta-buttons{

    flex-direction:column;

}

.cta-buttons .btn{

    width:100%;

    min-width:auto;

}

.trust-panel{

    grid-template-columns:1fr;

}

.cta-features{

    grid-template-columns:1fr;

}

}


@media (max-width:480px){

.cta-content{

    padding:22px;

}

.cta-content h2{

    font-size:1.5rem;

}

.cta-note{

    padding:15px;

}

.contact-prompt{

    padding:22px;

}

}

/* ==========================================================
   PART 9
   RELATED CONTENT • ARTICLE FOOTER • NAVIGATION
   ========================================================== */


/* ==========================================================
   RELATED ARTICLES
   ========================================================== */

.related-articles{

    margin:80px 0 60px;

}

.related-articles h2{

    margin-bottom:30px;

}

.article-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:28px;

}


/* ==========================================================
   RELATED SERVICES
   ========================================================== */

.related-services{

    margin:70px 0;

}

.related-services h2{

    margin-bottom:30px;

}

.service-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:28px;

}


/* ==========================================================
   RELATED READING
   ========================================================== */

.related-reading{

    margin:50px 0;

    padding:28px;

    background:#f8fbff;

    border:1px solid #d8e6f5;

    border-radius:10px;

}

.related-reading h3{

    margin-top:0;

}

.related-reading ul{

    margin:18px 0 0;

}

.related-reading li{

    margin-bottom:12px;

}


/* ==========================================================
   ARTICLE TAGS
   ========================================================== */

.article-tags{

    display:flex;

    flex-wrap:wrap;

    gap:12px;

    margin:50px 0 20px;

}

.article-tags .tag{

    display:inline-block;

    padding:8px 14px;

    border-radius:30px;

    background:#eef6ff;

    color:#0b63ce;

    font-size:.85rem;

    font-weight:600;

    border:1px solid #d8e6f5;

}


/* ==========================================================
   ARTICLE FOOTER
   ========================================================== */

.article-footer{

    margin-top:70px;

    padding-top:35px;

    border-top:1px solid #e5e5e5;

}

.article-footer p{

    color:#666;

}


/* ==========================================================
   ARTICLE UPDATED
   ========================================================== */

.article-updated{

    margin-top:25px;

    color:#666;

    font-size:.92rem;

}


/* ==========================================================
   ARTICLE NAVIGATION
   ========================================================== */

.article-navigation{

    display:flex;

    justify-content:space-between;

    gap:25px;

    margin:70px 0;

}

.article-navigation a{

    flex:1;

    display:block;

    padding:24px;

    border:1px solid #e3e6ea;

    border-radius:10px;

    text-decoration:none;

    transition:all .25s ease;

    background:#fff;

}

.article-navigation a:hover{

    border-color:#0b63ce;

    box-shadow:0 8px 24px rgba(0,0,0,.08);

    transform:translateY(-2px);

}

.article-navigation small{

    display:block;

    color:#888;

    margin-bottom:10px;

}

.article-navigation strong{

    display:block;

    color:#222;

    line-height:1.5;

}


/* ==========================================================
   BACK TO TOP
   ========================================================== */

.back-to-top{

    margin:45px 0;

    text-align:right;

}

.back-to-top a{

    display:inline-flex;

    align-items:center;

    gap:8px;

    text-decoration:none;

    font-weight:600;

    color:#0b63ce;

}

.back-to-top a:hover{

    text-decoration:underline;

}


/* ==========================================================
   SHARE BOX
   ========================================================== */

.share-box{

    margin:60px 0;

    padding:24px;

    border:1px solid #e2e6ea;

    border-radius:10px;

    background:#fafafa;

}

.share-box h3{

    margin-top:0;

}

.share-links{

    display:flex;

    flex-wrap:wrap;

    gap:12px;

    margin-top:18px;

}

.share-links a{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    min-width:120px;

    padding:10px 18px;

    border-radius:8px;

    border:1px solid #d8dde3;

    background:#fff;

    text-decoration:none;

    transition:all .25s ease;

}

.share-links a:hover{

    border-color:#0b63ce;

    background:#eef6ff;

}


/* ==========================================================
   AUTHOR BOX
   ========================================================== */

.author-box{

    display:flex;

    gap:24px;

    align-items:flex-start;

    margin:70px 0;

    padding:28px;

    border:1px solid #e2e6ea;

    border-radius:12px;

    background:#fafafa;

}

.author-photo{

    width:90px;

    height:90px;

    border-radius:50%;

    overflow:hidden;

    flex-shrink:0;

}

.author-photo img{

    width:100%;

    height:100%;

    object-fit:cover;

}

.author-content{

    flex:1;

}

.author-content h3{

    margin-top:0;

    margin-bottom:10px;

}


/* ==========================================================
   KNOWLEDGE HUB NOTICE
   ========================================================== */

.knowledge-hub{

    margin:60px 0;

    padding:24px;

    background:#f5f9ff;

    border-left:5px solid #0b63ce;

    border-radius:8px;

}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width:992px){

.author-box{

    flex-direction:column;

    align-items:center;

    text-align:center;

}

}


@media (max-width:768px){

.article-navigation{

    flex-direction:column;

}

.article-tags{

    gap:10px;

}

.back-to-top{

    text-align:center;

}

.share-links{

    justify-content:center;

}

}


@media (max-width:480px){

.related-reading{

    padding:20px;

}

.author-box{

    padding:20px;

}

.article-navigation a{

    padding:18px;

}

}

/* ==========================================================
   PART 10
   FINAL POLISH
   Responsive • Accessibility • Print • Utilities
   cornerstone.css v1.0
   ========================================================== */


/* ==========================================================
   RESPONSIVE TYPOGRAPHY
   ========================================================== */

@media (max-width:992px){

    .content-section h2{

        font-size:1.85rem;

    }

    .content-section h3{

        font-size:1.35rem;

    }

}

@media (max-width:768px){

    .cornerstone-container{

        padding:30px 18px 60px;

    }

    .article-content{

        max-width:100%;

    }

    .content-section{

        margin:55px 0;

    }

    .content-section h2{

        font-size:1.65rem;

    }

    .content-section h3{

        font-size:1.25rem;

    }

    .content-section p{

        font-size:1rem;

        line-height:1.8;

    }

}

@media (max-width:480px){

    .cornerstone-container{

        padding:25px 15px 50px;

    }

    .content-section{

        margin:45px 0;

    }

    .content-section h2{

        font-size:1.45rem;

    }

    .content-section h3{

        font-size:1.15rem;

    }

}



/* ==========================================================
   GLOBAL SPACING HELPERS
   ========================================================== */

.mt-0{margin-top:0!important;}
.mb-0{margin-bottom:0!important;}

.mt-1{margin-top:10px!important;}
.mt-2{margin-top:20px!important;}
.mt-3{margin-top:30px!important;}
.mt-4{margin-top:40px!important;}
.mt-5{margin-top:60px!important;}

.mb-1{margin-bottom:10px!important;}
.mb-2{margin-bottom:20px!important;}
.mb-3{margin-bottom:30px!important;}
.mb-4{margin-bottom:40px!important;}
.mb-5{margin-bottom:60px!important;}

.text-center{text-align:center;}
.text-left{text-align:left;}
.text-right{text-align:right;}

.w-100{width:100%;}



/* ==========================================================
   SCREEN READER ONLY
   ========================================================== */

.visually-hidden{

    position:absolute!important;

    width:1px;

    height:1px;

    padding:0;

    margin:-1px;

    overflow:hidden;

    clip:rect(0,0,0,0);

    white-space:nowrap;

    border:0;

}



/* ==========================================================
   SKIP LINK
   ========================================================== */

.skip-link{

    position:absolute;

    top:-60px;

    left:20px;

    padding:12px 18px;

    background:#0b63ce;

    color:#fff;

    text-decoration:none;

    border-radius:6px;

    z-index:9999;

}

.skip-link:focus{

    top:20px;

}



/* ==========================================================
   SELECTION
   ========================================================== */

::selection{

    background:#dcecff;

    color:#111;

}



/* ==========================================================
   SMOOTH SCROLL
   ========================================================== */

html{

    scroll-behavior:smooth;

}



/* ==========================================================
   REDUCED MOTION
   ========================================================== */

@media (prefers-reduced-motion:reduce){

    *{

        animation:none!important;

        transition:none!important;

        scroll-behavior:auto!important;

    }

}



/* ==========================================================
   PRINT
   ========================================================== */

@media print{

    body{

        background:#fff;

        color:#000;

    }

    .breadcrumb,
    .article-meta,
    .table-of-contents,
    .cta-section,
    .related-articles,
    .related-services,
    .share-box,
    .article-navigation,
    .back-to-top{

        display:none!important;

    }

    .content-section{

        page-break-inside:avoid;

    }

    img{

        max-width:100%!important;

    }

    a{

        color:#000;

        text-decoration:none;

    }

}



/* ==========================================================
   DARK MODE PREPARATION
   (Reserved for future implementation)
   ========================================================== */

@media (prefers-color-scheme:dark){

    /*
        Reserved for Knowledge Hub v2.0

        Keeping this block intentionally empty
        allows seamless future implementation
        without restructuring the stylesheet.
    */

}



/* ==========================================================
   COMPONENT DEFAULTS
   ========================================================== */

picture{

    display:block;

}

figure{

    margin:0;

}

figcaption{

    display:block;

}

details{

    display:block;

}

summary{

    cursor:pointer;

}



/* ==========================================================
   IMAGE PERFORMANCE
   ====================================   image-rendering:auto;

}



/* ==========================================================
   BROWSER POLISH
   ========================================================== */

*{

    box-sizing:border-box;

}

html{

    -webkit-text-size-adjust:100%;

}

body{

    text-rendering:optimizeLegibility;

    -webkit-font-smoothing:antialiased;

    -moz-osx-font-smoothing:grayscale;

}



/* ==========================================================
   VERSION
   ========================================================== */

/*

cornerstone.css
Version : 1.0

Knowledge Hub Design System

Developed for:

DollarTypingService.com

Supports:

✓ BG-007
✓ BG-008
✓ BG-009
✓ BG-010
✓ BG-011
✓ Future Cornerstone Articles

Design Goals

✓ Mobile First
✓ Responsive
✓ Semantic HTML5
✓ Accessibility
✓ Core Web Vitals
✓ Evergreen Architecture
✓ Reusable Components

*/