/* ==========================================================================
   Sunny Mobile Care — public website styles
   ========================================================================== */

:root {
    --brand: #2563eb;
    --brand-dark: #1d4ed8;
    --brand-darker: #1e3a8a;
    --brand-soft: #eff6ff;
    --accent: #f59e0b;
    --accent-soft: #fffbeb;
    --success: #16a34a;
    --ink: #0f172a;
    --body: #475569;
    --muted: #64748b;
    --line: #e2e8f0;
    --surface: #f8fafc;
    --white: #ffffff;
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .1);
    --shadow: 0 10px 30px -12px rgba(15, 23, 42, .18);
    --shadow-lg: 0 24px 60px -20px rgba(15, 23, 42, .28);
    --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    color: var(--body);
    background: var(--white);
    font-size: 1rem;
    line-height: 1.65;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5 {
    font-family: var(--font);
    color: var(--ink);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

a {
    text-decoration: none;
    transition: color .18s ease;
}

.text-brand { color: var(--brand) !important; }
.text-accent { color: var(--accent) !important; }
.text-ink { color: var(--ink) !important; }
.text-muted-2 { color: var(--muted) !important; }
.bg-surface { background: var(--surface) !important; }
.bg-brand-soft { background: var(--brand-soft) !important; }

/* --------------------------------------------------------------- buttons */

.btn {
    --bs-btn-font-weight: 600;
    border-radius: 999px;
    padding: .7rem 1.6rem;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.btn-lg {
    padding: .9rem 2rem;
    font-size: 1.02rem;
}

.btn-brand {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
    box-shadow: 0 10px 24px -12px rgba(37, 99, 235, .9);
}

.btn-brand:hover, .btn-brand:focus {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
    color: #fff;
    transform: translateY(-2px);
}

.btn-accent {
    background: var(--accent);
    border-color: var(--accent);
    color: #1f1300;
    box-shadow: 0 10px 24px -12px rgba(245, 158, 11, .95);
}

.btn-accent:hover, .btn-accent:focus {
    background: #d97706;
    border-color: #d97706;
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline-brand {
    border: 1.5px solid var(--brand);
    color: var(--brand);
    background: transparent;
}

.btn-outline-brand:hover {
    background: var(--brand);
    color: #fff;
}

.btn-whatsapp {
    background: #25d366;
    border-color: #25d366;
    color: #fff;
}

.btn-whatsapp:hover {
    background: #1da851;
    border-color: #1da851;
    color: #fff;
    transform: translateY(-2px);
}

.btn-ghost-light {
    border: 1.5px solid rgba(255, 255, 255, .45);
    color: #fff;
}

.btn-ghost-light:hover {
    background: rgba(255, 255, 255, .14);
    color: #fff;
    border-color: #fff;
}

/* --------------------------------------------------------------- navbar */

.topbar {
    background: var(--brand-darker);
    color: rgba(255, 255, 255, .85);
    font-size: .85rem;
    padding: .5rem 0;
}

.topbar a {
    color: rgba(255, 255, 255, .85);
}

.topbar a:hover {
    color: #fff;
}

.site-nav {
    background: rgba(255, 255, 255, .96);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .25s ease, padding .25s ease;
    padding-top: .65rem;
    padding-bottom: .65rem;
}

.site-nav.is-stuck {
    box-shadow: var(--shadow);
    padding-top: .35rem;
    padding-bottom: .35rem;
}

.site-nav .navbar-brand {
    font-weight: 800;
    font-size: 1.22rem;
    color: var(--ink);
    letter-spacing: -.03em;
    display: flex;
    align-items: center;
    gap: .6rem;
}

.site-nav .navbar-brand img {
    height: 42px;
    width: auto;
    max-width: 170px;
    object-fit: contain;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--brand), #06b6d4);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1.25rem;
    flex: 0 0 auto;
}

.site-nav .nav-link {
    color: var(--ink);
    font-weight: 600;
    font-size: .95rem;
    padding: .5rem .85rem !important;
    border-radius: 8px;
    position: relative;
}

.site-nav .nav-link:hover {
    color: var(--brand);
}

.site-nav .nav-link.active {
    color: var(--brand);
}

.site-nav .nav-link.active::after {
    content: '';
    position: absolute;
    left: .85rem;
    right: .85rem;
    bottom: .15rem;
    height: 2px;
    border-radius: 2px;
    background: var(--brand);
}

.navbar-toggler {
    border: 1px solid var(--line);
    padding: .35rem .6rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* --------------------------------------------------------------- hero */

.hero {
    position: relative;
    background:
        radial-gradient(900px 480px at 88% 8%, rgba(6, 182, 212, .28), transparent 60%),
        radial-gradient(760px 420px at 4% 92%, rgba(245, 158, 11, .22), transparent 62%),
        linear-gradient(140deg, #16265c 0%, #1e3a8a 45%, #2563eb 100%);
    color: #fff;
    overflow: hidden;
    padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: .35;
    pointer-events: none;
}

.hero > .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    color: #fff;
    font-size: clamp(2.1rem, 4.6vw, 3.6rem);
    line-height: 1.1;
}

.hero p.lead {
    color: rgba(255, 255, 255, .88);
    font-size: clamp(1rem, 1.6vw, 1.17rem);
    max-width: 44rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .28);
    color: #fff;
    padding: .4rem 1rem;
    border-radius: 999px;
    font-size: .85rem;
    font-weight: 600;
    backdrop-filter: blur(6px);
}

.hero-visual {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .08);
}

.hero-visual img {
    width: 100%;
    height: 100%;
    max-height: 460px;
    object-fit: cover;
    display: block;
}

.hero-visual-placeholder {
    display: grid;
    place-items: center;
    min-height: 320px;
    font-size: 5rem;
    color: rgba(255, 255, 255, .55);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 1rem;
    margin-top: 2.6rem;
}

.hero-stat {
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: var(--radius);
    padding: 1rem 1.1rem;
    backdrop-filter: blur(6px);
}

.hero-stat strong {
    display: block;
    font-size: 1.55rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
}

.hero-stat span {
    font-size: .82rem;
    color: rgba(255, 255, 255, .8);
}

/* --------------------------------------------------------------- sections */

.section {
    padding: clamp(3rem, 6vw, 5.5rem) 0;
}

.section-head {
    max-width: 46rem;
    margin: 0 auto 2.8rem;
    text-align: center;
}

.section-eyebrow {
    display: inline-block;
    background: var(--brand-soft);
    color: var(--brand);
    font-weight: 700;
    font-size: .78rem;
    letter-spacing: .09em;
    text-transform: uppercase;
    padding: .35rem 1rem;
    border-radius: 999px;
    margin-bottom: .9rem;
}

.section-head h2 {
    font-size: clamp(1.7rem, 3.2vw, 2.45rem);
    margin-bottom: .7rem;
}

.section-head p {
    color: var(--muted);
    margin-bottom: 0;
}

.page-header {
    background: linear-gradient(135deg, #16265c, #1e3a8a 60%, #2563eb);
    color: #fff;
    padding: clamp(2.6rem, 5vw, 4.2rem) 0;
    position: relative;
    overflow: hidden;
}

.page-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px);
    background-size: 26px 26px;
    opacity: .3;
}

.page-header > .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    color: #fff;
    font-size: clamp(1.8rem, 3.6vw, 2.7rem);
}

.page-header p {
    color: rgba(255, 255, 255, .85);
    margin-bottom: 0;
}

.page-header .breadcrumb {
    margin-bottom: .6rem;
}

.page-header .breadcrumb a {
    color: rgba(255, 255, 255, .8);
}

.page-header .breadcrumb .breadcrumb-item.active {
    color: #fff;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, .55);
}

/* --------------------------------------------------------------- cards */

.card-soft {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.card-soft:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: rgba(37, 99, 235, .35);
}

.service-card {
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    height: 100%;
}

.service-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    background: var(--brand-soft);
    color: var(--brand);
    transition: background .22s ease, color .22s ease;
}

.service-card:hover .service-icon {
    background: var(--brand);
    color: #fff;
}

.service-card h3 {
    font-size: 1.08rem;
    margin: 0;
}

.service-card p {
    color: var(--muted);
    font-size: .93rem;
    margin: 0;
}

.service-meta {
    margin-top: auto;
    padding-top: .9rem;
    border-top: 1px dashed var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    font-size: .86rem;
}

/* ------------------------------------------------------------ course card */

.course-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
}

.course-thumb {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
}

.course-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.course-card:hover .course-thumb img {
    transform: scale(1.06);
}

.course-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, .7);
    font-size: 3rem;
}

.course-thumb .badge-row {
    position: absolute;
    top: .8rem;
    left: .8rem;
    right: .8rem;
    display: flex;
    gap: .4rem;
    flex-wrap: wrap;
    justify-content: space-between;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .75rem;
    font-weight: 700;
    padding: .3rem .7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .95);
    color: var(--ink);
    box-shadow: var(--shadow-sm);
}

.chip-accent {
    background: var(--accent);
    color: #1f1300;
}

.chip-brand {
    background: var(--brand);
    color: #fff;
}

.course-body {
    padding: 1.35rem;
    display: flex;
    flex-direction: column;
    gap: .7rem;
    flex: 1 1 auto;
}

.course-body h3 {
    font-size: 1.14rem;
    margin: 0;
}

.course-body h3 a {
    color: var(--ink);
}

.course-body h3 a:hover {
    color: var(--brand);
}

.course-excerpt {
    color: var(--muted);
    font-size: .92rem;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem .9rem;
    font-size: .85rem;
    color: var(--muted);
}

.course-meta i {
    color: var(--brand);
    margin-right: .25rem;
}

.learn-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: .35rem;
    font-size: .88rem;
}

.learn-list li {
    display: flex;
    gap: .5rem;
    align-items: flex-start;
    color: var(--body);
}

.learn-list li i {
    color: var(--success);
    margin-top: .18rem;
    flex: 0 0 auto;
}

.learn-more-count {
    font-size: .83rem;
    color: var(--brand);
    font-weight: 600;
}

.price-block {
    margin-top: auto;
    padding-top: .9rem;
    border-top: 1px dashed var(--line);
    display: flex;
    align-items: baseline;
    gap: .55rem;
    flex-wrap: wrap;
}

.price-now {
    font-size: 1.32rem;
    font-weight: 800;
    color: var(--ink);
    line-height: 1.1;
}

.price-was {
    font-size: .95rem;
    color: var(--muted);
    text-decoration: line-through;
}

.price-off {
    font-size: .75rem;
    font-weight: 700;
    color: var(--success);
    background: #dcfce7;
    padding: .15rem .5rem;
    border-radius: 999px;
}

.price-hidden {
    font-size: .98rem;
    font-weight: 700;
    color: var(--brand);
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.course-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .55rem;
    padding: 0 1.35rem 1.35rem;
}

.course-actions .btn {
    padding: .6rem .8rem;
    font-size: .9rem;
    width: 100%;
}

/* --------------------------------------------------------------- brands */

.brand-tile {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.3rem .8rem;
    text-align: center;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .6rem;
}

.brand-tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: rgba(37, 99, 235, .35);
}

.brand-tile img {
    height: 46px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.brand-tile .brand-initial {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--brand-soft);
    color: var(--brand);
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 1.3rem;
}

.brand-tile span.brand-name {
    font-weight: 700;
    color: var(--ink);
    font-size: .93rem;
}

/* --------------------------------------------------------- testimonials */

.testimonial-card {
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    gap: .9rem;
    height: 100%;
}

.testimonial-card .stars {
    color: var(--accent);
    font-size: .95rem;
}

.testimonial-card blockquote {
    margin: 0;
    color: var(--body);
    font-size: .96rem;
    line-height: 1.7;
}

.testimonial-person {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-top: auto;
    padding-top: .9rem;
    border-top: 1px dashed var(--line);
}

.testimonial-person img,
.testimonial-person .avatar-initial {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 auto;
}

.avatar-initial {
    background: var(--brand-soft);
    color: var(--brand);
    display: grid;
    place-items: center;
    font-weight: 800;
}

.testimonial-person strong {
    display: block;
    color: var(--ink);
    font-size: .95rem;
    line-height: 1.3;
}

.testimonial-person small {
    color: var(--muted);
}

/* --------------------------------------------------------------- faq */

.faq-accordion .accordion-item {
    border: 1px solid var(--line);
    border-radius: var(--radius) !important;
    margin-bottom: .75rem;
    overflow: hidden;
    background: #fff;
}

.faq-accordion .accordion-button {
    font-weight: 700;
    color: var(--ink);
    padding: 1.05rem 1.25rem;
    background: #fff;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: var(--brand-soft);
    color: var(--brand-dark);
    box-shadow: none;
}

.faq-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: var(--line);
}

.faq-accordion .accordion-body {
    color: var(--muted);
    padding-top: 0;
}

/* --------------------------------------------------------------- forms */

.form-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: clamp(1.4rem, 3vw, 2.4rem);
}

.form-label {
    font-weight: 600;
    color: var(--ink);
    font-size: .9rem;
    margin-bottom: .35rem;
}

.form-control, .form-select {
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--line);
    padding: .68rem .9rem;
    font-size: .95rem;
    color: var(--ink);
}

.form-control:focus, .form-select:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
}

.form-text {
    font-size: .82rem;
}

textarea.form-control {
    min-height: 120px;
}

.required::after {
    content: ' *';
    color: #dc2626;
}

/* --------------------------------------------------------------- tracking */

.timeline {
    position: relative;
    padding-left: 2.1rem;
    margin: 0;
    list-style: none;
}

.timeline::before {
    content: '';
    position: absolute;
    left: .62rem;
    top: .4rem;
    bottom: .4rem;
    width: 2px;
    background: var(--line);
}

.timeline li {
    position: relative;
    padding-bottom: 1.5rem;
}

.timeline li:last-child {
    padding-bottom: 0;
}

.timeline li::before {
    content: '';
    position: absolute;
    left: -1.72rem;
    top: .3rem;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--line);
}

.timeline li.done::before {
    border-color: var(--success);
    background: var(--success);
}

.timeline li.current::before {
    border-color: var(--brand);
    background: var(--brand);
    box-shadow: 0 0 0 5px rgba(37, 99, 235, .18);
}

.timeline strong {
    display: block;
    color: var(--ink);
    font-size: .98rem;
}

.timeline small {
    color: var(--muted);
}

.ticket-box {
    background: linear-gradient(135deg, var(--brand-darker), var(--brand));
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 1.7rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.ticket-box .ticket-number {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 800;
    letter-spacing: .06em;
    word-break: break-all;
}

/* --------------------------------------------------------------- cta */

.cta-band {
    background:
        radial-gradient(700px 320px at 12% 0%, rgba(6, 182, 212, .3), transparent 60%),
        linear-gradient(120deg, #16265c, #2563eb);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: clamp(2rem, 4vw, 3.2rem);
    position: relative;
    overflow: hidden;
}

.cta-band h2 {
    color: #fff;
}

.cta-band p {
    color: rgba(255, 255, 255, .88);
    margin-bottom: 0;
}

/* --------------------------------------------------------------- footer */

.site-footer {
    background: #0b1220;
    color: rgba(255, 255, 255, .72);
    padding-top: 3.5rem;
}

.site-footer h5 {
    color: #fff;
    font-size: 1.02rem;
    margin-bottom: 1.1rem;
}

.site-footer a {
    color: rgba(255, 255, 255, .72);
    font-size: .93rem;
}

.site-footer a:hover {
    color: #fff;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: .55rem;
}

.footer-contact li {
    display: flex;
    gap: .65rem;
    align-items: flex-start;
    font-size: .93rem;
}

.footer-contact i {
    color: var(--accent);
    margin-top: .2rem;
}

.social-links {
    display: flex;
    gap: .6rem;
    flex-wrap: wrap;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .08);
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1.05rem;
    transition: background .2s ease, transform .2s ease;
}

.social-links a:hover {
    background: var(--brand);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    margin-top: 2.6rem;
    padding: 1.25rem 0;
    font-size: .88rem;
}

/* --------------------------------------------------------- float buttons */

.float-actions {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1040;
    display: grid;
    gap: .6rem;
}

.float-actions a {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1.45rem;
    box-shadow: var(--shadow-lg);
    transition: transform .2s ease;
}

.float-actions a:hover {
    transform: scale(1.08);
    color: #fff;
}

.float-wa { background: #25d366; }
.float-call { background: var(--brand); }

/* --------------------------------------------------------------- misc */

.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--muted);
}

.empty-state i {
    font-size: 3rem;
    color: var(--line);
    display: block;
    margin-bottom: .8rem;
}

.detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: .75rem;
}

.detail-list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: .75rem;
    border-bottom: 1px dashed var(--line);
    font-size: .93rem;
}

.detail-list li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.detail-list li span:first-child {
    color: var(--muted);
}

.detail-list li span:last-child {
    color: var(--ink);
    font-weight: 600;
    text-align: right;
}

.sticky-side {
    position: sticky;
    top: 100px;
}

.prose p:last-child {
    margin-bottom: 0;
}

.prose ul, .prose ol {
    padding-left: 1.2rem;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: .7rem;
}

.check-list li {
    display: flex;
    gap: .7rem;
    align-items: flex-start;
}

.check-list li i {
    color: var(--success);
    margin-top: .2rem;
    flex: 0 0 auto;
}

.alert {
    border-radius: var(--radius);
    border: 1px solid transparent;
}

@media (max-width: 991.98px) {
    .site-nav .navbar-collapse {
        margin-top: .75rem;
        padding: .75rem;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        box-shadow: var(--shadow);
        max-height: 75vh;
        overflow-y: auto;
    }

    .site-nav .nav-link.active::after {
        display: none;
    }

    .sticky-side {
        position: static;
    }
}

@media (max-width: 575.98px) {
    .course-actions {
        grid-template-columns: 1fr;
    }

    .float-actions a {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
}

/* Keep nav items on one line so the bar stays a single row */
.site-nav .nav-link,
.site-nav .navbar-nav .btn {
    white-space: nowrap;
}

@media (min-width: 992px) and (max-width: 1299.98px) {
    .site-nav .nav-link {
        padding: .5rem .55rem !important;
        font-size: .88rem;
    }

    .site-nav .nav-link.active::after {
        left: .55rem;
        right: .55rem;
    }

    .site-nav .navbar-brand {
        font-size: 1.05rem;
    }

    .site-nav .navbar-nav .btn {
        padding: .6rem 1.05rem;
        font-size: .88rem;
    }
}
