
/* Remove homepage heading and divider */

.pkp_page_index section.homepage_about {
    display: none !important;
}

.pkp_page_index .additional_content {
    border-top: none !important;
}

.pkp_page_index .pkp_structure_content {
    border-top: none !important;
}

/* Reduce empty space on homepage */

.pkp_page_index .pkp_structure_main {
    padding-top: 15px !important;
}

.pkp_page_index .pkp_structure_content {
    padding-top: 0 !important;
}

.pkp_page_index .additional_content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/*footer*/

.pkp_brand_footer {
    display: none !important;
}

/* IJCWCTSS Homepage Design */

.ijcw-home {
    max-width: 1100px;
    margin: 0 auto;
    color: #283746;
    font-family: inherit;
    line-height: 1.75;
}

.ijcw-home section {
    padding: 42px 38px;
    margin-bottom: 24px;
}

.ijcw-home h2 {
    color: #073B59;
    font-size: 27px;
    line-height: 1.35;
    margin: 10px 0 18px;
    font-weight: 700;
}

.ijcw-home p {
    font-size: 16px;
    margin: 12px 0;
}

.ijcw-label {
    color: #1680A6;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

/* About */

.ijcw-about {
    background: #ffffff;
    border-bottom: 1px solid #e5e9ed;
}

/* Call for Papers */

.ijcw-call {
    background: #F0F5F8;
    border-left: 5px solid #087BA5;
    border-radius: 5px;
}

.ijcw-call h2 {
    font-size: 32px;
}

.ijcw-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 25px 0;
}

.ijcw-detail {
    background: #ffffff;
    padding: 18px;
    border-radius: 5px;
    border: 1px solid #e0e7ec;
}

.ijcw-detail span,
.ijcw-detail strong {
    display: block;
}

.ijcw-detail span {
    color: #647786;
    font-size: 13px;
}

.ijcw-detail strong {
    color: #073B59;
    font-size: 19px;
}

.ijcw-notes span {
    display: block;
    margin: 9px 0;
    font-size: 15px;
}

/* Buttons */

.ijcw-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px;
}

.ijcw-btn {
    display: inline-block;
    padding: 12px 19px;
    text-decoration: none !important;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    transition: 0.2s ease;
}

.ijcw-primary {
    background: #073B59;
    color: #ffffff !important;
}

.ijcw-primary:hover {
    background: #0B6488;
}

.ijcw-secondary {
    background: #ffffff;
    color: #073B59 !important;
    border: 1px solid #073B59;
}

/* Research Topics */

.ijcw-topics {
    background: #ffffff;
}

.ijcw-intro {
    color: #647786;
}

.ijcw-topic-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 28px;
}

.ijcw-topic {
    padding: 24px;
    background: #F5F8FA;
    border: 1px solid #E4EBF0;
    border-radius: 6px;
    border-top: 3px solid #1680A6;
}

.ijcw-number {
    display: block;
    color: #1680A6;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.ijcw-topic h3 {
    color: #073B59;
    font-size: 18px;
    line-height: 1.4;
    margin: 0 0 10px;
}

.ijcw-topic p {
    color: #526373;
    font-size: 14px;
    margin: 0;
}

/* Editorial Independence */

.ijcw-editorial {
    background: #073B59;
    border-radius: 5px;
    color: #ffffff;
}

.ijcw-editorial h2,
.ijcw-editorial p {
    color: #ffffff;
}

.ijcw-editorial .ijcw-label {
    color: #A8DCEC;
}

/* Mobile Responsive */

@media screen and (max-width: 700px) {
    .ijcw-home section {
        padding: 25px 18px;
    }

    .ijcw-home h2 {
        font-size: 23px;
    }

    .ijcw-details,
    .ijcw-topic-grid {
        grid-template-columns: 1fr;
    }

    .ijcw-buttons {
        flex-direction: column;
    }

    .ijcw-btn {
        text-align: center;
    }
}

/* table border */
table {
    width: 100%;
    border-collapse: collapse;
}
table, th, td {
    border: 1px solid black;
}
th, td {
    padding: 3px 3px 0 3px;
    text-align: left;
}
th {
    background-color: #f2f2f2;
}



/* Issue in Preparation */

.ijcw-status {
    display: inline-block;
    background: #e6f3eb;
    color: #247344;
    padding: 7px 15px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 13px;
    margin-top: 15px;
}

.ijcw-schedule {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: #fff;
}

.ijcw-schedule th,
.ijcw-schedule td {
    padding: 16px;
    border: 1px solid #dce5eb;
    text-align: left;
}

.ijcw-schedule th {
    background: #eaf1f5;
    color: #073B59;
}

.ijcw-editorial .ijcw-schedule td {
    color: #283746;
}

@media(max-width:700px) {
    .ijcw-schedule th,
    .ijcw-schedule td {
        padding: 10px;
        font-size: 13px;
    }
}


/* Archives and Citation Page */

.ijcw-inline-link {
    color: #087BA5;
    font-weight: 600;
    text-decoration: underline;
}

.ijcw-citation {
    background: #F0F5F8;
    border-left: 4px solid #1680A6;
    padding: 20px 24px;
    margin-top: 20px;
    border-radius: 4px;
}

.ijcw-citation p {
    margin: 0;
    color: #283746;
    font-size: 16px;
}

.ijcw-citation a,
.ijcw-example a {
    color: #087BA5;
    overflow-wrap: anywhere;
}

.ijcw-example {
    background: #ffffff;
    color: #283746;
    border-radius: 5px;
    padding: 20px;
    margin-top: 20px;
}

.ijcw-example p {
    margin: 0;
}

.ijcw-note {
    font-size: 13px !important;
    color: #DCEAF1 !important;
    margin-top: 18px !important;
    font-style: italic;
}

@media(max-width:700px) {
    .ijcw-citation,
    .ijcw-example {
        padding: 15px;
    }
}


/* IJCWCTSS Contact Page */

.ijcw-contact-details,
.ijcw-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 25px;
}

.ijcw-contact-card,
.ijcw-contact-item {
    background: #F3F7F9;
    border: 1px solid #E1E9EE;
    border-radius: 6px;
    padding: 22px;
}

.ijcw-contact-card span,
.ijcw-editor-profile > span {
    display: block;
    color: #1680A6;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 9px;
}

.ijcw-contact-card strong {
    color: #073B59;
    font-size: 17px;
}

.ijcw-contact-item h3,
.ijcw-partner-list h3,
.ijcw-editor-profile h3 {
    color: #073B59;
    font-size: 17px;
    margin: 8px 0 12px;
}

.ijcw-contact-item a,
.ijcw-partner-list a,
.ijcw-editor-profile a {
    color: #087BA5;
    font-size: 14px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.ijcw-partner-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 22px;
}

.ijcw-partner-list > div {
    background: #FFFFFF;
    border: 1px solid #DFE8ED;
    border-radius: 6px;
    padding: 22px;
}

.ijcw-editor-profile {
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    padding: 20px;
    margin-top: 18px;
}

.ijcw-editor-profile h3,
.ijcw-editor-profile a {
    color: #FFFFFF;
}

.ijcw-managing-team {
    margin-top: 28px;
}

.ijcw-managing-team > h3 {
    color: #FFFFFF;
    font-size: 20px;
}

@media(max-width:700px) {
    .ijcw-contact-details,
    .ijcw-contact-grid,
    .ijcw-partner-list {
        grid-template-columns: 1fr;
    }
}


/* IJCWCTSS Contact Page */

.ijcw-contact-details,
.ijcw-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 25px;
}

.ijcw-contact-card,
.ijcw-contact-item {
    background: #F3F7F9;
    border: 1px solid #E1E9EE;
    border-radius: 6px;
    padding: 22px;
}

.ijcw-contact-card span,
.ijcw-editor-profile > span {
    display: block;
    color: #1680A6;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 9px;
}

.ijcw-contact-card strong {
    color: #073B59;
    font-size: 17px;
}

.ijcw-contact-item h3,
.ijcw-partner-list h3,
.ijcw-editor-profile h3 {
    color: #073B59;
    font-size: 17px;
    margin: 8px 0 12px;
}

.ijcw-contact-item a,
.ijcw-partner-list a,
.ijcw-editor-profile a {
    color: #087BA5;
    font-size: 14px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.ijcw-partner-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 22px;
}

.ijcw-partner-list > div {
    background: #FFFFFF;
    border: 1px solid #DFE8ED;
    border-radius: 6px;
    padding: 22px;
}

.ijcw-editor-profile {
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    padding: 20px;
    margin-top: 18px;
}

.ijcw-editor-profile h3,
.ijcw-editor-profile a {
    color: #FFFFFF;
}

.ijcw-managing-team {
    margin-top: 28px;
}

.ijcw-managing-team > h3 {
    color: #FFFFFF;
    font-size: 20px;
}

@media(max-width:700px) {
    .ijcw-contact-details,
    .ijcw-contact-grid,
    .ijcw-partner-list {
        grid-template-columns: 1fr;
    }
}



/* =========================================
   IJCWCTSS – Common Page Layout
   Apply to Homepage and All Internal Pages
========================================= */

/* Keep the main content container centred */
.pkp_structure_content {
    display: block !important;
    width: 100% !important;
    max-width: 1160px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}

/* Remove OJS default narrow content column */
.pkp_structure_content .pkp_structure_main {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* Keep content spacing consistent */
.pkp_structure_content .pkp_structure_main > .page {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Responsive layout */
@media screen and (max-width: 1200px) {
    .pkp_structure_content {
        max-width: 100% !important;
    }
}

@media screen and (max-width: 700px) {
    .pkp_structure_content {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .pkp_structure_content .pkp_structure_main {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}


/* Align OJS vertical separator lines */

@media (min-width: 768px) {

    .pkp_structure_main {
        position: relative !important;
    }

    .pkp_structure_main:before {
        left: 0 !important;
    }

    .pkp_structure_main:after {
        right: 0 !important;
        left: auto !important;
    }

}

@media (min-width: 992px) {
    .pkp_structure_content {
        padding-top: 0px !important;
    }
    }
}
