/*!************************************************
 * AT Company - Static Clone
 * Blogger Contempo Theme (indie_light variant)
 *************************************************/

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    font-family: Roboto, Arial, sans-serif;
    background: #eeeeee;
    color: #212121;
    overflow-wrap: break-word;
    word-break: break-word;
}

a { color: #2196f3; text-decoration: none; }
a:hover { text-decoration: underline; }

.hidden { display: none; }

/* ============ Skip nav ============ */
.skip-navigation {
    position: fixed;
    top: -50px;
    left: 0;
    width: 100%;
    background: #fff;
    color: #000;
    line-height: 50px;
    text-align: center;
    z-index: 900;
    transition: top .3s;
}
.skip-navigation:focus { top: 0; }

/* ============ Page & background image ============ */
.page {
    position: relative;
    min-height: 100vh;
}

.bg-photo-container {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 480px;
    overflow: hidden;
    z-index: 0;
}
.bg-photo {
    width: 100%;
    height: 100%;
    background-image: url('https://themes.googleusercontent.com/image?id=L1lcAxxz0CLgsDzixEprHJ2F38TyEjCyE3RSAjynQDks0lT1BDc1OxXKaTEdLc89HPvdB11X9FDw&options=w1600');
    background-size: cover;
    background-position: center center;
}
.bg-photo-overlay {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 480px;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

@media (max-width: 800px) {
    .bg-photo-container, .bg-photo-overlay { height: 360px; }
}
@media (max-width: 480px) {
    .bg-photo-container, .bg-photo-overlay { height: 300px; }
    .bg-photo {
        background-image: url('https://themes.googleusercontent.com/image?id=L1lcAxxz0CLgsDzixEprHJ2F38TyEjCyE3RSAjynQDks0lT1BDc1OxXKaTEdLc89HPvdB11X9FDw&options=w480');
    }
}

.page_body {
    position: relative;
    z-index: 2;
}

.centered {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============ Header ============ */
.centered-top {
    display: flex;
    align-items: center;
    padding-top: 12px;
    color: #fff;
}
.hamburger-menu {
    background: transparent;
    border: 0;
    width: 40px;
    height: 40px;
    cursor: pointer;
    color: #fff;
    padding: 0;
    margin-right: 8px;
}
.hamburger-menu svg { width: 24px; height: 24px; fill: #fff; }
.search {
    margin-left: auto;
    display: flex;
    align-items: center;
}
.search-expand {
    background: transparent;
    border: 0;
    width: 40px;
    height: 40px;
    cursor: pointer;
    color: #fff;
    padding: 0;
}
.search-expand svg { width: 24px; height: 24px; fill: #fff; }

.search-input-wrap {
    display: none;
    margin-left: 8px;
}
.search.expanded .search-input-wrap { display: flex; }
.search-input-wrap input {
    background: rgba(255,255,255,.9);
    border: 0;
    padding: 6px 10px;
    border-radius: 2px;
    outline: 0;
}
.search-input-wrap .search-action {
    margin-left: 4px;
    background: #fff;
    border: 0;
    padding: 6px 12px;
    cursor: pointer;
}

.blog-name {
    padding: 60px 0 100px;
    text-align: center;
    color: #fff;
}
.blog-name h1 {
    margin: 0;
    font-size: 48px;
    font-weight: 400;
    letter-spacing: 1px;
    text-shadow: 0 1px 3px rgba(0,0,0,.35);
}

@media (max-width: 640px) {
    .blog-name { padding: 40px 0 60px; }
    .blog-name h1 { font-size: 32px; }
}

/* ============ Main content: cards ============ */
.centered-bottom {
    padding-bottom: 60px;
}
.main-heading {
    position: absolute;
    left: -9999px;
    width: 1px; height: 1px;
    overflow: hidden;
}

article.post {
    background: #fff;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0,0,0,.14), 0 1px 5px rgba(0,0,0,.12);
    padding: 32px 40px;
    margin: 0 auto 28px;
    max-width: 720px;
}

.post-title {
    margin: 0 0 12px;
    font-size: 28px;
    font-weight: 400;
    line-height: 1.3;
    color: #212121;
}
.post-title a {
    color: #212121;
    text-decoration: none;
}
.post-title a:hover { color: #2196f3; }

/* Share buttons row (top) */
.post-share-buttons-top {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}
.sharing-button {
    background: transparent;
    border: 0;
    width: 36px;
    height: 36px;
    padding: 6px;
    cursor: pointer;
    border-radius: 50%;
}
.sharing-button:hover { background: rgba(0,0,0,.06); }
.sharing-button svg { width: 24px; height: 24px; fill: #757575; }

.share-buttons {
    list-style: none;
    display: none;
    margin: 8px 0 0;
    padding: 8px 12px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
    border-radius: 4px;
    position: absolute;
    z-index: 10;
}
.share-buttons.open { display: flex; flex-wrap: wrap; gap: 12px; }
.share-buttons li { display: inline-flex; align-items: center; }
.sharing-platform-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    color: #212121;
    font-size: 14px;
}

.post-header-line-1 {
    color: #757575;
    font-size: 14px;
    margin-bottom: 16px;
}
.post-header-line-1 a {
    color: #757575;
    text-decoration: none;
}
.post-header-line-1 a:hover { color: #2196f3; }

.post-snippet {
    color: #424242;
    font-size: 15px;
    line-height: 1.7;
}

.jump-link {
    margin-top: 16px;
}
.jump-link a {
    display: inline-block;
    padding: 8px 16px;
    color: #2196f3;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 700;
    border-radius: 2px;
}
.jump-link a:hover {
    background: rgba(33,150,243,.08);
    text-decoration: none;
}

/* Pager */
.blog-pager {
    text-align: center;
    margin: 24px auto;
}
.blog-pager a {
    display: inline-block;
    padding: 10px 24px;
    background: #fff;
    color: #2196f3;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 700;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,.12);
}
.blog-pager a:hover {
    background: #f5f5f5;
    text-decoration: none;
}

/* ============ Search results ============ */
.search-results-info,
.no-results {
    text-align: center;
    margin: 24px auto;
    max-width: 720px;
    background: #fff;
    padding: 24px 32px;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0,0,0,.14), 0 1px 5px rgba(0,0,0,.12);
}
.search-results-info p,
.no-results p {
    margin: 0 0 12px;
    color: #424242;
    font-size: 15px;
}
.clear-search {
    display: inline-block;
    padding: 6px 18px;
    border: 1px solid #2196f3;
    border-radius: 20px;
    background: transparent;
    color: #2196f3;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s;
}
.clear-search:hover {
    background: rgba(33,150,243,.08);
}

/* ============ Footer ============ */
.footer {
    padding: 24px 16px;
    text-align: center;
    color: #757575;
    font-size: 14px;
}
.footer .blogger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #757575;
}
.footer a { color: #757575; }
.footer svg { width: 20px; height: 20px; fill: #ff9800; vertical-align: middle; }
.image-attribution { margin-top: 8px; }

/* ============ Sidebar (always visible) ============ */
.sidebar-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 100vh;
    background: #fff;
    box-shadow: 2px 0 8px rgba(0,0,0,.15);
    padding: 24px 20px;
    overflow-y: auto;
    z-index: 1000;
}

/* Shift main content to the right of the sidebar */
.page {
    margin-left: 300px;
}

/* Hide hamburger menu and back button — no longer needed */
.hamburger-menu,
.sidebar-back,
.dim-overlay {
    display: none !important;
}

@media (max-width: 800px) {
    .sidebar-container { width: 220px; }
    .page { margin-left: 220px; }
}
@media (max-width: 600px) {
    .sidebar-container { width: 180px; padding: 16px 12px; }
    .page { margin-left: 180px; }
}

.widget { margin-bottom: 24px; }
.widget h3.title {
    font-size: 14px;
    text-transform: uppercase;
    color: #757575;
    letter-spacing: 1px;
    margin: 0 0 12px;
    font-weight: 700;
}

.widget.Profile .wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 12px 0;
}
.default-avatar-wrapper {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: #eeeeee;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}
.default-avatar-wrapper svg { width: 56px; height: 56px; fill: #bdbdbd; }
.profile-info .g-profile {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #212121;
    margin-bottom: 12px;
}
.visit-profile {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid #2196f3;
    border-radius: 20px;
    color: #2196f3;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
}
.visit-profile:hover { background: rgba(33,150,243,.08); text-decoration: none; }

.widget.BlogArchive details {
    margin-bottom: 4px;
}
.widget.BlogArchive > details > summary {
    list-style: none;
    cursor: pointer;
    user-select: none;
}
.widget.BlogArchive > details > summary::-webkit-details-marker { display: none; }
.widget.BlogArchive > details > summary > .title {
    margin: 0;
    display: inline-block;
}
.widget.BlogArchive > details > summary > .title::after {
    content: ' ▾';
    font-size: 12px;
    color: #9e9e9e;
}
.widget.BlogArchive > details:not([open]) > summary > .title::after {
    content: ' ▸';
}

.archive-content {
    margin-top: 8px;
}
.archive-content > ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.archive-content > ul > li {
    padding: 4px 0;
    border-bottom: 1px solid #eee;
}
.archive-month {
    cursor: pointer;
    user-select: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #424242;
    font-size: 14px;
    list-style: none;
}
.archive-month::-webkit-details-marker { display: none; }
.archive-month::after {
    content: '▸';
    color: #9e9e9e;
    font-size: 12px;
    margin-left: 4px;
}
details[open] > .archive-month::after {
    content: '▾';
}
.archive-posts {
    list-style: none;
    padding: 4px 0 4px 16px;
    margin: 0;
}
.archive-posts li {
    padding: 3px 0;
}
.archive-posts a {
    color: #2196f3;
    font-size: 13px;
}
.post-count { color: #9e9e9e; }

.widget.ReportAbuse a {
    color: #757575;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

/* ============ Post detail page ============ */
.post-detail article {
    padding: 40px;
}
.post-detail .post-title {
    font-size: 32px;
    margin-bottom: 16px;
}
.post-body {
    font-size: 15px;
    line-height: 1.75;
    color: #424242;
}
.post-body h2 {
    font-size: 20px;
    color: #212121;
    margin-top: 32px;
    margin-bottom: 12px;
    font-weight: 700;
}
.post-body h3 {
    font-size: 17px;
    color: #212121;
    margin-top: 24px;
    margin-bottom: 10px;
    font-weight: 700;
}
.post-body p { margin: 0 0 14px; }
.post-body ul {
    padding-left: 22px;
    margin: 0 0 14px;
}
.post-body ul li { margin-bottom: 6px; }
.post-body strong { color: #212121; }
.post-body a { word-break: break-all; }

.post-footer-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 700;
}
.post-footer-nav a { color: #2196f3; }

/* ============ Responsive ============ */
@media (max-width: 640px) {
    article.post, .post-detail article { padding: 24px 20px; }
    .post-title { font-size: 22px; }
    .post-detail .post-title { font-size: 26px; }
    .centered { padding: 0 12px; }
    .sidebar-container { width: 160px; }
    .page { margin-left: 160px; }
    .default-avatar-wrapper { width: 64px; height: 64px; }
    .default-avatar-wrapper svg { width: 40px; height: 40px; }
    .profile-modal { width: calc(100vw - 32px); max-width: 420px; }
}

/* ============ Profile Modal ============ */
.profile-modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, .6);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.profile-modal-overlay.active {
    display: flex;
}

.profile-modal {
    position: relative;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .25);
    width: 100%;
    max-width: 460px;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalFadeIn .25s ease;
}
@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-20px) scale(.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.profile-modal-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: transparent;
    border: 0;
    width: 36px;
    height: 36px;
    cursor: pointer;
    border-radius: 50%;
    padding: 6px;
    transition: background .2s;
    z-index: 1;
}
.profile-modal-close:hover { background: rgba(0, 0, 0, .08); }
.profile-modal-close svg { width: 24px; height: 24px; fill: #757575; }

.profile-modal-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 24px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e3e8ee 100%);
    border-radius: 8px 8px 0 0;
}
.profile-modal-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
    margin-bottom: 12px;
}
.profile-modal-avatar svg { width: 48px; height: 48px; fill: #9e9e9e; }
.profile-modal-name {
    margin: 0;
    font-size: 22px;
    font-weight: 400;
    color: #212121;
}

.profile-modal-body {
    padding: 20px 24px;
}
.profile-modal-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}
.profile-modal-stat:last-of-type {
    border-bottom: 0;
}
.stat-label {
    color: #616161;
    font-size: 14px;
}
.stat-value {
    color: #212121;
    font-size: 14px;
    font-weight: 700;
}

.profile-modal-link {
    text-align: right;
    padding: 8px 0 4px;
}
.profile-modal-link a {
    color: #757575;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: .5px;
}

.profile-modal-divider {
    border: 0;
    border-top: 1px solid #eee;
    margin: 12px 0;
}

.profile-modal-blog,
.profile-modal-about {
    margin-bottom: 16px;
}
.blog-section-title,
.about-section-title {
    font-size: 12px;
    text-transform: uppercase;
    color: #9e9e9e;
    letter-spacing: 1px;
    margin: 0 0 6px;
    font-weight: 700;
}
.blog-link {
    display: inline-block;
    color: #2196f3;
    font-size: 14px;
    font-weight: 700;
    padding: 4px 0;
}
.about-text {
    margin: 0;
    color: #424242;
    font-size: 14px;
}

.profile-modal-footer {
    padding: 16px 24px 20px;
    text-align: center;
    border-top: 1px solid #f0f0f0;
    font-size: 12px;
    color: #9e9e9e;
}
.profile-modal-footer a {
    color: #9e9e9e;
    text-decoration: none;
}
.profile-modal-footer a:hover {
    text-decoration: underline;
}
