/*
 * Overseas Medical Study — Philippines country landing page
 * Scope: .oms-ph-page only. Does not affect other pages or the global header/footer.
 */
.oms-ph-page {
    --oms-navy: #29434a;
    --oms-blue: #6f98a1;
    --oms-blue-dark: #527d84;
    --oms-gold: #97af49;
    --oms-ink: #26384d;
    --oms-muted: #62748a;
    --oms-line: #e3eaf1;
    --oms-soft: #f4f7fb;
    color: var(--oms-ink);
    background: #fff;
    font-family: 'Mulish', Arial, sans-serif;
}
.oms-ph-page * { box-sizing: border-box; }
.oms-ph-page a { text-decoration: none; }
.oms-ph-page .container { position: relative; z-index: 1; }

.oms-ph-hero {
    position: relative;
    overflow: hidden;
    background-color: var(--oms-navy);
    background-position: center;
    background-size: cover;
    min-height: 520px;
    display: flex;
    align-items: center;
    padding: 76px 0 70px;
}
.oms-ph-hero:after {
    content: "";
    position: absolute;
    width: 430px;
    height: 430px;
    right: -140px;
    bottom: -260px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50%;
    box-shadow: 0 0 0 45px rgba(255,255,255,.035), 0 0 0 90px rgba(255,255,255,.025);
}
.oms-ph-hero-inner { max-width: 790px; position: relative; z-index: 2; }
.oms-ph-eyebrow {
    color: #c5d99a;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 0 22px;
}
.oms-ph-eyebrow span {
    display: inline-block;
    width: 28px;
    height: 2px;
    vertical-align: middle;
    margin-right: 9px;
    background: var(--oms-gold);
}
.oms-ph-eyebrow b { color: #fff; margin-left: 8px; font-weight: 700; }
.oms-ph-hero h1 {
    color: #fff !important;
    font-family: 'Jost', Arial, sans-serif;
    font-size: clamp(34px, 4.2vw, 54px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.7px;
    margin: 0 0 17px;
    max-width: 780px;
}
.oms-ph-hero-subtitle {
    color: #c5d99a !important;
    font-size: 18px;
    line-height: 1.5;
    font-weight: 700;
    margin: 0 0 18px;
}
.oms-ph-hero-copy { max-width: 730px; }
.oms-ph-hero-copy p {
    color: rgba(255,255,255,.88) !important;
    font-size: 15px;
    line-height: 1.75;
    margin: 0 0 9px;
}
.oms-ph-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 27px; }
.oms-ph-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    min-height: 48px;
    padding: 12px 21px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .2px;
    transition: .2s ease;
}
.oms-ph-btn:hover { transform: translateY(-2px); text-decoration: none; }
.oms-ph-btn-gold { background: var(--oms-gold); color: #29434a !important; border: 1px solid var(--oms-gold); }
.oms-ph-btn-gold:hover { background: #a9c65b; color: #29434a !important; }
.oms-ph-btn-outline { color: #fff !important; border: 1px solid rgba(255,255,255,.65); background: rgba(255,255,255,.06); }
.oms-ph-btn-outline:hover { background: #fff; color: var(--oms-navy) !important; }
.oms-ph-trustline { display: flex; flex-wrap: wrap; gap: 21px; margin-top: 28px; color: rgba(255,255,255,.82); font-size: 12px; }
.oms-ph-trustline span { color: inherit !important; }
.oms-ph-trustline i { color: var(--oms-gold); margin-right: 6px; }

.oms-ph-intro-strip { background: #fff; position: relative; z-index: 3; }
.oms-ph-strip-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    margin-top: -28px;
    position: relative;
    background: #fff;
    border-radius: 9px;
    box-shadow: 0 12px 36px rgba(16,43,73,.10);
    border: 1px solid var(--oms-line);
    overflow: hidden;
}
.oms-ph-strip-card { display: flex; align-items: center; gap: 14px; padding: 23px 25px; min-height: 100px; }
.oms-ph-strip-card + .oms-ph-strip-card { border-left: 1px solid var(--oms-line); }
.oms-ph-strip-icon {
    width: 48px; height: 48px; flex: 0 0 48px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%; background: #edf4fb; color: var(--oms-blue);
    font-size: 19px;
}
.oms-ph-strip-card strong { display: block; color: var(--oms-navy) !important; font-size: 14px; font-weight: 800; margin-bottom: 3px; }
.oms-ph-strip-card small { display: block; color: var(--oms-muted) !important; font-size: 12px; line-height: 1.45; }

.oms-ph-main-section { background: #f5f7fa; padding: 58px 0 76px; }
.oms-ph-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 28px; align-items: start; }
.oms-ph-article-card {
    min-width: 0;
    background: #fff;
    border: 1px solid #e8edf2;
    border-radius: 9px;
    padding: 34px 38px 30px;
    box-shadow: 0 7px 24px rgba(16,43,73,.045);
}
.oms-ph-article-topline {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; padding-bottom: 17px; margin-bottom: 25px;
    border-bottom: 1px solid var(--oms-line);
}
.oms-ph-kicker { color: var(--oms-blue) !important; font-size: 11px; font-weight: 900; letter-spacing: 1.7px; }
.oms-ph-updated { color: #8290a0 !important; font-size: 11px; }
.oms-ph-article { color: var(--oms-ink) !important; overflow-wrap: anywhere; }
.oms-ph-article p,
.oms-ph-article li,
.oms-ph-article td {
    color: #4b5c70 !important;
    font-family: 'Mulish', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.78;
}
.oms-ph-article p { margin: 0 0 16px; }
.oms-ph-article span { color: inherit !important; }
.oms-ph-article strong,
.oms-ph-article b { color: #36545b !important; font-weight: 800; }
.oms-ph-article h2 {
    color: var(--oms-navy) !important;
    font-family: 'Jost', Arial, sans-serif;
    font-size: 25px;
    line-height: 1.28;
    font-weight: 800;
    margin: 38px 0 17px;
    padding: 0 0 0 16px;
    border-left: 4px solid var(--oms-gold);
    scroll-margin-top: 25px;
}
.oms-ph-article h2:first-child { margin-top: 0; }
.oms-ph-article h3 {
    color: var(--oms-blue-dark) !important;
    font-family: 'Jost', Arial, sans-serif;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.4;
    margin: 26px 0 12px;
    scroll-margin-top: 25px;
}
.oms-ph-article h4 { color: var(--oms-navy) !important; font-size: 16px; font-weight: 800; margin: 20px 0 9px; }
.oms-ph-article ul,
.oms-ph-article ol { margin: 10px 0 22px; padding-left: 24px; list-style: initial; }
.oms-ph-article ol { list-style: decimal; }
.oms-ph-article li { padding-left: 4px; margin-bottom: 7px; }
.oms-ph-article li::marker { color: var(--oms-gold); font-weight: 800; }
.oms-ph-article a { color: var(--oms-blue) !important; text-decoration: underline; }
.oms-ph-article a:hover { color: var(--oms-blue-dark) !important; }
.oms-ph-article blockquote {
    margin: 22px 0; padding: 18px 21px;
    background: #f2f6fa; border-left: 4px solid var(--oms-blue);
    color: #40546b;
}
.oms-ph-article table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 18px 0 26px;
    border: 1px solid #dce5ee;
    font-size: 14px;
}
.oms-ph-article thead th,
.oms-ph-article th {
    background: #456b72 !important;
    color: #fff !important;
    font-weight: 800;
    text-align: left;
}
.oms-ph-article th,
.oms-ph-article td {
    padding: 11px 13px !important;
    border: 1px solid #dce5ee !important;
    vertical-align: top;
}
.oms-ph-article tr:nth-child(even) td { background: #f5f8fb; }
.oms-ph-article img { max-width: 100%; height: auto; border-radius: 7px; }
.oms-ph-article hr { border: 0; border-top: 1px solid var(--oms-line); margin: 27px 0; }

.oms-ph-sidebar { position: sticky; top: 24px; }
.oms-ph-side-card {
    background: #fff; border: 1px solid #e5ebf1; border-radius: 8px;
    padding: 22px; margin-bottom: 18px;
    box-shadow: 0 7px 22px rgba(16,43,73,.045);
}
.oms-ph-side-heading { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--oms-line); }
.oms-ph-side-heading > span { color: var(--oms-gold); font-size: 17px; }
.oms-ph-side-heading h3 { margin: 0; color: var(--oms-navy) !important; font-family: 'Jost',Arial,sans-serif; font-size: 18px; font-weight: 800; }
#oms-ph-toc { max-height: 560px; overflow-y: auto; padding: 12px 3px 0 0; }
#oms-ph-toc ul { list-style: none; margin: 0; padding: 0; }
#oms-ph-toc li { margin: 0; padding: 0; border-bottom: 1px solid #f0f3f6; }
#oms-ph-toc a { display: block; padding: 9px 4px; color: #52677d !important; font-size: 12px; line-height: 1.45; font-weight: 600; }
#oms-ph-toc a:before { content: "›"; color: var(--oms-gold); font-size: 17px; font-weight: 900; margin-right: 8px; }
#oms-ph-toc a:hover { color: var(--oms-blue) !important; padding-left: 8px; }
.oms-ph-help-card { text-align: left; background: var(--oms-navy); border-color: var(--oms-navy); color: #fff; }
.oms-ph-help-icon { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.12); color: var(--oms-gold) !important; font-size: 20px; margin-bottom: 15px; }
.oms-ph-help-card h3 { color: #fff !important; font-family: 'Jost',Arial,sans-serif; font-size: 20px; line-height: 1.3; font-weight: 800; margin: 0 0 10px; }
.oms-ph-help-card p { color: rgba(255,255,255,.78) !important; font-size: 13px; line-height: 1.65; margin: 0 0 17px; }
.oms-ph-btn-blue { background: #fff; color: var(--oms-navy) !important; min-height: 42px; padding: 10px 16px; }
.oms-ph-btn-blue:hover { background: var(--oms-gold); color: var(--oms-navy) !important; }
.oms-ph-side-note { padding: 16px 18px; background: #f4f8ec; border: 1px solid #dce8c6; border-radius: 7px; }
.oms-ph-side-note strong { color: #536b36 !important; display: block; margin-bottom: 5px; font-size: 13px; }
.oms-ph-side-note p { color: #66765a !important; font-size: 12px; line-height: 1.6; margin: 0; }
.oms-ph-disclaimer {
    display: flex; gap: 12px; align-items: flex-start;
    background: #f5f8fb; border: 1px solid #e2eaf1; border-radius: 7px;
    padding: 16px 18px; margin-top: 30px;
}
.oms-ph-disclaimer > span { color: var(--oms-blue); margin-top: 3px; }
.oms-ph-disclaimer p { color: #65758a !important; font-size: 12px; line-height: 1.65; margin: 0; }

@media (max-width: 991px) {
    .oms-ph-hero { min-height: 480px; padding: 60px 0; }
    .oms-ph-layout { grid-template-columns: minmax(0,1fr) 270px; gap: 18px; }
    .oms-ph-article-card { padding: 27px 25px; }
    .oms-ph-strip-card { padding: 18px 15px; }
}
@media (max-width: 767px) {
    .oms-ph-hero { min-height: 0; padding: 54px 0 58px; background-position: 60% center; }
    .oms-ph-hero h1 { font-size: 34px; }
    .oms-ph-hero-subtitle { font-size: 16px; }
    .oms-ph-trustline { gap: 10px 16px; }
    .oms-ph-strip-grid { grid-template-columns: 1fr; margin-top: -18px; }
    .oms-ph-strip-card { min-height: 75px; padding: 13px 17px; }
    .oms-ph-strip-card + .oms-ph-strip-card { border-left: 0; border-top: 1px solid var(--oms-line); }
    .oms-ph-main-section { padding: 38px 0 50px; }
    .oms-ph-layout { display: flex; flex-direction: column; }
    .oms-ph-article-card { width: 100%; padding: 23px 18px; }
    .oms-ph-article-topline { align-items: flex-start; flex-direction: column; gap: 5px; }
    .oms-ph-article h2 { font-size: 22px; margin-top: 31px; }
    .oms-ph-article h3 { font-size: 18px; }
    .oms-ph-article table { display: block; overflow-x: auto; white-space: normal; }
    .oms-ph-sidebar { position: static; width: 100%; }
    #oms-ph-toc { max-height: 350px; }
}
@media (max-width: 420px) {
    .oms-ph-hero h1 { font-size: 29px; }
    .oms-ph-hero-actions { flex-direction: column; align-items: stretch; }
    .oms-ph-btn { width: 100%; }
}


/* Overseas Medical Study brand palette refinement */
.oms-ph-page {
  --oms-navy: #29434a;
  --oms-blue: #6f98a1;
  --oms-blue-dark: #527d84;
  --oms-gold: #97af49;
  --oms-ink: #2f454b;
  --oms-muted: #6c7f83;
  --oms-line: #dce7e7;
  --oms-soft: #f4f8f7;
}
.oms-ph-page .oms-hero {
  background-color: #29434a;
}
.oms-ph-page .oms-ph-btn-gold {
  background: #97af49;
  border-color: #97af49;
  color: #20383d !important;
}
.oms-ph-page .oms-ph-btn-gold:hover {
  background: #a9c65b;
  border-color: #a9c65b;
}
.oms-ph-page .oms-ph-eyebrow,
.oms-ph-page .oms-ph-hero-subtitle {
  color: #c8df9b !important;
}
.oms-ph-page .oms-ph-section-kicker,
.oms-ph-page .oms-ph-toc a:hover,
.oms-ph-page .oms-ph-content a {
  color: #5e8990;
}
.oms-ph-page .oms-ph-card,
.oms-ph-page .oms-ph-toc,
.oms-ph-page .oms-ph-content {
  border-color: #dce7e7;
}
.oms-ph-page .oms-ph-stat-number,
.oms-ph-page .oms-ph-card-icon {
  color: #6f98a1;
}
.oms-ph-page .oms-ph-section-title:before {
  background: #97af49;
}


/* Alignment + reliable inline icon refinement */
.oms-ph-page .oms-ph-hero { min-height: 500px; padding: 68px 0 76px; }
.oms-ph-page .oms-ph-hero-inner { max-width: 940px; width: 100%; }
.oms-ph-page .oms-ph-hero h1 {
  max-width: 920px;
  font-size: clamp(38px, 4vw, 52px);
  line-height: 1.12;
  letter-spacing: -.45px;
  text-wrap: balance;
}
.oms-ph-page .oms-ph-hero-subtitle { max-width: 850px; }
.oms-ph-page .oms-ph-hero-copy { max-width: 820px; }
.oms-ph-page .oms-ph-strip-grid { align-items: stretch; }
.oms-ph-page .oms-ph-strip-card {
  min-width: 0;
  padding: 22px 24px;
  gap: 15px;
}
.oms-ph-page .oms-ph-strip-card > div { min-width: 0; }
.oms-ph-page .oms-ph-strip-card strong,
.oms-ph-page .oms-ph-strip-card small { overflow-wrap: anywhere; }
.oms-ph-page .oms-ph-strip-icon {
  width: 50px; height: 50px; flex: 0 0 50px;
  background: #eef4f2; color: #6f98a1;
}
.oms-ph-page .oms-ph-strip-icon svg,
.oms-ph-page .oms-ph-side-heading svg,
.oms-ph-page .oms-ph-help-icon svg,
.oms-ph-page .oms-ph-info-icon svg {
  width: 23px; height: 23px; display: block;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.oms-ph-page .oms-ph-side-heading { align-items: center; }
.oms-ph-page .oms-ph-list-icon { color: #97af49; display: inline-flex; }
.oms-ph-page .oms-ph-help-icon { display: inline-flex; }
.oms-ph-page .oms-ph-info-icon { flex: 0 0 20px; color: #6f98a1; }
.oms-ph-page .oms-ph-article-topline { min-height: 34px; }
.oms-ph-page .oms-ph-article { min-width: 0; }
.oms-ph-page .oms-ph-article table { table-layout: auto; }
@media (max-width: 991px) {
  .oms-ph-page .oms-ph-hero-inner { max-width: 100%; }
  .oms-ph-page .oms-ph-hero h1 { max-width: 760px; font-size: clamp(36px, 4.4vw, 46px); }
  .oms-ph-page .oms-ph-strip-card { padding: 18px 14px; }
}
@media (max-width: 767px) {
  .oms-ph-page .oms-ph-hero { padding: 48px 0 58px; }
  .oms-ph-page .oms-ph-hero h1 { font-size: 34px; line-height: 1.14; }
  .oms-ph-page .oms-ph-strip-card { padding: 14px 18px; }
}


/* Final polish: brand-consistent layout, single TOC, cleaner heading wrapping. */
.oms-ph-page .oms-ph-hero h1 {
    max-width: 780px;
    text-wrap: balance;
    overflow-wrap: normal;
    word-break: normal;
}
.oms-ph-page .oms-ph-article {
    text-align: left !important;
}
.oms-ph-page .oms-ph-article h1,
.oms-ph-page .oms-ph-article h2,
.oms-ph-page .oms-ph-article h3,
.oms-ph-page .oms-ph-article h4,
.oms-ph-page .oms-ph-article p,
.oms-ph-page .oms-ph-article ul,
.oms-ph-page .oms-ph-article ol,
.oms-ph-page .oms-ph-article li,
.oms-ph-page .oms-ph-article blockquote,
.oms-ph-page .oms-ph-article table,
.oms-ph-page .oms-ph-article th,
.oms-ph-page .oms-ph-article td {
    text-align: left !important;
}
.oms-ph-page .oms-ph-article ul,
.oms-ph-page .oms-ph-article ol {
    padding-left: 1.35rem;
}
.oms-ph-page .oms-ph-article li {
    padding-left: .2rem;
}
@media (max-width: 991px) {
    .oms-ph-page .oms-ph-layout {
        grid-template-columns: minmax(0, 1fr);
    }
    .oms-ph-page .oms-ph-sidebar {
        position: static;
        width: 100%;
    }
    .oms-ph-page #oms-ph-toc {
        max-height: 320px;
    }
}
@media (max-width: 575px) {
    .oms-ph-page .oms-ph-hero h1 {
        max-width: 100%;
        font-size: clamp(2rem, 9vw, 2.7rem);
        line-height: 1.12;
    }
}


/* Remove decorative nested frames around CMS article content.
   Keep the main article card, section heading accents, and real data tables. */
.oms-ph-page .oms-ph-article > table,
.oms-ph-page .oms-ph-article > table > tbody > tr > td,
.oms-ph-page .oms-ph-article table:has(> tbody > tr:only-child > td:only-child),
.oms-ph-page .oms-ph-article table:has(> tr:only-child > td:only-child) {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}
.oms-ph-page .oms-ph-article table:has(> tbody > tr:only-child > td:only-child) > tbody > tr > td,
.oms-ph-page .oms-ph-article table:has(> tr:only-child > td:only-child) > tr > td {
    border: 0 !important;
    background: transparent !important;
    padding: 0 !important;
}
.oms-ph-page .oms-ph-article div[style*="border"],
.oms-ph-page .oms-ph-article section[style*="border"] {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}
.oms-ph-page .oms-ph-article div[style*="border"][style*="padding"],
.oms-ph-page .oms-ph-article section[style*="border"][style*="padding"] {
    padding: 0 !important;
}
.oms-ph-page .oms-ph-article div[style*="background"],
.oms-ph-page .oms-ph-article section[style*="background"] {
    background: transparent !important;
}
