/* Sub page styles for sobhaparqcity.org. Loaded after style.css. Does not change style.css. */

body.subpage { padding-top: 78px; background: #fff; }
body.subpage header.header_warrper { position: fixed; top: 0; left: 0; background: #fff; z-index: 9999; box-shadow: 0 5px 10px rgb(0 0 0 / 10%); }

/* ---------- Menu (home + sub pages) ---------- */
.menuList ul li { margin-right: 16px; }
.menuList ul li a { font-size: 15px; padding: 24px 0; }
.menuList li.dropdown { position: relative; }
.menuList ul.dropdown-menu {
    margin: 0; padding: 12px 8px; width: max-content; min-width: 250px; max-width: 340px;
    left: 0; top: 100%; text-align: left; border-radius: 12px; background: #fff;
    border: 1px solid #eee; box-shadow: 0 18px 30px rgb(0 0 0 / 18%);
}
.menuList ul.dropdown-menu:before { display: none; }
.menuList ul.dropdown-menu.two-col { column-count: 2; column-gap: 8px; min-width: 520px; max-width: 560px; }
.menuList ul.dropdown-menu li { display: block; margin: 0; text-align: left; break-inside: avoid; }
.menuList ul.dropdown-menu li a,
.header_warrper.header-light .menuList ul.dropdown-menu li a {
    display: block; padding: 8px 12px; font-size: 14px; line-height: 1.35; color: #232323 !important;
    border-radius: 6px; white-space: normal;
}
.menuList ul.dropdown-menu li a:hover { background: #fff4e5; color: var(--theme-main) !important; }
.menuList ul.dropdown-menu li.parent-link a { font-weight: 700; }
.menuList ul.dropdown-menu.show { opacity: 1; visibility: visible; pointer-events: all; }
.menuList li.dropdown > a:after { content: "\f107"; font-family: FontAwesome; margin-left: 5px; }
.menuList li.current > a { color: var(--theme-main); }
.menuList ul li.last-menu { margin-right: 0; }

@media (min-width: 992px) and (max-width: 1299px) {
    .headerBoxPo { padding: 8px 18px; gap: 14px; }
    .menuList ul li { margin-right: 11px; }
    .menuList ul li a { font-size: 13.5px; }
    .logo_main { max-width: 150px; font-size: 15px; }
}

@media (max-width: 991px) {
    body.subpage { padding-top: 66px; }
    .menubar { overflow-y: auto; padding-bottom: 80px; }
    .menuList ul.dropdown-menu,
    .menuList ul.dropdown-menu.two-col {
        position: static; display: none; opacity: 1; visibility: visible; pointer-events: all; width: 100%;
        min-width: 0; max-width: none; column-count: 1; box-shadow: none; border: 0; background: #faf6f0; margin: 0 0 6px; padding: 4px;
    }
    .menuList ul.dropdown-menu.show { display: block; }
    .menuList ul li a { display: block; padding: 12px 6px; }
    .menuList ul.dropdown-menu li a { padding: 9px 12px; }
}

/* ---------- Hero ---------- */
.sp-hero {
    background: linear-gradient(120deg, #0b090c 0%, #2b1a09 70%, #4a2a07 100%);
    color: #fff; padding: 46px 0 40px; position: relative; overflow: hidden;
}
.sp-hero:after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: rgba(166, 96, 5, .18); }
.sp-hero .container { position: relative; z-index: 1; }
.sp-breadcrumb { font-size: 14px; color: #d9cbb8; margin-bottom: 14px; }
.sp-breadcrumb a { color: #f3b35a; text-decoration: none; }
.sp-breadcrumb span.sep { margin: 0 8px; color: #8b7a66; }
.sp-hero h1 { font-size: 40px; line-height: 1.2; font-weight: 700; margin: 0 0 14px; color: #fff; max-width: 880px; }
.sp-hero .sp-lead { font-size: 18px; line-height: 1.65; color: #eadfce; max-width: 800px; margin-bottom: 22px; }
.sp-hero .sp-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.sp-hero .sp-badges span { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); border-radius: 30px; padding: 6px 14px; font-size: 14px; }
.sp-btn {
    display: inline-block; background: var(--theme-main); color: #fff; font-weight: 600; font-size: 16px; border: 0; cursor: pointer;
    padding: 12px 26px; border-radius: 40px; text-decoration: none; transition: .3s; margin: 0 10px 10px 0;
}
.sp-btn:hover { background: #7f4803; color: #fff; }
.sp-btn.ghost { background: transparent; border: 2px solid #f3b35a; color: #f3b35a; padding: 10px 24px; }
.sp-btn.ghost:hover, .sp-hero .sp-btn.ghost:hover { background: #f3b35a; color: #1c1206 !important; }

/* ---------- Layout ---------- */
.sp-wrap { padding: 44px 0 30px; }
.sp-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 40px; align-items: start; }
.sp-content { min-width: 0; }
.sp-content h2 {
    font-size: 30px; line-height: 1.3; font-weight: 700; color: #1d1d1d; margin: 40px 0 16px; padding-left: 16px; border-left: 5px solid var(--theme-main); scroll-margin-top: 95px;
}
.sp-content > h2:first-child, .sp-content .sp-toc + h2 { margin-top: 10px; }
.sp-content h3 { font-size: 22px; line-height: 1.35; font-weight: 600; color: #2a2a2a; margin: 26px 0 10px; }
.sp-content p { font-size: 17px; line-height: 1.75; color: #333; margin-bottom: 16px; }
.sp-content ul, .sp-content ol { margin: 0 0 18px 22px; }
.sp-content ul li, .sp-content ol li { list-style: disc; font-size: 17px; line-height: 1.7; color: #333; margin-bottom: 8px; }
.sp-content ol li { list-style: decimal; }
.sp-content a { color: #a66005; text-decoration: underline; text-underline-offset: 3px; }
.sp-content a:hover { color: #6a1d5e; }
.sp-content a.sp-btn { color: #fff; text-decoration: none; }
.sp-content strong { color: #1d1d1d; }

.sp-toc { background: #f4f8ff; border: 1px solid #e0e8f6; border-radius: 10px; padding: 18px 22px; margin-bottom: 26px; }
.sp-toc strong { display: block; margin-bottom: 8px; font-size: 16px; }
.sp-toc ol { margin: 0 0 0 20px; columns: 2; column-gap: 30px; }
.sp-toc li { font-size: 15px; margin-bottom: 4px; }
.sp-toc a { color: #1d3b6f; text-decoration: none; }
.sp-toc a:hover { text-decoration: underline; }

.sp-table-wrap { overflow-x: auto; margin: 6px 0 22px; border: 1px solid #e6e6e6; border-radius: 10px; }
.sp-content table { width: 100%; border-collapse: collapse; min-width: 520px; }
.sp-content th { background: #1d1209; color: #fff; text-align: left; font-size: 15px; padding: 12px 14px; font-weight: 600; }
.sp-content td { font-size: 15.5px; padding: 11px 14px; border-top: 1px solid #ececec; color: #333; vertical-align: top; line-height: 1.55; }
.sp-content tr:nth-child(even) td { background: #fafafa; }

.sp-callout { background: #fff7ea; border-left: 5px solid var(--theme-main); border-radius: 8px; padding: 16px 20px; margin: 20px 0; }
.sp-callout p { margin: 0; font-size: 16px; }

.sp-cta {
    background: linear-gradient(120deg, #1d1209, #4a2a07); color: #fff; border-radius: 14px; padding: 28px 30px; margin: 32px 0;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
}
.sp-cta h3, .sp-content .sp-cta h3 { color: #fff; margin: 0 0 6px; font-size: 22px; }
.sp-cta p, .sp-content .sp-cta p { color: #eadfce; margin: 0; font-size: 16px; }
.sp-cta .sp-btn { margin: 0; white-space: nowrap; }

.sp-figure { margin: 22px 0; }
.sp-figure img { width: 100%; max-height: 420px; object-fit: cover; border-radius: 12px; border: 2px solid #f0e2cd; background: #fafafa; }
.sp-figure.contain img { object-fit: contain; max-height: 520px; }
.sp-figure figcaption { font-size: 14px; color: #666; margin-top: 8px; }

.sp-faq { margin: 8px 0 24px; }
.sp-faq .faq-item { border-bottom: 1px solid #ddd; }
.sp-faq .faq-question { font-size: 18px; padding: 18px 8px; color: #1d1d1d; }
.sp-faq .faq-answer { padding: 0 8px 8px; }
.sp-faq .faq-item.active .faq-answer p { font-size: 17px; }

.sp-sources { font-size: 14px; color: #555; border-top: 1px solid #e5e5e5; margin-top: 30px; padding-top: 14px; }
.sp-sources p { font-size: 14px; margin-bottom: 6px; }
.sp-updated { font-size: 14px; color: #777; margin-top: 18px; }

/* ---------- Sidebar ---------- */
.sp-aside { position: sticky; top: 96px; }
.sp-card { background: #fff; border: 1px solid #ecdcc5; border-radius: 14px; padding: 22px; box-shadow: 0 8px 22px rgb(0 0 0 / 6%); margin-bottom: 20px; }
.sp-card h3 { font-size: 20px; margin: 0 0 12px; color: #1d1d1d; font-weight: 700; }
.sp-card dl { margin: 0 0 14px; }
.sp-card dt { font-size: 13px; text-transform: uppercase; letter-spacing: .4px; color: #8a6a3a; margin-top: 10px; }
.sp-card dd { margin: 2px 0 0; font-size: 16px; font-weight: 600; color: #1d1d1d; }
.sp-card .sp-btn { display: block; text-align: center; margin: 0; width: 100%; }
.sp-card p { font-size: 14px; color: #666; margin: 10px 0 0; line-height: 1.5; }

/* ---------- Footer ---------- */
footer.footerwarp.sp-footer { background: #14100c; padding: 54px 0 20px; color: #cfc4b4; }
.sp-footer .sp-foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; border-bottom: 1px solid #2f2820; padding-bottom: 26px; margin-bottom: 30px; }
.sp-footer .sp-foot-top h2 { color: #fff; font-size: 26px; margin: 0 0 4px; }
.sp-footer .sp-foot-top p { color: #cfc4b4 !important; margin: 0; font-size: 15px; }
.sp-footer .sp-foot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 34px; }
.sp-footer h3 { color: #f3b35a; font-size: 16px; margin: 0 0 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; }
.sp-footer ul { margin: 0 0 22px; padding: 0; }
.sp-footer li { list-style: none; margin-bottom: 7px; }
.sp-footer li a { color: #d8cdbd; font-size: 14.5px; text-decoration: none; line-height: 1.4; }
.sp-footer li a:hover { color: #f3b35a; text-decoration: underline; }
.sp-footer .copy_right { border-top: 1px solid #2f2820; margin-top: 18px; padding-top: 18px; color: #a79b89; font-size: 13.5px; line-height: 1.7; text-align: center; }
.sp-footer .copy_right a { color: #d8cdbd; }

/* ---------- 404 ---------- */
.sp-404 { text-align: center; padding: 60px 0 30px; }
.sp-404 .big { font-size: 110px; font-weight: 800; color: var(--theme-main); line-height: 1; }

@media (max-width: 1100px) {
    .sp-layout { grid-template-columns: minmax(0, 1fr); }
    .sp-aside { position: static; }
    .sp-footer .sp-foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .sp-hero { padding: 30px 0 26px; }
    .sp-hero h1 { font-size: 29px; }
    .sp-hero .sp-lead { font-size: 16px; }
    .sp-content h2 { font-size: 24px; }
    .sp-content h3 { font-size: 19px; }
    .sp-content p, .sp-content ul li, .sp-content ol li { font-size: 16px; }
    .sp-toc ol { columns: 1; }
    .sp-cta { padding: 22px 20px; }
    .sp-footer .sp-foot-grid { grid-template-columns: minmax(0, 1fr); }
    .sp-wrap { padding-top: 28px; }
}

.sp-hero .sp-lead a { color: #f3b35a; text-decoration: underline; text-underline-offset: 3px; }
.sp-hero .sp-lead a:hover { color: #fff; }
.sp-breadcrumb a:hover { text-decoration: underline; }
