.journal-hero {
    background: linear-gradient(135deg, #f9fafc 0%, #ffffff 100%);
    padding: 32px 0 36px;
    border-bottom: 1px solid var(--border-light);
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.8fr;
    gap: 24px;
    align-items: start;
}

.cover-image {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    position: relative;
    border-radius: var(--card-radius);
    transition: transform 0.25s ease, box-shadow 0.3s ease;
}

.cover-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--card-radius);
    box-shadow: 0 24px 40px -18px rgba(0, 0, 0, 0.2), 0 2px 4px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(226, 233, 240, 0.8);
    transition: box-shadow 0.3s;
    background: #fff;
}

.cover-image:hover img {
    box-shadow: 0 28px 44px -18px rgba(0, 0, 0, 0.25);
}

.hero-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1rem;
}

.hero-txt-name {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    width: 100%;
}

.hero-txt-name h2 {
    font-family: 'Merriweather', serif;
    font-size: 35px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-primary);
    margin-top: 4px;
}

.subtitle{
    margin-bottom: 10px;
    font-weight: 600;
}

.supportTxt {
    background: yellow;
    padding: 2px 8px;
    color: #d60000;
    font-weight: 700;
    animation: blinkColor 1s infinite;
}

@keyframes blinkColor {
    0%, 100% {
        opacity: 1;
        color: #d60000;
    }
    50% {
        opacity: 0.4;
        color: #ff4d4d;
    }
}

.hero-txt-name p {
    font-size: 14px;
    opacity: 0.7;
}

.journal-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 28px;
    font-size: 0.9rem;
    color: var(--text-muted);
    border-bottom: 1px dashed #e2e8f0;
    padding-bottom: 12px;
    width: 100%;
}

.journal-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 450;
}

.journal-meta i {
    width: 1.1rem;
    color: var(--primary-accent);
    font-size: 0.9rem;
}

.description {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 90%;
}

.submitBox {
    width: 100%;
    padding: 18px 22px;
    border-radius: 12px;
    background: linear-gradient(135deg, #fff7ed, #ffe4c7);
    border: 1px solid #f3c89b;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.submitBox::before {
    content: "";
    position: absolute;
    top: 0;
    left: -50%;
    width: 50%;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
    transform: skewX(-20deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -50%;
    }

    100% {
        left: 120%;
    }
}

.submitBox a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #c9772e;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.submitBox a:hover {
    background: #a95f20;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.submitBox a i:last-child {
    transition: transform 0.3s ease;
}

.submitBox a:hover i:last-child {
    transform: translateX(4px);
}

.submitBox {
    font-size: 14px;
    color: #5a3b1a;
    font-weight: 500;
}

.submitBox::after {
    content: "Deadline Soon";
    position: absolute;
    top: -6px;
    right: -10px;
    background: #c23d3d;
    color: #fff;
    font-size: 9px;
    padding: 6px 14px 6px 5px;
    border-radius: 0 0 0 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.poweredBy {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(2px);
    border-radius: 60px;
    border: 1px solid rgba(201, 119, 46, 0.25);
    text-decoration: none;
    padding: 6px 24px 6px 8px;
    margin-top: 16px;
    transition: border 0.2s, box-shadow 0.2s;
    width: auto;
}

.powerImg {
    width: 30px;
    height: 30px;
    object-fit: cover;
    border-radius: 50%;
    background: #f8f3ed;
    border: 1px solid #f0e2d4;
}

.powerInfo {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.powerInfo span {
    font-size: 8px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.powerInfo p {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    transition: color 0.2s;
}

.poweredBy:hover .powerInfo p {
    color: var(--primary-accent);
}

@media screen and (max-width: 1024px) {
    .hero-grid {
        gap: 36px;
    }

    .hero-text h2 {
        font-size: 2.2rem;
    }

    .description {
        max-width: 100%;
    }

    .cover-image {
        max-width: 260px;
    }
}

@media screen and (max-width: 880px) {
    .journal-hero { padding: 48px 0 56px; }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .hero-text {
        align-items: center;
        text-align: center;
    }

    .hero-txt-name{ align-items: center; }
    .hero-txt-name h2{ font-size: 40px; }
    .journal-meta {
        justify-content: center;
        gap: 20px;
        flex-wrap: wrap;
    }

    .description { text-align: center; }
    .submitBox {
        display: flex;
        justify-content: center;
    }

    .poweredBy { margin: 8px auto 0; }
    .cover-image {
        max-width: 260px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 550px) {
    .journal-hero { padding: 28px 0 36px; }
    .hero-grid{ gap: 10px; }
    .journal-meta {
        flex-direction: column;
        align-items: center;
        gap: 1px;
        font-size: 14px;
    }

    .poweredBy {
        padding: 4px 18px 4px 6px;
        gap: 12px;
    }

    .powerImg {
        width: 38px;
        height: 38px;
    }

    .powerInfo p { font-size: 14px; }
    .description { font-size: 14px; }
}


.global-search {
    background: var(--border-light);
    padding: 40px 30px;
    display: flex;
    justify-content: center;
    position: relative;
}

.global-search-container{
    position: relative;
    width: 999px;
}

.gsrcbox{
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    gap: 5px;
}

.gsrcbox label{
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 13px;
}

.gsrcbox input {
    width: 100%;
    padding: 18px 14px;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
    background: #fff;
}

.gsrcbox input:focus {
    border-color: var(--primary-accent);
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.15);
}

.results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5px;
    background: var(--border-soft);
    z-index: 10;
}

.results a {
    padding: 8px;
    width: 100%;
    background: var(--bg-light);
    text-align: left;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 14px;
    transition: background 0.2s ease;
}

.results a:hover { 
    background: #f5f7fa; 
    text-decoration: underline;
}

@media (max-width: 480px){
    .global-search-container{ width: 100%; }
    .global-search{ padding: 45px 0;}
}


.search-section { margin: 40px 0 32px; }
.filter-bar {
    background: var(--bg-light);
    border-radius: 60px;
    padding: 8px 12px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 12px var(--shadow-sm);
}

.search-wrapper {
    flex: 2;
    display: flex;
    align-items: center;
    background: var(--bg-main);
    border-radius: 48px;
    padding: 8px 20px;
    border: 1px solid var(--border-soft);
}

.search-wrapper i {
    color: var(--text-muted);
    margin-right: 12px;
}

.search-wrapper input {
    border: none;
    background: transparent;
    padding: 10px 0;
    width: 100%;
    font-size: 0.95rem;
    outline: none;
}

.filter-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-select {
    padding: 10px 20px;
    border-radius: 40px;
    border: 1px solid var(--border-light);
    background: var(--bg-light);
    font-weight: 500;
    cursor: pointer;
}

.papers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.paper-card {
    background: var(--bg-light);
    border-radius: 24px;
    padding: 24px;
    transition: all 0.25s ease;
    border: 1px solid var(--border-soft);
    box-shadow: 0 2px 8px var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
    text-decoration: none;
}

.paper-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-strong);
    box-shadow: 0 20px 30px -12px var(--shadow-lg);
}

.paper-category {
    background: var(--tag-bg);
    color: var(--tag-text);
    font-size: 10px;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 30px;
}

.paper-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 12px 0;
}

.paper-authors {
    font-size: 13px;
    margin: 8px 0;
    color: var(--text-muted);
}

.paper-journal {
    font-size: 13px;
    color: var(--accent-light);
}

.paper-abstract {
    font-size: 14px;
    margin: 8px 0;
    color: var(--text-secondary);
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.paper-meta {
    border-top: 1px solid var(--border-soft);
    font-size: 13px;
    margin: 8px 0;
    color: var(--text-light);
}

.paper-actions {
    margin: 10px 0;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--toast-bg);
    color: var(--toast-text);
    padding: 12px 24px;
    border-radius: 40px;
    font-size: 0.85rem;
    box-shadow: 0 8px 20px var(--shadow-lg);
}


/* Responsive */
@media (max-width: 768px) {
    .filter-bar {
        flex-direction: column;
        background: transparent;
        padding: 0;
        border-radius: 0;
        border: none;
        box-shadow: none;
    }

    .search-wrapper {
        width: 100%;
        background: var(--bg-light);
    }

    .papers-grid { grid-template-columns: 1fr; }
}


/* Announcements */
.announcement-clg {
    display: flex;
    align-items: stretch;
    gap: 20px;
    width: 100%;
    padding: 25px;
}

.announcement-banner {
    background-image: url('../images/board.webp');
    margin: 15px auto;
    padding: 0;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    width: 70%;
}

.announcement-header {
    padding: 12px 20px;
    background-image: url('../images/wood.webp');
    background-repeat: repeat;
    text-align: center;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-radius: 10px 10px 0 0;
    font-family: "Fredericka the Great", serif;
}

.announcement-subheader{
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    font-size: 22px;
    margin: 0;
    color: var(--bg-light);
    letter-spacing: -0.3px;
}

.announcement-subheader i {
    font-size: 18px;
    color: var(--primary-accent);
}

.announcement-header .btn{ 
    padding: 5px 15px;
    color: var(--bg-light);
    border-radius: 8px;
    border-color: var(--border-light);
}

.announcement-header .btn:hover{ color: var(--text-primary); }
.announcement-list {
    padding: 15px 20px;
    height: 280px;
    overflow: hidden;
    position: relative;
}

.announcement-track {
    position: relative;
    will-change: transform;
}

.announcement-track:hover { animation-play-state: paused; }
.announcement-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 5px;
    padding: 15px 0;
    border-bottom: 1px solid #e6dbcf;
    text-decoration: none;
}

.announcement-item:last-child { border-bottom: none; }
.announcement-title {
    font-size: 14px;
    color: var(--bg-light);
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px;
}

.new-tag {
    background: var(--danger);
    font-size: 7px;
    padding: 2.5px 5px;
    color: var(--bg-light);
    border-radius: 5px;
}

.college-feature { flex: 0 0 40%; }
.college-img-wrapper {
    height: 100%;
    min-height: 350px;
    border-radius: 10px;
    overflow: hidden;
}

.college-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.announcement-banner {
    flex: 0 0 calc(60% - 20px);
    width: auto;
    margin: 0;
}


@media (max-width: 1000px) {
    .announcement-header h3 { font-size: 18px; }
}

@media (max-width: 768px) {
    .announcement-clg { flex-direction: column-reverse; }
    .college-feature,
    .announcement-banner {
        flex: 1 1 100%;
        width: 100%;
    }

    .college-img-wrapper { min-height: 220px; }
}

@media (max-width: 726px) { .announcement-banner{ width: 100%; } }
@media (max-width: 640px) {
    .announcement-item {
        flex-direction: column;
        gap: 8px;
    }

    .announcement-header { flex-wrap: wrap; }
    .announcement-header .btn{ padding: 5px 10px; }
    .announcement-title{ font-size: 13px; }
    .college-img-wrapper { height: 180px; }
}