/* General Styling */
body {
    background-color: white;
    overflow-x: hidden;
}
h1 {
    margin-bottom: 20px;
    font-weight: bold;
    color: #333;
}
.form-control {
    border-radius: 6px;
}
.form-label {
    font-weight: bold;
}
.btn-primary {
    border-radius: 6px;
    max-width: 150px;
}

/* Result Items */
#results-container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.result-item {
    position: relative;
    background-color: #eeeeee;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}
.result-item:hover {
    background-color: #e9ecef;
}
.result-item pre.answer-text {
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    margin: 0;
    font-family: inherit;
    font-size: inherit;
}

.btn-group {
    display: none;
    position: absolute;
    top: 10px;
    right: 10px;
}

.result-item:hover .btn-group {
    display: inline-block;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* Sticky Ads Styling */
.ad {
    position: fixed;
    z-index: 1050;
    padding: 10px;
    color: white;
    text-align: center;
    border-radius: 8px;
}
.adside {
    position: fixed;
    top: 170px;
    z-index: 1050;
    padding: 0px;
    color: white;
    border-radius: 8px;
}
.ad img {
    /* max-width: 728px; */
    max-height: 250px;
}
.adside img {
    max-width: 360px;
    max-height: 400px;
    border-radius: 5px;
    max-width: 100%;
    height: auto;
}
.logo {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 360px;
    height: 170px;
    z-index: 1051;
    background-color: var(--citycolor);

}
.logo img {
    max-width: 360px;
    max-height: 170px;
    border-radius: 8px;
    margin-right: auto;
    margin-left: auto;
    background-color: var(--citycolor);
    object-fit: contain;
}
.adside-left {
    width: 360px;
    min-width: 360px;
    flex-shrink: 0;
    position: static;
}
.adside-right {
    width: 360px;
    min-width: 360px;
    flex-shrink: 0;
    position: static;
}
.ad-top {
    position: fixed;
    top: 0px;
    left: 360px;
    width: calc(100vw - 720px);
    height: 170px;
    background-color: var(--citycolor);
    border-radius: 0px 0px 0px 8px;
    z-index: 1051;
}
.ad-top img {
    width: auto;
    max-height: 128px;
}

/* Responsive font sizing for main title - using higher specificity */
.headline {
    font-size: 92px;
}

/* Media queries for additional responsive adjustments */
@media (max-width: 1900px) {
    .headline {
        font-size: 92px;
    }
}

/* Media queries for additional responsive adjustments */
@media (max-width: 1600px) {
    .headline {
        font-size: 72px;
    }
}

@media (max-width: 1400px) {
    .headline {
        font-size: 54px;
    }
}

@media (max-width: 1200px) {
    .headline {
        font-size: 28px;
    }
}

@media (max-width: 1000px) {
    .headline {
        font-size: 0px;
    }
}

@media (max-width: 768px) {
    .headline {
        font-size: 0px;
    }
}

@media (max-width: 480px) {
    .headline {
        font-size: 0px;
    }
}