:root { --amal-green: #183e35; --amal-ink: #203d33; --amal-gold: #b49756; --amal-paper: #f7f5ee; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { background: var(--amal-paper); color: var(--amal-ink); font-family: Arial, sans-serif; }
a { color: var(--amal-green); }
a:focus-visible { outline: rgb(180, 151, 86) solid 3px; outline-offset: 5px; }
.pkp_structure_page { background: var(--amal-paper); }
.pkp_structure_head { background: var(--amal-paper); border-bottom: 1px solid rgb(220, 222, 210); }
.pkp_head_wrapper { max-width: 1240px; width: 92%; padding: 0px; margin: auto; min-height: 86px; display: flex; align-items: center; justify-content: space-between; }
.pkp_site_name_wrapper { padding: 0px; }
.pkp_site_name { padding: 0px; }
.pkp_site_name a.is_text { font-family: Georgia, serif; font-size: 26px; letter-spacing: 1px; color: var(--amal-green); }
.pkp_navigation_user_wrapper { position: static; width: auto; padding: 0px; }
.pkp_navigation_user { padding: 0px; text-align: right; }
.pkp_navigation_user > li > a { color: var(--amal-green); font-size: 13px; }
.pkp_site_nav_menu { background: transparent; }
.pkp_navigation_primary_row { display: none; }
.pkp_structure_content { max-width: 1240px; width: 92%; padding: 0px; margin: 0px auto; }
.pkp_structure_main { width: 100%; padding: 0px; margin: 0px; border: 0px; }
.pkp_structure_main::before, .pkp_structure_main::after { display: none; }
.page_index_site { margin: 0px; }
.page_index_site .about_site { margin: 0px; padding: 0px; }
.amal-hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 6%; align-items: center; min-height: 670px; padding: 65px 0px 70px; }
.amal-copy .amal-eyebrow, .amal-eyebrow { font-size: 11px; line-height: 1.6; letter-spacing: 2.4px; font-weight: 700; color: rgb(122, 103, 59); margin: 0px 0px 24px; }
.amal-copy h2 { font-family: Georgia, serif; font-size: clamp(40px, 4.5vw, 65px); font-weight: 400; letter-spacing: -2px; line-height: 1.12; margin: 0px 0px 28px; color: var(--amal-green); }
.amal-copy > p:not(.amal-eyebrow):not(.amal-note):not(.amal-actions) { font-size: 17px; line-height: 1.9; max-width: 450px; color: rgb(101, 114, 105); margin: 0px 0px 30px; }
.amal-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin: 0px 0px 42px; }
.amal-actions a { display: inline-block; padding: 15px 22px; border: 1px solid rgb(201, 207, 191); border-radius: 3px; text-decoration: none; font-size: 13px; font-weight: 700; line-height: 1.4; }
.amal-actions a:first-child { background: var(--amal-green); color: rgb(255, 255, 255); border-color: var(--amal-green); }
.amal-actions a:hover { background: rgb(229, 233, 222); color: var(--amal-green); }
.amal-copy .amal-note { font-size: 10px; letter-spacing: 2px; color: rgb(104, 114, 102); border-top: 1px solid rgb(217, 221, 207); padding-top: 22px; max-width: 450px; }
.amal-covers { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 30px 38px; background: rgb(227, 232, 220); border-radius: 180px 180px 12px 12px; border: 1px solid rgb(213, 222, 206); transform: rotate(-3deg); }
.amal-covers img { display: block; width: 100%; height: auto; max-height: 245px; object-fit: contain; filter: drop-shadow(rgba(32, 56, 44, 0.19) 5px 12px 9px); }
.amal-covers img:nth-child(2n) { transform: translateY(15px); }
.amal-intro { padding: 50px 0px 28px; border-top: 1px solid rgb(205, 213, 197); }
.amal-intro .amal-eyebrow { margin-bottom: 10px; }
.amal-intro h2 { font-family: Georgia, serif; font-size: 40px; line-height: 1.2; font-weight: 400; margin: 0px 0px 14px; }
.amal-intro > p:last-child { color: rgb(106, 117, 107); font-size: 15px; line-height: 1.7; margin: 0px; }
.page_index_site .journals { margin: 0px 0px 80px; }
.page_index_site .journals > h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.page_index_site .journals > ul { display: grid; grid-template-columns: repeat(2, minmax(0px, 1fr)); gap: 24px; margin: 0px; padding: 0px; list-style: none; }
.page_index_site .journals > ul > li { display: grid; grid-template-columns: 135px minmax(0px, 1fr); gap: 24px; margin: 0px; padding: 26px; background: rgb(255, 255, 255); border: 1px solid rgb(224, 228, 217); border-radius: 8px; box-shadow: rgba(35, 61, 42, 0.02) 0px 5px 20px; transition: box-shadow 0.2s, border-color 0.2s; }
.page_index_site .journals > ul > li:hover { border-color: rgb(169, 185, 161); box-shadow: rgba(35, 61, 42, 0.07) 0px 10px 28px; }
.page_index_site .journals .thumb { float: none; width: auto; padding: 0px; margin: 0px; }
.page_index_site .journals .thumb img { width: 100%; height: auto; display: block; box-shadow: rgba(26, 48, 34, 0.1) 2px 7px 12px; }
.page_index_site .journals .body { float: none; width: auto; margin: 0px; padding: 0px; min-width: 0px; display: flex; flex-direction: column; }
.page_index_site .journals h3 { font-family: Georgia, serif; font-size: 22px; line-height: 1.3; margin: 0px 0px 14px; font-weight: 400; }
.page_index_site .journals h3 a { text-decoration: none; color: var(--amal-green); }
.page_index_site .journals .description { font-size: 13px; line-height: 1.7; color: rgb(107, 117, 110); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; margin: 0px 0px 20px; }
.page_index_site .journals .description p { margin: 0px; font-size: inherit; line-height: inherit; }
.page_index_site .journals .description strong { font-weight: 400; }
.page_index_site .journals .links { display: flex; gap: 12px; flex-wrap: wrap; margin: auto 0px 0px; padding: 0px; list-style: none; }
.page_index_site .journals .links li { margin: 0px; padding: 0px; }
.page_index_site .journals .links a { font-size: 11px; line-height: 1.5; font-weight: 700; text-decoration: none; border-bottom: 1px solid rgb(186, 198, 180); padding: 5px 0px; display: inline-block; }
.page_index_site .journals .links a:hover { color: rgb(140, 113, 58); }
.pkp_structure_footer_wrapper { background: var(--amal-green); color: rgb(218, 228, 216); border-top: 4px solid var(--amal-gold); }
.pkp_structure_footer { max-width: 1240px; width: 92%; margin: auto; padding: 0px; }
.pkp_footer_content { float: none; width: 100%; padding: 0px; }
.amal-footer { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 65px; padding: 60px 0px 45px; }
.amal-footer h2 { font-family: Georgia, serif; font-size: 30px; font-weight: 400; color: rgb(255, 255, 255); margin: 0px 0px 18px; line-height: 1.3; }
.amal-footer h3 { font-size: 11px; letter-spacing: 2px; color: rgb(210, 189, 135); margin: 0px 0px 22px; }
.amal-footer p { font-size: 14px; line-height: 1.9; color: rgb(194, 208, 194); margin: 0px 0px 12px; }
.amal-footer a { color: rgb(228, 234, 221); text-decoration: none; font-size: 13px; }
.amal-footer a:hover { text-decoration: underline; color: rgb(230, 207, 149); }
.amal-footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.145); padding: 23px 0px; font-size: 11px; color: rgb(190, 203, 187); display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.amal-footer-bottom a { color: rgb(190, 203, 187); }
.pkp_brand_footer { float: none; width: auto; padding: 0px 0px 24px; text-align: right; }
.pkp_brand_footer a { display: inline-block; }
.pkp_brand_footer img { width: 80px; filter: brightness(0) invert(1); opacity: 0.6; }
@media (max-width: 1000px) {
  .amal-hero { min-height: 570px; gap: 4%; }
  .amal-covers { padding: 28px; gap: 18px; }
  .page_index_site .journals > ul > li { grid-template-columns: 105px minmax(0px, 1fr); padding: 20px; gap: 18px; }
  .page_index_site .journals h3 { font-size: 19px; }
  .amal-footer { gap: 30px; }
}
@media (max-width: 767px) {
  .pkp_head_wrapper { min-height: 72px; display: block; padding: 20px 0px; }
  .pkp_site_name { margin: 0px 40px 0px 0px; }
  .pkp_site_name a.is_text { font-size: 23px; }
  .pkp_site_nav_toggle { top: 22px; right: 0px; left: auto; color: var(--amal-green); }
  .pkp_site_nav_menu { padding: 0px; }
  .pkp_navigation_user_wrapper { padding-top: 14px; }
  .pkp_navigation_user { text-align: left; }
  .amal-hero { grid-template-columns: 1fr; gap: 35px; padding: 45px 0px 50px; min-height: 0px; }
  .amal-copy h2 { font-size: 44px; letter-spacing: -1.4px; }
  .amal-copy > p:not(.amal-eyebrow):not(.amal-note):not(.amal-actions) { font-size: 16px; }
  .amal-actions { gap: 10px; margin-bottom: 28px; }
  .amal-actions a { padding: 14px 17px; }
  .amal-covers { max-width: 390px; width: 90%; margin: auto; box-sizing: border-box; padding: 30px; gap: 20px; transform: rotate(-2deg); }
  .amal-covers img { max-height: 210px; }
  .amal-intro { padding-top: 35px; }
  .amal-intro h2 { font-size: 34px; }
  .page_index_site .journals > ul { grid-template-columns: 1fr; gap: 18px; }
  .page_index_site .journals > ul > li { grid-template-columns: 110px minmax(0px, 1fr); gap: 18px; padding: 20px; }
  .page_index_site .journals { margin-bottom: 45px; }
  .amal-footer { grid-template-columns: 1fr 1fr; gap: 30px; padding: 40px 0px; }
  .amal-footer > div:first-child { grid-column: 1 / -1; }
  .amal-footer h2 { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* YYS Amal portal phone and tablet layout */
@media(max-width:1100px){
html body.yys-portal .pkp_structure_page,html body.yys-portal .pkp_structure_content,html body.yys-portal .pkp_structure_main{width:100%!important;max-width:100%!important;min-width:0!important;padding:0!important;margin:0!important;}
html body.yys-portal .yys-hero-grid{grid-template-columns:minmax(0,1fr)!important;gap:30px!important;padding-top:36px!important;min-height:0!important;}
html body.yys-portal .yys-copy{max-width:720px;width:100%;margin:auto;}
html body.yys-portal .yys-lead{max-width:100%!important;}
html body.yys-portal .yys-deck{max-width:450px!important;width:80%!important;margin:20px auto!important;}
html body.yys-portal .yys-nav{flex-wrap:wrap!important;gap:14px!important;}
html body.yys-portal .yys-nav-toggle{display:block!important;min-width:44px;min-height:44px;}
html body.yys-portal .yys-navlinks{display:none!important;flex-basis:100%!important;}
html body.yys-portal .yys-navlinks.is-open{display:flex!important;flex-wrap:wrap!important;}
html body.yys-portal .yys-navlinks a,html body.yys-portal .yys-navlinks summary{min-height:44px!important;box-sizing:border-box!important;}
html body.yys-portal .page_index_site .journals>ul{grid-template-columns:minmax(0,1fr)!important;}
html body.yys-portal .page_index_site .journals>ul>li{grid-template-columns:140px minmax(0,1fr)!important;}
html body.yys-portal .yys-footer{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px!important;}
html body.yys-portal .yys-footer>div:first-child{grid-column:1/-1!important;}
html body.yys-portal .yys-footer a{display:inline-block;min-height:44px;line-height:1.6;}
}
@media(max-width:600px){
html body.yys-portal .yys-hero{padding:0 18px 60px!important;}
html body.yys-portal .yys-brand{min-width:0;max-width:calc(100% - 60px);gap:8px!important;}
html body.yys-portal .pkp_structure_main .yys-copy h1{font-size:clamp(30px,8vw,44px)!important;line-height:1.15!important;letter-spacing:-1px!important;}
html body.yys-portal .yys-lead{font-size:15px!important;line-height:1.8!important;}
html body.yys-portal .yys-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px 0!important;max-width:100%!important;}
html body.yys-portal .yys-stat:nth-child(2){border-right:0!important;}
html body.yys-portal .yys-stat span{font-size:10px!important;}
html body.yys-portal .yys-deck{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important;width:100%!important;max-width:340px!important;height:auto!important;}
html body.yys-portal .yys-deck:before{display:none!important;}
html body.yys-portal .yys-cover{position:static!important;display:block!important;width:100%!important;max-width:100%!important;transform:none!important;}
html body.yys-portal .yys-cover img{width:100%!important;height:auto!important;}
html body.yys-portal .yys-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;}
html body.yys-portal .yys-actions a{padding:14px 10px!important;text-align:center;min-height:48px;}
html body.yys-portal .yys-navlinks{align-items:stretch!important;gap:4px!important;}
html body.yys-portal .yys-navlinks>a,html body.yys-portal .yys-drop,html body.yys-portal .yys-account{width:100%!important;}
html body.yys-portal .yys-drop>div,html body.yys-portal .yys-account-panel{position:static!important;width:100%!important;min-width:0!important;max-width:100%!important;}
html body.yys-portal .yys-directory,html body.yys-portal .page_index_site .journals,html body.yys-portal .yys-about{width:calc(100% - 36px)!important;}
html body.yys-portal .page_index_site .journals>ul>li{grid-template-columns:80px minmax(0,1fr)!important;gap:14px!important;padding:16px!important;}
html body.yys-portal .journals h3{font-size:19px!important;overflow-wrap:break-word!important;}
html body.yys-portal .journals .links a{font-size:13px!important;min-height:44px!important;display:flex!important;align-items:center!important;}
html body.yys-portal .yys-search{font-size:16px!important;min-height:48px!important;}
html body.yys-portal .yys-about,html body.yys-portal .yys-footer{grid-template-columns:minmax(0,1fr)!important;}
html body.yys-portal .yys-footer-identity{flex-wrap:wrap;}
html body.yys-portal .yys-footer-bottom{flex-wrap:wrap!important;padding-bottom:75px!important;}
html body.yys-portal .yys-wa{right:12px!important;bottom:12px!important;width:48px!important;height:48px!important;}
}

/* Uniform journal cover frames across the portal. */
html body.yys-portal .yys-cover img,html body.yys-portal .page_index_site .journals .thumb img{display:block!important;width:100%!important;height:auto!important;aspect-ratio:210 / 297!important;object-fit:cover!important;object-position:center!important;}
