/* Custom overrides for improved layout and new features */

/* Hero section styling */
.hero-section {
    background: #1a1a1a;
    color: #fff;
    padding: 30px 15px;
    margin: 20px 0;
    border-radius: 6px;
    text-align: center;
}
.hero-section h1 {
    font-size: 2rem;
    margin: 0 0 10px;
    color: #fff;
}
.hero-section p {
    font-size: 1rem;
    margin: 0;
    color: #ccc;
}

/* Border and spacing for home page cards */
.thumbnail-wrapper .thumb {
    margin-bottom: 15px;
    border: 1px solid #353535;
    border-radius: 5px;
    overflow: hidden;
    /* Add a little internal padding to create a gap around cards
       without affecting the Bootstrap column widths. */
    padding: 6px;
}

/* Search overlay for small screens */
.navbar-search {
    position: absolute;
    top: 55px;
    right: 0;
    width: 100%;
    display: none;
    background: #1a1a1a;
    padding: 10px;
    z-index: 999;
}
.navbar-search form {
    width: 100%;
}
@media (min-width: 992px) {
    .navbar-search {
        position: static;
        display: block !important;
        width: auto;
        background: none;
        padding: 0;
    }
}

/* Utility classes for custom spans used in pagination and widget headings */
.nav-text,
.title-text {
    font-style: normal;
    position: relative;
    top: -3px;
}

/*
 * Override the default collapsed height for read‑more sections.
 *
 * The base theme sets the maximum height of `.read-more-content` to 120px,
 * which truncates longer summaries and requires immediate expansion to
 * reveal more text. To provide a more comfortable preview—especially for
 * movie synopses—we increase the collapsed height to 600px. When the
 * `.expanded` class is added via JavaScript, the height automatically
 * expands to fit the full content. This rule ensures the collapse height
 * matches the requirement without editing the minified core stylesheet.
 */
.read-more-content {
    max-height: 600px;
}