.caacupe-one-regular {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 20px;
  letter-spacing: 0.04em;
}

html {
    background-image: url("../images/wizard_background.png");
    background-repeat: no-repeat;
    background-position: center top;
    background-attachment: fixed;
    background-size: cover;
}

body {
    margin: 0;
    padding: 0;
    background: rgba(32, 16, 42, 0.42);
    color: #1d1d1d;
    font-family: "Segoe UI", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    display: block;
}

.page-shell {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 20px 20px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 25;
    background: linear-gradient(135deg, rgba(36, 17, 52, 0.94) 0%, rgba(74, 29, 94, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    padding: 28px 24px 18px;
    box-shadow: 0 8px 24px rgba(20, 18, 30, 0.2);
}

#title {
    text-align: center;
}

.eyebrow {
    margin: 0;
    font-size: 0.82rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #d5c6ff;
}

#title h1 {
    margin: 10px 0 0;
    color: #ffffff;
    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 1.1;
    letter-spacing: 0.04em;
    font-weight: 600;
}

#navigation {
    margin-top: 22px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(8px);
}

#nav_buttons {
    display: flex;
    justify-content: center;
    gap: 18px;
    padding: 14px 20px;
    font-size: 1.05rem;
}

#nav_buttons a {
    font-size: 1.1rem;
    text-decoration: none;
    color: #f4f3f8;
    font-weight: 500;
    letter-spacing: 0.08em;
    transition: opacity 0.2s ease;
}

#nav_buttons a:hover {
    opacity: 0.8;
}

.blog-main {
    margin-top: 28px;
}

.featured-section,
.archive-section {
    margin-bottom: 28px;
}

.section-header {
    margin-bottom: 18px;
    text-align: center;
}

.section-kicker {
    margin: 0;
    display: inline-block;
    padding: 7px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, #7b4ca8 0%, #5b2f7d 100%);
    color: #ffffff;
    font-size: 0.74rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(42, 21, 54, 0.18);
}

.section-header h2 {
    margin: 8px 0 0;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    color: #ffffff;
    letter-spacing: 0.06em;
}

#recent_posts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(117, 94, 151, 0.3);
    border-radius: 20px;
    box-shadow: 0 10px 24px rgba(31, 27, 45, 0.06);
}

.post-box {
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #3a214b 0%, #2c1639 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    overflow: hidden;
    min-height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(44, 36, 57, 0.08);
}

.recent-post .post-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.post-copy {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px 18px 20px;
}

.post-box a {
    color: #ffffff;
    text-decoration: none;
    font-size: clamp(1.1rem, 1.7vw, 1.5rem);
    font-weight: 700;
    line-height: 1.25;
}

.post-date {
    color: #f2e8ff;
    font-size: 0.9rem;
}

#all_posts {
    color: #ffffff;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    background: rgba(38, 20, 52, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 10px 24px rgba(31, 27, 45, 0.06);
}

.archive-post {
    padding: 18px 20px;
    background: linear-gradient(180deg, #43295f 0%, #2c1639 100%);
}

.archive-meta {
    margin-bottom: 10px;
}

.archive-post a {
    font-size: 1.2rem;
    line-height: 1.4;
}

footer {
    max-width: 1200px;
    margin: 0 auto 30px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 12px;
    background: rgba(36, 17, 52, 0.92);
    color: #f5f2ff;
    text-align: center;
    padding: 18px 20px;
}

.admin-panel {
    max-width: 960px;
    margin: 28px auto;
    background: linear-gradient(180deg, rgba(43, 23, 58, 0.96) 0%, rgba(29, 15, 39, 0.96) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    box-shadow: 0 14px 30px rgba(20, 18, 30, 0.18);
    padding: 28px 24px;
}

.admin-form,
.login-panel {
    width: 100%;
}

.admin-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: #f7f1ff;
}

.admin-form label {
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #e9d8ff;
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    text-transform: none;
    color: #f7f1ff;
    margin-top: 4px;
}

.checkbox-row input {
    width: auto;
    margin: 0;
}

.admin-form input,
.admin-form textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    padding: 12px 14px;
    font: inherit;
}

.admin-form textarea {
    min-height: 220px;
    resize: vertical;
}

.admin-form input[type="submit"],
#submit-buttons button {
    background: linear-gradient(135deg, #7b4ca8 0%, #5b2f7d 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 10px 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.admin-form input[type="submit"]:hover,
#submit-buttons button:hover {
    transform: translateY(-1px);
    opacity: 0.95;
}

#created_post {
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: left;
}

#posts-page {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    color: white;
    background: none;
    border: none;
    border-radius: 0;
    margin-top: 24px;
}

#posts-page img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 10px;
    margin: 0 0 12px;
}

#posts-boxs {
    display: flex;
    flex: 0 0 calc((100% - (18px * 5)) / 6);
    max-width: calc((100% - (18px * 5)) / 6);
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    background: linear-gradient(180deg, #43295f 0%, #2c1639 100%);
    padding: 14px;
    margin: 0;
    text-align: left;
    box-shadow: 0 10px 24px rgba(31, 27, 45, 0.12);
    min-height: 260px;
}

#posts-boxs p {
    margin: 0 0 12px;
    color: #ffffff;
    line-height: 1.6;
    font-size: 0.85rem;
}

#submit-buttons {
    display: flex;
    gap: 10px;
    margin-top: auto;
    width: 100%;
}

#submit-buttons form {
    flex: 1;
    margin: 0;
}

#submit-buttons button {
    width: 100%;
}

.login-panel {
    max-width: 420px;
    margin: 28px auto;
}

.login-panel form {
    gap: 12px;
}

.login-panel input[type="submit"] {
    margin-top: 6px;
}

.post-article {
    background: linear-gradient(180deg, rgba(43, 23, 58, 0.96) 0%, rgba(29, 15, 39, 0.96) 100%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 24px;
    box-shadow: 0 14px 30px rgba(20, 18, 30, 0.18);
    overflow: hidden;
    color: #ffffff;
    padding: 28px 24px 32px;
}

.post-header {
    text-align: center;
    margin-bottom: 18px;
}

.post-header h1 {
    margin: 8px 0 10px;
    color: #ffffff;
    font-size: clamp(2.1rem, 4vw, 3.2rem);
    line-height: 1.15;
    letter-spacing: 0.04em;
    text-align: center;
}

.post-meta {
    margin: 0;
    color: #e9d8ff;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.post-content {
    max-width: 760px;
    margin: 28px auto 0;
    line-height: 1.9;
    font-size: 1.08rem;
    color: #f7f1ff;
    text-align: center;
}

.post-content p {
    margin: 0;
    white-space: pre-wrap;
    text-align: center;
}

#blog-internal-post-image {
    max-width: 860px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0;
}

#blog-internal-post-image img {
    display: block;
    width: 100%;
    max-height: 440px;
    object-fit: cover;
    margin: 0;
}

a,
a:link,
a:visited {
    color: black;
    text-decoration: none;
}

a:hover {
    color: #4b2d73;
    text-decoration: none;
}

#nav_buttons a,
#nav_buttons a:link,
#nav_buttons a:visited {
    color: #ffffff;
}

#nav_buttons a:hover {
    color: #d0b8ff;
}

@media (max-width: 900px) {
    html {
        background-image: url("../images/phone_background.png");
    }
}

@media (max-width: 1200px) {
    #posts-boxs {
        flex-basis: calc((100% - (18px * 4)) / 5);
        max-width: calc((100% - (18px * 4)) / 5);
    }
}

@media (max-width: 1000px) {
    #posts-boxs {
        flex-basis: calc((100% - (18px * 2)) / 3);
        max-width: calc((100% - (18px * 2)) / 3);
    }
}

@media (max-width: 900px) {
    #recent_posts,
    #all_posts {
        grid-template-columns: 1fr;
    }

    #posts-boxs {
        flex-basis: 100%;
        max-width: 100%;
    }

    .page-shell {
        padding-left: 14px;
        padding-right: 14px;
    }
}

#post p
{
    padding: 5px;
    margin-top: -2%;
    background-color: rgb(50, 2, 65);
    color: white;
    border: 2px;
    border-style: solid;
    border-color: white;
    border-radius: 5px;
}

#post h1{
    text-align: center;
    align-content: center;
    align-self: center;
    
}

#blog-internal-post-image{
    text-align: center;
    background-color: rgb(50, 2, 65);
    border: 5px;
    border-style: solid;
    border-color:white;
    margin: auto;
    padding: auto;
}
#blog-internal-post-image img{
    display: block;
    max-width: 700px;
    width: 100%;
    height: auto;
    margin: 20px auto;
}

.about-page {
    max-width: 960px;
    margin: 0 auto;
}

.about-page .post-header {
    max-width: 720px;
    margin: 0 auto;
}

.about-lede {
    max-width: 560px;
    margin: 14px auto 0;
    color: #e9d8ff;
    font-size: 1.15rem;
    line-height: 1.6;
}

.about-content {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(220px, 0.8fr);
    gap: 32px;
    max-width: 780px;
    margin: 32px auto 0;
    align-items: start;
}

.about-story {
    color: #f7f1ff;
    font-size: 1.05rem;
    line-height: 1.85;
}

.about-story p {
    margin: 0 0 18px;
}

.about-story p:last-child {
    margin-bottom: 0;
}

.about-notes {
    padding: 22px;
    border-left: 2px solid #a875d1;
    background: rgba(255, 255, 255, 0.06);
}

.about-notes h2 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 1.1rem;
    letter-spacing: 0.04em;
}

.about-notes ul {
    margin: 0;
    padding-left: 20px;
    color: #e9d8ff;
    line-height: 1.8;
}

@media (max-width: 700px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .about-notes {
        border-top: 2px solid #a875d1;
        border-left: 0;
    }
}

a,
a:link,
a:visited {
    color: #ffffff;
    text-decoration: none;
}

a:hover {
    color: #d7bfef;
    text-decoration: none;
}

#nav_buttons a,
#nav_buttons a:link,
#nav_buttons a:visited {
    color: #ffffff;
}

#nav_buttons a:hover {
    color: #d0b8ff;
}

#created_post{
    display: flex;
    flex-direction: column;
    margin: auto;
    align-items: center;
    color: white;
    text-align: center;
    padding: auto;
}
#created_post textarea{
    width: 512px;
    height: auto;
    margin: auto;
    padding: auto;
}
#created_post input{
    height: 35px;
    margin: auto;
}
#posts-page{
    display: flex;
    color: white;
    background-color: rgb(50, 2, 65);
    border: 2px;
    border-style: solid;
    border-color: white;
    border-radius: 5px;
}

#posts-page img{
    width: 128px;
    height: 128px;
    margin:auto;
}

#posts-boxs{
    display: flex;
    flex-direction: column;
    border: 2px;
    border-style: solid;
    border-color: white;
    border-radius: 5px;
    padding: 2px;
    margin: auto;
    text-align: center;
}

#submit-buttons{
    display: flex;
    margin: auto;
}
