/* ===== Public Front Page — "Reading Room" Design System ===== */

:root {
    --ink: #1B1F3B;
    --ink-deep: #12152B;
    --brass: #0D2F54;
    --brass-light: #4E7AB5;
    --navbar-menu: #14467C;
    --accent: #DD5928;
    --parchment: #FAF8F3;
    --teal: #2F6F62;
    --terracotta: #B5533C;
    --plum: #6B4E71;
    --olive: #7A7A3D;
    --ink-70: rgba(27, 31, 59, 0.7);
}

.public-body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #fff;
    color: var(--ink);
}

.public-display {
    font-family: 'Fraunces', Georgia, serif;
}

/* Top utility bar */
.public-topbar {
    background: var(--brass);
    color: #e3e5f5;
    font-size: 0.8rem;
    padding: 0.4rem 0;
}

.public-topbar-left span {
    margin-right: 1.2rem;
}

.public-topbar-left i {
    margin-right: 4px;
}

.public-topbar-link {
    color: #e3e5f5;
    text-decoration: none;
    margin-right: 1.5rem;
    font-size: 0.8rem;
    transition: color 0.15s ease;
    display: inline-block;
}

.public-topbar-link:last-child {
    margin-right: 0;
}

.public-topbar-link i {
    margin-right: 4px;
    color: var(--accent);
}

.public-topbar-link:hover {
    color: var(--accent);
}

.public-topbar-link.public-topbar-static {
    cursor: default;
}

.public-social-topbar-icon {
    color: #e3e5f5;
    margin-left: 0.9rem;
    font-size: 0.95rem;
    display: inline-block;
    transition: color 0.15s ease, transform 0.15s ease;
}

.public-social-topbar-icon:hover {
    color: var(--accent);
    transform: translateY(-2px) scale(1.15);
}

/* Logo row */
.public-brand-row {
    background: var(--brass);
    padding: 0.85rem 0;
    border-top: 1px solid rgba(255,255,255,0.12);
}

.public-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #fff !important;
    text-decoration: none;
}

.public-brand-logo {
    height: 78px;
    width: auto;
    object-fit: contain;
}

.public-brand-line1 {
    display: block;
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 700;
    font-size: 1.7rem;
    line-height: 1.2;
}

.public-brand-line2 {
    display: block;
    font-size: 1.15rem;
    color: #dfe1f5;
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

/* Main menu bar (solid, sits below logo row) */
.public-navbar {
    background: var(--navbar-menu);
    padding: 0;
}

.public-navbar .nav-link {
    color: #f1f2fb !important;
    font-size: 0.92rem;
    font-weight: 600;
    padding: 0.85rem 1rem !important;
}

.public-navbar .nav-link:hover,
.public-navbar .nav-link:focus {
    color: #fff !important;
    background: rgba(255,255,255,0.08);
}

.public-navbar .dropdown-menu {
    background: #fff;
    border: none;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 12px 28px rgba(10, 20, 40, 0.25);
    padding: 0.4rem 0;
    margin-top: 0;
}

.public-navbar .dropdown-item {
    color: var(--ink);
    font-size: 0.9rem;
    padding: 0.5rem 1.1rem;
}

.public-navbar .dropdown-item:hover,
.public-navbar .dropdown-item:focus {
    background: var(--brass);
    color: #fff;
}

.public-navbar .navbar-nav {
    align-items: center;
}

.public-login-btn {
    background: var(--brass) !important;
    color: #fff !important;
    font-weight: 700;
    border: none !important;
    padding: 0.5rem 1rem !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.public-login-btn:hover {
    background: var(--brass-light) !important;
    color: #fff !important;
}

/* Show dropdown menus on hover for desktop, keep click-toggle for mobile */
@media (min-width: 992px) {
    .public-navbar .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

.public-navbar .navbar-toggler {
    border-color: rgba(255,255,255,0.4);
    margin: 0.6rem 0;
}

.public-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.9)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero photo wrap — carousel sits behind hero content only (navbar is now a solid bar above it) */
.public-hero-photo-wrap {
    position: relative;
    overflow: hidden;
}

.public-hero-carousel,
.public-hero-carousel .carousel-inner,
.public-hero-carousel .carousel-item {
    position: absolute;
    inset: 0;
    height: 100%;
    z-index: 0;
}

.public-hero-carousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.public-hero-photo-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(18,21,43,0.15) 0%, rgba(18,21,43,0.1) 40%, rgba(18,21,43,0.35) 100%);
    z-index: 1;
}

.public-hero {
    position: relative;
    z-index: 2;
}

/* Hero content */
.public-hero {
    color: #fff;
    padding: 5rem 1rem 9rem;
    width: 100%;
    min-height: 560px;
    display: flex;
    align-items: center;
}

.public-hero > .container {
    width: 100%;
}

.public-hero-eyebrow {
    display: inline-block;
    font-size: 0.99rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 0.9rem;
}

.public-hero-title {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1.8rem;
    letter-spacing: -0.01em;
}

.public-hero-sub {
    color: #C3C8EA;
    margin-bottom: 2rem;
    font-size: 1.02rem;
}

.public-search-form {
    display: flex;
    max-width: 600px;
    gap: 0.5rem;
}

.public-search-form input {
    border-radius: 999px;
    border: none;
    padding: 0.7rem 1.25rem;
}

.public-search-form input:focus {
    box-shadow: 0 0 0 3px rgba(13, 47, 84, 0.4);
}

.public-search-form button {
    white-space: nowrap;
    font-weight: 700;
    border-radius: 999px;
    background: var(--brass);
    color: #fff;
    border: none;
    padding: 0.7rem 1.4rem;
}

.public-search-form button:hover {
    background: var(--brass-light);
    color: #fff;
}

/* Hero quick-link row (BRACU-style) */
.public-hero-quicklinks {
    margin-top: 1.6rem;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.public-hero-quicklinks a,
.public-hero-quicklinks a:link,
.public-hero-quicklinks a:visited {
    color: #fff !important;
    text-decoration: none !important;
    padding: 4px 2px;
    border-bottom: 1px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.public-hero-quicklinks a:hover {
    color: var(--accent) !important;
    border-bottom-color: var(--accent);
}

.public-hero-quicklinks-sep {
    color: rgba(255,255,255,0.4);
    margin: 0 0.6rem;
}

@media (max-width: 576px) {
    .public-hero-quicklinks-sep {
        margin: 0 0.35rem;
    }
    .public-hero-quicklinks {
        font-size: 0.82rem;
        gap: 0.3rem;
    }
}

/* Signature element: book-spine shelf strip */
.public-spine-strip {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 3px;
    height: 34px;
    max-width: 620px;
    opacity: 0.9;
}

.public-spine-strip-top {
    margin: 0 0 1.75rem;
}

.public-spine-strip span {
    display: block;
    width: 7px;
    border-radius: 2px 2px 0 0;
}

/* Quick action cards (overlap hero bottom) */
.public-quick-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: -3.25rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.public-quick-card {
    background: #fff;
    border-radius: 14px;
    padding: 1.6rem 1.1rem;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(18, 21, 43, 0.14);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    color: var(--ink);
    border-top: 3px solid transparent;
}

.public-quick-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(18, 21, 43, 0.18);
    color: var(--ink);
    border-top-color: var(--brass);
}

.public-quick-icon {
    width: 46px;
    height: 46px;
    margin: 0 auto 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(221, 89, 40, 0.15);
    color: var(--accent);
    font-size: 1.3rem;
}

.public-quick-title {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    font-size: 1.05rem;
}

.public-quick-sub {
    font-size: 0.8rem;
    color: #888;
    margin-top: 2px;
}

@media (max-width: 768px) {
    .public-quick-cards {
        grid-template-columns: 1fr;
        margin-top: -2rem;
    }
    .public-hero-title {
        font-size: 1.9rem;
    }
}

/* Stats section */
.public-stats-section {
    background: var(--navbar-menu);
    padding: 3.5rem 0;
    margin-top: 1rem;
}

.public-stat-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 1.75rem 1rem;
    height: 100%;
    transition: transform 0.2s ease, background 0.2s ease;
}

.public-stat-card:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,0.12);
}

.public-stat-icon {
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: 0.6rem;
}

.public-stat-number {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 2.4rem;
    font-weight: 600;
    color: #fff;
}

.public-stat-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #cfd7e8;
    font-weight: 700;
    margin-top: 4px;
}

/* Section heading (eyebrow + serif title) */
.public-section-eyebrow {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.35rem;
}

.public-section-title {
    font-family: 'Fraunces', Georgia, serif;
    color: var(--ink);
    font-weight: 600;
    font-size: 1.7rem;
}

/* Collection / Book cards */
.public-book-card {
    background: #fff;
    border: 1px solid #eee;
    border-left: 4px solid var(--spine-color, var(--accent));
    border-radius: 8px;
    padding: 1.25rem;
    text-align: left;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    height: 100%;
}

.public-book-card:hover {
    box-shadow: 0 10px 24px rgba(18, 21, 43, 0.12);
    transform: translateY(-3px);
}

.public-book-card-link {
    display: block;
    text-decoration: none !important;
    cursor: pointer;
}

.public-book-card-link:hover {
    text-decoration: none;
}

.public-book-cover {
    aspect-ratio: 2 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--spine-color, var(--accent));
    background: #f4f1e8;
    background: color-mix(in srgb, var(--spine-color, var(--accent)) 12%, white);
    border-radius: 6px;
    margin-bottom: 0.85rem;
    overflow: hidden;
}

.public-book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.public-book-title {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    font-size: 0.98rem;
    color: var(--ink);
    line-height: 1.3;
}

.public-book-author {
    font-size: 0.82rem;
    color: #777;
    margin-top: 3px;
}

.public-book-category {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--spine-color, var(--accent));
    margin-top: 6px;
}

/* Library Life gallery */
.public-gallery-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 280px;
}

.public-gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.public-gallery-card:hover img {
    transform: scale(1.05);
}

.public-gallery-caption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 1.25rem 1.1rem 1rem;
    background: linear-gradient(180deg, transparent 0%, rgba(18,21,43,0.85) 100%);
    color: #fff;
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    font-size: 1.05rem;
}

/* Notices */
.public-notice-card {
    background: #fff;
    border: 1px solid #eee;
    border-left: 4px solid var(--brass);
    border-radius: 8px;
    padding: 1rem 1.15rem;
}

.public-notice-date {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--brass);
}

.public-notice-title {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    color: var(--ink);
    margin: 2px 0 4px;
}

.public-notice-body {
    font-size: 0.86rem;
    color: #666;
}
/* Library Services */
.public-service-card {
    text-align: center;
    padding: 1.5rem 1rem;
}

.public-service-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(221, 89, 40, 0.15);
    color: var(--accent);
    font-size: 1.5rem;
}

.public-service-title {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--ink);
    margin-bottom: 0.4rem;
}

.public-service-desc {
    font-size: 0.86rem;
    color: #777;
    line-height: 1.5;
}

/* Library Timings panel */
.public-timings-panel {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    padding: 2.25rem 2rem;
    color: #fff;
    min-height: 260px;
    display: flex;
    align-items: center;
}

.public-timings-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/assets/images/library-life-2.jpg') center center / cover no-repeat;
    z-index: 0;
}

.public-timings-panel::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(18,21,43,0.92) 0%, rgba(18,21,43,0.75) 55%, rgba(18,21,43,0.35) 100%);
    z-index: 1;
}

.public-timings-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.public-timings-title {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 700;
    font-size: 1.9rem;
    margin-bottom: 1.1rem;
}

.public-timings-row {
    display: flex;
    justify-content: space-between;
    max-width: 460px;
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    font-size: 1rem;
}

.public-timings-row:last-of-type {
    border-bottom: none;
}

.public-timings-day {
    font-weight: 700;
    color: #fff;
}

.public-timings-note {
    margin-top: 1rem;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 600;
}

/* Book slider (horizontal scroll with arrows) */
.public-book-slider-wrap {
    position: relative;
}

.public-book-slider {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 0.5rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.public-book-slider::-webkit-scrollbar {
    display: none;
}

.public-book-slide {
    flex: 0 0 auto;
    width: calc((100% - 3 * 1.25rem) / 4);
    scroll-snap-align: start;
}

@media (max-width: 991px) and (min-width: 577px) {
    .public-book-slide {
        width: calc((100% - 2 * 1.25rem) / 3);
    }
}

@media (max-width: 576px) {
    .public-book-slide {
        width: 62vw;
    }
}

.public-slider-arrow {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 4px 14px rgba(18,21,43,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    cursor: pointer;
    z-index: 3;
}

.public-slider-arrow:hover {
    background: var(--brass);
    color: #fff;
}

.public-slider-arrow-prev { left: -14px; }
.public-slider-arrow-next { right: -14px; }

@media (max-width: 576px) {
    .public-slider-arrow { display: none; }
}

.public-footer {
    background: var(--brass);
    color: #cfd4ea;
    padding: 3rem 0 1.5rem;
    margin-top: 2rem;
}

.public-footer-heading {
    font-family: 'Fraunces', Georgia, serif;
    color: #fff;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.public-footer-list li {
    margin-bottom: 0.4rem;
}

.public-footer-list i {
    margin-right: 6px;
    color: var(--accent);
}

.public-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: #cfd4ea;
    margin-right: 8px;
}

.public-social-icon:hover {
    background: var(--brass);
    color: #fff;
}

.public-footer-divider {
    border-color: rgba(255,255,255,0.1);
    margin: 1.5rem 0 1rem;
}

.public-footer-staff-link {
    color: #cfd4ea;
    text-decoration: none;
}

.public-footer-staff-link:hover {
    color: var(--brass-light);
}

.text-light-50 {
    color: rgba(255,255,255,0.6);
}

/* Availability badges (self-contained, no dependency on admin stylesheet) */
.badge-stock-ok {
    background: #d9ecd6;
    color: #2c5c2a;
}

.badge-stock-low {
    background: #f5ded9;
    color: #8a3a24;
}

/* Footer logo */
.public-footer-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    vertical-align: middle;
    margin-right: 8px;
}

.public-footer-heading {
    display: flex;
    align-items: center;
}

.public-footer-credit {
    opacity: 0.75;
    font-size: 0.85em;
}

/* ============ Content Pages (About / Facilities / Policies) ============ */
.page-banner {
    background: linear-gradient(135deg, var(--brass) 0%, var(--navbar-menu) 100%);
    color: #fff;
    padding: 3rem 0 2.5rem;
}
.page-banner h1 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.page-banner .breadcrumb {
    --bs-breadcrumb-divider-color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.75rem;
}
.page-banner .breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}
.page-banner .breadcrumb a:hover {
    color: #fff;
    text-decoration: underline;
}
.page-banner .breadcrumb .active {
    color: #fff;
}
.content-section {
    padding: 3rem 0;
}
.page-content h2 {
    color: var(--brass);
    font-weight: 700;
}
.page-content .accent-rule {
    width: 60px;
    height: 3px;
    background: var(--accent);
    border: none;
    opacity: 1;
    margin: 0.75rem 0 1.5rem;
}
.page-content .accordion-button:not(.collapsed) {
    background-color: rgba(13, 47, 84, 0.08);
    color: var(--brass);
}
.page-content .accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(13, 47, 84, 0.15);
}
.facility-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--brass);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}


/* Content pages (view.php) close the hero-photo-wrap early and don't
   need the homepage slider — hide it whenever it's immediately
   followed by a page banner, without touching the homepage itself. */
.public-hero-photo-wrap:has(+ .page-banner) {
    display: none !important;
}

/* ============ Content Pages (About / Facilities / Policies) ============ */
/* Note: replaces any earlier "Content Pages" CSS block appended previously —
   remove the old block if you pasted it before, then add this one instead. */

.public-hero-photo-wrap:has(+ .page-banner) {
    display: none !important;
}

.page-banner {
    background: linear-gradient(135deg, #0D2F54 0%, #14467C 100%);
    color: #ffffff;
    padding: 3rem 0 2.5rem;
}
.page-banner h1 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.page-banner p {
    color: rgba(255, 255, 255, 0.9);
}
.page-banner .breadcrumb {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}
.page-banner .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}
.page-banner .breadcrumb-item a:hover {
    color: #ffffff;
    text-decoration: underline;
}
.page-banner .breadcrumb-item.active {
    color: #ffffff;
}
.page-banner .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

.content-section {
    padding: 3.5rem 0;
}

.page-content h2 {
    color: #0D2F54;
    font-weight: 700;
    font-size: 1.5rem;
}
.page-content p {
    color: #3a3a3a;
    line-height: 1.75;
}
.page-content ul {
    color: #3a3a3a;
    line-height: 1.8;
}
.page-content ul li {
    margin-bottom: 0.5rem;
}
.page-content strong {
    color: #0D2F54;
}
.page-content .accent-rule {
    width: 60px;
    height: 3px;
    background: #DD5928;
    border: none;
    opacity: 1;
    margin: 0.5rem 0 1.5rem;
}
.page-content .facility-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #0D2F54;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}
.page-content .table {
    border-color: #dee2e6;
}
.page-content .table thead th {
    background: #0D2F54;
    color: #ffffff;
    font-weight: 600;
    border-color: #0D2F54;
}
.page-content .accordion-item {
    border: 1px solid #e5e5e5;
    margin-bottom: 0.5rem;
    border-radius: 8px !important;
    overflow: hidden;
}
.page-content .accordion-button {
    font-weight: 600;
    color: #0D2F54;
}
.page-content .accordion-button:not(.collapsed) {
    background-color: #fbeee7;
    color: #0D2F54;
    box-shadow: none;
}
.page-content .accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(13, 47, 84, 0.15);
}
.page-content .card {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.page-content .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08) !important;
}

/* Extra breathing room between sections on content pages —
   applies to every page automatically (Library at a Glance,
   Facilities, Rules, Plagiarism Policy, etc.) */
.page-content > .row {
    margin-bottom: 4.5rem;
}
.page-content > .row:last-child {
    margin-bottom: 0;
}