* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Georgia", "Times New Roman", serif;
    background: #fdf6e9;
    color: #222;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

.header {
    background: #0A1F44;
    color: #ff962e;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 30px;
    border-bottom: 4px solid #ff962e;
    flex-wrap: wrap;
}

.site-title {
    text-align: center;
}

.site-title h1 {
    font-size: 28px;
    letter-spacing: 1px;
}

.site-title p {
    font-size: 12px;
    color: #ffd8a8;
    text-transform: uppercase;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn {
    background: #ff962e;
    color: #0A1F44;
    padding: 8px 14px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: 0.3s;
    font-size: 14px;
}

.btn:hover {
    background: #ffc27a;
}

.btn.outline {
    background: transparent;
    border: 2px solid #ff962e;
    color: #ff962e;
}

.btn.outline:hover {
    background: #ff962e;
    color: #0A1F44;
}

.cat-nav {
    background: #fff;
    border-bottom: 1px solid #ddd;
    text-align: center;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.cat-nav a {
    text-decoration: none;
    color: #555;
    margin: 0 15px;
    font-size: 15px;
    font-weight: bold;
    text-transform: uppercase;
    transition: 0.3s;
    display: inline-block;
}

.cat-nav a:hover,
.cat-nav a.active {
    color: #ff962e;
}

.hero {
    background: url('https://images.unsplash.com/photo-1457369804613-52c61a468e7d?q=80&w=1600&auto=format&fit=crop') no-repeat center center/cover;
    height: 350px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 30px;
}

.hero-overlay {
    background: rgba(10, 31, 68, 0.75);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    color: white;
    padding: 20px;
    max-width: 700px;
}

.hero-content h1 {
    font-size: 36px;
    margin-bottom: 10px;
    color: #ff962e;
}

.hero-search {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.hero-search input {
    padding: 12px;
    width: 70%;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
}

.hero-search button {
    padding: 12px 20px;
    background: #ff962e;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 16px;
    color: #0A1F44;
}

.compact-search {
    text-align: center;
    padding: 20px;
}

.compact-search input {
    padding: 8px;
    width: 250px;
}

.content {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

.issue-divider {
    border-bottom: 2px solid #ff962e;
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.issue-title {
    font-size: 24px;
    color: #0A1F44;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.card-image {
    height: 180px;
    width: 100%;
    overflow: hidden;
    position: relative;
    background: #eee;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: 0.3s;
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.category-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff962e;
    color: #0A1F44;
    font-size: 11px;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
}

.card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card h3 {
    font-size: 18px;
    color: #0A1F44;
    margin-bottom: 8px;
    line-height: 1.3;
}

.card .meta {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

.card .desc {
    font-size: 14px;
    color: #444;
    margin-bottom: 15px;
    flex: 1;
}

.actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.read-btn {
    color: #0A1F44;
    font-weight: bold;
    border-bottom: 2px solid #ff962e;
    padding-bottom: 2px;
}

.read-btn:hover {
    color: #ff962e;
    text-decoration: none;
}

.pdf-btn {
    color: #cc0000;
    font-size: 20px;
}

.empty {
    text-align: center;
    font-style: italic;
    color: #666;
    margin: 40px 0;
}

.footer {
    background: #0A1F44;
    color: #ff962e;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    font-size: 14px;
}

@media (max-width: 768px) {

    .header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 20px 15px;
    }

    .header-right {
        width: 100%;
        justify-content: center;
    }

    .site-title h1 {
        font-size: 22px;
    }

    .journal-name h1 {
        font-size: 28px;
    }

    .cat-nav {
        white-space: nowrap;
        overflow-x: auto;
        padding: 10px 15px;
    }

    .hero {
        height: 250px;
    }

    .hero-content h1 {
        font-size: 24px;
    }

    .hero-search input {
        width: 60%;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .issue-divider {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }
}



.single-view {
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 50px;
}

.breadcrumb {
    margin: 15px 0 25px 0;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #0A1F44;
    text-decoration: none;
    font-weight: bold;
}

.breadcrumb a:hover {
    color: #ff962e;
}

.paper {
    background: #fff;
    padding: 0;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    overflow: hidden;
    border-top: 5px solid #0A1F44;
}

.featured-banner {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: #eee;
}

.featured-banner img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.paper-header {
    padding: 40px 40px 20px 40px;
    text-align: center;
}

.paper-header h1 {
    font-size: 36px;
    color: #0A1F44;
    margin: 15px 0;
    line-height: 1.2;
}

.tag {
    background: #ff962e;
    color: #0A1F44;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
}

.paper-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 25px;
    color: #555;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
}

.author-info i {
    color: #ff962e;
}

.divider {
    border: 0;
    height: 1px;
    background: #eee;
    margin: 0 40px;
}

.paper-body {
    padding: 30px 40px;
    font-size: 18px;
    color: #333;
    line-height: 1.8;
}

.paper-body h3 {
    font-size: 20px;
    color: #0A1F44;
    margin-bottom: 10px;
    border-left: 4px solid #ff962e;
    padding-left: 10px;
}

.pdf-wrapper {
    background: #f4f4f4;
    padding: 20px;
    border-top: 1px solid #ddd;
}

.pdf-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-weight: bold;
    color: #0A1F44;
}

.btn-download {
    background: #0A1F44;
    color: #fff;
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: 0.3s;
}

.btn-download:hover {
    background: #ff962e;
    color: #0A1F44;
}

iframe {
    border: 1px solid #ccc;
    background: white;
}




@media (max-width: 768px) {
    .featured-banner {
        height: 200px;
    }

    .paper-header h1 {
        font-size: 26px;
    }

    .paper-meta {
        flex-direction: column;
        gap: 15px;
    }

    .paper-header,
    .paper-body {
        padding: 20px;
    }
}




.cover{
    display: flex;
    flex-direction: row;  
    align-items: center;
    gap: 20px;
}

.cover h1{
    font-size:50px;
}

    .cover img{
        width: 400px;
    }

@media (max-width:768px){
    .cover{
        flex-direction: column;   
        text-align: center;
    }
    .cover h1{
        font-size: x-large;
    }

    .cover img{
        width: 300px;
    }
}