@charset "UTF-8";

/* Modern CSS Reset */
*, *::before, *::after {
    box-sizing: border-box;
}

html, body, p, table, tbody, td, tr, section, aside, figure, iframe, figcaption, hgroup, header, footer, nav, article, div, span, form, ul, ol, li, blockquote, img {
    margin: 0;
    padding: 0;
    border: none;
    vertical-align: baseline;
}

section, header, footer, nav, aside, article, hgroup, figure, figcaption, aside { display: block; }

html {
    scroll-behavior: smooth;
}

.center-align-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

body {
    color: #2c3e50;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    background-color: #ffffff;
    font-weight: 400;
}


p { margin-bottom: 1.5em; }

h1, h2, h3, h4, h5 {
    line-height: 1.4;
    margin-bottom: 0.5em;
}

ul  {
    margin-bottom: 1.4em;
}

ul li {
    margin-bottom: 0.5em;
    list-style-type: square;
    list-style-position: inside;
}

/* Remove list styles from navigation */
.nav-list li {
    list-style: none;
}

ul ul, ul ol, ol ol, ol ul {
    margin-left: 1.5em!important;
    margin-top: 1em!important;
}

a {
    text-decoration: none;
    color: #3498db;
    transition: all 0.3s ease;
}

a:visited { color: #2980b9; }
a:hover { color: #5dade2; }

.btn, #commentViewEntry input[type=submit], .paging-prev a, .paging-next a, .categoryPaging a, .signInButtonStyle {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    display: inline-block;
    padding: 0.75rem 1.5rem;
    margin-bottom: 1.5rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.2);
}

.btn:hover, #commentViewEntry input[type=submit]:hover, .paging-prev a:hover, .paging-next a:hover, .categoryPaging a:hover, .signInButtonStyle:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(52, 152, 219, 0.3);
    background: linear-gradient(135deg, #5dade2, #3498db);
}

.paging-prev { float: left; }
.paging-next { float: right; }

blockquote {
    margin-bottom: 1.5em;
    border-left: 2px solid #e2842c;
    background-color: #f7f7f7;
    padding: 1em;
    font-size: 90%;
    overflow: auto;
}

blockquote .cite {
    color: #fff;
    background: #e2842c;
    padding: 0.5em;
    display: block;
    float: right;
    font-size: 90%;
    position: relative;
}

blockquote .cite:after {
    content:"";
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    right: 10%;
    bottom: -7px;
    border-width:7px 7px 0 0;
    border-style:solid;
    border-color:#e2842c transparent;
}

blockquote p:last-child, blockquote ul:last-child, blockquote img:last-child {
    margin-bottom: 0;
}


/* Modern Header */
.modern-header {
    background: #ffffff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
    border-bottom: 1px solid #e9ecef;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Styles */
.logo {
    flex-shrink: 0;
}

.logo-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: opacity 0.3s ease;
}

.logo-link:hover {
    opacity: 0.8;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 0.875rem;
    color: #6c757d;
    font-weight: 400;
    margin-top: 0.125rem;
}

/* Modern Navigation */
.main-nav {
    position: relative;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 0.25rem;
}

.nav-toggle span {
    width: 1.5rem;
    height: 0.125rem;
    background: #2c3e50;
    transition: all 0.3s ease;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover, .nav-link:visited:hover {
    color: #3498db;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: #3498db;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.external {
    color: #6c757d;
}

.nav-link.external:hover {
    color: #3498db;
}

div.adminNavbarStyle ul {
    margin-top: 1.4em;
    margin-bottom: 1.4em;
}

div.adminNavbarStyle ul li {
    display: inline-block;
    margin-left: 0.5em;
    margin-right: 0.5em;
    font-size: 90%;
    margin-bottom: 0;
}


a.current, a.current:visited {
    color: #e2842c;
    font-weight: bold;
}

.item-prevnext {
    text-align: center;
    margin: 1em 0;
    font-weight: bold;
}

/* Modern Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #3498db;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-description {
    font-size: 1.125rem;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
}

.btn-outline {
    background: transparent;
    color: #3498db;
    border: 2px solid #3498db;
}

.btn-outline:hover {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
}

.hero-image {
    text-align: center;
    animation: fadeInRight 0.8s ease-out 0.2s both;
}

.profile-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

#aboutMeIntro {
    padding-top: 100px;
    padding-bottom: 100px;
    /*background: #ffffff url('/images/bg-about-adi-photo.jpg') no-repeat center center;*/
    background-color: #ffffff;
    background-image: url("/images/bg-about-adi-photo.jpg");
    /* Image is centered vertically and horizontally at all times */
    background-position: center;
    /* Image doesn't repeat */
    background-repeat: no-repeat;
}

.line-tan { background: transparent url('/images/bg-line-tan.png') repeat center top; }
.bioBoxInner {
    padding-left: 125px;
    background: transparent url('/images/photo-adi-tall.jpg') no-repeat left top;
}

#aboutMeIntro h2, #speakingIntro h2, #podcastIntro h2, #privacyIntro h2 {
    font-size: 300%;
    color: #fff;
    text-align: center;
    margin: 4.5em 0 2em 0;
}


#intro .containerInner .btn {
    margin: 5em 0;
    display: block;
    float: left;

}

.hIntro {
    filter: drop-shadow(2px 2px 6px black);
    font-size: 400%;
    text-align: center;
    margin-top: 4em;
}


.inlineImage { display: inline-block!important; margin: 0!important;}

#bannerText .containerInner {
    position: relative;
}

#bannerText .containerInner:before {
    content:"";
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    left: -webkit-calc(50% - 10px);
    left: -moz-calc(50% - 10px);
    left: -o-calc(50% - 10px);
    left: calc(50% - 10px);
    top: 0;
    border-width:10px 10px 0;
    border-style:solid;
    border-color:#E2842C transparent;
}

#banner .containerInner, #bannerText .containerInner {
    padding-left: 30px;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

}

#bannerText .containerInner {
    padding-top: 30px;
}

#bannerText p {
    font-size: 150%;
}

#disclaimer {
    text-align: center;
}

#disclaimer .containerInner {
    padding: 1em 0;
}


#disclaimer p {
    color: #575e5b;
    font-size: 90%;
    margin-bottom: 0;
}

/* Modern Footer */
footer {
    background: #2c3e50;
    color: #ecf0f1;
    margin-top: 4rem;
}

footer .containerInner {
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-link {
    color: #ecf0f1;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-link:hover {
    color: #3498db;
}

.footer-link .icon {
    font-size: 1.1rem;
}

.copyright {
    text-align: right;
    font-size: 0.875rem;
}

.copyright p {
    margin: 0 0 0.5rem 0;
    color: #bdc3c7;
}

.copyright a {
    color: #3498db;
    text-decoration: none;
}

.copyright a:hover {
    color: #5dade2;
}

.powered-by {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: flex-end;
    margin-top: 0.5rem;
}

.powered-by span {
    color: #95a5a6;
    font-size: 0.8rem;
}

.powered-by img {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.powered-by img:hover {
    opacity: 1;
}

@media only screen and (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .copyright {
        text-align: center;
    }
    
    .powered-by {
        justify-content: center;
    }
}

footer .bio {
    padding-bottom: 15px;
    border-bottom: 1px solid #5a4d41;
}

footer .bio img {
    margin-right: 30px;
}

.footer-container {
    width: 219px;
    padding-left: 30px;
    border-right: 1px solid #5a4d41;
    float: left;
    padding-bottom: 30px;
}

.footer-container:last-child {
    border-right: 1px solid transparent;
}

.footer-container li {
    list-style: none;

}

.copyright { text-align: center; color: #000000; font-size: 80%; margin: 2em auto;}

/* layout */


.containerOuter{
    width: 100%;
    overflow: hidden;
}

.itemFeed li {
    list-style: none;
    margin-bottom: 1em;
}

.itemFeed li span{
    font-size: 80%;
    color: #888;
}

.itemFeed p {
    margin-bottom: 2em;
}

.containerInner {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
    overflow: auto;
    box-sizing: border-box;
}

.containerInnerNarrow {
    width: 750px;
    margin: 0 auto;
    padding-left: 125px;
    padding-right: 125px;
    overflow: hidden;
}

hr {
    border-color: #e2842c;
    color: #e2842c;
}

.bodyContentStyle {
    background-color: #fff;

}

input[type=text], input[type=password], textarea {
    border: 1px solid #cfcfcf;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1) inset;
    font-size: 100%;
    padding: 0.3em;
    -webkit-appearance: none;
    border-radius: 0;
}


.livepreview {
    border: 1px dashed #aaa;
    padding: 0.5em;
}


.col-left {
    padding-left: 30px;
    padding-right: 30px;
    border-right: 1px solid #f8f1eb;
    width: 439px;
    float: left;
    padding-bottom: 2em;
}

.col-right {
    padding-left: 30px;
    padding-right: 30px;
    width: 440px;
    float: left;
}

.col-left h3:after, .col-right h3:after {
    content:"";
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    bottom: 0;
    border-style:solid;
    border-color:#fff transparent;
}

.col-left h3:after {
    right: 0;
    border-width:0 0 12px 12px;
}

.col-right h3:after {
    left: 0;
    border-width:0 12px 12px 0;
}

.col-left h3:after {
    content:"";
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    right: 0;
    bottom: 0;
    border-width:0 0 12px 12px;
    border-style:solid;
    border-color:#fff transparent;
}

#mainContent h3 {
    font-weight: bold;
    padding: 2em 0 2em 1em;
    display: block;
    margin: 0 -30px 1em -30px;
    color: #fff;
    position: relative;
}

#mainContent { background-color: #fff; }
#mainContent .containerInner {
    border-left: 1px solid #f8f1eb;
    border-right: 1px solid #f8f1eb;

}
.relatedLinks li {
    list-style: none;
}


.bioBox {
    width: 460px;
    float: left;
}

.bioBox a.sm-link img{
    margin-left: 0;
    margin-right: 0px;
    margin-bottom: 5px;
}

.bioBox h4 {
    margin-top: 0;
    margin-bottom:1em;
    color: #575E5B;
}



.bioBoxInner p{
    width: 100%;
    font-size: 80%;
}

.bioBoxInner a {
    font-size: 80%;
}

.chocolate { background-color: #5b2d26; }
.yellow { background-color: #fbba2c;}
.burntSienna { background-color: #83382b;}
.orange { background-color: #e2842c; }
.darkbrown { background-color: #291f16; }
.darkteal { background-color: #575e5b; }


.blogHeader { }

.blogHeader .containerInner {
    padding: 2em 0;
}
.blogHeader .blogTitle {
    font-size: 250%;
    font-weight: bold;
    color: #575e5b;
}

.blogHeader .blogTitle a, .blogHeader .blogTitle a:visited { color: #575e5b;; }

.blogMetaInfo .containerInnerNarrow {
    color: #e0e0e0;
    font-size: 80%;
    overflow: hidden;
}

.blogMetaCategories a, .blogMetaCategories a:visited {
    color: #E2842C;
}
.commentLinkStyle, .dbc-comment-on-post-link {
    color: #fff !important;
    background: #e2842c;
    padding: 0.8em 0.8em;
    margin: 0 0.8em;
    display: inline-block;
    position: relative;
}

.commentLinkStyle:after, .dbc-comment-on-post-link:after {
    content: "";
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    right: 20%;
    bottom: -5px;
    border-width: 5px 5px 0 0;
    border-style: solid;
    border-color: #e2842c transparent;
}

.archiveBody table td {
    padding: 0.3em 1em 0.3em 0;
}

.archiveBody .date { font-size: 125%; font-weight: bold; }

.blogBodyContainer {
    background-color: #fff;
    overflow: hidden!important;
}

@media (prefers-color-scheme: light) {
    .blogBodyContainer {
        background-color: #ffffff;
    }
    .calendarContainer {
        background-color: #ffffff!important;
    }

}

.blogBody {
    border-left: 1px solid #F8F1EB;
    border-right: 1px solid #F8F1EB;
    max-width: 998px;
    width: 100%;
    padding: 0.5em 1rem;
    font-size: 95%;
    position: relative;
    overflow: visible!important;
    margin: 0 auto;
    box-sizing: border-box;
}



.blogBodyNarrow {
    width: 659px;
    padding: 30px;
    border-right: 1px solid #F8F1EB;
}

.blogBody p, .blogBody blockquote, .blogBody h1, .blogBody h2, .blogBody h3, .blogBody h4, .blogBody ul, .blogBody ol, .blogBody div.misc, div.syntaxhighlighter{
    display: block;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
}

.blogBody table {
    margin-left: 125px;
}


.blogBody ul, .blogBody ol { padding-left: 3em;  }
.blogBody ul li, .blogBody ol li { list-style-position: outside; margin-right: 20px; }

.blogBody div.syntaxhighlighter {
    width: 750px!important;
    margin: 1em auto!important;
    position: relative!important;
    overflow: auto!important;
    border: 1px dashed #e0e0e0!important;
    padding: 1em!important;
    font-size: 85%!important;
}

.blogBody figure, .blogBodyNarrow figure {
    width: 100%;
    height: auto;
    margin-bottom: 1.5em;
}

.blogBody img, .blogBodyNarrow img {
    margin-right: 0em;
    margin-left: 0em;
}



.blogBody figure img, .blogBodyNarrow figure img {
    max-width: 100%;
    margin: 0;
}

.blogBodyNarrow h2, .blogBodyNarrow h3, .blogBodyNarrow h4, .blogBodyNarrow h5 {
    color: #333333;
}


.blogBody img, .blogBodyNarrow img {
    /* margin-bottom: 1.5em;	*/
}

.blogBody pre, .blogBodyNarrow pre {
    max-width: 750px;
    width: 100%;
    box-sizing: border-box;
    background-color: #fcfcfc;
    border: 1px dashed #e0e0e0;
    overflow: auto;
    padding: 1em;
    font-size: 100%;
    margin: 1em auto;
}




/* Mobile Navigation */
@media only screen and (max-width: 768px) {
    .header-container {
        padding: 1rem 1rem;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: #ffffff;
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-list.active {
        right: 0;
    }
    
    .nav-link {
        font-size: 1.125rem;
        padding: 1rem 0;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* Hero Section Mobile */
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-section {
        padding: 2rem 0;
        min-height: auto;
    }
}

@media only screen and (max-width : 1000px) {

    .containerInner, .containerInnerNarrow, .col-left, .col-right, .searchBarNav { width: 100%!important; margin: 0 auto; overflow: auto; box-sizing: border-box; }
    .containerInnerNarrow { padding-left:1em!important; padding-right: 1em!important; }
    .blogHeader .blogTitle { text-align: center; font-size: 125%; }
    .footer-container {
        border-width: 0;
        display: inline-block;
        box-sizing: border-box;
        margin-bottom: 1em;
        padding-bottom: 0;
        width: auto;
    }
    .footer-container a { font-size: 80%; }

    input[type=text], input[type=password], textarea {
        width: 100%;
    }

    footer .bio { padding: 0 30px 30px 30px; width: 100%; font-size: 90%; box-sizing: border-box;}

    .hIntro { font-size: 350%; text-align: center; margin-bottom: 0.2em;}
    #intro .containerInner .btn { margin: 0 }
    #bannerText p{ font-size: 120%; padding-right: 30px;}

    .blogBody {
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        padding: 1em;
        width: 100%;
        border: none;

    }

    .blogBodyContainer {
        background-color: #fff;
        overflow: hidden!important;
    }

    .blogBody p, .blogBody blockquote, .blogBody h1, .blogBody h2, .blogBody h3, .blogBody h4, .blogBody ul, .blogBody ol, .blogBody div.misc, .blogBody div.syntaxhighlighter, .blogBody code, .blogBody pre, .blogBodyNarrow code, .blogBodyNarrow pre {
        width: 100%;
        float: none;
        clear: both;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

    .blogBody ul, .blogBody ol { padding-left: 1.5em;  }

    .blogBody table {
        margin-left: 0px;
    }

    .blogBody div.syntaxhighlighter {
        width: 100%!important;
    }

    .blogBody img{
        float: none!important;
        clear: both!important;
        display: block!important;
        width: auto!important;
        height: auto!important;
        max-width: 100%;
    }

    span.blogMetaCategories {
        display: block;
        padding: 0.8em 0;
    }

    .bioBox { width: 100%; }
    .bioBoxInner { background-size: 75px; }

    .bioBox img {
        display: inline-block!important;
    }


    textarea.commentViewControlStyle { height: 150px; }

    .col-left h3:before, .col-right h3:before {
        content:"";
        display: block;
        position: absolute;
        width: 0;
        height: 0;
        bottom: 0;

        border-style:solid;
        border-color:#fff transparent;
    }

    .col-left h3:before {
        left: 0;
        border-width:0 12px 12px 0;
    }

    .col-right h3:before {
        right: 0;
        border-width: 0 0 12px 12px;
    }
    .introVideo, .introText{ width: 100%; padding: 30px; -moz-box-sizing: border-box; box-sizing: border-box; }
    .introText { margin-top: 0; font-size: 110%;}
    .embed-container { width: 100%; }
    #intro .containerInner, #podcastIntro {
        background-size: cover;
    }

    #privacyIntro, #intro .containerInner { background-size: cover; }
    #aboutMeIntro { background-size: cover; background-position: 10px;}

    #aboutMeIntro h2, #speakingIntro h2, #newsletterIntro h2, #podcastIntro h2, #privacyIntro h2, #booksIntro h2, .hIntro { margin: 1.5em 0;}


    .introHomepage .containerInner{ height: auto; }

    #search, #archives { float: none; clear: both; width: 100%; text-align: center;}
    #searchString { width: 240px; }

}


/* Modern Apps/Projects page styles */
.apps-intro {
    font-size: 1.125rem;
    color: #6c757d;
    margin-bottom: 3rem;
    text-align: center;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.project-card {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-align: left;
}

.project-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.project-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    text-align: left;
}

.project-header h3 {
    margin: 0;
    font-size: 1.25rem;
    color: #2c3e50;
}

.project-links {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.btn-github, .btn-demo {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-github {
    background: #24292e;
    color: white;
}

.btn-github:hover {
    background: #1a1e22;
    transform: translateY(-1px);
}

.btn-demo {
    background: #3498db;
    color: white;
}

.btn-demo:hover {
    background: #2980b9;
    transform: translateY(-1px);
}

.project-preview {
    padding: 1.5rem;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.preview-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 120px;
}

.phone-mockup, .website-mockup {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 1rem;
    color: white;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 120px;
    width: 100%;
}

.phone-mockup {
    border-radius: 16px;
    aspect-ratio: 9/16;
    max-width: 80px;
}

.website-mockup {
    aspect-ratio: 16/10;
    max-width: 120px;
}

.phone-content h4, .website-content h4 {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
}

.project-details {
    padding: 1.5rem;
    text-align: left;
}

.project-details .project-description {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: left;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: auto !important;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-start;
}

.tech-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.tech-badge.swift { background: #fa7343; color: white; }
.tech-badge.swiftui { background: #007aff; color: white; }
.tech-badge.coredata { background: #34c759; color: white; }
.tech-badge.ios { background: #000000; color: white; }
.tech-badge.java { background: #ed8b00; color: white; }
.tech-badge.spring { background: #6db33f; color: white; }
.tech-badge.freemarker { background: #0066cc; color: white; }
.tech-badge.docker { background: #2496ed; color: white; }
.tech-badge.buttercms { background: #f39c12; color: white; }

.more-projects-section {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 2px solid #e9ecef;
    text-align: center;
}

.more-projects-section h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.github-cta {
    margin-top: 2rem;
}

.github-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

/* Responsive Design */
@media only screen and (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .project-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .project-links {
        width: 100%;
        justify-content: center;
    }
    
    .phone-mockup, .website-mockup {
        max-width: 100%;
    }
    
    .phone-mockup {
        max-width: 80px;
    }
    
    .website-mockup {
        max-width: 120px;
    }
}

@media only screen and (max-width: 480px) {
    .apps-intro {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .project-card {
        border-radius: 8px;
    }
    
    .project-header, .project-details {
        padding: 1rem;
    }
    
    .project-preview {
        padding: 1rem;
    }
    
    .tech-stack {
        justify-content: flex-start;
    }
}

/* Modern Blog page styles - matching Apps page */
.blog-intro {
    font-size: 1.125rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
    text-align: center;
}

.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.blog-post-card {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    min-height: fit-content;
}

.blog-post-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.post-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e9ecef;
    flex-shrink: 0;
}

.post-header h3 {
    margin: 0 0 1rem 0;
    font-size: 1.25rem;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    width: 100%;
    max-width: 100%;
    white-space: normal;
    text-transform: none;
}

.post-title-link {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.post-title-link:hover {
    color: #3498db;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.post-date {
    color: #6c757d;
    font-size: 0.875rem;
    font-weight: 500;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: #e9ecef;
    color: #495057;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.post-content {
    padding: 1.5rem;
}

.post-excerpt {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.post-actions {
    display: flex;
    justify-content: flex-start;
}

.post-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
}

.no-posts {
    text-align: center;
    padding: 4rem 2rem;
    color: #6c757d;
}

.no-posts h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

/* Responsive Design for Blog */
@media only screen and (max-width: 768px) {
    .blog-posts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .post-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .post-tags {
        width: 100%;
        justify-content: flex-start;
    }
}

@media only screen and (max-width: 480px) {
    .blog-intro {
        font-size: 0.5rem;
        margin-bottom: 0.5rem;
    }
    
    .blog-post-card {
        border-radius: 8px;
    }
    
    .post-header, .post-content {
        padding: 1rem;
    }
    
    .post-tags {
        justify-content: center;
    }
    
    .no-posts {
        padding: 1rem 1rem;
    }
}

/* Blog Search Section */
.blog-search {
    margin-bottom: 0.25rem;
}

.search-form {
    display: flex;
    gap: 0.25rem;
    max-width: 100%;
    width: 100%;
}

.search-input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.search-input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.15);
}

.search-form .btn {
    white-space: nowrap;
    margin-bottom: 0;
}

/* Blog Categories Section */
.blog-categories {
    background: #ffffff;
    border-radius: 12px;
    padding: 0.25rem 0.25rem;
    margin: 0.5rem auto 0.5rem auto;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    width: 750px;
    max-width: 100%;
}

.blog-categories h4 {
    color: #495057;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    letter-spacing: 0.3px;
}

.categories-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
}

.category-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #ffffff;
    color: #495057;
    text-decoration: none;
    padding: 0.4rem 0.75rem;
    border-radius: 20px;
    border: 1.5px solid #dee2e6;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    justify-content: center;
}

.category-badge:hover {
    transform: translateY(-2px);
    background: #007bff;
    color: #ffffff;
    border-color: #007bff;
    box-shadow: 0 8px 15px rgba(0, 123, 255, 0.3);
    text-decoration: none;
}

.category-badge:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

.category-icon {
    font-size: 1.1rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.category-badge:hover .category-icon {
    opacity: 1;
}

.category-name {
    font-weight: inherit;
    white-space: nowrap;
}

/* Responsive Design for Categories */
@media only screen and (max-width: 768px) {
    .blog-categories {
        margin: 0.5rem auto 0.5rem auto;
        width: 100%;
        max-width: 100%;
    }

    .categories-grid {
        gap: 0.75rem;
    }

    .category-badge {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
        min-width: 100px;
    }
}

@media only screen and (max-width: 480px) {
    .blog-categories {
        padding: 0.5rem;
        border-radius: 12px;
        margin: 0.5rem auto 0.5rem auto;
        width: 100%;
    }

    .blog-categories h4 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .categories-grid {
        gap: 0.5rem;
    }

    .category-badge {
        padding: 0.5rem 0.8rem;
        font-size: 0.85rem;
        min-width: 90px;
        border-radius: 20px;
    }
}

/* Individual Blog Post Page Styles */
.blog-post-article {
    max-width: 998px;
    width: 100%;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.post-article-header {
    padding: 2rem 2rem 1rem 2rem;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb {
    margin-bottom: 1.5rem;
}

.breadcrumb-link {
    color: #6c757d;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.breadcrumb-link:hover {
    color: #3498db;
}

.post-article-title {
    font-size: 2.5rem;
    color: #2c3e50;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.post-article-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
}

.post-article-date {
    color: #6c757d;
    font-size: 1rem;
    font-weight: 500;
}

.post-article-categories,
.post-article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.post-article-content {
    padding: 2rem;
    line-height: 1.8;
    color: #2c3e50;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.post-article-content p,
.post-article-content blockquote,
.post-article-content h1,
.post-article-content h2,
.post-article-content h3,
.post-article-content h4,
.post-article-content ul,
.post-article-content ol,
.post-article-content div,
.post-article-content pre,
.post-article-content code {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box;
}

.post-article-content h1,
.post-article-content h2,
.post-article-content h3,
.post-article-content h4,
.post-article-content h5,
.post-article-content h6 {
    color: #2c3e50;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.post-article-content h1 { font-size: 2rem; }
.post-article-content h2 { font-size: 1.75rem; }
.post-article-content h3 { font-size: 1.5rem; }
.post-article-content h4 { font-size: 1.25rem; }
.post-article-content h5 { font-size: 1.125rem; }
.post-article-content h6 { font-size: 1rem; }

.post-article-content p {
    margin-bottom: 1.5rem;
    color: #495057;
}

.post-article-content ul,
.post-article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.post-article-content li {
    margin-bottom: 0.5rem;
    color: #495057;
}

.post-article-content blockquote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    border-left: 4px solid #3498db;
    background: #f8f9fa;
    border-radius: 0 8px 8px 0;
}

.post-article-content blockquote p {
    margin-bottom: 0;
    font-style: italic;
    color: #495057;
}

.post-article-content code {
    background: #f8f9fa;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 0.875rem;
    color: #e83e8c;
}

.post-article-content pre {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
    border: 1px solid #e9ecef;
}

.post-article-content pre code {
    background: none;
    padding: 0;
    color: #495057;
}

.post-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.post-article-content a {
    color: #3498db;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.post-article-content a:hover {
    border-bottom-color: #3498db;
}

.post-article-footer {
    padding: 1.5rem 2rem 2rem 2rem;
    border-top: 1px solid #e9ecef;
    background: #f8f9fa;
}

.post-navigation {
    display: flex;
    justify-content: center;
}

.post-navigation .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

/* Comments Section */
.comments-section {
    padding: 2rem;
    box-sizing: border-box;
}

/* Responsive Design for Individual Blog Post */
@media only screen and (max-width: 1000px) {
    .blog-post-article {
        border-radius: 0;
        box-shadow: none;
    }
}

@media only screen and (max-width: 768px) {
    .post-article-header {
        padding: 1.5rem 1rem 1rem 1rem;
    }

    .post-article-title {
        font-size: 2rem;
    }


    .post-article-tags {
        width: 100%;
        justify-content: flex-start;
    }

    .post-article-content {
        padding: 1.5rem 1rem;
    }

    .post-article-footer {
        padding: 1rem;
    }

    .comments-section {
        padding: 1rem;
    }
}

@media only screen and (max-width: 480px) {
    .post-article-header {
        padding: 1rem;
    }

    .post-article-title {
        font-size: 1.5rem;
    }

    .post-article-content {
        padding: 1rem;
    }

    .post-article-content h1 { font-size: 1.5rem; }
    .post-article-content h2 { font-size: 1.35rem; }
    .post-article-content h3 { font-size: 1.2rem; }
    .post-article-content h4 { font-size: 1.1rem; }
    .post-article-content h5 { font-size: 1rem; }
    .post-article-content h6 { font-size: 0.9rem; }

    .post-article-tags {
        justify-content: flex-start;
    }

    .post-article-footer {
        padding: 1rem;
    }

    .comments-section {
        padding: 0.5rem;
    }
}

@media (prefers-color-scheme: light) {
    body {
        color: #b0b0b0;
        background-color: #ffffff;
    }
    .blogBody {
        border-left: 1px solid #303030;
        border-right: 1px solid #303030;
    }

    .containerOuter {
        background-color: #ffffff;
        color: #737373;
    }

    .line-tan {
        background: initial;
    }


    #mainContent {
        background-color: #ffffff;
    }

    #topbar h1 a, #topbar h1 a:visited, nav ul li a, nav ul li a:visited {
        color: #b0b0b0;
    }

    #disclaimer p {
        color: #b0b0b0;
    }
}
