body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f8fa;
}

header {
    background-color: #07517e;
    color: white;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header .logo {
    font-size: 24px;
    font-weight: bold;
}

header .search-bar {
    flex: 1;
    margin-left: 80px;
    margin-right: 20px;
}

header input {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 20px;
}

.container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

.left-pane {
    flex: 3;
    padding: 10px;
}

.right-pane {
    flex: 1;
    padding: 10px;
}

.summary {
    background-color: #fff;
    border: 1px solid #e1e8ed;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 20px;
}

.summary-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4px;
}

.summary-text {
    flex: 3;
}

.summary-image {
    flex: 1;
    max-width: 130px;
    /* margin-left: 2px; */
}

.summary-image img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    float: right;
}

.summary-footer {
    display: flex;
    justify-content: space-between;
}

.summary-title {
    color: #092f4d;
    font-size: smaller;
    font-weight: bold;
}

.ad {
    background-color: #fff;
    border: 1px solid #e1e8ed;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    text-align: center;
}

a {
    text-decoration: none;
    color: #1a1a1a;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        padding: 10px;
    }

    .left-pane, .right-pane {
        flex: 1;
    }

    .summary-content {
        flex-direction: column;
    }

    .summary-image {
        margin-left: 0;
        margin-top: 10px;
    }
}