#main {
    width: 100%;
    padding-bottom: 50px;
}

/* .ast-container {
    max-width: 100%;
} */

.entry-header {
    margin-top: 20px;
    margin-bottom: 20px !important;
    text-align: center;
}

.entry-title {
    margin-bottom: 5px !important;
}

.entry-title span {
    display: block;
    font-size: 18px;
    font-style: italic;
}

.entry-description {
    font-size: 16px;
}

.entry-article {
    display: flex;
    margin-top: 10px;
    gap: 20px;
    flex-wrap: wrap;
}

.entry-content {
    width: 100%;
}

.custom-breadcrumb {
    font-size: 14px;
    line-height: 1;
    margin-bottom: 5px !important;
}

h1 {
    font-size: 35px !important;
}

h2 {
    font-size: 22px !important;
    margin-bottom: 5px;
}

h3 {
    font-size: 20px !important;
}

.photo-style-converter {
    width: 100%;
    display: flex;
    gap: 30px;
    background-color: rgb(245, 245, 245);
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
}

.image-notice {
    width: 100%;
    text-align: center;
    font-style: italic;
    font-size: 14px;
    margin-top: 0px;
    line-height: 1.5;
    margin-top: 15px;
}

.conversion-style-explanation {
    margin-top: 20px;
    font-size: 15px;
    text-align: center;
}

.upload-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
}

.photo-upload-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.photo-upload-form-element {
    width: 100%;
    position: relative;
    line-height: 1;
}

.photo-upload-form-element label {
    position: absolute;
    top: -7px;
    left: 10px;
    background-color: white;
    color: rgb(40, 40, 40);
    padding: 0px 5px;
    line-height: 1;
    font-size: 12px;
}

.photo-upload-form button {
    width: 100%;
    border-radius: 10px;
}

.photo-upload-button {
    background-color: white;
    color: darkviolet;
    padding: 40px 20px;
    border: 1px solid black;
    border-radius: 10px;
    font-size: 20px;
    font-weight: bold;
}

.photo-upload-button:hover, .photo-upload-button:focus {
    background-color: white;
    color: darkmagenta;
    border: 1px solid darkmagenta;
}

.model-type-select {
    width: 100%;
    border-radius: 10px;
    background-color: white;
    color: black;
    border: 1px solid black;
    font-size: 18px;
}

.additional-prompt {
    width: 100%;
    padding: 10px;
    border-radius: 10px !important;
    border: 1px solid black !important;
    background-color: white !important;
    color: black !important;
    text-align: center;
    resize: none;
    font-size: 18px !important;
}

.convert-style-button {
    font-size: 18px;
}

.convert-style-button:disabled {
    background-color: gray;
    color: white;
}

.result-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
}

.styled-result-description {
    font-size: 16px;
    font-style: italic;
    text-align: center;
}

.original-image-container, .styled-image-container {
    display: none;
    position: relative;
    text-align: center;
}

.original-image, .styled-image {
    border: 1px solid gray;
    border-radius: 10px;
    margin-bottom: 10px;
}

.remove-image-button {
    position: absolute;
    top: -10px;
    right: -10px;
    padding: 0px;
    width: 25px;
    height: 25px;
    font-size: 16px;
    border-radius: 50%;
    line-height: 1;
    background-color: white;
    color: black;
    border: 1px solid gray;
}

.download-image-button {
    margin-top: 10px;
    background-color: darkcyan;
    color: white;
    border-radius: 5px;
    font-size: 15px;
}

.styled-image-note {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.5;
    font-style: italic;
    text-align: center;
}

.download-image-button:hover, .download-image-button:focus {
    background-color: rgb(0, 164, 164);
    color: white;
}

.sample-image-results {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 50px;
    margin-bottom: 50px;
}

.sample-image-result {
    width: 100%;
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
    font-size: 25px;
}

.sample-image-result img {
    width: calc(50% - 30px);
    border: 1px solid gray;
    border-radius: 10px;
}

.other-content-container {
    width: 100%;
    padding: 20px 0px 20px 0px;
    text-align: center;
    margin-top: 50px;
}

.other-styles {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.other-styles h2 {
    width: 100%;
}

.other-style {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border: 1px solid black;
    border-radius: 10px;
    padding: 10px;
    background-color: white;
    width: 150px;
    max-width: 100%;
}

.other-style img {
    border-radius: 10px;
    margin-bottom: 5px;
}

.other-styles-see-all {
    width: 100%;
    font-weight: bold;
    line-height: 1;
    font-size: 16px;
    margin-top: 20px;
}

.content-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
    margin-bottom: 20px;
}

.content-wrapper {
    border: 1px solid rgb(235, 235, 235);
    border-radius: 20px;
    max-width: 768px;
}

.entry-content {
    width: 100%;
    padding: 20px;
}

.entry-content h2 {
    font-size: 24px !important;
    font-weight: bold;
}

.comment-section {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid rgb(235, 235, 235);
}

.photo-style-generator-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 50px;
}

.photo-style-generator-wrapper {
    text-align: center;
    border: 1px solid gray;
    border-radius: 20px;
    max-width: 768px;
    padding: 20px;
}

.bookmark-notice {
    display: none;
    width: 100%;
    background-color: lightyellow;
    border-radius: 10px;
    text-align: center;
    padding: 10px;
    font-style: italic;
    font-weight: bold;
    color: red;
}

.spinner {
    display: block;
    width: 80px;
    height: 80px;
    border: 8px solid lightgray;
    border-radius: 50%;
    border-top: 8px solid #3498db;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .photo-style-converter {
        flex-direction: column;
    }
}