/*
Theme Name: Sastra Theme
Author: devover
Author URI: https://themeforest.net/user/devover
Description: Light and Professional Theme for Open Journal System (OJS) 3.x.
Version: 1.0.0
License: GPLv3
Tags: ojs, open journal systems, academic, journal, education, responsive, clean, professional, bootstrap 5
*/

/*------------------------------------------------------------------

  TABLE OF CONTENTS

  1.0 BASE & UTILITIES
    - Body Defaults
    - Link Styling
    - General Helpers (.header_info, .sastra-header, .img-bg-full, .divider-line)
    - Accessibility (.pkp_screen_reader)

  2.0 NAVIGATION & HEADER STYLES
    - General Navbar Resets & Styles
    - Logo Sizing
    - Sticky Header Transition
    - Mobile Navigation Styles (max-width: 991.98px)
      - Full-width Menu Items
      - Fullscreen Menu Overlay (.site-header.menu-open)
      - Animatable Hamburger/X Toggler Icon
      - Inline Mobile Dropdowns
    - Desktop Navigation Link Base Styles
    - Desktop Dropdown Menu Styles
    - Header Style 1 Specifics
    - Header Style 2 Specifics
    - Search Offcanvas Styles

  3.0 TINY MCE ICON PICKER MODAL
    - Modal Body Layout
    - Icon Grid & Item Styling

  4.0 ARTICLE & SWIPER SLIDER
    - Article Detail Utilities (.btn-copy-doi)
    - Swiper Slider Base Styles
    - Swiper Slide Overlay

  5.0 SIDEBAR MENU
    - Custom Sidebar Navigation Styles
    - Nested Dropdown/Collapse Override

  6.0 ISSUE & ARTICLE DETAILS
    - Typography Scaling
    - Article Title Link Underline Effect

  7.0 FOOTER
    - Footer Base Styles
    - OJS Logo Styling
    - Footer Headings & Underline
    - Footer Lists & Links
    - Footer Dropdown Hiding
    - Footer Journal Description

  8.0 SHARE BUTTONS
    - General Share Button Styles
    - Platform-Specific Colors
    - Fallback Icon Style

  9.0 PKP MEDIA QUERIES (OJS/OMP Overrides)
    - Desktop OJS Logo Sizing
    - OJS Header View Overrides (Potentially older/specific contexts)

-------------------------------------------------------------------*/


/*==================================================
  1.0 BASE & UTILITIES
==================================================*/

body {
    /* Base Typography */
    font-size: 16px;       /* Default font size */
    font-weight: 400;      /* Default font weight */
    line-height: 1.6;      /* Default line height for readability */
    color: #333;           /* Default text color */

    /* Global Transitions and Smoothing */
    /* Smooth transition for padding-top, likely used with sticky headers */
    transition: padding-top 0.3s ease-in-out;
    /* Improves font rendering on specific browsers */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- Link Styling --- */
body a {
    /* Use Bootstrap's link color variable for consistency */
    color: var(--bs-link-color);
    /* Basic transition for hover effects */
    transition: color 0.2s ease-in-out;
}

body a:hover {
    /* Use Bootstrap's link hover color variable */
    color: var(--bs-link-hover-color);
}

/* Specific hover color for links within article summaries */
.article-summary a:hover {
    color: #000; /* Darker color on hover for emphasis */
}

/* --- General Helpers --- */

/* Reset margin for paragraphs within a specific header info block */
.header_info p {
    margin: 0;
}

/* Base styles for the main header container (likely holds background image) */
.sastra-header {
    /* Ensures background image covers the area */
    background-size: cover !important; /* !important likely needed to override OJS inline styles or defaults */
    background-position: center !important; /* Centers the background image */
    background-repeat: no-repeat;       /* Prevents tiling */
}

/* Utility class for images intended to cover their container */
.img-bg-full {
    width: 100% !important; /* Force full width */
    height: 100% !important; /* Force full height */
    object-fit: cover;    /* Scale image to maintain aspect ratio while covering */
}

/* A decorative divider line element */
.divider-line {
    margin: 15px 0;         /* Spacing above and below */
    border-radius: 4px;     /* Slightly rounded edges */
    height: 5px;            /* Thickness of the line */
    /* Creates a short line effect using a gradient */
    background-image: linear-gradient(var(--bs-link-color), var(--bs-link-color));
    background-repeat: no-repeat;
    background-size: 250px 5px; /* Sets the visible length (250px) and thickness (5px) */
}

/* --- Accessibility --- */

/* Styles for visually hiding text intended only for screen readers.
   Equivalent to Bootstrap's .visually-hidden or .sr-only */
/* Applied only on larger screens (>= 768px), possibly to override an OJS default
   that might incorrectly hide elements on mobile. */
@media (min-width: 768px) {
    .pkp_screen_reader {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: -1px;
        padding: 0;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        border: 0;
    }
}


/*==================================================
  2.0 NAVIGATION & HEADER STYLES
==================================================*/

/* --- General Navbar Resets & Styles --- */
.navbar {
    /* Remove default Bootstrap navbar padding, assumes custom padding is applied elsewhere */
    padding: 0 !important; /* !important likely needed for specificity */
}

/* Sizing constraints for the logo within the navbar brand link */
.navbar-brand .img-logo {
    max-height: 50px; /* Limit logo height */
    padding: 5px 0;   /* Vertical padding around the logo */
}

/* Styles for a potential sticky/scrolling header effect */
#scroll-header {
    transition: all 0.3s ease-in-out; /* Smooth transition for property changes */
}

/* --- Mobile Navigation Styles (Below LG Breakpoint) --- */
/* Media query targets Bootstrap's LG breakpoint (screens smaller than 992px). */
@media (max-width: 991.98px) {

    /* Add some top margin to the navigation list when collapsed */
    #main-navigation {
        margin-top: 10px;
    }

    /* Make top-level menu items take full width */
    #main-navigation > li {
        width: 100%;
    }

    /* Make the link itself fill the list item for a larger tap target */
    #main-navigation > li > a {
        display: block; /* Change from inline to block */
        width: 100%;
    }

    /* --- Fullscreen Mobile Menu Overlay --- */
    /* Styles applied to the .site-header when the mobile menu is open */
    .site-header.menu-open {
        height: 100vh;           /* Full viewport height */
        width: 100%;             /* Full viewport width */
        position: fixed;         /* Fixed position to overlay content */
        z-index: 999;            /* Ensure it's above other content */
        top: 0;                  /* Align to top */
        left: 0;                 /* Align to left */
        background-color: #fff;  /* Set background color (customize as needed) */
        overflow-y: auto;        /* Allow scrolling if content exceeds height */
        /* Note: Original margin-top: -24px; removed as top: 0; left: 0; is usually sufficient */
    }
    /* Add padding to the navbar within the fullscreen overlay */
    .site-header.menu-open > .navbar {
         padding: 0px 15px 20px !important; /* Adjust padding as needed (added horizontal padding) */
    }

    /* --- Animatable Hamburger/X Icon --- */
    /* Remove bottom border from navbar in mobile overlay */
    .navbar {
        border-bottom: none !important;
    }
    /* Style the Toggler Button itself */
    .navbar-toggler {
        position: relative;
        width: 30px;    /* Fixed width */
        height: 20px;   /* Fixed height */
        border: none;
        background: transparent !important; /* Override default button styles */
        padding: 0;
        transform: rotate(0deg);
        transition: transform 0.5s ease-in-out; /* Smooth rotation transition */
        cursor: pointer;
    }
    /* Style the three lines (spans) used to create the icon */
    .navbar-toggler .line {
        display: block;
        position: absolute;
        height: 3px;    /* Line thickness */
        width: 100%;
        /* Use theme's header text color variable for the lines */
        background: var(--sastra-header-text-color);
        border-radius: 3px;
        opacity: 1;
        left: 0;
        transform: rotate(0deg);
        /* Define transitions for smooth animation */
        transition: top 0.3s ease-in-out,
                    opacity 0.3s ease-in-out,
                    transform 0.3s ease-in-out;
    }
    /* Position the lines in the default "hamburger" state */
    .navbar-toggler .line1 { top: 0px; }
    .navbar-toggler .line2 { top: 8px; } /* Adjust spacing as needed */
    .navbar-toggler .line3 { top: 16px; } /* Adjust spacing as needed */

    /* Style the "X" state (applies when aria-expanded="true") */
    .navbar-toggler[aria-expanded="true"] .line1 {
        top: 8px;            /* Move to center */
        transform: rotate(45deg); /* Rotate */
    }
    .navbar-toggler[aria-expanded="true"] .line2 {
        opacity: 0;          /* Fade out middle line */
    }
    .navbar-toggler[aria-expanded="true"] .line3 {
        top: 8px;            /* Move to center */
        transform: rotate(-45deg); /* Rotate opposite direction */
    }

    /* --- Inline Mobile Dropdowns --- */
    /* Default, HIDDEN state for dropdown menus on mobile */
    .navbar-collapse #main-navigation .dropdown-menu {
        position: static; /* Make it part of the normal flow */
        display: none;    /* Hide by default */
        float: none;
        width: 100%;
        margin-top: 0;
        background-color: transparent;
        border: 0;
        box-shadow: none;
        padding-left: 1rem; /* Indent submenu items */
        transition: display 0s ease 0.3s; /* Basic transition timing (can be improved) */
    }
    /* OPEN state: Show the dropdown when Bootstrap adds '.show' */
    .navbar-collapse #main-navigation .dropdown-menu.show {
        display: block;
    }
    /* Styling for the links within the inline dropdown */
    .navbar-collapse #main-navigation .dropdown-menu .menu-items a {
        padding: 0.75rem 1rem; /* Padding for tap targets */
        color: var(--sastra-header-text-color); /* Match header text color */
        /* Add other styles as needed */
    }
    /* Optional: Style the parent link when its dropdown is open */
    .navbar-collapse #main-navigation .dropdown > .dropdown-toggle[aria-expanded="true"] {
         font-weight: bold; /* Example: make it bold */
    }
} /* End of mobile styles media query */


/* --- Desktop Navigation Link Base Styles --- */
/* Applied to direct children links of list items in .nav */
.nav > li > a {
    color: var(--bs-emphasis-color-rgb); /* Use Bootstrap's emphasis color variable */
    display: block;
    padding: 1.5em 1em; /* Vertical and horizontal padding */
    font-size: 0.9em;
    font-weight: 500;
    text-decoration: none;
    /* Underline effect setup for nav-underline */
    border-bottom: var(--bs-nav-underline-border-width, 0.125rem) solid transparent;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

/* --- Desktop Dropdown Menu Styles --- */
/* Keep dropdown open on hover (standard desktop behavior) */
.dropdown:hover .dropdown-menu {
    display: block;
}
/* Styling for the dropdown container */
.dropdown-menu-bg {
    padding: 0;
    border: 1px solid transparent; /* Can be customized */
    box-shadow: 0 15px 30px 0 rgba(0, 0, 0, 0.2); /* Soft shadow */
    /* Smooth transition for appearance (e.g., when using JS/different trigger) */
    transition: margin-top 0.3s ease, opacity 0.3s ease;
}
/* Custom styling for list items within the dropdown */
.menu-items {
    display: block;
    width: 100%;
    clear: both;
    border: 0;
    background-color: transparent;
}
.menu-items a {
    font-size: 0.95em;
    color: var(--bs-link-color); /* Use standard link color */
    padding: 0.75rem 1rem; /* Consistent padding */
    width: 100%;
    display: block;
    font-weight: 400;
    text-align: inherit;
    white-space: nowrap;
    text-decoration: none;
    transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
}
/* Hover state for dropdown items */
.menu-items:hover {
    background: var(--bs-link-hover-color); /* Use link hover color for background */
    box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.1); /* Subtle shadow on hover */
}
.menu-items:hover a {
    color: var(--bs-light); /* Change text color on hover (assuming light contrast) */
}


/* --- Header Style 1 Specifics --- */
/* Adjust padding for links in Style 1 */
.header-style-1 .nav > li > a {
    padding: 1em;
}
/* Add a top border and remove rounding for Style 1 dropdowns */
.header-style-1 .dropdown-menu-bg {
    border-top: var(--bs-link-color) 3px solid;
    border-radius: 0;
}

/* --- Header Style 2 Specifics --- */
/* Add border, shadow, and padding to the navbar in Style 2 */
.header-style-2 .navbar {
    border-bottom: 1px solid #dee2e6;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    padding: 0.75rem 1rem; /* Adjust padding for the single row */
}
/* Slightly smaller logo for the compact Style 2 header */
.header-style-2 .navbar-brand img {
    max-height: 40px;
}
/* Specific styling for nav links in Style 2 (if using .navbar-nav structure) */
.header-style-2 .navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
    /* Add hover/active styles if needed */
}


/* --- Search & Offcanvas --- */
/* Limit the width of the search input container within the offcanvas */
.offcanvas-body .container {
    max-width: 700px;
}


/*==================================================
  3.0 TINY MCE ICON PICKER MODAL
==================================================*/
/* Styles for a custom modal used within TinyMCE for picking icons */

/* Modal body layout */
#icon-picker-modal-body {
    display: flex;
    flex-direction: column;
    gap: 10px;          /* Space between elements */
    padding: 20px;
    max-height: 80vh;   /* Limit height to prevent overflow */
    overflow-y: auto;   /* Enable scrolling if content exceeds height */
}
/* Modal section headings */
#icon-picker-modal-body h4 {
    margin-top: 15px;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #ddd; /* Simple separator */
}
/* Container for the icon grid */
.icon-grid-container {
    display: grid;
    /* Creates a responsive grid that fills space */
    /* Columns are at least 100px wide, and expand equally */
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px; /* Space between icons */
}
/* Individual icon item styling */
.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;    /* Center content horizontally */
    justify-content: center; /* Center content vertically */
    width: 100%;            /* Grid handles width */
    height: 80px;           /* Fixed height */
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
    font-size: 12px;
    text-align: center;
    padding: 5px;
    box-sizing: border-box; /* Include padding/border in element's total size */
}
/* Hover effect for icon items */
.icon-item:hover {
    background-color: #007ab2; /* Highlight color (customize) */
    color: #fff;              /* Text color on hover */
}
/* Icon element styling */
.icon-item i {
    font-size: 1.5em; /* Icon size */
    margin-bottom: 8px;
}
/* Icon name text styling */
.icon-item span {
    overflow: hidden;         /* Hide overflow */
    text-overflow: ellipsis;  /* Add '...' for long names */
    white-space: nowrap;      /* Prevent wrapping */
    width: 100%;              /* Ensure ellipsis works */
}
/* Variation for icons displayed on a different page (larger size) */
.icon-show-page .icon-item em,
.icon-show-page .icon-item svg {
    margin-bottom: 5px;
    font-size: 2em;
}


/*==================================================
  4.0 ARTICLE & SWIPER SLIDER
==================================================*/

/* --- Article Detail --- */
/* Utility button, likely for copying DOI */
.btn-copy-doi {
    float: right;       /* Position to the right */
    margin-left: 10px; /* Space from adjacent elements */
}

/* --- Swiper Slider --- */
/* Base styles for the Swiper.js container */
.swiper {
    border-radius: 8px; /* Rounded corners */
    width: 100%;
    height: 300px;      /* Default slider height (adjust as needed) */
}
/* Individual slide styling */
.swiper-slide {
    position: relative; /* Needed for absolute positioning of overlay */
    width: 100%;
    height: 100%;       /* Match container height */
    /* Background image properties */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
/* Text overlay positioned at the bottom of slides */
.slide-text-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    /* Suggest using CSS Variables for colors */
    background-color: #eee; /* Semi-transparent or solid background */
    min-height: 50px;
    color: #333;           /* Text color for overlay */
    padding: 20px;
    box-sizing: border-box; /* Include padding in width/height */
}
/* Heading colors within the overlay */
.slide-text-overlay h1,
.slide-text-overlay h2,
.slide-text-overlay h3 {
    margin-top: 0;
    color: #111; /* Darker heading color (Suggest CSS Variable) */
}

/*==================================================
  5.0 SIDEBAR MENU
==================================================*/
/* Custom styling for sidebar navigation blocks */

.sidebar-menu ul {
    padding: 0; /* Remove default list padding */
    margin: 0;  /* Remove default list margin */
}
.sidebar-menu li {
    list-style: none; /* Remove bullet points */
    padding: 0;
    margin: 10px 0; /* Vertical spacing between items */
    overflow: hidden; /* Contains floats/margins */
}
.sidebar-menu li a {
    padding: 15px 20px; /* Padding inside the link */
    /* Use theme variables for colors */
    color: var(--sastra-sidebar-text-color);
    background: var(--sastra-sidebar-bg-color);
    font-size: 0.95em;
    text-decoration: none;
    display: block;      /* Make link fill the list item */
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    width: 100%;
    transition: background-color 0.2s ease-in-out; /* Smooth hover transition */
}
.sidebar-menu li a:hover {
    background: var(--sastra-sidebar-bg-hover-color); /* Use hover variable */
}

/* Override for Bootstrap dropdowns/collapses *within* the sidebar */
/* Makes nested menus appear inline instead of floating */
.sidebar-menu .show {
    position: relative !important; /* Override absolute positioning */
    transform: none !important;    /* Override transforms */
    border: none;
    box-shadow: none;
    /* Basic transition for appearance (can be enhanced) */
    transition: max-height 0.4s ease-out, opacity 0.4s ease-out;
}


/*==================================================
  6.0 ISSUE & ARTICLE DETAILS
==================================================*/

/* --- Typography Scaling --- */
.issue-details h1 { font-size: 2em; }
.issue-details h3 { font-size: 1.25em; }
.issue-details .description p {
    font-size: 1em;
    text-align: justify; /* Justify description text */
}

/* --- Article Title Link Effect --- */
/* Targets article titles within a specific structure (adjust selector if needed) */
.media-heading a {
    font-size: 0.75em; /* Slightly larger font size for titles (adjust as needed) */
    color: #000;
    text-decoration: none;
    /* Underline effect using background gradient */
    background-image: linear-gradient(var(--bs-link-color), var(--bs-link-color));
    background-position: 0% 100%; /* Start position bottom-left */
    background-repeat: no-repeat;
    background-size: 0% 3px;      /* Initially hidden (0% width) */
    transition: background-size 0.25s ease; /* Animate the width */
}
.media-heading a:hover {
    color: #000 !important;   /* Keep color black on hover */
    background-size: 100% 3px; /* Expand underline to full width */
}


/*==================================================
  7.0 FOOTER
==================================================*/

.footer {
    /* Use theme variables for footer colors */
    /* Note: --sastra-footer-bg-hover-color seems unusual for the main background.
       Should it be --sastra-footer-bg-color? Double-check variable names. */
    background-color: var(--sastra-footer-bg-color, #f8f9fa); /* Added fallback */
    color: var(--sastra-footer-text-color);
    padding-top: 3rem; /* Add top padding */
    padding-bottom: 3rem !important; /* Keep bottom padding, use !important if needed */
}

/* OJS Logo in Footer */
.footer .img-ojs-logo {
     /* filter: contrast(1); Does nothing, contrast(1) is default. Remove or change. */
     /* Example: filter: grayscale(1); */
     max-width: 150px; /* Control size if needed */
     opacity: 0.8;    /* Slightly fade it if desired */
}

/* Footer Headings */
.footer h3 {
    color: var(--sastra-footer-text-color);
    font-size: 1.1em; /* Adjusted size */
    letter-spacing: 0.075em;
    margin-bottom: 1.5em; /* Adjusted spacing */
    text-transform: uppercase;
    position: relative; /* Needed for the ::after pseudo-element */
}
/* Underline effect for footer headings */
.footer h3::after {
    background: var(--bs-link-color); /* Use link color for underline */
    content: "";
    display: block;
    height: 3px;
    margin-top: 10px;
    width: 50px; /* Fixed width underline */
    /* position: absolute; Removed, simple block element is fine */
}

/* Footer Lists */
.footer ul {
    padding: 0; /* Remove default padding */
    margin: 0;  /* Remove default margin */
}
.footer li {
    list-style: none; /* Remove bullets */
    margin-top: 1em; /* Spacing between list items */
}

/* Footer Links */
.footer a {
    font-size: 0.9em;
    color: var(--sastra-footer-text-color);
    text-decoration: none;
    transition: color 0.3s ease-in-out, font-weight 0.3s ease-in-out;
}
.footer a:hover {
    color: var(--sastra-footer-text-color); /* Keep color or use link hover variable */
    /* font-weight: 450; Avoid non-standard weights, use 500 or 600 */
    font-weight: 500;
    opacity: 0.8; /* Slight fade effect on hover */
}

/* Hide default dropdown arrows/menus if used in the footer */
.footer .dropdown .dropdown-toggle::after,
.footer .dropdown .dropdown-menu {
    display: none;
}

/* Journal description text in the footer */
.footer-journal-desc {
    font-size: 0.95em;
    color: var(--sastra-footer-text-color);
    opacity: 0.9; /* Slightly less prominent */
    line-height: 1.7; /* Improve readability */
}


/*==================================================
  8.0 SHARE BUTTONS
==================================================*/

/* Base style for all share buttons */
.btn-share {
    color: white !important; /* Ensure text is always white */
    padding: 0.5rem 0.75rem; /* Adjusted padding */
    font-size: 0.85rem;
    margin: 0.2rem;       /* Slightly reduced margin */
    border-radius: 0.375rem; /* Standard Bootstrap rounding */
    transition: filter 0.2s ease-in-out; /* Smooth brightness transition */
    display: inline-flex; /* Use inline-flex for better alignment */
    align-items: center;
    justify-content: center;
    text-decoration: none; /* Remove underlines */
    vertical-align: middle; /* Align nicely with text */
}
/* Icon styling within share buttons */
.btn-share i {
    font-size: 1rem;
    margin-right: 0.4rem; /* Space between icon and text (if any) */
    line-height: 1;      /* Ensure icon aligns vertically */
}
/* Hover effect for share buttons */
.btn-share:hover {
    filter: brightness(0.9); /* Slightly darken on hover */
    color: white !important; /* Keep text white on hover */
}

/* --- Custom Platform Colors --- */
/* !important is likely required to override Bootstrap's default button colors */
.btn-x, .btn-threads           { background-color: #000 !important; border-color: #000 !important; }
.btn-facebook                  { background-color: #3b5998 !important; border-color: #3b5998 !important; }
.btn-linkedin                  { background-color: #0077b5 !important; border-color: #0077b5 !important; }
.btn-whatsapp                  { background-color: #25d366 !important; border-color: #25d366 !important; }
.btn-telegram                  { background-color: #0088cc !important; border-color: #0088cc !important; }
.btn-pinterest                 { background-color: #bd081c !important; border-color: #bd081c !important; }
.btn-tumblr                    { background-color: #36465d !important; border-color: #36465d !important; }
.btn-reddit                    { background-color: #ff4500 !important; border-color: #ff4500 !important; }
.btn-vk                        { background-color: #4a76a8 !important; border-color: #4a76a8 !important; }
.btn-buffer                    { background-color: #323b43 !important; border-color: #323b43 !important; }
.btn-xing                      { background-color: #007664 !important; border-color: #007664 !important; }
.btn-line                      { background-color: #00c300 !important; border-color: #00c300 !important; }
.btn-pocket                    { background-color: #ef4056 !important; border-color: #ef4056 !important; }
.btn-flipboard                 { background-color: #e12828 !important; border-color: #e12828 !important; }
.btn-weibo                     { background-color: #e9252c !important; border-color: #e9252c !important; }
.btn-blogger                   { background-color: #ff5722 !important; border-color: #ff5722 !important; }
.btn-baidu                     { background-color: #2d6ff7 !important; border-color: #2d6ff7 !important; }
.btn-okru                      { background-color: #f7931e !important; border-color: #f7931e !important; }
.btn-evernote                  { background-color: #2dbe60 !important; border-color: #2dbe60 !important; }
.btn-skype                     { background-color: #00aff0 !important; border-color: #00aff0 !important; }
.btn-bluesky                   { background-color: #0076ff !important; border-color: #0076ff !important; }
.btn-viber                     { background-color: #665cac !important; border-color: #665cac !important; }
.btn-instapaper                { background-color: #1c1c1c !important; border-color: #1c1c1c !important; }
.btn-trello                    { background-color: #0079bf !important; border-color: #0079bf !important; }
.btn-diaspora                  { background-color: #22a945 !important; border-color: #22a945 !important; }
.btn-hackernews                { background-color: #ff6600 !important; border-color: #ff6600 !important; }
.btn-email                     { background-color: #757575 !important; border-color: #757575 !important; } /* Adjusted grey */

/* Fallback icon for platforms without a specific Font Awesome icon */
/* This defines the icon content if the class is used. Best placed in icon font CSS. */
/* .fa-link-slash:before { content: "\f127"; } /* Corrected unicode for fa-unlink / link-slash */


/*==================================================
  9.0 PKP MEDIA QUERIES (OJS/OMP Overrides)
==================================================*/
/* Styles specifically targeting OJS/OMP elements, often for overrides */

@media (min-width: 768px) { /* Apply only on medium screens and up */
    /* Adjust width of the PKP OJS logo (likely in footer or specific blocks) */
    .img-ojs-logo {
        width: 35%; /* Adjust percentage as needed */
        max-width: 180px; /* Add max-width for better control */
    }

    /* OJS Header View Overrides */
    /* These selectors likely target specific OJS template views (e.g., article PDF view header). */
    /* Comments explain their potential purpose. Verify selectors against your OJS version. */

    /* Adjust font size of the title in a specific header view */
    .header_view .title {
        font-size: 1rem; /* Reset or adjust title size */
    }
    /* Style the download button/link area in that view */
    .header_view .download {
        width: auto;      /* Allow button to size naturally */
        padding: 0 1.43rem; /* Adjust padding */
    }
    /* Ensure the label (text) inside the download link is displayed */
    .header_view .download .label {
        display: inline-block;
    }
}