:root { --aklam-ui: 'Cairo', Tahoma, Arial, sans-serif; --aklam-reading: 'Noto Naskh Arabic', Georgia, serif; --aklam-navy: #0b2c47; --aklam-gold: #c7a04c; }
body.aklam-readable { font-family: var(--aklam-ui) !important; color: #243845; background: #f3f5f7 !important; }
body.aklam-readable :is(h1,h2,h3,h4,h5,h6,input,textarea,select,button,.button,.post-meta,.tie-date,.pagenavi,.share-post,.post-navigation,.widget-container,.footer-bottom,#crumbs) { font-family: var(--aklam-ui) !important; }
body.aklam-readable :is(h1,h2,h3,h4,h5,h6) a { font-family: inherit !important; }
/* Theme RTL rules and page-builder excerpts must use the interface family too. */
body.aklam-readable :is(a,p,label,small,time,figcaption),
body.aklam-readable.page .entry,
body.aklam-readable .cat-box .entry { font-family: var(--aklam-ui) !important; }
body.aklam-readable #wpadminbar :is(.ab-item,.ab-label,.display-name,.screen-reader-text) { font-family: var(--aklam-ui) !important; }
body.aklam-readable a.more-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 9px 17px; border-radius: 7px; font: 600 15px/1.8 var(--aklam-ui) !important; }
body.aklam-readable :is(input,textarea,select) { color: #243845; }
body.aklam-readable :is(input,textarea,select)::placeholder { color: #697b87; opacity: 1; }
body.aklam-readable :is(button,input[type=submit],a.more-link) { box-sizing: border-box; }
.aklam-skip-link { position: fixed; top: -120px; right: 20px; z-index: 100000; padding: 12px 20px; border-radius: 8px; background: #fff; color: #0b2c47; font: 700 17px/1.8 var(--aklam-ui); }
.aklam-skip-link:focus { top: 48px; }

/* Matching normal, selected, keyboard, and sticky navigation states. */
body.aklam-readable #main-nav { background: #0b2c47 !important; border-bottom: 3px solid #c7a04c; }
body.aklam-readable #main-nav .main-menu > ul > li { margin: 0 !important; }
body.aklam-readable #main-nav .main-menu > ul > li > a { font-family: var(--aklam-ui) !important; font-size: 16px; font-weight: 600; line-height: 1.8; color: #fff !important; padding-inline: 12px; }
body.aklam-readable #main-nav ul > li:is(.current-menu-item,.current-menu-parent,.current_page_parent,.current-page-ancestor) > a,
body.aklam-readable #main-nav ul > li:hover > a,
body.aklam-readable #main-nav ul > li > a:active { background: #1a4562 !important; color: #fff !important; box-shadow: inset 0 -3px #c7a04c; }
body.aklam-readable #main-nav a:focus-visible { outline: 2px solid #e2c47c; outline-offset: -5px; background: #1a4562 !important; }
body.aklam-readable #main-nav :is(ul ul,.menu-sub-content) { border-top-color: #c7a04c; background: #0b2c47; border-radius: 0 0 10px 10px; }
body.aklam-readable #main-nav ul ul a { font-family: var(--aklam-ui) !important; color: #fff; font-size: 16px; line-height: 1.8; min-height: 44px; }
body.aklam-readable #main-nav.fixed-nav { left: 0; right: 0; top: 0 !important; margin-inline: auto; width: min(1240px, calc(100% - 48px)); opacity: 1; transform: translateY(calc(-100% - 40px)); transition: transform .2s ease; box-shadow: 0 6px 24px #102d4726; }
body.aklam-readable #main-nav.fixed-nav:is(.fixed-nav-appear,:focus-within) { transform: translateY(0); }
body.aklam-readable.admin-bar #main-nav.fixed-nav { top: 32px !important; }
body.aklam-readable #main-nav.fixed-nav .container { width: 100%; }
body.aklam-readable #main-nav.fixed-nav .main-nav-logo { display: flex; align-items: center; justify-content: center; width: 47px; height: 44px; margin: 5px 8px; padding: 4px; border-radius: 6px; background: #fff; opacity: 1; box-sizing: border-box; }
body.aklam-readable #main-nav.fixed-nav .main-nav-logo img { display: block; width: auto; height: 36px; }
body.aklam-readable #slide-out { background: #0b2c47; color: #fff; }
body.aklam-readable #slide-out { position: fixed; top: 0; height: 100dvh !important; max-height: 100dvh; overflow-y: auto; overscroll-behavior: contain; z-index: 10000; }
body.aklam-readable.admin-bar #slide-out { top: 32px; height: calc(100dvh - 32px) !important; }
body.aklam-readable.js-nav { overflow: hidden; }
body.aklam-readable #slide-out #mobile-menu li a { color: #f6f8fb; padding: 12px 20px; border-color: #ffffff20; }
body.aklam-readable #slide-out .search-mobile { height: auto; width: auto; margin: 15px 12px; overflow: visible; border: 0; border-radius: 0; }
body.aklam-readable #searchform-mobile { display: flex; flex-direction: row-reverse; height: 48px; border-radius: 8px; background: #fff; overflow: hidden; }
body.aklam-readable #searchform-mobile input[name=s] { flex: 1; min-width: 0; width: 100%; height: 48px; min-height: 48px; padding: 9px 12px; margin: 0; border: 0; border-radius: 0; background: #fff; color: #243845; font: 400 16px/1.8 var(--aklam-ui) !important; }
body.aklam-readable #searchform-mobile .search-button { position: static; float: none; display: flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 48px; padding: 0; border: 0; border-radius: 0; background: #eaf0f5; color: #0b2c47; }
body.aklam-readable #searchform-mobile .search-button i::before { color: #0b2c47; }
body.aklam-readable #mobile-menu li a { font-family: var(--aklam-ui) !important; font-size: 17px; line-height: 1.8; color: #fff; border-color: #ffffff1f; }
body.aklam-readable #mobile-menu li:is(.current-menu-item,.current-menu-parent) > a,
body.aklam-readable #mobile-menu li a:hover { background: #1a4562; color: #fff; box-shadow: inset -3px 0 #c7a04c; }

/* Shared page framing and sidebar widgets. */
body.aklam-readable #theme-header { border-top: 3px solid #c7a04c; box-shadow: 0 4px 24px #102d4710; }
body.aklam-readable #wrapper.boxed #main-content { background: transparent; box-shadow: none; padding: 0; margin-top: 26px; }
body.aklam-readable :is(.post-listing,#sidebar .widget-container) { background: #fff; border: 1px solid #e0e7ec; border-radius: 14px; box-shadow: 0 4px 18px #102d4707; }
body.aklam-readable .post-inner { padding: 32px; }
body.aklam-readable .post-title { font-weight: 700; line-height: 1.65; }
body.aklam-readable #crumbs { padding: 0; margin-bottom: 16px; font-size: 14px; line-height: 2; overflow-wrap: anywhere; color: #5c6d78; }
body.aklam-readable #crumbs a { color: #234b64; }
body.aklam-readable .page-head { display: flex; align-items: center; gap: 18px; padding: 0 3px 18px; }
body.aklam-readable .page-head .page-title { float: none; margin: 0; font-size: 30px; line-height: 1.7; font-weight: 700; }
body.aklam-readable .page-head .stripe-line { flex: 1; height: 1px; margin: 0; background: #dce4ea; }
body.aklam-readable :is(.block-head h3,#respond h3) { font-size: 24px; font-weight: 700; line-height: 1.8; color: #0b2c47; }
body.aklam-readable #sidebar .widget { margin-bottom: 24px; }
body.aklam-readable #sidebar .widget-container { overflow: hidden; }
body.aklam-readable #sidebar .widget-top h4 { color: #0b2c47; font-size: 23px; font-weight: 700; }
body.aklam-readable #tabbed-widget .tabs { display: flex; border-bottom: 1px solid #e0e7ec; background: #f7f9fb; }
body.aklam-readable #tabbed-widget .tabs li { float: none; flex: 1; margin: 0; border: 0; }
body.aklam-readable #tabbed-widget ul.tabs li a { display: flex; align-items: center; justify-content: center; padding: 9px 5px; min-height: 48px; font-size: 15px; }
body.aklam-readable #tabbed-widget ul.tabs li.active a { background: #fff; color: #0b2c47; box-shadow: inset 0 -3px #c7a04c; }
body.aklam-readable .pagenavi { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
body.aklam-readable .pagenavi :is(a,span) { margin: 0; border: 1px solid #dce4ea; border-radius: 7px; background: #fff; text-align: center; min-width: 44px; min-height: 44px; font-size: 16px; }
body.aklam-readable .pagenavi :is(.current,a:hover) { background: #0b2c47; color: #fff; border-color: #0b2c47; }
body.aklam-readable #main-content .pagination { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-block: 24px; }
body.aklam-readable #main-content .pagination :is(a,span):not(.pages):not(.extend) { display: inline-flex; align-items: center; justify-content: center; float: none; min-width: 44px; min-height: 44px; margin: 0; padding: 7px 12px; box-sizing: border-box; border: 1px solid #dce4ea; border-radius: 7px; background: #fff; color: #294b62; font: 500 16px/1.7 var(--aklam-ui); }
body.aklam-readable #main-content .pagination :is(span.current,a:hover):not(.pages) { background: #0b2c47; border-color: #0b2c47; color: #fff; }
body.aklam-readable #main-content .pagination .pages { order: 2; float: none; margin-inline-start: auto; font: 400 14px/1.8 var(--aklam-ui); color: #667985; }
body.aklam-readable #main-content .pagination .extend { float: none; padding: 6px; color: #667985; }

/* Search fields retain full height, readable text, and a real placeholder. */
body.aklam-readable .search-block-large { height: auto; overflow: visible; }
body.aklam-readable .search-block-large form { display: flex; flex-direction: row-reverse; min-height: 52px; border: 1px solid #d5e0e8; border-radius: 10px; overflow: hidden; background: #fff; }
body.aklam-readable .search-block-large form:focus-within { border-color: #406d89; box-shadow: 0 0 0 3px #2e6f9220; }
body.aklam-readable .search-block-large input[name=s] { float: none; flex: 1; width: 100%; min-width: 0; height: 52px; min-height: 52px; padding: 10px 15px; border: 0; border-radius: 0; background: transparent; color: #243845; font: 500 17px/1.8 var(--aklam-ui) !important; text-align: start; outline: 0; }
body.aklam-readable .search-block-large .search-button { display: flex; align-items: center; justify-content: center; float: none; flex: 0 0 54px; width: 54px; height: 52px; min-height: 52px; padding: 0; border: 0; border-radius: 0; background: #0b2c47 !important; color: #fff; opacity: 1 !important; }
body.aklam-readable .search-block-large .search-button:hover { background: #1a4562 !important; }
body.aklam-readable .search-block-large .search-button i::before { color: #fff; font-size: 20px; }
body.aklam-readable .search-mobile input { font-size: 17px; }

/* A quiet reading column, with recommendations after the article. */
body.aklam-readable.single .single-post-thumb { padding: 16px; background: #edf1f5; border-radius: 14px 14px 0 0; overflow: hidden; }
body.aklam-readable.single .single-post-thumb img { display: block; width: 100%; height: auto; max-height: 470px; object-fit: contain; margin: 0 auto; border-radius: 8px; }
body.aklam-readable.single .post-inner > .post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 10px 0 26px; padding: 12px 0 18px; border-bottom: 1px solid #e5eaee; font-size: 14px; line-height: 1.8; }
body.aklam-readable.single .entry { max-width: 740px; margin-inline: auto; font: 400 22px/1.95 var(--aklam-reading) !important; text-align: start; overflow-wrap: anywhere; }
body.aklam-readable.single .entry :is(p,li,blockquote) { font-family: var(--aklam-reading) !important; font-size: 22px; line-height: 1.95; }
body.aklam-readable.single .entry :is(a,small,em,strong,b,span,font) { font-family: inherit !important; }
body.aklam-readable.single .entry span[style*="font-family"],body.aklam-readable.single .entry font[face] { font-family: inherit !important; }
body.aklam-readable.single .entry p { margin-bottom: 1.1em; }
body.aklam-readable.single .entry :is(img,video,iframe) { max-width: 100%; }
body.aklam-readable.single .entry table { display: block; max-width: 100%; overflow-x: auto; }
body.aklam-readable.single .entry pre { max-width: 100%; overflow-x: auto; white-space: pre; font-size: 16px; }
body.aklam-readable.single .entry blockquote { margin: 28px 0; border-inline-start: 4px solid #c7a04c; background: #f8f7f2; padding: 20px 24px; color: #284454; }
body.aklam-readable.single .entry :is(h1,h2,h3,h4) { font-family: var(--aklam-ui) !important; line-height: 1.8; }
body.aklam-readable.single .entry a:not(.button) { color: #216286; text-decoration-thickness: 1px; text-underline-offset: 4px; }
body.aklam-readable :is(#related_posts,#author-box) .post-listing { padding: 22px; }
body.aklam-readable #related_posts .post-listing { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
body.aklam-readable #related_posts .related-item { float: none; width: auto; margin: 0; min-width: 0; }
body.aklam-readable #related_posts .post-listing > .clear { display: none; }
body.aklam-readable #related_posts .related-item h3 { font-size: 18px; line-height: 1.8; }
body.aklam-readable #related_posts .post-thumbnail img { width: 100%; height: 130px; object-fit: cover; border-radius: 8px; }
body.aklam-readable .post-navigation { display: flex; gap: 20px; margin: 24px 0; }
body.aklam-readable .post-navigation > div { float: none; flex: 1; min-width: 0; font-size: 18px; line-height: 1.8; }
body.aklam-readable .post-navigation a { display: block; padding: 20px; border: 1px solid #dce4ea; border-radius: 10px; background: #fff; }
body.aklam-readable .post-navigation span { font-size: 14px; color: #6b7b86; }
body.aklam-readable .share-post { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 28px; padding: 18px 0 0; border-top: 1px solid #e4eaef; background: none; }
body.aklam-readable .share-post .share-text { float: none; background: transparent; color: #334f62; font-size: 15px; padding: 0; }
body.aklam-readable .share-post ul { float: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
body.aklam-readable .flat-social li { float: none; margin: 0; }
body.aklam-readable .flat-social li a { border-radius: 6px; min-height: 40px; padding: 8px 12px; font-size: 14px; }
body.aklam-readable #check-also-box { max-width: 320px; border: 1px solid #dce4ea; border-top: 3px solid #c7a04c; border-radius: 12px; box-shadow: 0 10px 30px #102d4730; padding: 20px; }
body.aklam-readable #check-also-box .post-title { font-size: 21px; }
body.aklam-readable #check-also-close { background: #0b2c47; border-radius: 5px; width: 32px; height: 32px; line-height: 32px; }

/* Category, author, date, and search archives share the same article cards. */
body.aklam-readable .archive-box { padding: 0; overflow: hidden; }
body.aklam-readable .archive-box .item-list { display: grid; grid-template-columns: 190px minmax(0,1fr); grid-template-areas: 'media title' 'media meta' 'media excerpt'; column-gap: 24px; padding: 26px; border-bottom: 1px solid #e7edf1; }
body.aklam-readable .archive-box .item-list:last-child { border-bottom: 0; }
body.aklam-readable .archive-box .item-list > h2 { grid-area: title; margin: 0 0 8px; font-size: 23px; line-height: 1.7; }
body.aklam-readable .archive-box .item-list > .post-meta { grid-area: meta; margin: 0 0 12px; }
body.aklam-readable .archive-box .item-list > .post-thumbnail { grid-area: media; float: none; width: 100%; margin: 0; align-self: start; border-radius: 8px; overflow: hidden; }
body.aklam-readable .post-thumbnail :is(a,img) { display: block; }
body.aklam-readable .archive-box .item-list > .post-thumbnail img { width: 100%; height: 150px; object-fit: cover; border-radius: 8px; }
body.aklam-readable .archive-box .item-list > .entry { grid-area: excerpt; font-family: var(--aklam-ui); font-size: 17px; line-height: 1.9; }
body.aklam-readable .archive-box .item-list > .entry p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; line-height: 1.9; margin: 0 0 15px; }
body.aklam-readable .archive-box .item-list > .clear { display: none; }

/* Submission uses real labels, full-width controls, and a calm two-column grid. */
body.aklam-readable.page #user-submitted-posts { width: 100%; max-width: none; margin: 24px 0 0; font-family: var(--aklam-ui); font-size: 17px; font-weight: 400; }
body.aklam-readable #usp_form { display: grid; grid-template-columns: 1fr 1fr; gap: 23px 22px; width: 100%; margin: 0; }
body.aklam-readable #usp_form fieldset { padding: 0; margin: 0; border: 0; min-width: 0; width: 100%; }
body.aklam-readable #usp_form :is(.usp-title,.usp-content,.usp-images,#usp-submit,.usp-callout-failure,.usp-callout-success) { grid-column: 1 / -1; }
body.aklam-readable #usp_form label { display: block; margin-bottom: 8px; font: 600 17px/1.9 var(--aklam-ui); }
body.aklam-readable #usp_form :is(input:not([type=hidden]):not([type=submit]),select,textarea) { width: 100% !important; max-width: 100%; margin: 0; font: 400 17px/1.8 var(--aklam-ui); border: 1px solid #cfdae3; border-radius: 8px; background: #fff; padding: 11px 14px; min-height: 52px; }
body.aklam-readable #usp_form .usp-hidden { display: none; }
body.aklam-readable #usp_form textarea { min-height: 300px; }
body.aklam-readable #usp_form .wp-editor-container { border: 1px solid #cfdae3; border-radius: 8px; overflow: hidden; }
body.aklam-readable #usp_form .wp-editor-tabs button { font-family: var(--aklam-ui); font-size: 14px; }
body.aklam-readable #usp_form .usp-images { padding: 20px; border: 1px dashed #c8d5df; border-radius: 10px; background: #f6f9fb; }
body.aklam-readable #usp-upload-message { margin-bottom: 12px; font-size: 15px; line-height: 1.9; color: #5f727f; }
body.aklam-readable #usp_form input[type=file] { font-size: 15px; }
body.aklam-readable #user-submitted-post { min-height: 52px; min-width: 200px; margin: 0; padding: 11px 26px; border-radius: 8px; background: #0b2c47; color: #fff; font: 700 18px/1.7 var(--aklam-ui); }
body.aklam-readable .aklam-submission-intro { padding: 18px 22px; border-inline-start: 3px solid #c7a04c; border-radius: 7px; background: #f4f7fa; color: #425f72; font: 400 17px/1.95 var(--aklam-ui); }
body.aklam-readable.page .aklam-submission-intro p { margin: 0; }
body.aklam-readable.page-id-1071 :is(.sharedaddy,.share-post,#respond) { display: none; }
body.aklam-readable .footer-bottom { background: #0b2c47; color: #e6edf2; padding-block: 21px; font-size: 14px; }
body.aklam-readable .footer-bottom a { color: #fff; }
body.aklam-readable #topcontrol { background: #0b2c47; border-radius: 8px; width: 44px; height: 44px; }
body.aklam-readable .error404 .title-404 { font-family: var(--aklam-ui); color: #c7a04c; }

@media (min-width: 1100px) {
    body.aklam-readable #main-content:not(.full-width) > .content { width: calc(100% - 370px); }
}
@media (max-width: 990px) {
    body.aklam-readable #main-nav.fixed-nav { width: 100%; }
    body.aklam-readable .post-inner { padding: 26px; }
}
@media (max-width: 767px) {
    body.aklam-readable #theme-header .logo .site-description { font-size: 12px; }
    body.aklam-readable #wrapper.boxed #main-content { width: calc(100% - 28px) !important; margin-top: 20px; }
    body.aklam-readable .post-inner { padding: 22px; }
    body.aklam-readable .post-title { font-size: 28px; }
    body.aklam-readable.single .single-post-thumb { padding: 9px; }
    body.aklam-readable.single .entry,body.aklam-readable.single .entry :is(p,li,blockquote) { font-size: 22px; line-height: 1.95; }
    body.aklam-readable #related_posts .post-listing { grid-template-columns: 1fr; padding: 20px; }
    body.aklam-readable #related_posts .related-item { display: grid; grid-template-columns: 90px minmax(0,1fr); gap: 0 16px; }
    body.aklam-readable #related_posts .post-thumbnail { grid-row: span 2; margin: 0; }
    body.aklam-readable #related_posts .post-thumbnail img { height: 80px; }
    body.aklam-readable #related_posts .related-item h3 { font-size: 17px; }
    body.aklam-readable .post-navigation { flex-direction: column; gap: 12px; }
    body.aklam-readable .post-navigation > div:empty { display: none; }
    body.aklam-readable #check-also-box { display: none; }
    body.aklam-readable .archive-box .item-list { grid-template-columns: 1fr; grid-template-areas: 'media' 'title' 'meta' 'excerpt'; gap: 13px; padding: 20px; }
    body.aklam-readable .archive-box .item-list > .post-thumbnail img { height: auto; aspect-ratio: 16 / 9; }
    body.aklam-readable .archive-box .item-list > h2 { font-size: 22px; margin: 0; }
    body.aklam-readable #crumbs { font-size: 13px; }
    body.aklam-readable #usp_form { grid-template-columns: 1fr; gap: 21px; }
    body.aklam-readable #user-submitted-post { width: 100%; }
    body.aklam-readable .aklam-submission-intro { padding: 15px 17px; font-size: 16px; }
}
@media (max-width: 782px) {
    body.aklam-readable.admin-bar #slide-out { top: 46px; height: calc(100dvh - 46px) !important; }
}
@media (prefers-reduced-motion: reduce) {
    body.aklam-readable #main-nav.fixed-nav { transition: none; }
}
