/* Ireland professional pathway design parity with Canada's canonical MLT guide.
   Progressive enhancement: preserves original regulatory text and source links. */
body:has(main[data-country="ireland"]){background:#f7f3ee;color:#1d2c28}
main[data-country="ireland"]{width:min(1140px,calc(100% - 30px));margin-inline:auto;padding-bottom:64px}
main[data-country="ireland"] .nx-career-hero{background:linear-gradient(135deg,#34473d,#17342e 60%,#2b5148);border-radius:28px;padding:clamp(36px,7vw,80px) clamp(20px,6vw,70px);box-shadow:0 10px 35px #122b2412}
main[data-country="ireland"] .nx-career-hero h1{font-weight:800;font-size:clamp(2.2rem,5.4vw,4rem);line-height:1.22;max-width:850px;margin:22px auto}
main[data-country="ireland"] .nx-career-block{border:1px solid #d9bc86;border-radius:22px;background:#fff;padding:clamp(20px,3vw,34px);box-shadow:0 5px 18px #183f3010;scroll-margin-top:120px}
main[data-country="ireland"] .nx-career-block h2{font-size:clamp(1.5rem,3vw,2.4rem);line-height:1.3}
main[data-country="ireland"] .nx-career-block p,main[data-country="ireland"] .nx-career-block li{font-size:clamp(1rem,1.3vw,1.12rem);line-height:1.85}
main[data-country="ireland"] .nx-career-actions a{background:#244a41;color:white;border-color:#244a41;border-radius:25px;font-weight:700;text-decoration:none}
main[data-country="ireland"] .nx-career-actions a:focus-visible,.nx-ireland-toc a:focus-visible{outline:3px solid #c9943c;outline-offset:3px}
.nx-ireland-toc{position:sticky;top:0;z-index:50;display:flex;align-items:center;gap:8px;overflow-x:auto;padding:14px 16px;margin:18px 0;background:#fff;border:1px solid #e0e3dd;border-radius:18px;box-shadow:0 4px 10px #13251f0b;scrollbar-width:thin}
.nx-ireland-toc strong{white-space:nowrap;margin-inline-end:10px}
.nx-ireland-toc a{font-size:.92rem;white-space:nowrap;background:#f5f5f2;color:#1c3a32;border-radius:24px;padding:10px 15px;text-decoration:none;font-weight:700}
.nx-ireland-toc a:hover{background:#e7e4da}
.nx-ireland-notice{border:1px solid #d8bd8c;background:#faf8f1;border-radius:18px;padding:20px 24px;line-height:1.8;margin:20px 0}
.nx-ireland-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.nx-ireland-grid>.nx-career-block{margin:0!important}
.nx-ireland-quick{margin-top:24px}
.nx-ireland-quick .nx-career-block{margin-top:0!important}
html[lang=ar] main[data-country="ireland"]{direction:rtl;text-align:right}
html[lang=ar] .nx-ireland-toc{direction:rtl}
@media(max-width:720px){.nx-ireland-grid{grid-template-columns:1fr}.nx-ireland-toc{border-radius:12px}main[data-country="ireland"]{width:min(100% - 20px,1140px)}}

/* Support both page implementations (nx-career-page and nx-guide). */
main.nx-guide[data-country="ireland"]{width:min(1140px,calc(100% - 30px));margin-inline:auto}
main.nx-guide[data-country="ireland"]>.hero{background:linear-gradient(135deg,#34473d,#17342e 60%,#2b5148);border-radius:28px;padding:clamp(36px,7vw,80px) clamp(20px,6vw,70px)}
main.nx-guide[data-country="ireland"]>.panel,main.nx-guide[data-country="ireland"]>figure{border:1px solid #d9bc86;border-radius:22px;background:#fff;padding:clamp(20px,3vw,34px);scroll-margin-top:120px}
main.nx-guide[data-country="ireland"] .nx-ireland-toc{position:sticky;top:0}
main[data-country="ireland"] .nx-ireland-toc{max-width:100%;box-sizing:border-box}
main[data-country="ireland"] .nx-ireland-toc a{flex-shrink:0}
html[lang="ar"] main.nx-guide[data-country="ireland"]{direction:rtl;text-align:right}
@media(max-width:720px){main.nx-guide[data-country="ireland"]{width:calc(100% - 20px)}main[data-country="ireland"] .nx-ireland-toc{padding:10px;gap:6px}}

/* Shared single-font lock across English and Arabic pathway headings. */
html[lang="ar"] main[data-country="ireland"] h1,html[lang="en"] main[data-country="ireland"] h1{font-family:Cairo,"IBM Plex Sans Arabic",sans-serif!important}

/* Canonical six-tab career navigation follows Canadian Medical Laboratory Technologist standard. */
main[data-country="ireland"] .nx-ireland-canonical-toc{scrollbar-gutter:stable;max-width:100%;overflow-x:auto;overflow-y:hidden;white-space:nowrap}
main[data-country="ireland"] .nx-ireland-canonical-toc a{white-space:nowrap;flex:0 0 auto}
main[data-country="ireland"] .nxv2-breadcrumb{gap:8px;align-items:baseline;line-height:1.8;overflow-wrap:anywhere}
html[lang="ar"] main[data-country="ireland"] .nxv2-breadcrumb{direction:rtl;text-align:right}

/* Canada-standard applied-content sections: Ireland and future country reference. */
main[data-country="ireland"] .nx-ireland-standard-content{display:grid;gap:20px;margin:20px 0 38px}
main[data-country="ireland"] .nx-ireland-two-up{display:grid;grid-template-columns:1fr 1fr;gap:20px}
main[data-country="ireland"] .nx-ireland-standard-card{background:#fff;border:1px solid #d9bc86;border-radius:22px;padding:clamp(18px,3vw,32px);min-width:0;scroll-margin-top:120px}
main[data-country="ireland"] .nx-ireland-standard-card h2{font-size:clamp(1.45rem,3vw,2.25rem);line-height:1.25;margin:0 0 18px;color:#1b302b}
main[data-country="ireland"] .nx-ireland-standard-card h3{font-size:1.05rem;margin:0 0 8px;color:#244c41}
main[data-country="ireland"] .nx-ireland-standard-card p{line-height:1.85;font-size:1rem}
main[data-country="ireland"] .nx-ireland-step-list{padding:0;margin:0;list-style:none;display:grid;gap:12px}
main[data-country="ireland"] .nx-ireland-step{border:1px solid #e7d6b8;border-radius:17px;padding:15px;background:#fff}
main[data-country="ireland"] .nx-ireland-route-chip{border:1px solid #d4b988;border-radius:12px;padding:15px;background:#f5f6f2;font-weight:700;margin:14px 0}
main[data-country="ireland"] .nx-ireland-caution{background:#f8f6f0;border:1px solid #e4d4b4;border-radius:14px;padding:16px}
main[data-country="ireland"] .nx-ireland-table-wrap{max-width:100%;overflow-x:auto}
main[data-country="ireland"] .nx-ireland-standard-card table{border-collapse:collapse;width:100%;min-width:460px}
main[data-country="ireland"] .nx-ireland-standard-card th,main[data-country="ireland"] .nx-ireland-standard-card td{border-bottom:1px solid #e5e5e1;text-align:start;padding:12px;vertical-align:middle}
main[data-country="ireland"] .nx-ireland-standard-card th{background:#f0f3ef;color:#244c41}
main[data-country="ireland"] .nx-ireland-standard-card a{color:#245849;font-weight:700}
main[data-country="ireland"] .nx-ireland-actions{display:flex;gap:10px;flex-wrap:wrap}
main[data-country="ireland"] .nx-ireland-actions a,main[data-country="ireland"] .nx-ireland-action{display:inline-block;background:#244c41;color:#fff!important;border-radius:22px;padding:12px 18px;text-decoration:none}
html[lang="ar"] main[data-country="ireland"] .nx-ireland-standard-content{direction:rtl;text-align:right}
@media(max-width:720px){main[data-country="ireland"] .nx-ireland-two-up{grid-template-columns:1fr}main[data-country="ireland"] .nx-ireland-standard-card table{min-width:440px}}

/* 2026-10-24 overlap/duplication regression fix */
main[data-country="ireland"] .nx-ireland-standard-content{
display:flex!important;flex-direction:column!important;gap:22px!important;
position:relative;z-index:1;clear:both;overflow:visible;isolation:isolate}
main[data-country="ireland"] .nx-ireland-two-up{
display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
gap:22px!important;align-items:stretch!important;position:relative!important;
margin:0!important;transform:none!important}
main[data-country="ireland"] .nx-ireland-two-up>.nx-ireland-standard-card{
position:relative!important;min-width:0!important;max-width:100%;height:auto!important;
min-height:0!important;margin:0!important;top:auto!important;transform:none!important;
overflow-wrap:anywhere;overflow:hidden;box-sizing:border-box}
main[data-country="ireland"] .nx-ireland-standard-content>.nx-ireland-standard-card{
position:relative!important;min-height:0!important;height:auto!important;
margin:0!important;top:auto!important;transform:none!important;box-sizing:border-box;
overflow-wrap:anywhere}
main[data-country="ireland"] .nx-ireland-standard-content h2,
main[data-country="ireland"] .nx-ireland-standard-content h3{
position:static!important;transform:none!important;max-width:100%;overflow-wrap:anywhere}
main[data-country="ireland"] .nx-ireland-superseded{display:none!important}
main[data-country="ireland"] .nx-ireland-source-links{display:grid;gap:10px}
main[data-country="ireland"] .nx-ireland-source-links a{display:block;padding:12px 16px;border:1px solid #e5d4b6;border-radius:12px;background:#fbfaf7;text-decoration:none}
main[data-country="ireland"] .nx-ireland-standard-content .nx-ar{display:none}
html[lang="ar"] main[data-country="ireland"] .nx-ireland-standard-content .nx-ar{display:inline}
html[lang="ar"] main[data-country="ireland"] .nx-ireland-standard-content .nx-en{display:none}
@media(max-width:820px){
main[data-country="ireland"] .nx-ireland-two-up{grid-template-columns:minmax(0,1fr)!important}
main[data-country="ireland"] .nx-ireland-standard-content{gap:16px!important}
}

/* Hide generic content duplicated in the canonical panels while retaining unique specialty details. */
main[data-country="ireland"]:not(.nx-guide)>section[data-career-section="quick-answer"],
main[data-country="ireland"]:not(.nx-guide)>section[data-career-section="pathway"],
main[data-country="ireland"]:not(.nx-guide)>section[data-career-section="checklist"],
main[data-country="ireland"]:not(.nx-guide)>section[data-career-section="fees"],
main[data-country="ireland"]:not(.nx-guide)>section[data-career-section="planning"],
main[data-country="ireland"]:not(.nx-guide)>section[data-career-section="sources"],
main[data-country="ireland"]:not(.nx-guide)>section[data-career-section="next-step"]{display:none!important}
main.nx-ireland-editorial-repair .nx-ireland-canonical-toc a[data-key="specialty"]{display:none!important}

/* Practical next-step tables: readable on mobile, actionable official links */
main[data-country="ireland"] .nx-actionable-routes{min-width:690px}
main[data-country="ireland"] .nx-actionable-routes td{vertical-align:top;line-height:1.65}
main[data-country="ireland"] .nx-route-actions{display:flex;flex-direction:column;gap:9px}
main[data-country="ireland"] .nx-route-actions a{background:#255246;color:white!important;border-radius:10px;padding:10px 13px;text-decoration:none;display:block;font-size:.92rem;line-height:1.4}
main[data-country="ireland"] .nx-route-actions a:focus-visible{outline:3px solid #b18a44;outline-offset:3px}
main[data-country="ireland"] .nx-ireland-roadmap{padding:18px 20px;background:#f7f6f1;border:1px solid #dbcaa7;border-radius:16px;margin-top:23px}
main[data-country="ireland"] .nx-ireland-roadmap ol{margin:8px 0 0;padding-inline-start:25px}
main[data-country="ireland"] .nx-ireland-roadmap li{padding:5px 0;line-height:1.8}

/* Verified seven-section structure: preserve one source of truth in the visible page. */
main[data-country="ireland"][data-seven-sections="true"]>.panel,
main[data-country="ireland"][data-seven-sections="true"]>section.panel,
main[data-country="ireland"][data-seven-sections="true"]>section[data-career-section]:not([data-career-section="hero"]):not([data-career-section="image"]),
main[data-country="ireland"][data-seven-sections="true"]>aside.nx-career-block{display:none!important}
main[data-country="ireland"][data-seven-sections="true"] .nx-ireland-preserved-detail{display:block!important;position:static!important;margin:14px 0!important}
main[data-country="ireland"] .nx-ireland-extra-detail{border:1px solid #e5d4b6;border-radius:14px;margin-block:18px;padding:14px}
main[data-country="ireland"] .nx-ireland-extra-detail summary{cursor:pointer;font-weight:700;color:#235042;padding:8px}
main[data-country="ireland"] #pathway,main[data-country="ireland"] #documents,main[data-country="ireland"] #fees,main[data-country="ireland"] #region-rules,main[data-country="ireland"] #budget,main[data-country="ireland"] #official-sources,main[data-country="ireland"] #specialty{scroll-margin-top:125px}
main[data-country="ireland"] .nx-ireland-standard-content>.nx-ireland-next-actions{margin-block-start:10px}
main[data-country="ireland"] .nx-ireland-standard-content{width:100%;max-width:100%;margin-inline:auto}
