/* =========================== Learning Intro Section =========================== */
.learning-intro { padding: 111px 0 93px; background-color: var(--white); }
.learning-intro p { color: var(--black); max-width: 905px; }

/* =========================== Upcoming Webinars Section =========================== */
.upcoming-webinars { padding: 125px 0; background-color: var(--white-color-300); }
.upcoming-webinars .webinars-title { max-width: 690px; margin-inline: auto; }
.upcoming-webinars .webinars-title .title { color: var(--blue-color); }
.upcoming-webinars .webinars-title .subtitle { color: var(--black); }

/* Webinar Card Styling */
.webinar-card { background-color: var(--white); border-radius: 20px; padding: 60px 24px; display: flex; gap: 47px; height: 100%; box-shadow: 4px 4px 10px 0px #0000001A; transition: transform 0.4s ease; }
.webinar-card:hover { transform: translateY(-5px); }

/* Left Column (Image & Logo) */
.webinar-card-left { width: 158px; flex-shrink: 0; display: flex; flex-direction: column; gap: 16px; }
.speaker-img { width: 100%; aspect-ratio: 158 / 173; object-fit: cover; border-radius: 10px; }
.sponsor-logo { border: 1px solid var(--white-color-400); border-radius: 8px; padding: 18px 10px; }
.sponsor-logo img { width: 100%; }

/* Right Column (Content) */
.webinar-card-right { display: flex; flex-direction: column; flex-grow: 1; }
.webinar-date { color: var(--black); margin-bottom: 12px; display: block; }
.webinar-title { color: var(--green-color); margin-bottom: 14px; }
.webinar-desc { color: var(--black); margin-bottom: 20px; }
.webinar-speaker { color: var(--black); margin-bottom: 24px; }
.webinar-link { color: var(--green-color); margin-top: auto; display: inline-flex; align-items: center; gap: 4px; width: fit-content; }
.webinar-link:hover { color: var(--green-color); }
.webinar-link:after { background: var(--green-color); }


.sharpen-your-skills { padding: 101px 0px 0px; }
.sharpen-your-skills .common-title { max-width: 704px; margin-inline: auto; }
.sharpen-your-skills .tablepress { table-layout: fixed; }
.tablepress-secondary-design .tablepress tr th,
.tablepress-secondary-design .tablepress tr td { width: 150px; }
.sharpen-your-skills .tablepress td:first-child { font-weight: 700; }
.sharpen-your-skills .tablepress tr th:first-child, 
.sharpen-your-skills .tablepress tr td:first-child { width: 245px; }
.sharpen-your-skills .tablepress tr th:nth-last-child(2),
.sharpen-your-skills .tablepress tr td:nth-last-child(2) { width: 220px; }
.sharpen-your-skills .more-info-link { display: block; width: fit-content; margin: 70px auto 0px; color: var(--red-color); font-weight: 500; }
.sharpen-your-skills .more-info-link:after { background: var(--red-color); }


/* =========================== Quick Skills Boost Section =========================== */
.quick-skills-boost { padding: 135px 0; background-color: var(--white); }
.quick-skills-boost .skills-title .title { color: var(--blue-color); }
.quick-skills-boost .skills-title .subtitle { color: var(--black); }

/* Skill Card Styling */
.skill-card { background-color: var(--white-color-200); border-radius: 20px; padding: 55px 30px 40px; position: relative; display: flex; flex-direction: column; height: 100%; transition: transform 0.4s ease; }
.skill-card:hover { transform: translateY(-5px); }
.skill-card-inner-link { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.skill-card-inner-link:hover ~ .skill-link::after { width: 100%; } 

/* Floating Play Icon */
.skill-icon { position: absolute; top: 16px; right: 20px; width: 30px; height: 30px; }
.skill-icon img { width: 100%; height: auto; }
/* Card Content Styling */
.skill-title { color: var(--blue-color); margin-bottom: 8px; }
.skill-desc { color: var(--black); margin-bottom: 13px; flex-grow: 1; }
.skill-link { color: var(--green-color); margin-top: auto; display: inline-flex; align-items: center; gap: 4px; width: fit-content; }
.skill-link:hover { color: var(--green-color); }
.skill-link:after { background: var(--green-color); }

.theme-btn.unlock-all-sessions-btn { margin-top: 50px; width: fit-content; margin-inline: auto; display: block; border:1px solid  transparent; transition: all 0.5s; }
.theme-btn.unlock-all-sessions-btn:hover { border: 1px solid var(--red-color); color: var(--red-color);}

.archive-webinars { position: relative; padding: 143px 0px 113px; background: var(--white-color-100); }
.archive-webinars-pattern { position: absolute; width: 32%; height: auto; top: 0; left: 0; transform: translate(-70%, 20%); -webkit-transform: translate(-70%, 20%); }
.archive-webinars .container { position: relative; z-index: 1; }
.view-all-webinars-btn { display: block; width: fit-content; margin: 52px auto 0px; }


/* =========================== Learning Resources Section =========================== */
.learning-resources { padding: 190px 0 134px; background-color: var(--white); }
.resource-block { display: flex; flex-direction: column; height: 100%; }
.resource-img-wrapper { width: 100%; aspect-ratio: 383 / 388; overflow: hidden; border-radius: 20px; background-color: var(--white-color-100); }
.resource-img-wrapper img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Content Area */
.resource-content { margin-top: 53px; padding-right: 10px; }
.resource-title { color: var(--blue-color); margin-bottom: 36px;  }
.resource-intro, .resource-desc { color: var(--black); margin-bottom: 20px; }
.resource-desc:last-child { margin-bottom: 0; }





/* ================================================== Media Queries ================================================ */
@media screen and (max-width: 1199px) {

    .learning-intro { padding: 60px 0; }

    .upcoming-webinars { padding: 60px 0; }
    .webinar-card { padding: 24px 16px; gap: 20px; border-radius: 16px; }
    .webinar-card-left { width: 120px; }

    .sharpen-your-skills { padding: 60px 0 0px; }
    .sharpen-your-skills .more-info-link { margin: 40px auto 0px; }

    .quick-skills-boost { padding: 60px 0; }
    .skill-card { padding: 40px 16px 20px; border-radius: 16px; }
    .skill-icon { top: 10px; right: 15px; }

    .archive-webinars { padding: 60px 0px; }

    .learning-resources { padding: 60px 0; }

    .resource-img-wrapper { border-radius: 16px; }
    .resource-content { margin-top: 25px; }
    .resource-content .resource-title { margin-bottom: 16px; font-size: 28px; line-height: 36px; }

}

@media screen and (max-width: 991px) {

    .learning-intro { padding: 40px 0; }
    .upcoming-webinars { padding: 40px 0; }
    
    /* Layout shifts to accommodate smaller tablet screens */
    .webinar-card { flex-direction: column; border-radius: 12px; }
    .webinar-card-left { width: 100%; flex-direction: row; align-items: center; }
    .speaker-img { width: 100px; }
    .sponsor-logo { width: 130px; flex-grow: unset; margin-top: 0; height: fit-content; }

    .quick-skills-boost { padding: 40px 0; }
    .quick-skills-boost .mt-5 { margin-top: 2rem !important; }

    .sharpen-your-skills .more-info-link { margin: 20px auto 0px; }

    .archive-webinars { padding: 40px 0px; }
    .learning-resources { padding: 40px 0; }

    .resource-img-wrapper { border-radius: 12px; }
    .resource-content .resource-title { font-size: 22px; line-height: 28px; }
    .resource-intro, .resource-desc { margin-bottom: 12px; }

}

@media screen and (max-width: 767px) {
    .learning-intro { padding: 40px 0 60px; }
    .upcoming-webinars { padding: 40px 0; }
    
    .webinar-card { padding: 22px 16px;  }
    .speaker-img { width: 90px; }
    .sponsor-logo { padding: 10px; }
    .webinar-speaker { margin-bottom: 18px; }

    .sharpen-your-skills { padding: 40px 0 0px; }

    .quick-skills-boost { padding: 40px 0; }
    .skill-card { padding: 24px 20px; border-radius: 12px; }
    .skill-icon { top: 20px; right: 20px; }
    .skill-title { padding-right: 35px; }

    .learning-resources { padding: 40px 0; }
    .resource-content { margin-top: 20px; padding-right: 0px; }
    .resource-title { font-size: 26px; line-height: 34px; margin-bottom: 14px; }
    .resource-intro { margin-bottom: 15px; }
    .resource-desc { margin-bottom: 15px; }

}