        :root {
            --stj-blue-dark: #004164;
            --stj-gold: #F5AF00;
            --stj-green-sober: #577F70;
            --stj-light-bg: #F1F2F3;
            --stj-gray-text: #323F4B;
            --stj-light-gray-text: #52606D;
            --stj-white: #FFFFFF;
            --shadow-md: rgba(0, 0, 0, 0.1) 0px 4px 12px;
            --shadow-lg: rgba(0, 0, 0, 0.15) 0px 8px 24px;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: "museo-sans", sans-serif;
            line-height: 1.6;
            color: var(--stj-gray-text);
            background-color: var(--stj-light-bg);
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* --- Header (Revised) --- */
        .header {
            background-color: white;
            color: var(--stj-white);
            padding: 10px 0;
            box-shadow: var(--shadow-md);
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .header-logos {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .header-logo {
            font-family: "museo-sans", sans-serif;
            font-weight: 700;
            font-size: 1.5rem;
            color: var(--stj-white);
            text-decoration: none;
            display: flex;
            align-items: center;
        }
        .header-logo i {
            margin-right: 8px;
            color: var(--stj-gold);
            font-size: 1.8rem;
        }
        .header-logo.cefor {
            font-size: 1.2rem;
            opacity: 0.8;
        }

        .user-access-info {
            display: flex;
            align-items: center;
            gap: 15px;
            color: var(--stj-white);
            font-size: 0.95rem;
        }

        .user-access-info .btn-access {
            background-color: var(--stj-blue-dark);
            color: white;
            padding: 8px 20px;
            border-radius: 5px;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.9rem;
            transition: background-color 0.3s ease, transform 0.2s ease;
        }

        .user-access-info .btn-access:hover {
            background-color: var(--stj-gold);
			color: var(--stj-blue-dark);
			text-decoration: underline;
            transform: translateY(-2px);
        }

        /* --- Main Sections Styling (Reused from Homepage) --- */
        main {
            padding: 0;
        }

        .section-header {
            text-align: center;
            margin: 35px auto 50px auto;
        }

        .section-header h2 {
            font-family: "museo-sans", sans-serif;
            font-size: 2.5rem;
            color: var(--stj-blue-dark);
            margin-bottom: 15px;
            position: relative;
            display: inline-block;
        }

        .section-header h2::after {
            content: '';
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            bottom: -10px;
            width: 60px;
            height: 4px;
            background-color: var(--stj-gold);
            border-radius: 2px;
        }

        .section-header p {
            font-size: 1.1rem;
            color: var(--stj-light-gray-text);
            max-width: 700px;
            margin: 0 auto;
        }

        .btn {
            display: inline-block;
            padding: 15px 30px;
            border-radius: 8px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            font-size: 1.1rem;
        }

        .btn-primary {
            background-color: var(--stj-gold);
            color: var(--stj-blue-dark);
            box-shadow: var(--shadow-md);
        }

        .btn-primary:hover {
            background-color: #f0c340;
            transform: translateY(-3px);
            box-shadow: var(--shadow-lg);
        }

        .btn-course-access {
            align-self: flex-start;
            padding: 10px 20px;
            font-size: 0.9rem;
            border-radius: 6px;
            background-color: var(--stj-blue-dark);
            color: var(--stj-white);
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .btn-course-access:hover {
            background-color: var(--stj-gold);
            color: var(--stj-blue-dark);
        }

        /* --- Internal Page Specific Styles --- */
        .internal-hero {
            background: linear-gradient(rgba(15, 63, 109, 0.9), rgba(15, 63, 109, 0.7)), url('https://source.unsplash.com/random/1920x400/?legal,office,learning,books') center center / cover no-repeat;
            color: var(--stj-white);
            text-align: center;
            padding: 80px 20px;
            position: relative;
            overflow: hidden;
            border-bottom: 5px solid var(--stj-gold);
        }

        .internal-hero h1 {
            font-family: "museo-sans", sans-serif;
            font-size: 2.8rem;
            margin-bottom: 15px;
            font-weight: 700;
            line-height: 1.2;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }

        .internal-hero p {
            font-size: 1.1rem;
            font-weight: 300;
            opacity: 0.9;
            max-width: 700px;
            margin: 0 auto;
        }

        /* --- Footer (Reused from Homepage) --- */
        .footer {
            background-color: var(--stj-blue-dark);
            color: rgba(255, 255, 255, 0.7);
            padding: 40px 0 20px;
            font-size: 0.9rem;
            border-top: 5px solid var(--stj-gold);
        }

        .footer-content {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            gap: 30px;
        }

        .footer-col {
            flex: 1;
            min-width: 200px;
            max-width: 300px;
        }

        .footer-col h4 {
            font-family: "museo-sans", sans-serif;
            font-size: 1.1rem;
            color: var(--stj-white);
            margin-bottom: 20px;
            position: relative;
        }

        .footer-col h4::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: -5px;
            width: 40px;
            height: 2px;
            background-color: var(--stj-green-sober);
        }

        .footer-col ul {
            list-style: none;
            padding: 0;
        }

        .footer-col ul li {
            margin-bottom: 10px;
        }

        .footer-col ul li a {
            color: rgba(255, 255, 255, 0.7);
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .footer-col ul li a:hover {
            color: var(--stj-gold);
        }

        .social-links a {
            color: var(--stj-white);
            font-size: 1.5rem;
            margin-right: 15px;
            transition: color 0.3s ease;
        }

        .social-links a:hover {
            color: var(--stj-gold);
        }

        .footer-bottom {
            text-align: center;
            margin-top: 40px;
            padding-top: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: rgba(255, 255, 255, 0.5);
        }

        /* --- Responsividade (Reused from Homepage) --- */
        @media (max-width: 992px) {
            .header-logos {
                flex-direction: column;
                align-items: flex-start;
                gap: 5px;
            }
            .header-logo.cefor {
                margin-left: 26px; /* Alinha com o "EAD STJ" */
            }
            .user-access-info {
                flex-direction: column;
                align-items: flex-end;
                gap: 5px;
            }
            .header-content {
                flex-direction: column;
                align-items: flex-start;
                gap: 15px;
            }

            .internal-hero h1 {
                font-size: 2.2rem;
            }
            .internal-hero p {
                font-size: 1rem;
            }

            .section-header h2 {
                font-size: 2rem;
            }

            .filter-buttons {
                flex-direction: column;
                align-items: center;
            }
            .filter-button {
                width: 100%;
                max-width: 300px;
            }

            .course-grid {
                grid-template-columns: 1fr;
            }
            
            .footer-content {
                flex-direction: column;
                align-items: center;
                text-align: center;
            }
            .footer-col {
                max-width: 100%;
            }
            .footer-col h4::after {
                left: 50%;
                transform: translateX(-50%);
            }
            .social-links {
                margin-top: 20px;
            }
        }

        @media (max-width: 576px) {
            .internal-hero {
                padding: 60px 15px;
            }
            .internal-hero h1 {
                font-size: 1.8rem;
            }
            .internal-hero p {
                font-size: 0.9rem;
            }
            .course-card-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 10px;
            }
            .course-card-header .workload {
                align-self: flex-end;
            }
            .course-card-content {
                padding: 20px;
            }
            .course-card-header h3 {
                font-size: 1.2rem;
            }
            .enrollment-notice {
                font-size: 0.95rem;
            }
        }

        /* Container para o título e os cards */
        .main-content-wrapper {
            width: 100%;
            padding: 20px;
			margin-bottom: 1rem;
            box-sizing: border-box;
        }
        /* Container para os cards */
        .cards-container {
            display: flex;
            flex-wrap: wrap; /* Allow cards to wrap to the next line on smaller screens */
            gap: 20px; /* Space between the cards */
            justify-content: center; /* Center cards within the container when they wrap */
            width: 100%; /* Take full width up to max-width */
        }

        /* Styling for each individual card */
        .card {
            background-color: #ffffff;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
            overflow: hidden; /* Ensures content respects border-radius, especially the image */
            display: flex;
            flex-direction: column; /* Stacks image, title, description, and button vertically */
            width: calc(50% - 10px); /* Sets width for two columns, accounting for half the gap */
            max-width: 440px; /* Maximum width for a single card */
            min-width: 280px; /* Minimum width to prevent cards from becoming too narrow */
            transition: transform 0.3s ease, box-shadow 0.3s ease; /* Transição para hover */
        }

        .card:hover {
            transform: translateY(-5px); /* Efeito de "levantar" no hover */
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Sombra mais pronunciada no hover */
        }

        /* Styling for the image within the card */
        .card img {
            width: 100%;
            height: 220px; /* Fixed height for consistent image size */
            object-fit: cover; /* Ensures the image covers the area, cropping if necessary */
            border-top-left-radius: 8px; /* Matches the top-left corner of the card */
            border-top-right-radius: 8px; /* Matches the top-right corner of the card */
        }

        /* Styling for the content area below the image */
        .card-content {
            padding: 20px;
            display: flex;
            flex-direction: column;
            flex-grow: 1; /* Allows content to expand and fill available vertical space */
        }

        /* Styling for the card title */
        .card-content h3 {
            font-family: "museo-sans", sans-serif; /* Usando Poppins para o título do card */
            color: #00407F; /* Dark blue color for titles */
            font-size: 1.35em; /* Font size relative to parent */
            margin-top: 0;
            margin-bottom: 10px;
            font-weight: 600; /* Semi-bold font weight */
        }

        /* Styling for the card description paragraph */
        .card-content p {
            color: #555; /* Medium grey color for descriptions */
            font-size: 0.95em; /* Slightly smaller font size */
            line-height: 1.5; /* Line height for readability */
            margin-bottom: 20px;
            flex-grow: 1; /* Allows description to push the button to the bottom if text varies */
        }

        /* Styling for the "Conferir" button */
        .button {
            background-color: #00407F; /* Darker blue background for the button */
            color: white;
            padding: 10px 20px;
            border: none;
            border-radius: 5px;
            cursor: pointer; /* Indicates it's clickable */
            font-size: 1em;
            text-align: center;
            text-decoration: none; /* Removes underline if it were an anchor tag */
            display: inline-block; /* Allows padding and width adjustments */
            width: fit-content; /* Adjusts button width to its content */
            align-self: flex-start; /* Aligns the button to the left within its container */
            transition: background-color 0.3s ease; /* Smooth transition for hover effect */
            font-weight: 500; /* Peso da fonte do botão */
        }

        /* Hover effect for the button */
        .button:hover {
            background-color: #002D5A; /* Slightly darker blue on hover */
        }

        /* Responsive adjustments for smaller screens */
        @media (max-width: 768px) {
            .card {
                width: 100%; /* Cards stack vertically on screens smaller than 768px */
                max-width: 440px; /* Still limit the max width for single column */
            }
            .page-title {
                font-size: 2em;
            }
        }

        @media (max-width: 480px) {
            body {
                padding: 10px;
            }
            .main-content-wrapper {
                padding: 10px;
            }
            .page-title {
                font-size: 1.8em;
                margin-bottom: 30px;
            }
            .card-content h3 {
                font-size: 1.2em;
            }
            .card-content p {
                font-size: 0.9em;
            }
            .button {
                padding: 8px 15px;
                font-size: 0.9em;
            }
        }