:root {
    --primary: #F28A20;
    --primary-rgb: 242, 138, 32;
    --secondary: #3f66af;
    --secondary-rgb: 63, 102, 175;
    --text: #333;
    --light-bg: #f8f9fa;
    --shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

h2[class="wp-block-heading"] {
  font-size: 2rem;
  color: var(--primary);
  font-weight: 700;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 0.4rem;
  margin-bottom: 1.5rem;
  font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
}

h5 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--secondary);
  margin-top: 2rem;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.skill-duration {
    gap: 1em;
    display: flex;
    width: fit-content;
    border-radius: 5px;
    align-items: center;
    padding: 0.2em .5em;
    fill: var(--secondary);
    color: var(--secondary);
}

.skill-duration svg {
    height: 30px;
}

.skill-page {
    padding: 1rem;
    line-height: 1.6;
}

.skill-header {
    margin-bottom: 2rem;
    display: flow-root;
}

.skill-objectives {
    box-shadow: var(--shadow);
    border-radius: 5px;
    padding: 4vh 3vw;
}

.skill-thumbnail {
    aspect-ratio: 16/9;
    margin-bottom: 1.5rem;
    border-radius: 0.5rem;
    overflow: hidden;
    background: var(--light-bg);
}

.skill-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.skill-title {
    color: var(--secondary);
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    line-height: 1.2;
    margin: 0 0 1rem;
}

.skill-description {
    color: var(--text);
    font-size: 1.1rem;
    max-width: 75ch;
}

.section-title {
    color: var(--primary);
    font-size: clamp(1.5rem, 4vw, 1.8rem);
    position: relative;
    padding-bottom: 0.75rem;
    margin: 2rem 0 1.5rem;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 3rem;
    height: 2px;
    background: var(--secondary);
}

.objectives-list {
    display: grid;
    gap: 1rem;
    padding: 0;
    list-style: none;
}

.objective-item {
    padding: 1rem;
    background: rgba(var(--primary-rgb), 0.05);
    border-left: 3px solid var(--primary);
    border-radius: 0.25rem;
    position: relative;
}

.cta-container {
    width: 100%;
    display: flex;
    margin: 2vh 0;
    justify-content: center;
}

ul[class="wp-block-list"] {
  list-style: none;
  padding-left: 1.2rem;
  margin: 0;
}

ul[class="wp-block-list"] li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
  font-family: 'Segoe UI', sans-serif;
}

ul[class="wp-block-list"] li::before {
  content: "›";
  position: absolute;
  left: 0;
  top: 0;
  color: #F28A20;
  font-weight: bold;
  font-size: 1rem;
}


@media (hover: hover) {

    .course-cta:hover {
        color: var(--secondary);
    }

    .skill-thumbnail:hover img {
        transform: scale(1.03);
    }
}


@media (min-width: 48em) {
    .skill-page {
        max-width: 1440px;
        margin: 0 auto;
        padding: 2rem 1.5rem;
    }

    .skill-header {
        display: grid;
        gap: 3rem;
        align-items: start;
    }

}

@media (min-width: 64em) {
    .cta-button {
        width: 25%;
    }

    .contact-cta {
        gap: 1em;
    }
}