/* Mac Education custom sections (Nov 2026) */
:root { --mac-navy: #1c2b59; --mac-blue: #21a7d0; --mac-orange: #ff5421; --mac-ink: #333; --mac-soft: #f3f8fb; }

/* Hero slides */
.mac-slider .slider-content.mac-slide { background-size: cover; background-position: center right; position: relative; }
.mac-slider .slider-content.mac-slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16, 27, 60, .82) 0%, rgba(16, 27, 60, .55) 45%, rgba(16, 27, 60, .05) 80%); }
.mac-slider .slider-content.mac-slide .container { position: relative; z-index: 2; }
.mac-slider .sl-sub-title { max-width: 720px; font-size: 20px; line-height: 1.45; }
.mac-slider .sl-title { max-width: 760px; }
.mac-slider .sl-btn a + a { margin-left: 12px; }
.mac-btn-ghost { background: transparent !important; border: 2px solid #fff !important; }
@media (max-width: 767px) { .mac-slider .sl-sub-title { font-size: 15px; } .mac-slider .sl-btn a + a { margin: 10px 0 0 0; } }

/* Welcome section */
.mac-cities { background: rgba(255, 255, 255, .08); border-left: 4px solid var(--mac-blue); padding: 14px 18px; border-radius: 6px; color: #fff; line-height: 1.7; }
.rs-about.style2 .counter-item .number { font-size: 40px; }
.rs-about.style2 .counter-item .title { font-size: 15px; line-height: 1.35; }

/* Logo + chip grids */
.mac-logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 18px; }
.mac-logo-card { background: #fff; border-radius: 10px; min-height: 110px; display: flex; align-items: center; justify-content: center; padding: 14px; box-shadow: 0 2px 10px rgba(28, 43, 89, .06); text-align: center; }
.mac-logo-card img { max-height: 80px; max-width: 100%; object-fit: contain; }
.mac-logo-card span { font-weight: 600; color: var(--mac-navy); font-size: 15px; line-height: 1.35; }
.mac-chip-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.mac-chip { background: #fff; border: 1px solid #e3e9f2; border-radius: 10px; padding: 12px 14px; }
.mac-chip strong { display: block; color: var(--mac-navy); font-size: 17px; }
.mac-chip small { color: #667; font-size: 13px; }
.mac-small-note { font-size: 12.5px; color: #778; margin-top: 18px; }

/* Global careers card on home page */
.mac-global-card { display: grid; grid-template-columns: 1.1fr 1fr; border-radius: 16px; overflow: hidden; background: var(--mac-navy); color: #fff; text-decoration: none; box-shadow: 0 10px 30px rgba(28, 43, 89, .25); transition: transform .2s; }
.mac-global-card:hover { transform: translateY(-3px); color: #fff; }
.mac-global-text { padding: 50px 48px; }
.mac-global-kicker { text-transform: uppercase; letter-spacing: .08em; color: var(--mac-blue); font-weight: 700; font-size: 14px; }
.mac-global-text h2 { color: #fff; margin: 10px 0 16px; font-size: 36px; line-height: 1.2; }
.mac-global-text p { color: #dfe6f3; font-size: 16px; line-height: 1.7; }
.mac-global-btn { display: inline-block; margin-top: 16px; background: var(--mac-orange); color: #fff; padding: 12px 26px; border-radius: 6px; font-weight: 700; }
.mac-global-img { background-size: cover; background-position: center; min-height: 320px; }
@media (max-width: 991px) { .mac-global-card { grid-template-columns: 1fr; } .mac-global-text { padding: 32px 24px; } .mac-global-text h2 { font-size: 28px; } .mac-global-img { min-height: 220px; } }

/* Global pathways page */
.mac-narrow { max-width: 820px; margin: 0 auto; }
.mac-path-card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 4px 18px rgba(28, 43, 89, .08); height: 100%; display: flex; flex-direction: column; }
.mac-path-img { height: 170px; background-size: cover; background-position: center; }
.mac-path-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.mac-path-body h3 { font-size: 22px; margin: 0 0 4px; color: var(--mac-navy); }
.mac-path-role { color: var(--mac-blue); font-weight: 600; margin-bottom: 10px; }
.mac-path-body ul { padding-left: 18px; margin-bottom: 18px; flex: 1; }
.mac-path-body li { margin-bottom: 6px; font-size: 14.5px; }
.mac-path-btn { align-self: flex-start; background: var(--mac-orange); color: #fff; padding: 10px 18px; border-radius: 6px; font-weight: 600; }
.mac-path-btn:hover { color: #fff; background: var(--mac-navy); }
.mac-story-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 20px; }
.mac-story { background: #fff; border-radius: 14px; padding: 16px; text-align: center; box-shadow: 0 2px 10px rgba(28, 43, 89, .06); }
.mac-story img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; margin-bottom: 10px; }
.mac-story strong { display: block; color: var(--mac-navy); font-size: 16px; }
.mac-story span { display: block; color: var(--mac-blue); font-size: 13.5px; }
.mac-story small { color: #889; }
.mac-story p { font-size: 13.5px; margin: 8px 0 0; color: #556; }

/* Reviews */
.mac-review { background: #fff; border-radius: 14px; padding: 22px; box-shadow: 0 4px 18px rgba(28, 43, 89, .08); height: 100%; }
.mac-review-head { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.mac-review p { font-size: 15px; line-height: 1.65; color: #445; }
.mac-review-src { font-size: 12.5px; color: #889; }
.mac-stars { color: #f5a623; letter-spacing: 1px; }
.mac-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--mac-blue); color: #fff; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.mac-avatar-lg { width: 100%; aspect-ratio: 1; border-radius: 10px; font-size: 40px; margin-bottom: 10px; height: auto; }

/* Forms */
.mac-enquiry select.from-control { width: 100%; height: 56px; padding: 0 16px; border: 1px solid #dfe3ea; border-radius: 4px; background: #fff; color: #555; }
.mac-alert { background: #fdecea; color: #a12a1a; border-radius: 6px; padding: 10px 14px; margin-bottom: 18px; }
.mac-form-note { font-size: 12.5px; color: #889; margin-top: 12px; }
.mac-ticks { list-style: none; padding: 0; }
.mac-ticks li { padding-left: 28px; position: relative; margin-bottom: 10px; }
.mac-ticks li::before { content: "\2713"; position: absolute; left: 0; color: var(--mac-blue); font-weight: 700; }
.mac-small-title { font-size: 17px !important; line-height: 1.6 !important; word-break: break-word; }

/* News */
.mac-news-date { font-size: 13px; color: var(--mac-blue); font-weight: 600; margin-bottom: 6px; }
.mac-news-detail { max-width: 860px; margin: 0 auto; }
.mac-news-detail img { width: 100%; border-radius: 12px; margin-bottom: 20px; }
.mac-news-body { font-size: 16px; line-height: 1.8; }

/* Slider sizing (overrides template sizes) */
.rs-slider.style1.mac-slider .slider-content.mac-slide { padding: 190px 0; }
.rs-slider.style1.mac-slider .slider-content .sl-sub-title { font-size: 22px; line-height: 32px; max-width: 680px; margin-bottom: 18px; }
.rs-slider.style1.mac-slider .slider-content .sl-title { font-size: 62px; line-height: 72px; max-width: 760px; margin-bottom: 32px; }
@media (max-width: 991px) { .rs-slider.style1.mac-slider .slider-content.mac-slide { padding: 120px 0; } .rs-slider.style1.mac-slider .slider-content .sl-title { font-size: 40px; line-height: 48px; } .rs-slider.style1.mac-slider .slider-content .sl-sub-title { font-size: 17px; line-height: 26px; } }
@media (max-width: 575px) { .rs-slider.style1.mac-slider .slider-content.mac-slide { padding: 90px 0; } .rs-slider.style1.mac-slider .slider-content .sl-title { font-size: 30px; line-height: 38px; } .rs-slider.style1.mac-slider .slider-content .sl-sub-title { font-size: 15px; line-height: 22px; } }
.mac-cities { background: #eef6fb !important; color: var(--mac-navy) !important; border-left-color: var(--mac-blue); }
.rs-degree .degree-wrap img { width: 100%; height: 360px; object-fit: cover; }
