/*
Gogotabs Classic Archive Restore
Updated for new HTML structure
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #3d3d3d;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: #7d4400;
}

a:hover {
    text-decoration: underline;
}

#wrapper {
    width: 1040px;
    max-width: 100%;
    margin: 25px auto;
    background: #fff;
    padding: 30px;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

/* =====================
HEADER
===================== */
#header {
    background: #b6e637;
    padding: 20px 25px;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

#logo img {
    max-height: 70px;
    width: auto;
    display: block;
}

#logo h1 {
    font-size: 42px;
    color: #7d4400;
    font-weight: bold;
    letter-spacing: -1px;
}

#logo p {
    margin-top: 8px;
    font-size: 15px;
    color: #000;
}

/* MENU */
#menu ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

#menu li {
    display: inline-block;
}

#menu a {
    display: block;
    background: #ff9f00;
    color: white;
    padding: 10px 16px;
    font-size: 14px;
    border-radius: 3px;
    transition: background 0.2s;
}

#menu a:hover {
    background: #d87f00;
    text-decoration: none;
}

/* =====================
BANNER
===================== */
#banner {
    margin: 30px 0;
}

#banner img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

/* =====================
MAIN PAGE
===================== */
#page {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

/* CONTENT */
#content {
    flex: 1;
    min-width: 0;
}

.post {
    padding: 0 0 30px 0;
    margin-bottom: 30px;
    border-bottom: 1px solid #ddd;
}

.post h1 {
    font-size: 30px;
    color: #7d4400;
    margin-bottom: 8px;
    line-height: 1.3;
}

.post h2 {
    font-size: 26px;
    color: #7d4400;
    margin-bottom: 8px;
    line-height: 1.3;
}

.post h3 {
    font-size: 19px;
    color: #7d4400;
    margin: 22px 0 10px;
}

.meta {
    font-size: 13px;
    color: #888;
    margin-bottom: 15px;
}

.article-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 15px 0 20px;
    display: block;
    border: 1px solid #ddd;
}

.post p {
    line-height: 1.8;
    margin-bottom: 14px;
    text-align: justify;
}

.post ul {
    margin: 12px 0 18px 25px;
}

.post li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Disclaimer */
.disclaimer {
    background: #f8f4e8;
    border-left: 4px solid #ff9f00;
    padding: 14px 18px;
    margin-top: 20px;
    font-size: 14.5px;
    line-height: 1.6;
}

/* CTA Box */
.cta-box {
    background: #b6e637;
    padding: 25px 30px;
    margin: 30px 0;
    text-align: center;
    border: 2px solid #9bc52a;
}

.cta-box h3 {
    color: #7d4400;
    font-size: 22px;
    margin-bottom: 10px;
}

.cta-box p {
    margin-bottom: 18px;
    color: #333;
}

/* Button */
.btn {
    display: inline-block;
    background: #ff9f00;
    color: #fff !important;
    padding: 11px 24px;
    font-size: 15px;
    font-weight: bold;
    border-radius: 3px;
    transition: background 0.2s;
    text-decoration: none !important;
}

.btn:hover {
    background: #d87f00;
}

/* =====================
SIDEBAR
===================== */
#sidebar {
    width: 280px;
    flex-shrink: 0;
    background: #b6e637;
    padding: 22px;
}

.box {
    margin-bottom: 30px;
}

.box h2 {
    font-size: 18px;
    color: #7d4400;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #9bc52a;
}

.box ul {
    list-style: none;
}

.box li {
    padding: 7px 0;
    border-bottom: 1px dotted #777;
    font-size: 14.5px;
}

.box a {
    color: #333;
}

.box a:hover {
    color: #7d4400;
}

.box img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
    display: block;
    border: 1px solid #9bc52a;
}

.box p {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

/* =====================
FOOTER
===================== */
#footer {
    margin-top: 35px;
    background: #b6e637;
    padding: 22px;
    text-align: center;
    color: #000;
    font-size: 14px;
}

/* =====================
RESPONSIVE
===================== */
@media screen and (max-width: 980px) {
    #wrapper {
        width: 95%;
        padding: 20px;
    }

    #page {
        flex-direction: column;
    }

    #sidebar {
        width: 100%;
    }

    #header {
        flex-direction: column;
        align-items: flex-start;
    }

    #menu ul {
        justify-content: flex-start;
    }
}

@media screen and (max-width: 600px) {
    #logo img {
        max-height: 55px;
    }

    .post h1 {
        font-size: 24px;
    }

    .post h2 {
        font-size: 22px;
    }

    #banner img {
        height: 180px;
    }
}