/* Adapt the original portal layout to local navigation and semantic controls. */
.reference-skip{position:absolute;top:-100px;right:16px;z-index:10000;background:white;padding:12px}.reference-skip:focus{top:0}
.reference-site [hidden]{display:none!important}.reference-site :focus-visible{outline:2px solid #416791!important;outline-offset:3px}
.reference-site .reference-content{overflow-wrap:anywhere}.reference-site .reference-content:not(.kscontainer){min-height:400px;padding-top:25px;padding-bottom:35px}.reference-content:after{content:"";display:table;clear:both}.reference-content img{max-width:100%;height:auto}.reference-content table{max-width:100%}.reference-article{background:#fff;padding:20px;line-height:2}.reference-article h1{font-size:22px;color:#555;border-bottom:1px solid #ddd;padding-bottom:15px}.reference-article h2{font-size:19px}
.reference-search-submit{border:0;background:transparent;padding:0;position:relative}.reference-site .reference-search-submit #mysearch{position:static;cursor:pointer}
.reference-site .advanced-slider:not([data-reference-native]){position:relative;width:100%;height:min(31.25vw,500px);min-height:160px;overflow:hidden;margin:auto}.reference-site .advanced-slider:not([data-reference-native]) .slides{margin:0;padding:0;list-style:none;width:100%;height:100%}.reference-site .advanced-slider:not([data-reference-native]) .slide{position:absolute;inset:0;display:block;width:100%;height:100%}.reference-site .advanced-slider:not([data-reference-native]) .slide .file1{height:100%}.reference-site .advanced-slider:not([data-reference-native]) .slide img{width:100%;height:100%;object-fit:cover}.reference-site .advanced-slider:not([data-reference-native]) .caption{position:absolute;bottom:0;right:0;left:0;padding:10px 25px;color:white;background:#0008}.reference-site .advanced-slider:not([data-reference-native]) .caption a{color:white}.reference-site .advanced-slider:not([data-reference-native]) .caption .date1{font-size:12px}.reference-slider-controls{position:absolute;left:20px;bottom:16px;display:flex;gap:6px;z-index:10}.reference-slider-controls button{border:1px solid white;border-radius:50%;width:12px;height:12px;background:#888;padding:0}.reference-slider-controls button[aria-pressed=true]{background:white}.reference-slider-controls .reference-pause{width:auto;height:24px;border-radius:3px;color:white;background:#0008;font-size:11px;padding:0 6px}
.reference-site .dropdown-menu>li{position:relative}.reference-site .dropdown-menu .dropdown-menu{top:0;right:100%;left:auto}.reference-site li.reference-open>.dropdown-menu{display:block}.reference-site .navbar-brand .reverse{display:none}.reference-site .tabnavigation{display:flex;flex-wrap:wrap}.reference-site .tabnavigation li{cursor:pointer}.reference-site .tabnavigation li.reference-active a{background:#707271;color:#fff}.reference-site .reference-gallery img{max-width:100%}
.reference-site .ks-filters{display:flex;flex-wrap:wrap;gap:12px;align-items:end;margin:20px 0}.reference-site .ks-filters label{display:flex;flex-direction:column;gap:6px}.reference-site .ks-filters input,.reference-site .ks-filters select{border:1px solid #ccc;background:#fff;border-radius:4px;padding:8px}.reference-site .ia-button{background:#707271;border:0;border-radius:4px;color:white;padding:10px 20px}.reference-site .ks-experts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.reference-site .ks-expert{padding:15px;border:1px solid #ddd}.reference-site .ks-source-note{padding:10px;background:#f4f4f4;font-size:12px;color:#666}.reference-site .ks-pagination{padding:20px;display:flex;gap:10px}.reference-site .ks-documents li{padding:8px;border-bottom:1px solid #eee}
@media(max-width:767px){.reference-site .navbar-collapse.reference-open{display:block}.reference-site .dropdown-menu,.reference-site .dropdown-menu .dropdown-menu{position:static;float:none;width:100%;box-shadow:none}.reference-site .navbar-nav{margin:0}.reference-site .navbar-nav>li>a{white-space:normal}.reference-site .ks-experts{grid-template-columns:1fr}.reference-site .reference-content:not(.kscontainer){padding:15px}.reference-site .reference-content table{display:block;overflow-x:auto}.reference-site .mysearch input{max-width:72%}.reference-site .advanced-slider:not([data-reference-native]) .caption{padding:5px 10px}.reference-site .advanced-slider:not([data-reference-native]) .caption .titr{font-size:12px}.reference-site .advanced-slider:not([data-reference-native]) .caption .date1{display:none}.reference-slider-controls{left:10px;bottom:8px}}
.reference-site>.skip-link{position:absolute;top:-100px}.reference-site>.skip-link:focus{top:0}.reference-site .advanced-slider:not([data-reference-native]){height:500px;min-height:0}.reference-site .advanced-slider:not([data-reference-native]) .caption{height:70px;text-align:center;padding-top:22px}.reference-site .advanced-slider:not([data-reference-native]) .caption .date1{display:none}.reference-slider-controls{left:50%;bottom:90px;transform:translateX(-50%)}.reference-slider-controls .reference-pause{position:absolute;left:calc(100% + 12px);top:-6px}.reference-site .advanced-slider:not([data-reference-native]) .slide{visibility:visible}.reference-site .advanced-slider:not([data-reference-native]) .slide .file1 img{display:block!important}.reference-site .tabnavigation{display:block}.reference-site .tabnavigation li a{display:block;color:inherit;background:none!important}.reference-site .tabnavigation li.reference-active a{background:none;color:inherit}.reference-site .resp-tabs-container>[id^=tab]{display:block}.reference-site .resp-tabs-container>[hidden]{display:none!important}.reference-site .reference-search-submit{position:absolute;left:22%;top:109px;width:40px;height:40px}.reference-site .reference-search-submit #mysearch{width:40px;height:40px}.reference-site .mysearch .advancesearch{display:block}
@media(max-width:767px){.reference-site .advanced-slider:not([data-reference-native]){height:31.25vw;min-height:140px}.reference-site .advanced-slider:not([data-reference-native]) .caption{height:35px;padding:4px}.reference-slider-controls{bottom:45px}.reference-site .reference-search-submit{left:14%;top:109px}.reference-site .resp-vtabs ul.resp-tabs-list{display:none}.reference-site .resp-vtabs .resp-tabs-list li{width:auto!important;margin:0!important;padding:8px!important}.reference-site .resp-vtabs .resp-tabs-container{float:none;width:100%}}
.ks-expert-photo{float:right;object-fit:cover;margin:0 0 12px 15px}.ks-expert h2{font-size:16px}.ks-expert p{font-size:13px}.ks-profile-photo{float:left;margin:0 25px 20px 0}.ks-specialist-profile dl{display:grid;grid-template-columns:190px 1fr;gap:10px;line-height:2}.ks-specialist-profile dt,.ks-specialist-profile dd{padding:6px;border-bottom:1px solid #eee;margin:0}.ks-directory-switch{padding:10px 0}
@media(max-width:767px){.ks-specialist-profile dl{grid-template-columns:1fr}.ks-profile-photo{float:none;display:block;margin:20px auto}.ks-specialist-profile dt{border:0;padding-bottom:0}.ks-specialist-profile dd{padding-top:0}.ks-filters input,.ks-filters select{max-width:100%}}
.reference-news-list{padding:0 20px}.reference-news-list li{padding:12px 0;border-bottom:1px solid #eee}.reference-news-list a{color:#707271}.reference-news-list a:hover{color:#005b3b}
.reference-site .advanced-slider:not([data-reference-native]) .slide{visibility:visible!important}.reference-site .advanced-slider:not([data-reference-native]) .caption{visibility:visible!important;display:block!important}.reference-site .reference-search-submit{left:calc(50% - 331px);top:98px;right:auto;margin:0}.reference-site .reference-search-submit #mysearch{position:static!important;left:auto!important;right:auto!important;top:auto!important;margin:0!important}
@media(max-width:767px){.reference-site .reference-search-submit{left:14%;top:98px}}
.reference-site .mysearch #zone8 .reference-search-submit{left:19px;right:auto;top:auto;bottom:56px}
.reference-content .advanced-slider:not([data-reference-native]){height:650px;background:#f5f5f5}.reference-content .advanced-slider:not([data-reference-native]) .slide{height:540px}.reference-content .advanced-slider:not([data-reference-native]) .slide>img.image{display:block!important;object-fit:contain}.reference-content .advanced-slider:not([data-reference-native]) .slide>img.thumbnail{display:none!important}.reference-content .advanced-slider:not([data-reference-native]) video{width:100%;height:100%;max-height:500px}.reference-content .advanced-slider:not([data-reference-native]) .video{display:block!important;height:100%}.reference-site .reference-gallery-controls{left:0;right:0;bottom:0;height:100px;transform:none;overflow-x:auto;justify-content:flex-start;align-items:center;padding:10px;background:#eee}.reference-gallery-controls button{width:90px;height:70px;border-radius:3px;flex:0 0 90px;border:2px solid transparent}.reference-gallery-controls button[aria-pressed=true]{border-color:#005b3b}.reference-gallery-controls button img{width:100%;height:100%;object-fit:cover}.reference-gallery-controls .reference-pause{display:none}.reference-content .ctDrillDown ul,.reference-content .ctDrillDown li{position:static!important;visibility:visible!important;display:block!important}.reference-content .ctDrillDown{height:auto!important;overflow:visible!important}.reference-content .ctDrillDown a{display:block;padding:8px;border-bottom:1px solid #eee}
@media(max-width:767px){.reference-content .advanced-slider:not([data-reference-native]){height:390px}.reference-content .advanced-slider:not([data-reference-native]) .slide{height:290px}.reference-site .reference-gallery-controls{bottom:0}}
.reference-content .advanced-slider:not([data-reference-native]) .html{display:block!important;visibility:visible!important}.reference-content .advanced-slider:not([data-reference-native]) .video-container{height:100%}.reference-content .advanced-slider:not([data-reference-native]) .thumbnail{display:none!important}.reference-content .advanced-slider:not([data-reference-native]) .caption{pointer-events:none}

/* Public specialist search form and result grid. */
.ks-original-directory{padding:8px 10px 30px;direction:rtl}.ks-original-search{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 36px;margin:10px 0 32px}.ks-original-search label{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:400;white-space:nowrap;margin:0}.ks-original-search input,.ks-original-search select{min-width:0;width:100%;height:31px;padding:3px 7px;background:#f5f5f5;border:1px solid #e0e0e0;border-radius:3px;font:inherit;color:#333}.ks-original-search button{grid-column:3;width:100%;height:32px;background:#005e3a;color:#fff;border:1px solid #005e3a;border-radius:3px;font:inherit}.ks-expert-results{width:100%;overflow-x:auto;border:1px solid #ccc}.reference-site .ks-expert-table{display:table;border-collapse:collapse;width:100%;min-width:1066px;font-size:16px;line-height:normal;text-align:center;margin:0}.ks-expert-table th{background:#005e3a;color:white;height:35px;text-align:center;font-weight:400}.ks-expert-table td,.ks-expert-table th{border:1px solid #ccc;padding:5px 8px;vertical-align:middle}.reference-site .ks-expert-table .ks-expert{padding:0;border:0}.ks-expert-table tr:nth-child(even){background:#eafff8}.ks-expert-table td:nth-child(2){min-width:90px}.ks-expert-table td:nth-child(3){min-width:130px}.ks-expert-table td:nth-child(5){min-width:170px}.ks-expert-table a{display:inline-block;width:100px;height:32px;background:url("../images/directory-view.png") no-repeat center;font-size:0;border:0;padding:0;vertical-align:middle}.ks-expert-table a:focus-visible{outline:2px solid #005e3a!important;outline-offset:2px}.ks-expert-empty{margin:0;padding:6px;text-align:center;min-height:33px}.ks-result-count{font-size:12px;margin-top:12px}.ks-original-directory .ks-pagination:empty{display:none}
@media(max-width:991px){.ks-original-search{grid-template-columns:1fr;gap:7px;margin-bottom:24px}.ks-original-search label{display:grid;grid-template-columns:90px minmax(0,1fr)}.ks-original-search button{grid-column:1;margin-top:8px}.ks-original-directory{padding:0}.ks-original-directory .ks-source-note{margin-top:16px}}
@media(min-width:1200px){
  .ks-original-directory{padding:0 0 30px}
  .ks-original-search{display:block;position:relative;height:171px;margin:0 0 20px;font-size:13px}
  .ks-original-search label{position:absolute;width:282px;justify-content:space-between;height:29px}
  .ks-original-search label:nth-of-type(1){left:789px;top:26px}
  .ks-original-search label:nth-of-type(2){left:404px;top:26px;width:296px}
  .ks-original-search label:nth-of-type(3){left:19px;top:26px;width:286px}
  .ks-original-search label:nth-of-type(4){left:789px;top:81px}
  .ks-original-search label:nth-of-type(5){left:404px;top:81px;width:296px}
  .ks-original-search label:nth-of-type(6){left:19px;top:81px;width:286px}
  .ks-original-search label:nth-of-type(7){left:789px;top:131px}
  .ks-original-search input{flex:0 0 206px;width:206px;height:29px}
  .ks-original-search select{flex:0 0 207px;width:207px;height:27px}
  .ks-original-search button{position:absolute;left:19px;top:131px;width:140px;height:30px;font-size:13px}
  .ks-original-directory .ks-expert-results{width:1066px;margin-left:18px;margin-right:auto}
}
.ks-expert-results:has(.ks-expert-empty){border-color:#000}
.ks-expert-empty{display:grid;place-items:center;min-height:98px;padding:0;font-size:13px}

.reference-site .reference-directory-page{border:0;box-shadow:none;padding-top:20px}.reference-directory-page .reference-article{padding:0}.reference-directory-page .reference-article h1{font-size:14px;color:#005e3a;padding:0 0 12px;margin:0 0 15px}.reference-directory-page .ks-original-directory{padding-inline:0}

/* Specialist information follows the recovered public profile form. */
.reference-site .reference-profile-page{padding-top:32px;padding-bottom:15px}.ks-profile-title{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:bold;color:#005e3a;margin:0 0 24px}.ks-profile-title:after{content:"";height:1px;background:#ccc;flex:1}.ks-source-profile{position:relative;margin:0 20px;min-height:960px;color:#000;font-size:13px;line-height:1.8}.ks-profile-print{position:absolute;left:10px;top:6px;border:0;padding:0;background:transparent;cursor:pointer}.ks-profile-watermark{position:absolute;left:10px;top:106px;width:300px;height:131px}.ks-profile-intro{position:relative;height:261px}.ks-source-profile .ks-profile-photo{position:absolute;right:0;top:46px;width:150px;height:200px;object-fit:cover;float:none;margin:0;border-radius:5px;box-shadow:0 0 4px 1px #ccc}.ks-profile-intro h2{position:absolute;right:180px;top:46px;color:#005e3a;font-size:20px;font-weight:bold;margin:0}.ks-profile-intro .ks-profile-field{position:absolute;right:180px;font-weight:bold}.ks-profile-intro .ks-profile-label{font-weight:400}.ks-profile-specialty{top:91px}.ks-profile-education{top:121px}.ks-profile-membership{top:166px}.ks-profile-start{top:201px}.ks-profile-label{font-weight:bold;margin-inline-end:8px}.ks-profile-contact{display:grid;grid-template-columns:1fr 1fr;grid-auto-rows:minmax(40px,auto);column-gap:20px}.ks-profile-telephone{grid-area:1/1}.ks-profile-mobile{grid-area:1/2}.ks-profile-fax{grid-area:2/1}.ks-profile-area{grid-area:2/2}.ks-profile-email{grid-area:3/1}.ks-profile-status{grid-area:3/2}.ks-profile-leave{grid-area:4/1;display:flex;gap:28px}.ks-profile-validity{grid-area:4/2}.ks-profile-address{grid-column:1/-1}.ks-profile-qualifications{margin-top:85px;margin-inline-start:0;margin-inline-end:130px;text-align:justify;line-height:1.8}.ks-profile-provenance{font-size:11px;color:#666;margin:0 20px}.ks-profile-provenance summary{cursor:pointer}.ks-source-profile .ks-profile-qualifications bdi{unicode-bidi:plaintext}
@media(max-width:991px){.ks-source-profile{margin:0;min-height:960px}.ks-source-profile .ks-profile-photo{width:100px;height:135px}.ks-profile-intro h2,.ks-profile-intro .ks-profile-field{right:110px;left:0}.ks-profile-intro h2{font-size:16px;line-height:1.4}.ks-profile-intro .ks-profile-education{top:130px;line-height:1.6}.ks-profile-intro .ks-profile-membership{right:0;top:193px}.ks-profile-intro .ks-profile-start{right:0;top:225px}.ks-profile-contact{display:flex;flex-direction:column;gap:8px}.ks-profile-leave{gap:20px;flex-wrap:wrap;order:1}.ks-profile-address{order:2}.ks-profile-qualifications{margin:70px 0 0}.ks-profile-provenance{margin:20px 0}.ks-profile-label{margin-inline-end:5px}}
@media(max-width:500px){.ks-profile-watermark{display:none}}
@media print{.reference-site:has(.ks-source-profile) .zones>:not(main),.reference-site:has(.ks-source-profile) .reference-skip,.reference-profile-page .ks-profile-print,.reference-profile-page .ks-profile-provenance{display:none!important}.reference-site .reference-profile-page{width:100%;margin:0;padding:0}.ks-source-profile{min-height:0;break-inside:avoid}}

.reference-site .reference-profile-page{padding-top:36px}.ks-profile-title,.ks-profile-label,.ks-profile-intro h2,.ks-profile-intro bdi{font-family:IRANSansBold,IRANSans,sans-serif}.ks-profile-intro .ks-profile-label{font-family:IRANSans,sans-serif}.ks-profile-intro h2{font-size:20px}.ks-source-profile{margin-inline-start:30px}.ks-profile-contact{grid-template-columns:500px minmax(0,1fr);column-gap:0}
@media(max-width:991px){.ks-source-profile{margin:0}.ks-profile-intro h2{font-size:16px}}
.ks-profile-print{z-index:2}
.reference-print,.reference-bookmark{padding:0;border:0;background:transparent;cursor:pointer;vertical-align:baseline}.reference-bookmark-notice{font-size:12px;color:#555;clear:both;padding:8px 0}
@media print{.reference-site .zones>:not(main),.reference-site .reference-skip,.reference-print,.reference-bookmark,.reference-bookmark-notice,.reference-comment-link,[id$="_favtoolbar"]{display:none!important}.reference-site .reference-content{width:100%;margin:0;padding:0;border:0;box-shadow:none}}

.reference-service-link{font-size:12px;text-align:start;margin:12px 0 24px}.reference-site #ks-original-request{display:block;max-width:100%}

/* Original gallery page: framed stage with a vertical thumbnail rail. */
.reference-site .reference-gallery-page{padding:20px 0 30px}.reference-gallery-page .advanced-slider:not([data-reference-native]){width:100%;max-width:1000px;height:650px;background:transparent;margin:25px auto}.reference-gallery-page .advanced-slider:not([data-reference-native]) .slides{position:absolute;left:0;right:auto;top:25px;width:calc(100% - 180px);height:570px;border:6px solid #929292;border-radius:4px;overflow:hidden}.reference-gallery-page .advanced-slider:not([data-reference-native]) .slide{height:100%;width:100%}.reference-gallery-page .advanced-slider:not([data-reference-native]) .caption{background:#ffffffb3;color:#333;text-align:right;bottom:0;height:70px;padding:12px}.reference-gallery-page .advanced-slider:not([data-reference-native]) .caption a{color:#333}.reference-gallery-page .reference-gallery-controls{display:flex;flex-direction:column;top:115px;bottom:auto;left:auto;right:0;width:170px;height:365px;background:transparent;padding:8px;gap:20px;overflow-y:auto;overflow-x:hidden;scrollbar-width:none;transform:none}.reference-gallery-page .reference-gallery-controls::-webkit-scrollbar{display:none}.reference-gallery-page .reference-gallery-controls button{width:150px;height:105px;flex:0 0 105px;border:4px solid white;box-shadow:0 0 7px #bbb;border-radius:0;background:white}.reference-gallery-page .reference-gallery-controls button[aria-pressed=true]{border-color:#cfcfcf}.reference-gallery-page .reference-thumbnails-arrow{position:absolute;right:65px;width:40px;height:40px;border:5px solid #888;border-radius:50%;background:white;padding:0;cursor:pointer}.reference-gallery-page .reference-thumbnails-arrow:before{content:"";display:block;width:14px;height:14px;border-top:4px solid #888;border-left:4px solid #888;position:absolute;left:8px;top:10px;transform:rotate(45deg)}.reference-gallery-page .reference-thumbnails-arrow.previous{top:55px}.reference-gallery-page .reference-thumbnails-arrow.next{top:500px;transform:rotate(180deg)}.reference-gallery-page a[aria-current=page]{font-weight:bold}
@media(max-width:767px){.reference-site .reference-gallery-page{padding:15px 0}.reference-gallery-page .advanced-slider:not([data-reference-native]){height:390px;margin:15px auto}.reference-gallery-page .advanced-slider:not([data-reference-native]) .slides{top:0;width:100%;height:280px;border-width:4px}.reference-gallery-page .reference-gallery-controls{top:auto;bottom:0;right:0;left:0;width:100%;height:100px;flex-direction:row;gap:10px;overflow-x:auto;overflow-y:hidden}.reference-gallery-page .reference-gallery-controls button{width:90px;height:70px;flex:0 0 90px}.reference-gallery-page .reference-thumbnails-arrow{display:none}}
.reference-site .footer img[id="4jRXJaAzsq998o9fRFRb"]{display:inline-block;width:125px;height:136px}

.reference-native-gallery img{max-width:none}.reference-native-gallery .advanced-slider{overflow:visible}

.reference-site .reference-gallery-page:has([data-reference-native]){padding:0}.reference-site [data-reference-native] img{max-width:none}

/* Shared branding and quick access across public header variants. */
.reference-site .ks-brand-header{background:#fff;border-bottom:1px solid #e7eeea;padding:12px 0}
.reference-site .ks-brand-header-inner{display:flex;align-items:center;justify-content:space-between;gap:28px;direction:rtl}
.reference-site .ks-brand-header-inner::before,.reference-site .ks-brand-header-inner::after{display:none}
.reference-site .ks-header-logo{flex:0 1 620px;min-width:0}
.reference-site .ks-header-logo a{display:block}
.reference-site .ks-header-logo img{display:block;width:100%;max-width:620px;height:auto;margin:0}
.reference-site .ks-header-tools{flex:0 1 450px;min-width:0;display:flex;flex-direction:column;gap:12px}
.reference-site .ks-header-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;direction:rtl}
.reference-site .ks-header-cards .ks-header-card{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:7px;min-height:48px;padding:9px 8px;border:1px solid #dfe9e3;border-radius:14px;background:linear-gradient(145deg,#fff,#f3f7f4);color:#285442;font-size:13px;font-weight:600;line-height:1.6;text-align:center;text-decoration:none;box-shadow:0 3px 10px #163e2710;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.reference-site .ks-header-card svg{width:21px;height:21px;flex-shrink:0}
.reference-site .ks-header-cards .ks-header-card:hover{transform:translateY(-3px);border-color:#86b49a;box-shadow:0 7px 18px #163e2720}
.reference-site .ks-header-cards .ks-header-card:focus-visible{outline:3px solid #b38d36!important;outline-offset:4px}
@media(min-width:768px) and (max-width:1199px){.reference-site .ks-brand-header-inner{width:100%;gap:16px}.reference-site .ks-header-tools{min-width:350px}.reference-site .ks-header-cards{gap:6px}.reference-site .ks-header-cards .ks-header-card{padding-inline:5px;gap:4px}.reference-site .ks-header-card svg{width:18px;height:18px}}
@media(max-width:767px){.reference-site .ks-brand-header-inner{flex-direction:column;gap:20px}.reference-site .ks-header-logo{flex:none;width:min(100%,620px)}.reference-site .ks-header-tools{flex:none;width:100%;max-width:450px}}
@media(max-width:575px){.reference-site .ks-brand-header{padding:12px 0}.reference-site .ks-brand-header-inner{gap:18px}.reference-site .ks-header-cards{gap:6px}.reference-site .ks-header-cards .ks-header-card{min-height:48px;font-size:12px;padding:8px 4px;gap:5px}.reference-site .ks-header-card svg{width:18px;height:18px}}
@media(prefers-reduced-motion:reduce){.reference-site .ks-header-cards .ks-header-card{transition:none}.reference-site .ks-header-cards .ks-header-card:hover{transform:none}}

/* Match the header shortcuts while retaining each action's original colors. */
.reference-site .mysearch .advancesearch a,.reference-site .mytab #zone7 .h4 a span{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 20px;border-radius:14px;font-size:13px;font-weight:600;line-height:1.6;text-decoration:none;box-shadow:0 3px 10px #163e2710;transition:transform .18s ease,box-shadow .18s ease}
.reference-site .mysearch .advancesearch a:hover,.reference-site .mytab #zone7 .h4 a:hover span{transform:translateY(-3px);box-shadow:0 7px 18px #163e2720}
@media(prefers-reduced-motion:reduce){.reference-site .mysearch .advancesearch a,.reference-site .mytab #zone7 .h4 a span{transition:none}.reference-site .mysearch .advancesearch a:hover,.reference-site .mytab #zone7 .h4 a:hover span{transform:none}}

/* Keep the submit arrow anchored to the input, independent of the controls below. */
.reference-site .mysearch .reference-search-field{position:relative;margin:30px auto 0}
.reference-site .mysearch #zone8 .reference-search-field #expertname{margin:0;max-width:100%;padding-inline-end:52px}
.reference-site .mysearch #zone8 .reference-search-field .reference-search-submit{left:4px;right:auto;top:50%;bottom:auto;transform:translateY(-50%);margin:0}

.reference-site .mytab #zone7 .h4 a{display:inline-flex;border-radius:14px;text-decoration:none}

/* Landing-page media galleries. */
.reference-site .gallery-pic{padding:42px 0 30px}
.reference-site .gallery-vid{padding:38px 0 44px;margin:16px 0 44px;background:linear-gradient(180deg,#f3f8f5,#fff);border-top:1px solid #e6eee8}
.reference-site :is(.gallery-pic,.gallery-vid) :is(#zone9,#zone10) .bhead{margin-bottom:24px}
.reference-site :is(.gallery-pic,.gallery-vid) :is(#zone9,#zone10) .h1{position:relative;float:none;width:100%;margin:0;display:flex;align-items:center;gap:20px}
.reference-site :is(.gallery-pic,.gallery-vid) :is(#zone9,#zone10) .h1::after{content:"";height:1px;flex:1;background:linear-gradient(to left,#cbded1,transparent)}
.reference-site :is(.gallery-pic,.gallery-vid) :is(#zone9,#zone10) .h1 span{position:relative;color:#176447;font-size:22px;line-height:1.7;letter-spacing:0;padding-inline-start:20px;padding-inline-end:0}
.reference-site :is(.gallery-pic,.gallery-vid) :is(#zone9,#zone10) .h1 span::before{top:50%;transform:translateY(-50%);width:5px;height:28px;border-radius:4px;background:#93bd4e}
.reference-site :is(.gallery-pic,.gallery-vid) :is(#zone9,#zone10) .lbl2,.reference-site :is(.gallery-pic,.gallery-vid) .groupNavigator:empty{display:none!important}
.reference-site :is(.gallery-pic,.gallery-vid) .page-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;margin:0}
.reference-site :is(.gallery-pic,.gallery-vid) .page-row::before,.reference-site :is(.gallery-pic,.gallery-vid) .page-row::after{display:none}
.reference-site :is(.gallery-pic,.gallery-vid) :is(#zone9,#zone10) #mainbody{float:none;width:auto;min-width:0;margin:0;padding:0;background:#fff;border:1px solid #e1eae4;border-radius:18px;box-shadow:0 5px 20px #163e2709;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.reference-site :is(.gallery-pic,.gallery-vid) :is(#zone9,#zone10) #mainbody:hover,.reference-site :is(.gallery-pic,.gallery-vid) :is(#zone9,#zone10) #mainbody:focus-within{transform:translateY(-4px);box-shadow:0 12px 28px #163e2718;border-color:#b6d2c1}
.reference-site :is(.gallery-pic,.gallery-vid) #mainbody>.row{margin:0}
.reference-site :is(.gallery-pic,.gallery-vid) :is(#zone9,#zone10) .groupGalleryfile1{padding:0;float:none;width:100%}
.reference-site :is(.gallery-pic,.gallery-vid) :is(#zone9,#zone10) .groupGalleryfile1 a{display:block;position:relative;overflow:hidden;border-radius:17px 17px 0 0}
.reference-site :is(.gallery-pic,.gallery-vid) :is(#zone9,#zone10) .groupGalleryfile1 img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;border:0;border-radius:0;box-shadow:none;transition:transform .3s ease}
.reference-site :is(.gallery-pic,.gallery-vid) :is(#zone9,#zone10) #mainbody:hover img{transform:scale(1.035);box-shadow:none}
.reference-site :is(.gallery-pic,.gallery-vid) :is(#zone9,#zone10) .groupGalleryname{padding:16px 18px 18px;float:none;width:100%;min-height:84px;text-align:start}
.reference-site :is(.gallery-pic,.gallery-vid) :is(#zone9,#zone10) .groupGalleryname span{margin:0;color:#334f42;font-size:14px;font-weight:600;line-height:1.9;overflow-wrap:anywhere}
.reference-site .gallery-vid #zone10 .groupGalleryfile1 a::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,transparent 35%,#123b2a40);pointer-events:none}
.reference-site .gallery-vid #zone10 .groupGalleryfile1 a::after{content:"";top:50%;left:50%;right:auto;transform:translate(-50%,-50%);width:54px;height:54px;border:1px solid #ffffffb3;border-radius:50%;background:#fffffff0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23176447' d='m9 5 11 7-11 7z'/%3E%3C/svg%3E") center/26px 26px no-repeat;box-shadow:0 4px 20px #123b2a30;z-index:2;pointer-events:none}
@media(max-width:991px){.reference-site :is(.gallery-pic,.gallery-vid) .page-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}}
@media(max-width:575px){.reference-site .gallery-pic{padding:28px 0 20px}.reference-site .gallery-vid{padding:28px 0;margin-bottom:24px}.reference-site :is(.gallery-pic,.gallery-vid) .page-row{grid-template-columns:minmax(0,1fr);gap:18px}.reference-site :is(.gallery-pic,.gallery-vid) :is(#zone9,#zone10) .h1 span{font-size:20px}.reference-site :is(.gallery-pic,.gallery-vid) :is(#zone9,#zone10) .groupGalleryname{min-height:0}}
@media(prefers-reduced-motion:reduce){.reference-site :is(.gallery-pic,.gallery-vid) :is(#zone9,#zone10) #mainbody,.reference-site :is(.gallery-pic,.gallery-vid) :is(#zone9,#zone10) .groupGalleryfile1 img{transition:none}.reference-site :is(.gallery-pic,.gallery-vid) :is(#zone9,#zone10) #mainbody:hover,.reference-site :is(.gallery-pic,.gallery-vid) :is(#zone9,#zone10) #mainbody:focus-within,.reference-site :is(.gallery-pic,.gallery-vid) :is(#zone9,#zone10) #mainbody:hover img{transform:none}}

/* Compact expert search beneath the header shortcuts. */
.reference-site .ks-header-search{margin:0;display:flex;flex-direction:column;gap:6px}
.reference-site .ks-header-search-field{position:relative}
.reference-site .ks-header-search-field input{display:block;box-sizing:border-box;width:100%;max-width:100%;height:46px;margin:0;padding:10px 14px;padding-inline-end:48px;border:1px solid #d5e3d9;border-radius:14px;background:#f8faf8;color:#285442;font:inherit;font-size:12px;box-shadow:inset 0 1px 3px #163e2705}
.reference-site .ks-header-search-field input::placeholder{color:#75877c;opacity:1}
.reference-site .ks-header-search-field button{position:absolute;inset-inline-end:4px;top:4px;width:38px;height:38px;display:flex;align-items:center;justify-content:center;border:0;border-radius:11px;padding:8px;background:#edf4ef;color:#285442;cursor:pointer}
.reference-site .ks-header-search-field button:hover{background:#e0eee4}
.reference-site .ks-header-search-field button svg{width:21px;height:21px}
.reference-site .ks-header-search-advanced{align-self:flex-end;color:#426b55;font-size:11px;text-decoration:none;line-height:1.6}
.reference-site .ks-header-search-advanced:hover{text-decoration:underline}
@media(max-width:359px){.reference-site .ks-header-cards .ks-header-card{flex-direction:column;gap:4px;font-size:11px}}

/* Leadership directory: preserve source order within centered groups. */
.reference-site .ks-leadership{max-width:1050px;margin:28px auto 44px;direction:rtl}
.reference-site .ks-leadership-section{margin:0 0 42px}
.reference-site .ks-leadership-section>h2{text-align:center;font-size:23px;font-weight:700;color:#235740;line-height:1.8;margin:0 0 26px}
.reference-site .ks-leadership-section>h2::after{content:"";display:block;width:42px;height:4px;margin:10px auto 0;border-radius:4px;background:#a1c66c}
.reference-site .ks-member-grid{display:flex;flex-wrap:wrap;justify-content:center;align-items:stretch;gap:24px}
.reference-site .ks-member-card{flex:0 1 calc((100% - 48px)/3);min-width:0;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;text-align:center;padding:24px 18px;background:linear-gradient(160deg,#fff,#f7faf8);border:1px solid #e0e9e3;border-radius:20px;box-shadow:0 5px 20px #183c270a}
.reference-site .ks-leadership .ks-member-card img{display:block;float:none;width:150px!important;max-width:100%;height:auto;aspect-ratio:3/4;object-fit:contain;border-radius:12px;border:1px solid #e0e8e2;margin:0 auto 18px;box-shadow:0 4px 14px #183c2710}
.reference-site .ks-member-details h3{margin:0;color:#294c3a;font:inherit;font-size:15px;font-weight:600;line-height:1.9}
.reference-site .ks-member-details p{margin:8px 0 0;color:#748078;font-family:Tahoma,Arial,sans-serif;font-size:12px;line-height:1.7;overflow-wrap:anywhere;text-align:center}
.reference-site .ks-member-grid>.ks-member-featured{flex-basis:380px;width:min(100%,380px);padding:28px 24px;border-color:#c4d9ca;background:linear-gradient(145deg,#f1f7f2,#fff);box-shadow:0 8px 28px #183c2710}
.reference-site .ks-leadership .ks-member-featured img{width:174px!important}
.reference-site .ks-member-featured .ks-member-details h3{font-size:17px}
@media(max-width:767px){.reference-site .ks-member-grid{gap:18px}.reference-site .ks-member-card{flex-basis:calc((100% - 18px)/2);padding:20px 12px}.reference-site .ks-member-details h3{font-size:14px}}
@media(max-width:479px){.reference-site .ks-leadership{margin-top:20px}.reference-site .ks-member-card{flex-basis:100%;max-width:310px}.reference-site .ks-member-grid>.ks-member-featured{width:100%;max-width:340px}.reference-site .ks-leadership-section>h2{font-size:21px}}

.reference-site .ks-member-grid + .ks-member-grid{margin-top:28px}
.reference-site .ks-member-grid-remaining{padding-top:32px;border-top:1px solid #dfe9e3}

/* Shared inner-page frame and title treatment. */
@media screen{
  .reference-site .kscontainer,.reference-site .reference-content.container{box-sizing:border-box;max-width:calc(100% - 32px);margin:24px auto 36px;padding:26px 24px;background:#fff;border:1px solid #dfe8e2;border-radius:20px;box-shadow:0 8px 30px #153d2709}
  .reference-site .reference-content>.reference-article{padding:0;background:transparent}
  .reference-site :is(.kscontainer,.reference-content) :is(.form2name,.shownews5titr,.ks-profile-title),.reference-site .reference-article>h1{box-sizing:border-box;position:relative;float:none;width:100%;height:auto;min-height:0;margin:0 0 28px;padding:18px 22px!important;border:0;border-inline-start:4px solid #75a750;border-radius:6px 14px 14px 6px;background:linear-gradient(to left,#edf5ef,#f9fbf9);color:#205b3d;font-size:clamp(18px,2vw,24px)!important;font-weight:700;line-height:1.9;text-align:start;letter-spacing:0;overflow-wrap:anywhere;box-shadow:none}
  .reference-site .ks-profile-title::after{display:none}
  .reference-site :is(.kscontainer,.reference-content) :is(.form2name,.shownews5titr) a{color:inherit;text-decoration:none}
}
@media screen and (max-width:767px){
  .reference-site .kscontainer,.reference-site .reference-content.container{max-width:calc(100% - 20px);margin:16px auto 24px;padding:18px 14px;border-radius:16px}
  .reference-site :is(.kscontainer,.reference-content) :is(.form2name,.shownews5titr,.ks-profile-title),.reference-site .reference-article>h1{margin-bottom:22px;padding:14px 16px!important;font-size:18px!important;line-height:1.85}
}

/* Full legal text with article navigation and source references. */
.reference-site .ks-law-document{max-width:980px;margin:0 auto 32px;color:#33483c;line-height:2.2;font-size:16px}
.reference-site .ks-law-intro{padding:24px 28px;margin-bottom:24px;border:1px solid #dbe8df;border-radius:18px;background:linear-gradient(135deg,#f0f7f2,#fff)}
.reference-site .ks-law-intro p{margin:0 0 10px}
.reference-site .ks-law-eyebrow{font-size:19px;font-weight:700;color:#205b3d}
.reference-site .ks-law-actions{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}
.reference-site .ks-law-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 18px;border:1px solid #cadfd0;border-radius:12px;color:#285442;background:#fff;text-decoration:none;font-size:13px;font-weight:600}
.reference-site .ks-law-actions a:hover{background:#eaf3ed;border-color:#8cb89c}
.reference-site .ks-law-intro .ks-law-source{font-size:12px;color:#6a7e70;margin:0;line-height:1.9}
.reference-site .ks-law-index{padding:18px 22px;margin-bottom:28px;border:1px solid #e0e8e3;border-radius:16px;background:#fafcfb}
.reference-site .ks-law-index summary{cursor:pointer;font-weight:700;color:#285442}
.reference-site .ks-law-index summary span{font-size:12px;font-weight:400;margin-inline-start:12px;color:#75877c}
.reference-site .ks-law-index nav{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin-top:16px}
.reference-site .ks-law-index a{display:block;padding:5px 8px;border:1px solid #e0e8e3;border-radius:9px;text-align:center;text-decoration:none;font-size:13px;color:#315e46;background:#fff}
.reference-site .ks-law-index a:hover{background:#edf5ef;border-color:#97bea5}
.reference-site .ks-law-article{scroll-margin-top:24px;margin:0 0 22px;padding:24px 28px;border:1px solid #e1e9e4;border-radius:16px;background:#fff}
.reference-site .ks-law-article h2{font:inherit;font-size:20px;font-weight:700;line-height:1.8;color:#205b3d;margin:0 0 16px;padding-bottom:12px;border-bottom:1px solid #edf1ee}
.reference-site .ks-law-paragraph{margin:0 0 16px;text-align:start;overflow-wrap:anywhere}
.reference-site .ks-law-paragraph:last-child{margin-bottom:0}
.reference-site .ks-law-paragraph strong{color:#285442;font-weight:700}
.reference-site .ks-law-amended{padding:12px 16px;border-inline-start:3px solid #98bd75;border-radius:8px;background:#f5f9f1}
.reference-site .ks-law-related{margin:12px 0 20px;padding:10px 14px;border:1px solid #e4ebe7;border-radius:10px;background:#f8faf9;font-size:13px;line-height:2}
.reference-site .ks-law-related summary{cursor:pointer;color:#426b55;font-weight:600}
.reference-site .ks-law-related ul{margin:10px 0 0;padding-inline-start:20px}
.reference-site .ks-law-related li+li{margin-top:8px}
.reference-site .ks-law-related a{color:#326b50;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
@media(max-width:767px){.reference-site .ks-law-document{font-size:15px}.reference-site .ks-law-intro,.reference-site .ks-law-article{padding:18px 16px}.reference-site .ks-law-index{padding:14px}.reference-site .ks-law-index nav{grid-template-columns:repeat(4,minmax(0,1fr))}.reference-site .ks-law-eyebrow{font-size:17px}}
@media(max-width:359px){.reference-site .ks-law-index nav{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media print{.reference-site .ks-law-index,.reference-site .ks-law-actions{display:none}.reference-site .ks-law-article{border:0;padding:0}.reference-site .ks-law-article h2{break-after:avoid}.reference-site .ks-law-intro{background:none;border:0}}

/* Regulations, association history, and expert disciplines. */
.reference-site .ks-chapter-index nav{grid-template-columns:repeat(2,minmax(0,1fr))}
.reference-site .ks-chapter-index a{text-align:start;padding:10px 14px}
.reference-site .ks-regulation-chapter{scroll-margin-top:24px;margin:32px 0}
.reference-site .ks-chapter-title{font-size:21px;font-weight:700;line-height:1.9;color:#205b3d;padding:14px 18px;margin:0 0 20px;border-inline-start:4px solid #93b974;border-radius:10px;background:#edf5ef}
.reference-site .ks-regulations .ks-law-article h3{font:inherit;font-size:19px;font-weight:700;line-height:1.8;color:#205b3d;margin:0 0 14px;padding-bottom:10px;border-bottom:1px solid #edf1ee}
.reference-site .ks-history-document{max-width:940px;margin:0 auto 32px;color:#33483c}
.reference-site .ks-history-index{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:0 0 28px}
.reference-site .ks-history-index a{padding:10px 18px;border:1px solid #dbe7de;border-radius:12px;background:#f5f9f6;color:#315e46;font-size:13px;line-height:1.8;text-decoration:none}
.reference-site .ks-history-index a:hover{background:#eaf3ed;border-color:#98bda5}
.reference-site .ks-history-section{scroll-margin-top:24px;margin:0 0 24px;padding:28px 32px;border:1px solid #e0e9e3;border-radius:18px;background:linear-gradient(150deg,#f8fbf9,#fff);box-shadow:0 4px 18px #163e2706}
.reference-site .ks-history-heading{display:flex;align-items:center;gap:14px;margin-bottom:22px}
.reference-site .ks-history-heading>span{flex-shrink:0;display:flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:14px;background:#e8f1eb;color:#547b48;font-size:19px;font-weight:700}
.reference-site .ks-history-heading h2{margin:0;font-size:21px;line-height:1.8;font-weight:700;color:#205b3d}
.reference-site .ks-history-section p{margin:0 0 18px;font-size:16px;line-height:2.3;text-align:start;overflow-wrap:anywhere}
.reference-site .ks-history-section p:last-child{margin-bottom:0}
.reference-site .ks-history-credit{margin:18px 0;text-align:end;color:#718376;font-size:13px}
.reference-site .ks-specialty-document{max-width:1080px;margin:0 auto 32px}
.reference-site .ks-group-links{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
.reference-site .ks-specialty-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;align-items:stretch}
.reference-site .ks-specialty-card{scroll-margin-top:24px;display:flex;flex-direction:column;min-width:0;padding:22px;border:1px solid #dfe9e2;border-radius:18px;background:linear-gradient(155deg,#f7faf8,#fff);box-shadow:0 5px 20px #163e2707}
.reference-site .ks-specialty-card-heading{display:flex;align-items:flex-start;gap:12px;border-bottom:1px solid #e3ece6;padding-bottom:16px;margin-bottom:12px}
.reference-site .ks-specialty-card-heading>span{display:flex;align-items:center;justify-content:center;flex:0 0 38px;height:38px;background:#e5f0e9;color:#366748;border-radius:12px;font-size:18px;font-weight:700}
.reference-site .ks-specialty-card h2{margin:0;color:#285442;font-size:16px;font-weight:700;line-height:1.9}
.reference-site .ks-specialty-card ul{list-style:none;padding:0;margin:0 0 20px;flex:1}
.reference-site .ks-specialty-card li{position:relative;padding:9px 0;padding-inline-start:14px;color:#4a5b50;font-size:13px;line-height:2;border-bottom:1px solid #eef2ef;overflow-wrap:anywhere}
.reference-site .ks-specialty-card li:last-child{border-bottom:0}
.reference-site .ks-specialty-card li::before{content:"";position:absolute;inset-inline-start:0;top:20px;width:5px;height:5px;border-radius:50%;background:#9ab875}
.reference-site .ks-specialty-download{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:9px 14px;border:1px solid #d4e3d9;border-radius:12px;background:#fff;color:#315e46;font-size:13px;font-weight:600;text-decoration:none}
.reference-site .ks-specialty-download:hover{background:#eaf3ed;border-color:#91b89e;color:#205b3d;text-decoration:none}
@media(max-width:991px){.reference-site .ks-specialty-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){.reference-site .ks-history-section{padding:20px 18px}.reference-site .ks-history-heading h2{font-size:18px}.reference-site .ks-history-section p{font-size:15px;line-height:2.2}.reference-site .ks-chapter-title{font-size:18px}.reference-site .ks-chapter-index nav{grid-template-columns:minmax(0,1fr)}.reference-site .ks-group-links{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:575px){.reference-site .ks-specialty-grid{grid-template-columns:minmax(0,1fr);gap:16px}.reference-site .ks-specialty-card{padding:18px}.reference-site .ks-history-index{justify-content:stretch}.reference-site .ks-history-index a{width:100%;text-align:center}.reference-site .ks-group-links{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Chair's bilingual business cards and the organization's publication archive. */
.reference-site :is(.ks-chair-document,.ks-publications){max-width:1080px;margin:0 auto 36px;color:#33483c}
.reference-site :is(.ks-chair-intro,.ks-publications-intro){padding:28px 24px;margin-bottom:28px;border:1px solid #dce9df;border-radius:20px;background:linear-gradient(135deg,#edf5ef,#fff);text-align:center}
.reference-site .ks-chair-eyebrow{font-size:12px;font-weight:600;letter-spacing:0;color:#718570;margin:0 0 10px}
.reference-site :is(.ks-chair-intro,.ks-publications-intro) h2{font-size:28px;line-height:1.8;color:#205b3d;font-weight:700;margin:0 0 8px}
.reference-site .ks-chair-name-en{font-family:Tahoma,Arial,sans-serif;font-size:15px;color:#7b887f;line-height:1.8;margin:0 0 14px}
.reference-site .ks-chair-role,.reference-site .ks-publications-intro>p:last-child{font-size:15px;line-height:2;color:#526b5b;margin:0}
.reference-site .ks-chair-contact{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin:22px 0 0}
.reference-site .ks-chair-contact a{display:flex;align-items:center;gap:16px;padding:12px 20px;min-height:48px;background:#fff;border:1px solid #d7e5dc;border-radius:13px;color:#285442;text-decoration:none}
.reference-site .ks-chair-contact span{font-size:12px;color:#708576}
.reference-site .ks-chair-contact bdi{font-size:15px;font-weight:600;direction:ltr}
.reference-site .ks-business-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.reference-site .ks-business-card{min-width:0;display:flex;flex-direction:column;padding:22px;border:1px solid #e0e9e3;border-radius:18px;box-shadow:0 5px 20px #173b2708;background:#fff}
.reference-site .ks-business-card h3{margin:0 0 18px;font-size:17px;line-height:1.8;color:#315c43;font-weight:600}
.reference-site .ks-business-image{display:flex;align-items:center;flex:1;background:#f5f8f6;border:1px solid #edf1ee;border-radius:12px;overflow:hidden}
.reference-site .ks-business-image img{display:block;width:100%;max-width:100%;height:auto;object-fit:contain}
.reference-site .ks-business-original{display:flex;align-items:center;justify-content:space-between;margin-top:16px;padding:10px 14px;min-height:44px;background:#f4f8f5;border:1px solid #dce8df;border-radius:12px;color:#315e46;font-size:13px;text-decoration:none}
.reference-site .ks-publication-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.reference-site .ks-publication-card{min-width:0;display:flex;flex-direction:column;overflow:hidden;border:1px solid #dfe9e2;border-radius:20px;background:#fff;box-shadow:0 5px 20px #173b2708}
.reference-site .ks-publication-cover{display:flex;justify-content:center;align-items:center;padding:26px;background:linear-gradient(135deg,#edf3ef,#f8faf8)}
.reference-site .ks-publication-cover img{display:block;width:auto;max-width:100%;height:310px;object-fit:contain;box-shadow:0 8px 22px #173b2722;border-radius:3px}
.reference-site .ks-publication-info{display:flex;flex-direction:column;align-items:flex-start;flex:1;padding:24px}
.reference-site .ks-issue-badge{display:inline-block;padding:4px 12px;border-radius:8px;background:#edf5ef;color:#426d4e;font-size:12px;font-weight:600;line-height:1.8}
.reference-site .ks-publication-date{margin:10px 0 8px;color:#7b887f;font-size:12px}
.reference-site .ks-publication-info h3{text-align:start;margin:0 0 20px;font-size:17px;font-weight:600;line-height:1.9;color:#294f3b}
.reference-site .ks-publication-actions{display:flex;flex-wrap:wrap;gap:10px;width:100%;margin-top:auto}
.reference-site .ks-publication-actions a{display:flex;align-items:center;justify-content:center;gap:12px;flex:1;min-height:44px;padding:10px 14px;border:1px solid #d4e3d9;border-radius:12px;background:#f5f9f6;color:#315e46;font-size:13px;font-weight:600;text-decoration:none;white-space:nowrap}
.reference-site .ks-publication-actions a:first-child{background:#286047;border-color:#286047;color:#fff}
.reference-site :is(.ks-business-original,.ks-chair-contact a,.ks-publication-actions a):hover{box-shadow:0 4px 12px #173b2712;border-color:#8bb69a}
@media(max-width:767px){.reference-site .ks-business-cards,.reference-site .ks-publication-grid{grid-template-columns:minmax(0,1fr);gap:18px}.reference-site :is(.ks-chair-intro,.ks-publications-intro){padding:24px 16px}.reference-site :is(.ks-chair-intro,.ks-publications-intro) h2{font-size:23px}.reference-site .ks-chair-contact{flex-direction:column;align-items:stretch}.reference-site .ks-chair-contact a{justify-content:space-between}.reference-site .ks-business-card,.reference-site .ks-publication-info{padding:18px}.reference-site .ks-publication-cover{padding:22px}.reference-site .ks-publication-cover img{height:auto;max-height:330px}.reference-site .ks-publication-actions a{padding:10px;font-size:12px}}

/* Roomier primary navigation with a wider desktop content area. */
.reference-site .mymenu{box-shadow:0 3px 12px #123d2512}
.reference-site .mymenu>.container{width:100%;max-width:1320px;padding-inline:24px}
.reference-site .mymenu #zone3 .navbar-inverse .navbar-nav>li>a{font-size:16px!important;font-weight:600;line-height:1.8}
.reference-site .mymenu #zone3 .nav>li>a{padding:18px 14px!important;transition:background-color .18s ease,color .18s ease}
.reference-site .mymenu #zone3 .navbar-inverse .navbar-nav>li>a:hover,.reference-site .mymenu #zone3 .navbar-inverse .navbar-nav>li>a:focus-visible{background:#ffffff0d!important;color:#c7eaa9!important}
.reference-site .mymenu #zone3 .dropdown-menu{border:1px solid #dce7df;border-radius:0 0 12px 12px;box-shadow:0 10px 24px #123d251a}
.reference-site .mymenu #zone3 .dropdown-menu>li>a{font-size:14px;line-height:1.9;text-align:start!important;padding:11px 16px!important}
@media(min-width:768px){.reference-site .mymenu #zone3 .navbar-nav{display:flex;flex-wrap:wrap;justify-content:center;float:none!important;width:100%;margin:0;direction:rtl}.reference-site .mymenu #zone3 .navbar-nav::before,.reference-site .mymenu #zone3 .navbar-nav::after{display:none}.reference-site .mymenu #zone3 .navbar-nav>li{float:none}.reference-site .mymenu #zone3 .navbar-nav>li>a{white-space:nowrap}.reference-site .mymenu #zone3 .navbar-collapse{padding-inline:0}}
@media(min-width:768px) and (max-width:1199px){.reference-site .mymenu>.container{padding-inline:16px}.reference-site .mymenu #zone3 .navbar-inverse .navbar-nav>li>a{font-size:15px!important}.reference-site .mymenu #zone3 .nav>li>a{padding:15px 10px!important}}
@media(max-width:767px){.reference-site .mymenu>.container{padding-inline:15px}.reference-site .mymenu #zone3 .navbar-toggle{min-width:44px;min-height:44px;border-radius:9px;margin-block:9px}.reference-site .mymenu #zone3 .nav>li>a{padding:13px 16px!important;padding-inline-end:36px!important}.reference-site .mymenu #zone3 .dropdown-menu{box-shadow:none;border:0;border-inline-start:2px solid #8fbb74;border-radius:0}.reference-site .mymenu #zone3 .dropdown-menu>li>a{white-space:normal}}
@media(prefers-reduced-motion:reduce){.reference-site .mymenu #zone3 .nav>li>a{transition:none}}
@media(min-width:1200px) and (max-width:1399px){.reference-site .mymenu #zone3 .nav>li>a{padding:18px 8px!important}}

/* Fill the hero with centered, proportionally cropped photos. */
.reference-site .myslider #zone4 .advanced-slider .SliderImageCaption2file1{overflow:hidden}
.reference-site .myslider #zone4 .advanced-slider .SliderImageCaption2file1 img{display:block;width:100%!important;height:100%!important;object-fit:cover;object-position:center center}

/* Keep slide numbering in right-to-left visual order. */
.reference-site .myslider #zone4 .advanced-slider .slide-buttons .buttons-inner{direction:rtl}
.reference-site .myslider #zone4 .advanced-slider .slide-buttons a{float:right}

/* Shared public data tables and filters. */
.reference-site .reference-content .kscontainer{width:100%!important;max-width:none;margin:0;padding:0;border:0;border-radius:0;box-shadow:none;min-height:0}
.reference-site .ks-table-scroll,.reference-site .ks-expert-results{overflow:auto;max-width:100%;border:1px solid #dbe6df;border-radius:14px;background:#fff;overscroll-behavior-inline:contain}
.reference-site .reference-content table.ks-data-table{display:table!important;width:100%;max-width:none;min-width:460px;margin:0;border:0;border-collapse:separate;border-spacing:0;background:#fff;color:#354b3e;font:inherit;font-size:14px;line-height:1.9;direction:rtl}
.reference-site .reference-content table.ks-data-table th{background:#285e44!important;color:#fff!important;padding:14px 16px!important;border:0;border-bottom:1px solid #386d52;font:inherit;font-weight:600;text-align:start!important;vertical-align:middle}
.reference-site .reference-content table.ks-data-table td{padding:13px 16px!important;border:0;border-bottom:1px solid #e6ede8;background:transparent;font:inherit;text-align:start;vertical-align:middle;height:auto}
.reference-site .reference-content table.ks-data-table :is(th,td) span{font-family:inherit!important}
.reference-site .reference-content table.ks-data-table tbody tr:nth-child(even){background:#f5f9f6}
.reference-site .reference-content table.ks-data-table tbody tr:hover{background:#ecf4ee}
.reference-site .reference-content table.ks-data-table tbody tr:last-child td{border-bottom:0}
.reference-site .reference-content table.ks-data-table td a{color:#236a47;text-decoration:none;line-height:1.9}
.reference-site .reference-content table.ks-data-table td a:hover{text-decoration:underline;text-underline-offset:4px}
.reference-site .reference-content table.ks-expert-table{min-width:1066px}
.reference-site .reference-content table.ks-expert-table td:last-child a{display:inline-flex;align-items:center;justify-content:center;width:auto;min-width:76px;height:auto;min-height:38px;padding:6px 12px;border:1px solid #d2e2d8;border-radius:9px;background:#eef5f0;color:#285e44;font-size:13px;text-decoration:none}
.reference-site .reference-content table.ks-group-table{min-width:850px}
.reference-site .ks-group-table td:nth-child(n+4){white-space:nowrap}
.reference-site .ks-group-table td:nth-child(3){min-width:170px}
.reference-site .ks-table-tools{display:grid;grid-template-columns:minmax(220px,2fr) minmax(150px,1fr) minmax(100px,.65fr) auto;gap:14px;align-items:end;margin:18px 0}
.reference-site .ks-table-tools label{display:flex;flex-direction:column;gap:7px;margin:0;font-size:12px;font-weight:600;color:#53715e;min-width:0}
.reference-site .ks-table-tools :is(input,select),.reference-site .ks-original-search :is(input,select){box-sizing:border-box;width:100%;height:42px;padding:8px 12px;background:#fff;color:#344f3d;border:1px solid #d5e2d9;border-radius:10px;font:inherit;font-size:13px;min-width:0}
.reference-site .ks-table-button,.reference-site .ks-original-search button{min-height:42px;padding:9px 15px;background:#edf5ef;border:1px solid #cddfd3;border-radius:10px;color:#315e46;font:inherit;font-size:13px;cursor:pointer}
.reference-site .ks-table-button:hover:not(:disabled){background:#dfeee4}
.reference-site .ks-table-button:disabled{opacity:.45;cursor:default}
.reference-site .ks-table-count{margin:12px 0;color:#6c7f71;font-size:12px}
.reference-site .ks-table-pagination{display:flex;align-items:center;justify-content:center;gap:18px;margin:18px 0 0;font-size:12px;color:#6c7f71}
.reference-site .ks-table-empty,.reference-site .ks-expert-empty{padding:28px 16px!important;text-align:center!important;color:#75867a}
.reference-site .ks-original-search{display:grid;position:static;height:auto;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;padding:22px;margin:0 0 24px;background:#f5f9f6;border:1px solid #dfe9e2;border-radius:16px;font-size:13px}
.reference-site .ks-original-search label:nth-of-type(n){position:static;width:auto;height:auto;display:flex;flex-direction:column;align-items:stretch;justify-content:start;gap:7px;color:#54705e;white-space:normal}
.reference-site .ks-original-search button{position:static;width:100%;grid-column:auto;align-self:end;height:42px;margin:0;background:#285e44;border-color:#285e44;color:#fff}
.reference-site .ks-original-directory{padding:0}
.reference-site .paneltop .panel{border:1px solid #dfe9e2;border-radius:14px;overflow:hidden;box-shadow:none;background:#f7faf8}
.reference-site .paneltop .panel-heading{padding:14px 18px;background:#edf5ef!important;border-color:#dfe9e2!important}
.reference-site .paneltop .panel-body{padding:18px}
.reference-site .paneltop .panel-body>div:not(.loading){display:flex;flex-wrap:wrap;gap:14px;align-items:end}
.reference-site .paneltop .form-group{display:flex;flex:1 1 180px;float:none!important;flex-direction:column;gap:7px;min-width:0;margin:0!important}
.reference-site .paneltop :is(input.form-control,select.form-control){height:42px;border:1px solid #d5e2d9;border-radius:9px;background:#fff;box-shadow:none;color:#344f3d;font-size:13px;width:100%}
.reference-site .paneltop .input-group{width:100%}
.reference-site .paneltop .btn-search{height:42px;background:#eaf3ed;border:1px solid #d5e2d9;color:#315e46}
.reference-site .paneltop .groupPanelTitle{padding:16px 18px;margin:0 0 20px;border-inline-start:4px solid #8fb36b;background:#edf5ef;border-radius:10px;color:#285e44}
.reference-site .paneltop .groupPanelTitle a{color:#285e44;font-size:17px;font-weight:600;line-height:1.9}
.reference-site .groupListview{max-width:100%;min-width:0;border:0;border-radius:0}
.reference-site .ks-group-directory{display:block}
.reference-site .ks-group-panel{display:block;padding:0;margin-bottom:18px;overflow:hidden}
.reference-site .ks-group-panel>.ks-specialty-card-heading{display:flex;align-items:center;cursor:pointer;padding:18px 20px;margin:0;border:0;list-style:none;background:#f4f8f5}
.reference-site .ks-group-panel>.ks-specialty-card-heading::-webkit-details-marker{display:none}
.reference-site .ks-group-panel>.ks-specialty-card-heading::after{content:'+';font-size:23px;color:#61816b;margin-inline-start:8px}
.reference-site .ks-group-panel[open]>.ks-specialty-card-heading::after{content:'−'}
.reference-site .ks-group-panel>.ks-specialty-card-heading h2{flex:1}
.reference-site .ks-group-panel>.ks-specialty-card-heading>.ks-group-count{flex:0 0 auto;width:auto;height:auto;background:none;border-radius:0;font-size:12px;font-weight:400;color:#748579;white-space:nowrap}
.reference-site .ks-group-panel>.ks-specialty-download{margin:18px 20px;width:max-content;max-width:calc(100% - 40px)}
.reference-site .ks-group-records{padding:0 20px}
.reference-site .ks-group-loading{padding:18px 0;color:#758579;font-size:13px}
.reference-site .ks-group-disciplines{margin:16px 20px 0;color:#52745f;font-size:13px}
.reference-site .ks-group-disciplines summary{cursor:pointer}
.reference-site .ks-group-disciplines ul{display:flex;flex-wrap:wrap;gap:6px 20px;margin:10px 0}
.reference-site .ks-group-disciplines li{border:0;font-size:12px;padding-block:4px}
@media(max-width:991px){.reference-site .ks-table-tools{grid-template-columns:repeat(2,minmax(0,1fr))}.reference-site .ks-original-search{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:575px){.reference-site .ks-table-tools,.reference-site .ks-original-search{grid-template-columns:minmax(0,1fr);gap:12px}.reference-site .ks-original-search{padding:16px}.reference-site .ks-group-panel>.ks-specialty-card-heading{padding:14px 12px;gap:8px;flex-wrap:wrap}.reference-site .ks-group-panel>.ks-specialty-card-heading h2{font-size:14px}.reference-site .ks-group-panel>.ks-specialty-card-heading>.ks-group-count{margin-inline-start:auto}.reference-site .ks-group-records{padding-inline:12px}.reference-site .ks-group-disciplines{margin-inline:12px}.reference-site .ks-table-pagination{gap:8px;justify-content:space-between}.reference-site .ks-table-pagination .ks-table-button{padding:8px 10px}.reference-site .reference-content table.ks-data-table{font-size:13px}.reference-site .paneltop .form-group{flex-basis:100%}}

.reference-site .ks-original-search :is(input,select){flex:0 0 auto}
.reference-site .reference-content table.ks-data-table.footable>thead>tr>th{background:#285e44!important;color:#fff!important;background-image:none!important;text-shadow:none}
.reference-site .reference-content table.ks-data-table.footable>thead>tr>th,.reference-site .reference-content table.ks-data-table.footable>tbody>tr:not(.footable-row-detail)>td{display:table-cell!important}
.reference-site .ks-data-table .footable-toggle,.reference-site .ks-data-table .footable-row-detail{display:none!important}
.reference-site .reference-content table.ks-data-table tbody tr{background:#fff}
.reference-site .reference-content table.ks-data-table tbody tr:nth-child(even){background:#f5f9f6}
.reference-site .reference-content table.ks-data-table tbody tr:hover{background:#ecf4ee}
.reference-site #cphMain_kscontainer table.ks-data-table th{background:#285e44!important;color:#fff!important;font-family:inherit!important;font-size:14px!important}

/* Unified form controls and the Persian calendar. */
.reference-site .reference-content .paneltop .panel{border-color:#dce7df!important;background:#f8fbf9}
.reference-site .reference-content .paneltop .panel-body{padding:22px}
.reference-site .reference-content .paneltop .panel-body>div:not(.loading){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.reference-site .reference-content .paneltop .margin-top-10{margin-top:20px!important}
.reference-site .reference-content .paneltop .control-label{color:#526c5b;font-size:13px;font-weight:500}
.reference-site .reference-content .paneltop .input-group{display:flex;direction:rtl;width:100%;border:1px solid #d5e2d9;border-radius:11px;background:#fff;overflow:hidden}
.reference-site .reference-content .paneltop .input-group input{flex:1;float:none;border:0!important;background:transparent;min-width:0;border-radius:0!important;height:44px}
.reference-site .reference-content .paneltop .input-group-btn{display:flex;width:44px;flex:0 0 44px}
.reference-site .reference-content .paneltop .input-group .btn-search,.reference-site .ks-calendar-trigger{display:flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;padding:0;margin:0;border:0!important;border-inline-start:1px solid #e0e9e3!important;border-radius:0!important;background:#edf5ef!important;color:#286047!important;cursor:pointer}
.reference-site .reference-content .paneltop select.form-control{height:46px;border-radius:11px;padding-inline:12px}
.reference-site .reference-content :is(input,select,textarea):focus-visible,.reference-site .ks-calendar-trigger:focus-visible{outline:2px solid #78a98a;outline-offset:2px;box-shadow:none}
.reference-site .reference-content .input-group:focus-within{border-color:#78a98a;box-shadow:0 0 0 3px #28604712}
.reference-site .ks-date-field input{text-align:center;font-variant-numeric:tabular-nums}
.reference-site .ks-date-error{display:block;color:#a53535;font-size:11px;line-height:1.8}
.reference-site .ks-date-error:empty{display:none}
.reference-site .reference-content textarea.form-control{border:1px solid #d5e2d9;border-radius:11px;padding:12px;min-height:120px}
.reference-site .ks-calendar{box-sizing:border-box;width:360px;max-width:calc(100vw - 28px);max-height:calc(100dvh - 28px);overflow:auto;padding:22px;margin:auto;border:1px solid #dce7df;border-radius:22px;background:#fff;color:#315740;box-shadow:0 24px 90px #123d2538;font-family:inherit}
.reference-site .ks-calendar::backdrop{background:#163b2b66;backdrop-filter:blur(3px)}
.reference-site .ks-calendar-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}
.reference-site .ks-calendar h2{font:inherit;font-size:16px;font-weight:600;margin:0}
.reference-site .ks-calendar button{font:inherit;cursor:pointer;border:0;border-radius:10px;background:#f1f6f3;color:#315740;min-height:38px}
.reference-site .ks-calendar button:hover{background:#deece2}
.reference-site .ks-calendar button:focus-visible,.reference-site .ks-calendar select:focus-visible{outline:2px solid #56846a;outline-offset:2px}
.reference-site .ks-calendar-header button{width:36px;font-size:24px;background:transparent}
.reference-site .ks-calendar-nav{display:grid;grid-template-columns:34px 1fr 84px 34px;gap:6px;margin-bottom:18px}
.reference-site .ks-calendar-nav button{font-size:24px}
.reference-site .ks-calendar-nav select{min-width:0;width:100%;height:40px;border:1px solid #dce7df;border-radius:9px;padding:4px;background:#fff;color:#315740;font:inherit;font-size:13px}
.reference-site .ks-calendar-week,.reference-site .ks-calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;text-align:center}
.reference-site .ks-calendar-week{font-size:12px;color:#819489;margin-bottom:8px}
.reference-site .ks-calendar-days button{font-size:13px;background:#fff}
.reference-site .ks-calendar-days button[aria-current]{box-shadow:inset 0 0 0 1px #83ad91}
.reference-site .ks-calendar-days button[aria-pressed=true]{background:#286047;color:#fff}
.reference-site .ks-calendar button:disabled{opacity:.35;cursor:default}
.reference-site .ks-calendar-footer{display:flex;justify-content:space-between;border-top:1px solid #e5ece7;padding-top:16px;margin-top:16px;gap:12px}
.reference-site .ks-calendar-footer button{flex:1;font-size:13px}
@media(max-width:767px){.reference-site .reference-content .paneltop .panel-body{padding:16px}.reference-site .reference-content .paneltop .panel-body>div:not(.loading){grid-template-columns:minmax(0,1fr);gap:16px}}
.reference-site .ks-group-page-actions{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;margin:24px 20px}

/* Expanding hero bullets with a right-to-left autoplay fill. */
.reference-site .myslider #zone4 .advanced-slider .slide-buttons{width:100%!important;left:0!important;margin-left:0!important;bottom:20px!important}
.reference-site .myslider #zone4 .advanced-slider .slide-buttons .buttons-inner{display:flex;align-items:center;justify-content:center;gap:10px;width:max-content!important;height:auto!important;left:auto!important;margin:0 auto!important;padding:0;direction:rtl;border:0;background:none;box-shadow:none}
.reference-site .myslider #zone4 .advanced-slider .slide-buttons a{box-sizing:border-box;position:relative;overflow:hidden;display:block;float:none;width:14px;height:14px;min-height:0;padding:0;margin:0;border:1px solid #fffffff0;border-radius:999px;background:rgba(255,255,255,.65);background-clip:padding-box;cursor:pointer;transition:width .3s cubic-bezier(.22,1,.36,1),background-color .3s ease}
.reference-site .myslider #zone4 .advanced-slider .slide-buttons a:hover{background-color:#fff}
.reference-site .myslider #zone4 .advanced-slider .slide-buttons a.select{width:48px;background:rgba(40,96,71,.18);background-clip:padding-box}
.reference-site .myslider #zone4 .advanced-slider .slide-buttons a:focus-visible{outline:2px solid #fff;outline-offset:4px}
.reference-site .myslider .ks-hero-progress{position:absolute;inset:0;border-radius:999px;background:linear-gradient(90deg,#93c85b,#286047);transform:scaleX(0);transform-origin:right}
.reference-site .myslider .select .ks-hero-progress{animation:ks-hero-progress 7s linear forwards}
@keyframes ks-hero-progress{to{transform:scaleX(1)}}
@media(prefers-reduced-motion:reduce){.reference-site .myslider #zone4 .advanced-slider .slide-buttons a{transition:none}.reference-site .myslider .select .ks-hero-progress{animation:none;transform:scaleX(1)}}
.reference-site .myslider #zone4 .advanced-slider .slide-buttons .middle{float:none;width:100%!important;background:none}
.reference-site .myslider #zone4 .advanced-slider .slide-buttons>.left,.reference-site .myslider #zone4 .advanced-slider .slide-buttons>.right{display:none}
.reference-site .myslider #zone4 .advanced-slider .slide-buttons a.select{background-color:rgba(255,255,255,.18)!important}

/* Homepage electronic services. */
.reference-site .myaccess.ks-services{padding:28px 0;background:linear-gradient(180deg,#f0f6f2,#fff);border-bottom:1px solid #e4ede7}
.reference-site .ks-service-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;direction:rtl}
.reference-site .ks-service-card{display:flex;flex-direction:column;align-items:center;gap:14px;min-width:0;padding:22px 12px 14px;border:1px solid #dce8df;border-radius:18px;background:#fff;color:#285640;box-shadow:0 4px 14px #173b2705;text-align:center;text-decoration:none;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.reference-site .ks-service-icon{display:flex;align-items:center;justify-content:center;width:60px;height:60px;border-radius:18px;background:linear-gradient(145deg,#347b56,#20553e);box-shadow:0 4px 10px #285e4418}
.reference-site .ks-service-icon img{width:38px;height:38px;object-fit:contain;margin:0}
.reference-site .ks-service-label{font-size:15px;font-weight:700;line-height:1.9;flex:1;display:flex;align-items:center}
.reference-site .ks-service-arrow{font-size:20px;line-height:1;color:#86aa72}
.reference-site .ks-service-card:hover{transform:translateY(-4px);border-color:#95b79f;box-shadow:0 10px 24px #173b2710;color:#1b5639;text-decoration:none}
.reference-site .ks-service-card:focus-visible{outline:2px solid #286047;outline-offset:4px}
@media(max-width:991px){.reference-site .ks-service-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:575px){.reference-site .myaccess.ks-services{padding:18px 0}.reference-site .ks-service-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.reference-site .ks-service-card{padding:18px 10px 12px;gap:12px;border-radius:15px}.reference-site .ks-service-icon{width:52px;height:52px;border-radius:15px}.reference-site .ks-service-icon img{width:34px;height:34px}.reference-site .ks-service-label{font-size:14px}}
@media(prefers-reduced-motion:reduce){.reference-site .ks-service-card{transition:none}.reference-site .ks-service-card:hover{transform:none}}
.reference-site .ks-service-grid::before,.reference-site .ks-service-grid::after{display:none}

/* Compact, image-led homepage news with a fixed section height. */
.reference-site .mytab.ks-news{box-sizing:border-box;height:468px;padding:24px 0;margin:0;background:#f2f7f3}
.reference-site .ks-news-shell{height:100%;display:grid;grid-template-rows:48px minmax(0,1fr);gap:16px}
.reference-site .ks-news-shell::before,.reference-site .ks-news-shell::after{display:none}
.reference-site .ks-news-tabs{display:flex;align-items:stretch;gap:8px;overflow-x:auto;list-style:none;padding:0;margin:0;direction:rtl;scrollbar-width:thin}
.reference-site .ks-news-tabs li{flex:0 0 auto;margin:0;padding:0}
.reference-site .ks-news-tabs a{display:flex;align-items:center;height:44px;padding:0 18px;border:1px solid #dce7df;border-radius:12px;background:#f6f9f7;color:#486650;font-size:14px;font-weight:700;text-decoration:none;white-space:nowrap}
.reference-site .ks-news-tabs a[aria-selected=true]{background:#285e44;border-color:#285e44;color:#fff}
.reference-site .ks-news-panels{min-height:0}
.reference-site .ks-news-panel{display:grid!important;grid-template-rows:minmax(0,1fr) 44px;gap:12px;height:100%;padding:0!important;border:0!important;background:none!important}
.reference-site .ks-news-panel[hidden]{display:none!important}
.reference-site .ks-news-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:92px;align-content:start;gap:10px;overflow-y:auto;padding:2px 4px 2px 2px;min-height:0;scrollbar-width:thin;scrollbar-color:#a8c2b1 #f3f7f4;direction:rtl}
.reference-site .ks-news-card{display:flex;align-items:center;gap:14px;min-width:0;padding:9px;border:1px solid #e1eae4;border-radius:13px;background:#fff;text-decoration:none;color:#315740;transition:background .15s ease,border-color .15s ease}
.reference-site .ks-news-card:hover{background:#f3f8f5;border-color:#a9c4b2;color:#20563b;text-decoration:none}
.reference-site .ks-news-card img,.reference-site .ks-news-placeholder{flex:0 0 96px;width:96px;height:72px;object-fit:cover;border-radius:8px;background:#eaf2ed}
.reference-site .ks-news-placeholder{display:flex;align-items:center;justify-content:center;color:#749681;font-size:18px;font-weight:700}
.reference-site .ks-news-title{font-size:14px;font-weight:600;line-height:1.9;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.reference-site .ks-news-footer{display:flex;justify-content:flex-end}
.reference-site .ks-news-more{display:inline-flex;align-items:center;padding:0 18px;border-radius:11px;background:#ffa800;color:#fff;font-size:13px;font-weight:700;text-decoration:none}
.reference-site .ks-news-more:hover{background:#e99a00;color:#fff;text-decoration:none}
.reference-site .ks-news :is(a,.ks-news-list):focus-visible{outline:2px solid #286047;outline-offset:2px}
@media(max-width:767px){.reference-site .ks-news-list{grid-template-columns:minmax(0,1fr);grid-auto-rows:92px}.reference-site .ks-news-tabs a{padding-inline:13px;font-size:13px}.reference-site .ks-news-card{gap:10px}.reference-site .ks-news-title{font-size:14px}.reference-site .ks-news-card img,.reference-site .ks-news-placeholder{width:82px;flex-basis:82px}}

/* Featured story on the right, compact headlines on the left. */
.reference-site .ks-news-tabs{gap:24px;border-bottom:1px solid #e0e9e3}
.reference-site .ks-news-tabs a{position:relative;height:47px;padding:0 2px;border:0;border-radius:0;background:none;color:#718076;font-size:15px}
.reference-site .ks-news-tabs a[aria-selected=true]{background:none;color:#245d40;border:0}
.reference-site .ks-news-tabs a[aria-selected=true]::after{content:'';position:absolute;inset-inline:0;bottom:0;height:3px;background:#73a753;border-radius:3px 3px 0 0}
.reference-site .ks-news-tabs a:hover{color:#245d40}
.reference-site .ks-news-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:22px;min-height:0;direction:rtl}
.reference-site .ks-news-layout .ks-news-list{grid-template-columns:minmax(0,1fr);height:100%}
.reference-site .ks-news-feature{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:0;overflow:hidden;height:100%;background:#f5f9f6}
.reference-site .ks-news-feature img,.reference-site .ks-news-feature .ks-news-placeholder{display:block;width:100%;height:calc(100% - 84px);min-height:0;flex:1 1 auto;border-radius:0;object-fit:cover}
.reference-site .ks-news-feature .ks-news-title{flex:0 0 84px;padding:12px 16px;font-size:16px;font-weight:700;line-height:1.85;box-sizing:border-box}
.reference-site .ks-news-layout:focus-visible{outline:2px solid #286047;outline-offset:2px}
@media(max-width:767px){.reference-site .ks-news-tabs{gap:20px}.reference-site .ks-news-tabs a{font-size:14px;padding-inline:2px}.reference-site .ks-news-layout{display:block;overflow-y:auto;scrollbar-width:thin}.reference-site .ks-news-feature{height:232px;margin-bottom:12px}.reference-site .ks-news-feature .ks-news-title{font-size:15px}.reference-site .ks-news-layout .ks-news-list{height:auto;overflow:visible}.reference-site .ks-news-feature img,.reference-site .ks-news-feature .ks-news-placeholder{width:100%;flex-basis:auto}}

/* Equal-height photo and video galleries, each with a lead item. */
.reference-site .ks-media-pair{padding:36px 0 42px;background:#fff}
.reference-site .ks-media-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px;direction:rtl}
.reference-site .ks-media-columns::before,.reference-site .ks-media-columns::after{display:none}
.reference-site .ks-media-section{min-width:0}
.reference-site .ks-media-section h2{position:relative;display:flex;align-items:center;gap:12px;margin:0 0 20px;padding-bottom:12px;color:#194f37;font-size:25px;font-weight:800;line-height:1.6}
.reference-site .ks-media-section h2::before{content:'';width:30px;height:30px;flex:0 0 30px;background:linear-gradient(145deg,#70a84c,#215b40);-webkit-mask:var(--ks-gallery-heading-icon) center/contain no-repeat;mask:var(--ks-gallery-heading-icon) center/contain no-repeat}
.reference-site .ks-media-section h2::after{content:'';position:absolute;inset-inline-start:42px;bottom:0;width:72px;height:3px;border-radius:3px;background:linear-gradient(to left,#7cae59,#c6dfb3,transparent)}
.reference-site .ks-media-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:258px 160px;gap:14px}
.reference-site .ks-media-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid #dfe8e2;border-radius:14px;background:#fff;color:#315740;text-decoration:none;transition:border-color .2s ease,box-shadow .2s ease}
.reference-site .ks-media-feature{grid-column:1/-1;background:#f6f9f7}
.reference-site .ks-media-image{position:relative;display:block;min-height:0;flex:1;overflow:hidden;background:#edf3ef}
.reference-site .ks-media-image img{display:block;width:100%;height:100%;object-fit:cover}
.reference-site .ks-media-caption{display:flex;align-items:center;justify-content:center;flex:0 0 64px;padding:8px 10px;font-size:13px;font-weight:600;line-height:1.8;text-align:center}
.reference-site .ks-media-feature .ks-media-caption{flex-basis:58px;font-size:16px;font-weight:700}
.reference-site .ks-media-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;width:34px;height:34px;border:1px solid #ffffffcf;border-radius:50%;background:#1c513dd9;color:#fff;font-size:14px;padding-left:2px;box-shadow:0 3px 12px #0002}
.reference-site .ks-media-feature .ks-media-play{width:48px;height:48px;font-size:19px}
.reference-site .ks-media-card:hover{border-color:#8eb49b;box-shadow:0 5px 18px #173b2712;color:#20583b;text-decoration:none}
.reference-site .ks-media-card:focus-visible{outline:2px solid #286047;outline-offset:3px}
@media(max-width:991px){.reference-site .ks-media-columns{gap:20px}.reference-site .ks-media-caption{font-size:12px;padding-inline:6px}}
@media(max-width:767px){.reference-site .ks-media-columns{grid-template-columns:minmax(0,1fr);gap:30px}.reference-site .ks-media-pair{padding-block:28px}.reference-site .ks-media-cards{grid-template-rows:238px 168px;gap:10px}.reference-site .ks-media-caption{flex-basis:76px}.reference-site .ks-media-feature .ks-media-caption{font-size:15px;flex-basis:58px}}
@media(prefers-reduced-motion:reduce){.reference-site .ks-media-card{transition:none}}

/* Compact footer with animated official-portal tiles. */
.reference-site .footer.ks-site-footer{box-sizing:border-box;height:281.28125px;padding:26px 0;background:linear-gradient(135deg,#123c2d,#092a20);color:#edf5f0;border-top:1px solid #24503c}
.reference-site .ks-footer-grid{display:grid;grid-template-columns:minmax(0,2.1fr) minmax(0,1fr) 125px;gap:30px;align-items:center;height:100%;direction:rtl}
.reference-site .ks-footer-grid::before,.reference-site .ks-footer-grid::after{display:none}
.reference-site .ks-footer-kicker{color:#aaca98;font-size:12px}
.reference-site .ks-site-footer h2{font-size:18px;font-weight:700;line-height:1.7;color:#fff;margin:3px 0 15px}
.reference-site .ks-footer-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.reference-site .ks-footer-portal{display:grid;grid-template-columns:36px minmax(0,1fr) 16px;align-items:center;gap:10px;padding:11px;border:1px solid #ffffff24;border-radius:12px;background:#ffffff09;color:#fff;text-decoration:none;transition:border-color .25s ease,background-color .25s ease,transform .25s ease,box-shadow .25s ease}
.reference-site .ks-footer-portal:hover{border-color:#9ecb85;background:#a8d38715;transform:translateY(-3px);box-shadow:0 8px 20px #0002;color:#fff;text-decoration:none}
.reference-site .ks-footer-icon{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:10px;background:#a8d3871c;color:#b7d99f;transition:background-color .25s ease,color .25s ease,transform .25s ease}
.reference-site .ks-footer-icon svg{width:21px;height:21px}
.reference-site .ks-footer-portal:hover .ks-footer-icon{background:#a8cd8e;color:#123c2d;transform:scale(1.06) rotate(-4deg)}
.reference-site .ks-footer-link-text{display:grid;gap:3px;min-width:0}
.reference-site .ks-footer-link-text strong{font-size:12px;font-weight:600;line-height:1.7}
.reference-site .ks-footer-link-text>span{font-size:11px;color:#bfd0c6;text-align:right}
.reference-site .ks-footer-arrow{color:#afc5b7;font-size:19px;transition:transform .25s ease,color .25s ease}
.reference-site .ks-footer-portal:hover .ks-footer-arrow{transform:translate(-2px,-2px);color:#fff}
.reference-site .ks-footer-statistics dl{margin:0;display:grid;gap:12px}
.reference-site .ks-footer-statistics dl>div{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-bottom:8px;border-bottom:1px solid #ffffff17}
.reference-site .ks-footer-statistics dt{font-size:13px;color:#c6d6cc;font-weight:400}
.reference-site .ks-footer-statistics dd{margin:0;color:#eef7e8;font-size:15px;font-weight:700}
.reference-site .ks-footer-trust{padding:8px;background:#f4f8f4;border-radius:14px;text-align:center}
.reference-site .ks-footer-trust img{display:block;width:100%;height:auto;max-height:136px;object-fit:contain}
.reference-site .copyright.ks-footer-bottom{box-sizing:border-box;height:42.5625px;padding:0;background:#08261d;color:#c5d5ca;border-top:1px solid #ffffff17}
.reference-site .ks-footer-bottom-inner{height:100%;display:flex;align-items:center;justify-content:space-between;gap:14px}
.reference-site .ks-footer-bottom-inner::before,.reference-site .ks-footer-bottom-inner::after{display:none}
.reference-site .ks-footer-bottom p{margin:0;font-size:12px;line-height:1.8}
.reference-site .ks-footer-top{display:flex;align-items:center;justify-content:center;width:44px;height:38px;flex:0 0 44px;border:1px solid #ffffff30;border-radius:10px;background:#ffffff0c;color:#fff;cursor:pointer;transition:background .2s ease,transform .2s ease}
.reference-site .ks-footer-top svg{width:22px;height:22px}
.reference-site .ks-footer-top:hover{background:#719d52;transform:translateY(-2px)}
.reference-site :is(.ks-site-footer,.ks-footer-bottom) :is(a,button):focus-visible{outline:2px solid #c1e6a4;outline-offset:3px}
@media(max-width:991px) and (min-width:768px){.reference-site .ks-footer-grid{gap:16px;grid-template-columns:minmax(0,2fr) minmax(0,1fr) 90px}.reference-site .ks-footer-portal{grid-template-columns:minmax(0,1fr) 16px}.reference-site .ks-footer-icon{display:none}}
@media(max-width:767px){.reference-site .footer.ks-site-footer{height:718.125px;padding:26px 0}.reference-site .ks-footer-grid{grid-template-columns:minmax(0,1fr);gap:24px;align-content:space-between}.reference-site .ks-footer-portal{grid-template-columns:30px minmax(0,1fr);gap:8px;padding:10px}.reference-site .ks-footer-icon{width:30px;height:34px}.reference-site .ks-footer-arrow{display:none}.reference-site .ks-footer-links{gap:10px}.reference-site .ks-footer-statistics dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.reference-site .ks-footer-statistics dl>div{flex-direction:column;align-items:flex-start;gap:6px}.reference-site .ks-footer-trust{width:110px;justify-self:center}.reference-site .copyright.ks-footer-bottom{height:61.125px}.reference-site .ks-footer-bottom p{font-size:11px}.reference-site .ks-footer-top{height:44px}}
@media(prefers-reduced-motion:reduce){.reference-site :is(.ks-footer-portal,.ks-footer-icon,.ks-footer-arrow,.ks-footer-top){transition:none}.reference-site .ks-footer-portal:hover,.reference-site .ks-footer-portal:hover .ks-footer-icon,.reference-site .ks-footer-portal:hover .ks-footer-arrow,.reference-site .ks-footer-top:hover{transform:none}}

/* Small trust seal and compact visitor details within the existing footer. */
.reference-site .ks-footer-trust{width:68px;justify-self:center;padding:0;background:transparent;border-radius:0}
.reference-site .ks-footer-trust a{display:block;border:1px solid #ffffff24;border-radius:11px;padding:5px;background:#ffffff0a;transition:border-color .2s ease,transform .2s ease}
.reference-site .ks-footer-trust a:hover{border-color:#ffffff60;transform:translateY(-2px)}
.reference-site .ks-footer-trust img{width:56px;height:66px;max-height:66px;object-fit:contain}
.reference-site .ks-footer-top{width:32px;height:32px;flex-basis:32px;border-radius:50%;background:#ffffff0a}
.reference-site .ks-footer-top svg{width:18px;height:18px}
.reference-site .ks-footer-statistics dl{gap:5px}
.reference-site .ks-footer-statistics dl>div{padding-bottom:5px;gap:10px}
.reference-site .ks-footer-statistics dd{font-size:13px;min-width:0;overflow-wrap:anywhere}
.reference-site #ks-visitor-browser,.reference-site #ks-visitor-ip{display:block;font-size:12px;font-weight:500;line-height:1.6}
@media(max-width:767px){.reference-site .ks-footer-statistics dl{gap:12px}.reference-site .ks-footer-statistics dl>div{gap:5px}.reference-site .ks-footer-top{width:36px;height:36px;flex-basis:36px}}
@media(prefers-reduced-motion:reduce){.reference-site .ks-footer-trust a{transition:none}.reference-site .ks-footer-trust a:hover{transform:none}}
.reference-site .ks-footer-trust img{position:static!important;float:none!important;margin:0 auto!important;transform:none!important}
.reference-site .ks-footer-trust img{width:56px!important;max-width:100%!important;height:66px!important}

/* Organization overview */
.reference-site .ks-org { padding: 12px 24px 24px; color: #344e43; font-size: 17px; line-height: 1.95; }
.ks-org-intro { max-width: 760px; margin: 12px auto 32px; text-align: center; }
.ks-org-eyebrow { color: #52745d; font-size: 15px; font-weight: 700; }
.reference-site .ks-org h1 { font-size: clamp(24px, 3vw, 32px); line-height: 1.65; color: #195c3d; margin: 8px 0 12px; }
.reference-site .ks-org h2 { font-size: 23px; line-height: 1.7; color: #195c3d; margin: 4px 0; }
.ks-org-root { position: relative; max-width: 520px; margin: 0 auto 48px; padding: 22px; border-radius: 20px; text-align: center; background: #195c3d; color: #fff; box-shadow: 0 10px 24px #195c3d14; }
.reference-site .ks-org-root h2 { color: #fff; font-size: 28px; }
.ks-org-root p { margin: 6px 0 0; color: #e2efdc; font-size: 15px; }
.ks-org-root::after { content: ''; position: absolute; top: 100%; right: 50%; height: 25px; border-right: 2px solid #c8dccc; }
.ks-org-bodies { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.ks-org-bodies::before { content: ''; position: absolute; inset: -24px 12% auto; border-top: 2px solid #c8dccc; }
.ks-org-card { position: relative; display: flex; flex-direction: column; padding: 22px 20px 14px; border: 1px solid #dce7df; border-radius: 18px; background: linear-gradient(155deg, #f4f8f3, #fff 65%); }
.ks-org-card::before { content: ''; position: absolute; bottom: 100%; right: 50%; height: 24px; border-right: 2px solid #c8dccc; }
.ks-org-number { width: 42px; height: 42px; display: grid; place-items: center; background: #e7f0e3; color: #265d3d; border-radius: 12px; font-weight: 700; }
.reference-site .ks-org-card h3 { margin: 16px 0 2px; font-size: 21px; line-height: 1.7; color: #195c3d; }
.ks-org-card .ks-org-caption { font-size: 15px; font-weight: 700; color: #58725e; margin-bottom: 14px; }
.ks-org-card > a { margin-top: auto; border-top: 1px solid #e1eae3; padding: 12px 0 0; min-height: 44px; display: flex; justify-content: space-between; gap: 8px; font-weight: 700; font-size: 15px; color: #195c3d; }
.ks-org-board { margin-top: 34px; padding: 26px; border-radius: 20px; background: #f1f6f2; border: 1px solid #e0e9e1; }
.ks-org-section-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 12px; }
.ks-org-button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 48px; padding: 8px 18px; background: #195c3d; color: #fff !important; border-radius: 12px; font-weight: 700; }
.ks-org-roles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; list-style: none; padding: 0; margin: 20px 0; }
.ks-org-roles li { display: flex; flex-direction: column; gap: 4px; background: #fff; border: 1px solid #dce7df; border-radius: 14px; text-align: center; padding: 16px 10px; }
.ks-org-roles span { color: #617267; font-size: 16px; }
.ks-org-note { margin-bottom: 0; }
.ks-org-note a, .ks-org-source a { color: #195c3d; text-decoration: underline; text-underline-offset: 4px; }
.ks-org-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 24px 0; }
.ks-org-links > a { display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 1px solid #dce7df; padding: 18px 22px; border-radius: 16px; color: #195c3d; }
.ks-org-links strong, .ks-org-links small { display: block; }
.ks-org-links small { font-size: 16px; color: #5e7166; margin-top: 4px; }
.ks-org a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ks-org a:focus-visible { outline: 3px solid #7b9e43; outline-offset: 4px; }
.ks-org-source { padding-top: 18px; border-top: 1px solid #e0e9e1; color: #617267; font-size: 15px; margin: 0; }
@media (max-width: 1100px) {
  .ks-org-bodies { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ks-org-bodies::before, .ks-org-card::before, .ks-org-root::after { display: none; }
  .ks-org-root { margin-bottom: 24px; }
}
@media (max-width: 600px) {
  .reference-site .ks-org { padding: 8px 4px 18px; }
  .ks-org-bodies, .ks-org-links { grid-template-columns: 1fr; }
  .ks-org-roles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ks-org-board { padding: 20px 16px; }
  .ks-org-section-heading { align-items: stretch; flex-direction: column; gap: 12px; }
  .reference-site .ks-org h2 { font-size: 22px; }
}

/* Accessible tariff calculator */
.reference-site .ks-wage { padding-top: 30px; padding-bottom: 36px; font-size: 17px; line-height: 1.9; color: #345244; }
.ks-wage [hidden] { display: none !important; }
.ks-wage-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 26px; }
.ks-wage-badge { display: inline-block; padding: 4px 14px; background: #eaf2e5; color: #285c3e; border-radius: 30px; font-size: 15px; font-weight: 700; }
.reference-site .ks-wage h1 { font-size: clamp(26px, 3vw, 34px); line-height: 1.6; margin: 10px 0; color: #195c3d; }
.reference-site .ks-wage h2 { font-size: 22px; line-height: 1.7; margin: 0 0 18px; color: #195c3d; }
.ks-wage-source { color: #195c3d; font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }
.ks-wage-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 26px; }
.ks-wage-form, .ks-wage-output { padding: 28px; border: 1px solid #d8e5dc; border-radius: 22px; background: #fff; }
.ks-wage-form { box-shadow: 0 8px 28px #163e2708; }
.ks-wage-form label { display: block; font-size: 17px; font-weight: 700; margin: 18px 0 8px; }
.reference-site .ks-wage select, .reference-site .ks-wage input { width: 100%; height: 56px; border: 1px solid #b5cbbd; border-radius: 12px; background-color: #fff; color: #254b38; font: inherit; padding: 10px 14px; box-sizing: border-box; }
.reference-site .ks-wage select { padding-inline-end: 35px; }
.ks-wage-amount { position: relative; }
.reference-site .ks-wage-amount input { padding-inline-end: 70px; direction: ltr; text-align: right; padding-left: 70px; padding-right: 14px; font-size: 21px; }
.ks-wage-amount > span { position: absolute; left: 15px; top: 12px; color: #5c7667; }
.ks-wage-form p { font-size: 15px; margin: 9px 0; }
#ks-wage-error { color: #a22222; font-weight: 700; }
.ks-wage input[aria-invalid="true"] { border-color: #a22222; }
.reference-site .ks-wage button { font: inherit; font-weight: 700; min-height: 50px; padding: 10px 22px; border-radius: 12px; border: 1px solid #195c3d; cursor: pointer; }
.ks-wage-calculate { width: 100%; background: #195c3d; color: #fff; margin-top: 16px; }
.ks-wage-calculate:hover { background: #11492e; }
.ks-wage-date { color: #5c7165; padding-top: 14px; }
.ks-wage-output { background: #f2f7f3; display: flex; align-items: center; }
.ks-wage-output > div { width: 100%; }
#ks-wage-empty { text-align: center; padding: 30px 8px; }
.ks-wage-empty-icon { display: grid; place-items: center; margin: 0 auto 22px; width: 64px; height: 64px; background: #e1eddb; border-radius: 18px; font-size: 36px; color: #397045; }
.ks-wage-total { display: flex; flex-direction: column; background: #195c3d; color: white; border-radius: 16px; padding: 22px; gap: 6px; margin: 18px 0; }
.ks-wage-total strong { font-size: clamp(24px, 2.7vw, 32px); overflow-wrap: anywhere; }
.ks-wage-total small { color: #e0eedb; font-size: 16px; }
.ks-wage-panel strong { display: block; font-size: 23px; color: #195c3d; margin: 6px 0; }
.ks-wage-panel p, #ks-wage-cap { font-size: 15px; }
#ks-wage-cap { padding-top: 12px; border-top: 1px solid #d7e5da; }
#ks-wage-print { background: #fff; color: #195c3d; margin-top: 10px; }
.ks-wage-input-summary strong { display: block; }
#ks-wage-breakdown { margin-top: 30px; }
.ks-wage-table-wrap { overflow-x: auto; border: 1px solid #d8e5dc; border-radius: 14px; }
.ks-wage table { width: 100%; border-collapse: collapse; font-size: 16px; background: #fff; }
.ks-wage caption { text-align: right; padding: 14px; color: #526c5c; }
.ks-wage th { background: #215c42; color: #fff; }
.ks-wage td, .ks-wage th { padding: 14px 16px; text-align: right; border-bottom: 1px solid #e2ebe4; }
.ks-wage tbody tr:nth-child(even) { background: #f2f7f3; }
.ks-wage-notes { margin-top: 28px; padding: 24px; background: #f6f8f4; border-inline-start: 4px solid #93b964; border-radius: 14px; }
.ks-wage-notes ul { margin: 0; padding-inline-start: 22px; }
.ks-wage-notes li + li { margin-top: 10px; }
.ks-wage :is(input, select, button, a, [tabindex]):focus-visible { outline: 3px solid #8cab57; outline-offset: 3px; }
@media (max-width: 767px) {
  .ks-wage-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .ks-wage-layout { grid-template-columns: 1fr; gap: 18px; }
  .ks-wage-form, .ks-wage-output { padding: 22px 18px; }
  .ks-wage table { min-width: 650px; }
}
/* A separate summary table keeps the screen cards and printed report readable. */
.ks-wage-print-brand, .ks-wage-print-summary { display: none; }
@page wage-report { size: A4 portrait; margin: 12mm; }
@media print {
  .reference-site .ks-brand-header, .reference-site .mymenu, .reference-site .footer, .reference-site .copyright, .reference-site .skip-link, .ks-wage-form, #ks-wage-print, .ks-wage-source { display: none !important; }
  .reference-site .ks-wage { page: wage-report; width: 100%; max-width: none; padding: 0; margin: 0; color: #172d21; font-size: 11pt; line-height: 1.55; }
  .ks-wage-print-brand { display: block; text-align: center; margin: 0 0 3mm; }
  .ks-wage-print-brand img { display: inline-block; width: 105mm; height: auto; max-height: 22mm; object-fit: contain; }
  .ks-wage-heading { display: block; text-align: center; margin: 0 0 4mm; }
  .ks-wage-badge { padding: 0; background: none; font-size: 10pt; }
  .reference-site .ks-wage h1 { font-size: 17pt; margin: 1mm 0; line-height: 1.5; }
  .ks-wage-heading p { display: none; }
  .reference-site .ks-wage h2 { font-size: 12pt; line-height: 1.5; margin: 0 0 2mm; }
  .ks-wage-layout { display: block; }
  .ks-wage-output { display: block; border: 0; border-radius: 0; background: none; padding: 0; }
  #ks-wage-result { display: flex; flex-direction: column; }
  #ks-wage-result-context { order: -1; text-align: center; margin: 0 0 3mm; font-size: 11pt; }
  #ks-wage-result > h2, .ks-wage-input-summary, .ks-wage-total, .ks-wage-panel > span, .ks-wage-panel > strong { display: none; }
  .ks-wage .ks-wage-print-summary { display: table; width: 100%; margin: 0 0 3mm; table-layout: fixed; border: 1pt solid #4e7761; }
  .ks-wage .ks-wage-print-summary th, .ks-wage .ks-wage-print-summary td { width: 50%; padding: 1.5mm 3mm; border: 0.6pt solid #729a80; text-align: center; font-size: 12pt; line-height: 1.5; color: #172d21; background: none; }
  .ks-wage .ks-wage-print-summary td { font-weight: 700; font-size: 13pt; }
  .ks-wage-panel p, #ks-wage-cap { font-size: 10pt; margin: 1mm 0; padding: 0; border: 0; }
  #ks-wage-breakdown { margin-top: 4mm; }
  .ks-wage-table-wrap { overflow: visible; border-radius: 0; border: 0.6pt solid #729a80; }
  .ks-wage table { min-width: 0; font-size: 9pt; width: 100%; }
  .ks-wage caption { padding: 1.5mm 2mm; font-size: 9pt; line-height: 1.5; color: #333; }
  .ks-wage th { background: #eff4ee; color: #172d21; }
  .ks-wage td, .ks-wage th { padding: 0.7mm 2mm; border-bottom: 0.5pt solid #bbcbbb; line-height: 1.5; }
  #ks-wage-breakdown > p { font-size: 9pt; margin: 1.5mm 0 0; }
  .ks-wage-notes { margin-top: 4mm; padding: 3mm; border: 0.6pt solid #b6c9b8; border-radius: 0; background: none; font-size: 10pt; line-height: 1.45; }
  .ks-wage-notes ul { padding-inline-start: 5mm; }
  .ks-wage-notes li + li { margin-top: 1mm; }
  .ks-wage tr, .ks-wage-notes, .ks-wage-print-brand { break-inside: avoid; }
  .ks-wage a::after { content: none !important; }
}

.ks-wage-form #ks-wage-input-toman { color: #195c3d; font-size: 17px; font-weight: 700; margin: 10px 0 4px; overflow-wrap: anywhere; }
.ks-wage-form #ks-wage-input-toman:empty { display: none; }

.ks-wage-options { border: 1px solid #cedfd2; border-radius: 12px; margin: 20px 0; background: #f8faf7; }
.ks-wage-options summary { cursor: pointer; padding: 14px; color: #195c3d; font-weight: 700; }
.ks-wage-options summary span { font-size: 14px; font-weight: 400; margin-inline-start: 8px; }
.ks-wage-options section { padding: 16px; border-top: 1px solid #dbe7dd; }
.reference-site .ks-wage h3 { font-size: 18px; color: #195c3d; margin: 6px 0 12px; line-height: 1.7; }
.ks-wage-options .ks-wage-cost-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.ks-wage-form .ks-wage-cost-grid label { font-size: 15px; }
.reference-site .ks-wage-options select { font-size: 15px; }
.ks-wage-options button { background: #fff; color: #195c3d; }
.ks-wage-options button:disabled { opacity: .55; cursor: default; }
.ks-wage-subject { padding: 12px; margin: 16px 0; border: 1px solid #cbdccf; border-radius: 10px; background: #fff; min-width: 0; }
.ks-wage-subject legend { font-size: 16px; width: auto; border: 0; padding: 0 7px; margin: 0; }
.ks-wage-subject .ks-wage-remove { min-height: 44px; font-size: 15px; padding: 6px 16px; }
.ks-subject-toman { color: #195c3d; font-weight: 700; overflow-wrap: anywhere; }
.ks-wage-layout { align-items: start; }
#ks-wage-expense-result { border-top: 1px solid #cbdccf; padding-top: 16px; margin-top: 16px; }
#ks-wage-expense-result dl { margin: 0; }
#ks-wage-expense-result dl > div { padding: 9px 0; }
#ks-wage-expense-result dt { font-weight: 400; font-size: 15px; }
#ks-wage-expense-result dd { font-weight: 700; color: #195c3d; font-size: 21px; margin: 4px 0; }
#ks-wage-adjustments { margin-top: 28px; }
#ks-wage-adjustments p { font-size: 15px; margin-top: 12px; }
@media(max-width: 480px) { .ks-wage-options .ks-wage-cost-grid { grid-template-columns: 1fr; } }
@media print {
  #ks-wage-expense-result { display: none !important; }
  .ks-wage-has-adjustments #ks-wage-breakdown { display: none !important; }
  #ks-wage-adjustments { margin-top: 3mm; }
  #ks-wage-adjustments p { font-size: 9pt; line-height: 1.45; margin: 2mm 0; }
  #ks-wage-adjustments table { table-layout: fixed; }
  #ks-wage-adjustments th:first-child { width: 34%; }
  #ks-wage-adjustments td { overflow-wrap: anywhere; }
  .ks-wage-print-summary #ks-wage-print-totals { font-size: 11pt; }
}
.ks-wage-rule-print { display: none; }
@media print {
  .ks-wage-rule-full { display: none; }
  .ks-wage-rule-print { display: inline; }
  .ks-wage-has-adjustments .ks-wage-print-brand { margin-bottom: 1mm; }
  .ks-wage-has-adjustments .ks-wage-print-brand img { width: 85mm; max-height: 18mm; }
  .reference-site .ks-wage-has-adjustments h1 { font-size: 15pt; }
  .ks-wage-has-adjustments .ks-wage-print-summary th, .ks-wage-has-adjustments .ks-wage-print-summary td { font-size: 10.5pt; padding: 1mm 2mm; line-height: 1.4; }
  .ks-wage-has-adjustments .ks-wage-print-summary td { font-size: 12pt; }
  .ks-wage-has-adjustments .ks-wage-print-summary #ks-wage-print-totals { font-size: 10pt; }
  .ks-wage-has-adjustments .ks-wage-notes { margin-top: 2mm; font-size: 9.5pt; padding: 2mm; }
}

.ks-wage-options > summary { display: flex; align-items: center; gap: 8px; min-height: 56px; list-style: none; border-radius: 11px; transition: background-color .18s ease, color .18s ease, box-shadow .18s ease; }
.ks-wage-options > summary::-webkit-details-marker { display: none; }
.ks-wage-options > summary::after { content: ''; margin-inline-start: auto; flex: 0 0 28px; width: 28px; height: 28px; box-sizing: border-box; border: 1px solid currentColor; border-radius: 50%; background-image: linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor); background-size: 12px 2px, 2px 12px; background-position: center; background-repeat: no-repeat; }
.ks-wage-options:not([open]) { border-color: #195c3d; box-shadow: 0 3px 10px #195c3d14; }
.ks-wage-options:not([open]) > summary { background: #e9f2e9; color: #174d34; }
.ks-wage-options:not([open]) > summary:hover { background: #195c3d; color: #fff; box-shadow: 0 5px 14px #195c3d26; }
.ks-wage-options > summary:focus-visible { outline: 3px solid #8cab57; outline-offset: 4px; }
.ks-wage-options[open] > summary::after { background-size: 12px 2px, 0 0; }
@media(prefers-reduced-motion:reduce) { .ks-wage-options > summary { transition: none; } }

/* Gentle zoom-out and crossfade timing follow the reference hero. */
.reference-site .myslider .file1 img.ks-hero-zoom { transform-origin: center; animation: ks-hero-zoom 7.5s cubic-bezier(.22,.8,.26,.99) both; }
@keyframes ks-hero-zoom { from { transform: scale(1.07); } to { transform: scale(1); } }
@media(prefers-reduced-motion:reduce) { .reference-site .myslider .file1 img.ks-hero-zoom { animation: none; transform: none; } }

/* Landing-page interactions, matching the reference site's light and motion. */
.home.reference-site { --ks-hover-ease: cubic-bezier(.22,.8,.26,.99); }
.home.reference-site .myaccess.ks-services { background: url("../images/services-pattern.svg?v=2") repeat,radial-gradient(ellipse at 85% 0%,#2a6647 0%,transparent 55%),linear-gradient(120deg,#0d3225,#174b35); border-bottom-color: #285b40; }
.home.reference-site .ks-service-card { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(145deg,#ffffff12,#ffffff05); border-color: #ffffff30; color: #f4f8f2; box-shadow: 0 5px 16px #061d1814; }
.home.reference-site .ks-service-icon { background: none; border: 0; border-radius: 0; box-shadow: none; transition: transform .4s var(--ks-hover-ease); }
.home.reference-site .ks-service-icon img { width: 56px; height: 56px; }
.home.reference-site .ks-service-arrow { display: grid; place-items: center; width: 28px; height: 28px; margin: -4px 0; border: 1px solid #c5e6b54a; border-radius: 50%; color: #c5e6b5; transition: transform .35s var(--ks-hover-ease),background-color .3s ease; }
.home.reference-site .ks-service-card:focus-visible { outline: 3px solid #d3efb6; outline-offset: 4px; }
.home.reference-site :is(.ks-header-card,.ks-service-card,.ks-news-card,.ks-media-card,.ks-footer-portal) { position: relative; isolation: isolate; transition: transform .35s var(--ks-hover-ease),box-shadow .35s var(--ks-hover-ease),border-color .3s ease,background-color .3s ease; }
.home.reference-site :is(.ks-header-card,.ks-service-card,.ks-news-card,.ks-media-card,.ks-footer-portal)::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(250px circle at var(--ks-mx,50%) var(--ks-my,40%),#a4ce7b26,transparent 70%); opacity: 0; pointer-events: none; z-index: 1; transition: opacity .35s ease; }
.home.reference-site .ks-service-card::before { z-index: -1; background: radial-gradient(180px circle at var(--ks-mx,75%) var(--ks-my,20%),#97c7771c,transparent 75%),linear-gradient(145deg,#285c42 0%,#123b2d 48%,#061f19 100%); transition: opacity .4s var(--ks-hover-ease); }
.home.reference-site :is(.ks-header-card,.ks-service-card,.ks-news-card,.ks-media-card,.ks-footer-portal)::after { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: radial-gradient(220px circle at var(--ks-mx,50%) var(--ks-my,20%),#c5e8a6,#6eac7044 55%,transparent 85%); -webkit-mask: linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0); mask-composite: exclude; opacity: 0; pointer-events: none; z-index: 2; transition: opacity .3s ease; }
.home.reference-site .ks-header-card svg { transition: transform .35s var(--ks-hover-ease); }
.home.reference-site .ks-media-image img { transition: transform .7s var(--ks-hover-ease); }
.home.reference-site .ks-news-feature img { transition: transform .7s var(--ks-hover-ease); transform-origin: center bottom; }
.home.reference-site .ks-news-feature .ks-news-title { position: relative; z-index: 1; background: #f5f9f6; }
.home.reference-site .ks-media-play { transition: transform .4s var(--ks-hover-ease),background-color .3s ease,box-shadow .3s ease; }
.home.reference-site .ks-news-more { position: relative; overflow: hidden; isolation: isolate; transition: transform .3s var(--ks-hover-ease),box-shadow .3s ease; }
.home.reference-site .ks-news-more::before { content: ''; position: absolute; top: -40%; bottom: -40%; left: -65%; width: 45%; background: linear-gradient(90deg,transparent,#ffffff50,transparent); transform: skewX(-20deg); pointer-events: none; transition: left .65s var(--ks-hover-ease); }
.home.reference-site .ks-news-tabs a::before { content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: #8fbd68; transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ks-hover-ease); }
@media(hover:hover) and (pointer:fine) {
  .home.reference-site :is(.ks-header-card,.ks-service-card,.ks-news-card,.ks-media-card,.ks-footer-portal):hover::before,
  .home.reference-site :is(.ks-header-card,.ks-service-card,.ks-news-card,.ks-media-card,.ks-footer-portal):hover::after { opacity: 1; }
  .home.reference-site .ks-service-card:hover { transform: translateY(-6px); color: #fff; border-color: #bfdf9c80; box-shadow: 0 14px 28px #031d2552,inset 0 1px 0 #e4f4d51a; }
  .home.reference-site .ks-service-card:hover .ks-service-icon { transform: translateY(-2px) scale(1.04); background: none; box-shadow: none; }
  .home.reference-site .ks-service-card:hover .ks-service-arrow { transform: translateX(-5px); background-color: #ffffff14; }
  .home.reference-site .ks-header-card:hover svg { transform: scale(1.13) rotate(-7deg); }
  .home.reference-site .ks-news-list .ks-news-card:hover { transform: none; border-color: #8bb397; box-shadow: inset 0 0 0 1px #8bb39726; }
  .home.reference-site .ks-news-feature:hover img,.home.reference-site .ks-media-card:hover img { transform: scale(1.055); }
  .home.reference-site .ks-media-card:hover { transform: translateY(-4px); border-color: #8bb397; box-shadow: 0 12px 24px #173b2720; }
  .home.reference-site .ks-media-card:hover .ks-media-play { transform: translate(-50%,-50%) scale(1.12); background: #195c3d; box-shadow: 0 0 0 7px #ffffff30; }
  .home.reference-site .ks-news-more:hover { transform: translateY(-2px); box-shadow: 0 6px 16px #986b2526; }
  .home.reference-site .ks-news-more:hover::before { left: 120%; }
  .home.reference-site .ks-news-tabs a:hover::before { transform: scaleX(1); }
}
@media(prefers-reduced-motion:reduce) {
  .home.reference-site :is(.ks-header-card,.ks-service-card,.ks-news-card,.ks-media-card,.ks-footer-portal,.ks-service-icon,.ks-service-arrow,.ks-media-play,.ks-news-more,.ks-news-tabs a)::before,
  .home.reference-site :is(.ks-header-card,.ks-service-card,.ks-news-card,.ks-media-card,.ks-footer-portal,.ks-news-more)::after,
  .home.reference-site :is(.ks-header-card,.ks-service-card,.ks-news-card,.ks-media-card,.ks-footer-portal,.ks-service-icon,.ks-service-arrow,.ks-media-play,.ks-news-more,.ks-header-card svg,.ks-media-image img,.ks-news-feature img) { transition: none; }
  .home.reference-site :is(.ks-header-card,.ks-service-card,.ks-news-card,.ks-media-card,.ks-footer-portal,.ks-news-more):hover,
  .home.reference-site .ks-service-card:hover :is(.ks-service-icon,.ks-service-arrow),
  .home.reference-site .ks-header-card:hover svg,.home.reference-site .ks-media-card:hover img,.home.reference-site .ks-news-feature:hover img { transform: none; }
  .home.reference-site .ks-media-card:hover .ks-media-play { transform: translate(-50%,-50%); }
  .home.reference-site .ks-news-more::before { display: none; }
}

/* Draw the service arrow independently of Persian font metrics. */
.home.reference-site .ks-service-arrow { font-size: 0; flex-shrink: 0; }
.home.reference-site .ks-service-arrow::before { content: ''; display: block; width: 18px; height: 18px; background: currentColor; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 12H5m6-6-6 6 6 6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
@media(max-width:575px) { .home.reference-site .ks-service-icon img { width: 50px; height: 50px; } }

.reference-site .ks-news-feature .ks-news-brand-placeholder { display:flex; align-items:center; justify-content:center; padding:28px; background:radial-gradient(ellipse at top right,#dcebd9,transparent 70%),linear-gradient(135deg,#f5f8f2,#e3eee7); }
.reference-site .ks-news-feature .ks-news-brand-placeholder img { width:100%; max-width:380px; height:auto; max-height:100%; flex:0 1 auto; object-fit:contain; border-radius:0; background:transparent; transform:none; }

.reference-site #ks-media-title-0 { --ks-gallery-heading-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%223%22%20width%3D%2218%22%20height%3D%2218%22%20rx%3D%224%22%2F%3E%3Ccircle%20cx%3D%228.5%22%20cy%3D%228.5%22%20r%3D%221.5%22%2F%3E%3Cpath%20d%3D%22m3%2016%205-5%205%205%203-3%205%205%22%2F%3E%3C%2Fsvg%3E"); }

.reference-site #ks-media-title-1 { --ks-gallery-heading-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%223%22%20width%3D%2218%22%20height%3D%2218%22%20rx%3D%224%22%2F%3E%3Cpath%20d%3D%22m10%208%206%204-6%204Z%22%2F%3E%3C%2Fsvg%3E"); }
@media(max-width:767px){.reference-site .ks-media-section h2{font-size:23px}}

.reference-site .shownews5titr .ks-news-published{display:flex;align-items:center;gap:10px;margin-top:10px;padding-top:9px;border-top:1px solid #28604714;color:#597260;font-size:13px;font-weight:500;line-height:1.8;letter-spacing:0}
.reference-site .ks-news-published bdi{font-variant-numeric:tabular-nums;font-weight:600;color:#345f46}

.reference-site .ks-news-article{float:none!important;width:100%!important;max-width:1040px;margin-inline:auto;padding:0 12px!important}
.reference-site .ks-news-article .ks-news-lead-image{display:flex;justify-content:center;align-items:center;clear:both;aspect-ratio:16/9;margin:0 auto 30px;padding:0;border:1px solid #dce8df;border-radius:18px;background:linear-gradient(145deg,#f2f6f3,#fafcf9);overflow:hidden;box-shadow:0 8px 24px #173b2708}
.reference-site .ks-news-article .ks-news-lead-image img{display:block;float:none!important;width:100%!important;max-width:100%!important;height:100%!important;max-height:none;object-fit:cover;object-position:center;margin:0!important;border-radius:0}
.reference-site .ks-news-article .shownews5comment{max-width:860px;margin:0 auto!important;padding:0!important;font-size:18px;line-height:2.1;color:#35493e;overflow-wrap:anywhere}
.reference-site .ks-news-article .shownews5comment :is(p,div,span){font-family:inherit!important;font-size:inherit!important;line-height:inherit!important}
.reference-site .ks-news-article .shownews5comment p{margin:0 0 20px}
.reference-site .ks-news-article .shownews5comment img{display:block;float:none!important;max-width:100%!important;height:auto!important;max-height:680px;object-fit:contain;margin:24px auto!important;border-radius:12px}
@media(max-width:767px){.reference-site .ks-news-article{padding:0!important}.reference-site .ks-news-article .ks-news-lead-image{padding:0;border-radius:12px;margin-bottom:22px}.reference-site .ks-news-article .ks-news-lead-image img{max-height:none}.reference-site .ks-news-article .shownews5comment{font-size:17px;line-height:2}}

.reference-site .ks-news-article .ks-news-lead-image>a{display:block;width:100%;height:100%}

.reference-site .ks-gallery-modern{max-width:1180px;margin:auto;padding:40px 24px 60px;color:#244c38}
.reference-site .ks-gallery-intro{padding:0 0 28px;margin-bottom:0;text-align:right}
.reference-site .ks-gallery-eyebrow{display:inline-block;border-inline-start:4px solid #91b765;padding-inline-start:12px;color:#52754d;font-size:17px;font-weight:700;margin-bottom:12px}
.reference-site .ks-gallery-intro h1{margin:0 0 12px;font-size:clamp(24px,3vw,34px);font-weight:800;line-height:1.7;color:#173e2e}
.reference-site .ks-gallery-intro p{margin:0;color:#63796a;font-size:14px}.reference-site .ks-gallery-intro bdi{margin-inline-start:10px}
.reference-site .ks-photo-viewer{background:#fff;border:1px solid #dae5dd;border-radius:24px;overflow:hidden;box-shadow:0 16px 45px #163c260b}
.reference-site .ks-photo-stage{position:relative;aspect-ratio:16/9;background:radial-gradient(ellipse at center,#214b39,#071d17);display:flex;align-items:center;justify-content:center}
.reference-site .ks-photo-stage>img{display:block;width:100%;height:100%;object-fit:contain;position:absolute;inset:0}
.reference-site .ks-photo-stage>button{position:absolute;top:50%;transform:translateY(-50%);width:48px;height:48px;border-radius:50%;border:1px solid #ffffff8c;background:#143c2dde;color:#fff;font:26px/1 Arial;display:grid;place-items:center;cursor:pointer;box-shadow:0 4px 12px #0003;transition:background .2s}
.reference-site .ks-photo-prev{right:18px}.reference-site .ks-photo-next{left:18px}.reference-site .ks-photo-stage>button:hover{background:#376347}
.reference-site .ks-photo-toolbar{display:flex;justify-content:space-between;align-items:center;padding:20px 24px 12px;font-size:17px}.reference-site .ks-photo-counter{font-size:15px;color:#65766a;direction:ltr}
.reference-site .ks-photo-thumbs{display:flex;gap:12px;overflow-x:auto;padding:4px 24px 22px;scrollbar-width:thin;scrollbar-color:#aac5b0 transparent}
.reference-site .ks-photo-thumbs button{flex:0 0 110px;min-width:0;aspect-ratio:4/3;padding:3px;border:2px solid transparent;border-radius:12px;background:#eff4f0;cursor:pointer}
.reference-site .ks-photo-thumbs button[aria-pressed=true]{border-color:#5c9144;background:#e2edda}.reference-site .ks-photo-thumbs img{display:block;width:100%;height:100%;object-fit:cover;border-radius:7px}
.reference-site .ks-gallery-modern :is(a,button):focus-visible{outline:3px solid #8db557;outline-offset:3px}
.reference-site .ks-video-viewer{background:#0b2119;border-radius:24px;overflow:hidden;box-shadow:0 16px 45px #163c2614}
.reference-site .ks-video-viewer video{display:block;width:100%;aspect-ratio:16/9;max-height:680px;object-fit:contain}
.reference-site .ks-album-section{margin-top:44px}.reference-site .ks-album-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.reference-site .ks-album-heading h2{margin:0;font-size:26px;font-weight:800;color:#214d36}.reference-site .ks-album-heading>span{color:#708375;font-size:14px}
.reference-site .ks-album-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.reference-site .ks-album-card{display:block;border:1px solid #dce6df;border-radius:20px;overflow:hidden;background:#fff;color:#254c36;text-decoration:none!important;box-shadow:0 6px 22px #163c2606;transition:box-shadow .25s,border-color .25s}
.reference-site .ks-album-cover{position:relative;aspect-ratio:16/10;overflow:hidden;background:#edf3ee}.reference-site .ks-album-cover img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.reference-site .ks-album-detail{padding:20px}.reference-site .ks-album-detail h3{margin:0 0 18px;font-size:18px;font-weight:700;line-height:1.9;min-height:68px;color:#254c36}.reference-site .ks-album-detail>span{display:flex;justify-content:space-between;font-size:14px;color:#65845a}
.reference-site .ks-album-play{position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:48px;height:48px;border-radius:50%;border:1px solid #fff9;background:#174c35dd;color:#fff;font-size:20px}
@media(hover:hover){.reference-site .ks-album-card:hover{box-shadow:0 12px 30px #163c2618;border-color:#9abc9d}.reference-site .ks-album-card:hover img{transform:scale(1.045)}}
@media(max-width:767px){.reference-site .ks-gallery-modern{padding:26px 16px 40px}.reference-site .ks-album-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.reference-site .ks-photo-stage{aspect-ratio:4/3}.reference-site .ks-photo-stage>button{width:44px;height:44px}.reference-site .ks-photo-prev{right:8px}.reference-site .ks-photo-next{left:8px}.reference-site .ks-photo-thumbs{padding-inline:14px;gap:8px}.reference-site .ks-photo-thumbs button{flex-basis:88px}.reference-site .ks-photo-toolbar{padding-inline:16px}.reference-site .ks-album-heading{align-items:flex-start;flex-direction:column;gap:8px}}
@media(max-width:480px){.reference-site .ks-album-grid{grid-template-columns:1fr}.reference-site .ks-album-detail h3{min-height:0}.reference-site .ks-video-viewer,.reference-site .ks-photo-viewer{border-radius:16px}}
@media(prefers-reduced-motion:reduce){.reference-site .ks-album-card,.reference-site .ks-album-cover img{transition:none}.reference-site .ks-album-card:hover img{transform:none}}

.reference-site .ks-video-viewer+.ks-video-viewer{margin-top:24px}
.reference-site .ks-album-card[aria-current="page"]{border-color:#78a45f}

.reference-site .ks-gallery-empty{padding:32px;border:1px solid #dce6df;border-radius:18px;background:#f4f8f5;color:#46634f;font-size:17px;text-align:center}

.reference-site .ks-video-carousel .ks-photo-stage>video{display:block;width:100%;height:100%;position:absolute;inset:0;object-fit:contain}
.reference-site .ks-video-carousel .ks-photo-thumbs button{position:relative}
.reference-site .ks-video-carousel .ks-photo-thumbs button>span{position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#123d2cdd;color:#fff;font-size:12px;pointer-events:none}

.reference-site .ks-expert-avatar-cell{width:84px;text-align:center!important}
.reference-site .ks-expert-avatar{display:block;width:56px;height:70px;object-fit:cover;object-position:center top;border-radius:10px;border:1px solid #d8e5dd;margin:auto;background:#edf3ef}
.reference-site .ks-expert-avatar-placeholder{display:grid;place-items:center;width:56px;height:70px;border-radius:10px;background:#edf3ef;color:#73897a;margin:auto}
.reference-site .ks-profile-back{display:inline-flex;align-items:center;gap:10px;margin:0 0 22px;padding:12px 18px;border:1px solid #cedfd2;border-radius:12px;background:#f0f6f1;color:#245d40;font-size:16px;font-weight:700;text-decoration:none;transition:background .2s,border-color .2s}
.reference-site .ks-profile-back:hover{background:#e2eedf;border-color:#8eb07b;color:#194b32}
.reference-site .ks-profile-back:focus-visible{outline:3px solid #80a85a;outline-offset:3px}
@media print{.reference-site .ks-profile-back{display:none}}
.reference-site .ks-original-directory .ks-expert-results{width:100%;margin-inline:0}
.reference-site .reference-content table.ks-expert-table{width:100%;min-width:0;table-layout:fixed}
.reference-site .reference-content table.ks-expert-table :is(th,td){min-width:0;white-space:normal;overflow-wrap:anywhere;padding:12px 8px!important;line-height:1.85}
.reference-site .ks-expert-table th:nth-child(1){width:5%}
.reference-site .ks-expert-table th:nth-child(2){width:8%}
.reference-site .ks-expert-table th:nth-child(3){width:10%}
.reference-site .ks-expert-table th:nth-child(4){width:12%}
.reference-site .ks-expert-table th:nth-child(5){width:16%}
.reference-site .ks-expert-table th:nth-child(6){width:17%}
.reference-site .ks-expert-table th:nth-child(7){width:10%}
.reference-site .ks-expert-table th:nth-child(8){width:12%}
.reference-site .ks-expert-table th:nth-child(9){width:10%}
.reference-site .reference-content table.ks-expert-table td:last-child a{min-width:0;max-width:100%;padding:7px 10px}
@media(max-width:767px){
.reference-site .reference-content table.ks-expert-table,.reference-site .ks-expert-table tbody{display:block!important;width:100%}
.reference-site .ks-expert-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.reference-site .ks-expert-table tr.ks-expert{display:grid;grid-template-columns:minmax(0,1fr);padding:16px!important;border-bottom:1px solid #dbe6df!important}
.reference-site .reference-content table.ks-expert-table td{display:flex;justify-content:space-between;align-items:center;gap:16px;width:100%;padding:8px 0!important;text-align:end!important}
.reference-site .ks-expert-table td::before{flex:0 0 90px;text-align:start;font-weight:700;color:#4c6d58}
.reference-site .ks-expert-table td:nth-child(1)::before{content:'ردیف'}
.reference-site .ks-expert-table td:nth-child(2)::before{content:'تصویر'}
.reference-site .ks-expert-table td:nth-child(3)::before{content:'نام'}
.reference-site .ks-expert-table td:nth-child(4)::before{content:'نام خانوادگی'}
.reference-site .ks-expert-table td:nth-child(5)::before{content:'گروه'}
.reference-site .ks-expert-table td:nth-child(6)::before{content:'رشته'}
.reference-site .ks-expert-table td:nth-child(7)::before{content:'وضعیت'}
.reference-site .ks-expert-table td:nth-child(8)::before{content:'حوزه فعالیت'}
.reference-site .ks-expert-table td:nth-child(9)::before{content:'جزئیات'}
.reference-site .ks-expert-avatar,.reference-site .ks-expert-avatar-placeholder{margin:0}
}

.reference-site .ks-license-expired .ks-profile-validity{color:#b4232e;font-weight:700;background:#fff0f0;border-inline-start:3px solid #c83843;border-radius:6px;padding:8px 12px}
.reference-site .ks-expired-watermark{position:absolute;inset-inline:0;top:340px;display:block;text-align:center;transform:rotate(-18deg);font-size:clamp(46px,7vw,86px);font-weight:800;color:rgba(180,35,46,.16);line-height:1.6;pointer-events:none;z-index:2;user-select:none;white-space:nowrap}
@media(max-width:767px){.reference-site .ks-expired-watermark{top:410px;font-size:54px}}
@media print{.reference-site .ks-expired-watermark{color:rgba(180,35,46,.22);print-color-adjust:exact;-webkit-print-color-adjust:exact}.reference-site .ks-license-expired .ks-profile-validity{print-color-adjust:exact;-webkit-print-color-adjust:exact}}
.reference-site .ks-expired-watermark{top:50%;transform:translateY(-50%) rotate(-18deg)}
@page expert-profile{size:A4 portrait;margin:12mm}
@media print{
.reference-site .reference-profile-page{page:expert-profile;width:100%!important;max-width:none!important;padding:0!important;margin:0!important;print-color-adjust:exact;-webkit-print-color-adjust:exact}
.reference-site .reference-profile-page *{print-color-adjust:exact;-webkit-print-color-adjust:exact}
.reference-site .reference-profile-page .ks-profile-title{font-size:19px!important;margin-bottom:18px;padding:12px 16px!important}
.reference-site .ks-source-profile{position:relative;min-height:235mm;margin:0!important;font-size:12px;line-height:1.8;break-inside:auto}
.reference-site .ks-profile-intro{height:235px;break-inside:avoid}
.reference-site .ks-source-profile .ks-profile-photo{right:0;top:22px;width:112px;height:150px}
.reference-site .ks-profile-intro h2{right:132px;left:0;top:22px;font-size:18px}
.reference-site .ks-profile-intro .ks-profile-field{right:132px;left:0;font-size:12px}
.reference-site .ks-profile-intro .ks-profile-specialty{top:64px}
.reference-site .ks-profile-intro .ks-profile-education{top:96px}
.reference-site .ks-profile-intro .ks-profile-membership{top:132px}
.reference-site .ks-profile-intro .ks-profile-start{top:165px}
.reference-site .ks-profile-contact{display:grid;grid-template-columns:1fr 1fr;grid-auto-rows:minmax(36px,auto);gap:8px 18px;break-inside:avoid}
.reference-site .ks-profile-field{overflow-wrap:anywhere}
.reference-site .ks-profile-leave{display:flex;flex-wrap:wrap;gap:8px;order:0}
.reference-site .ks-profile-address{order:0}
.reference-site .ks-profile-qualifications{margin:28px 0 0!important;text-align:justify;font-size:12px;line-height:1.9}
.reference-site .ks-profile-watermark{display:block;left:0;top:72px;width:220px;height:auto;opacity:.15}
.reference-site .ks-expired-watermark{top:50%;transform:translateY(-50%) rotate(-18deg);color:rgba(190,25,40,.3)!important;font-size:68px}
.reference-site .ks-license-expired .ks-profile-validity,.reference-site .ks-license-expired .ks-profile-validity *{color:#b4232e!important}
}
@media print{
.reference-site .reference-profile-page .ks-profile-title{background:#edf5ef!important;color:#205b3d!important;border-inline-start:4px solid #75a750!important;border-radius:12px}
.reference-site .ks-profile-intro h2{color:#005e3a!important}
.reference-site .ks-license-expired .ks-profile-validity{background:#fff0f0!important}
}

/* Mobile navigation mirrors the primary menu with accessible submenu sheets. */
.ks-mobile-nav{display:none}
.ks-mobile-sheet{position:fixed;z-index:1102;box-sizing:border-box;inset:auto max(12px,env(safe-area-inset-right,0px)) calc(88px + env(safe-area-inset-bottom,0px)) max(12px,env(safe-area-inset-left,0px));width:auto;max-width:600px;max-height:min(62vh,430px);max-height:min(62dvh,430px);margin:0 auto;padding:8px 10px 12px;border:1px solid #ffffff1f;border-radius:18px;background:linear-gradient(168deg,#164d3bf5,#073423fa);color:#fff;box-shadow:0 20px 60px #092d2380;backdrop-filter:blur(18px) saturate(1.4);-webkit-backdrop-filter:blur(18px) saturate(1.4);font:inherit;overflow:hidden}
.ks-mobile-sheet[open]{display:flex;flex-direction:column;gap:10px;animation:ks-mobile-sheet-in .2s ease}
.ks-mobile-backdrop{position:fixed;inset:0 0 calc(78px + env(safe-area-inset-bottom,0px));z-index:1099;width:auto;height:auto;margin:0;padding:0;border:0;border-radius:0;background:#092d2373;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);cursor:pointer}
.ks-mobile-backdrop[hidden]{display:none}
.ks-mobile-sheet-handle{align-self:center;flex-shrink:0;width:44px;height:4px;border-radius:999px;background:#ffffff3d}
.ks-mobile-sheet-heading{display:flex;flex-shrink:0;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:0 2px}
.ks-mobile-sheet-heading h2{margin:0;font-size:18px;font-weight:900;line-height:1.5;color:#fff}
.ks-mobile-sheet-close{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;padding:0;border:1px solid #ffffff29;border-radius:999px;background:#ffffff14;color:#fff;font:inherit;font-size:26px;line-height:1;cursor:pointer}
.ks-mobile-sheet-links{display:grid;grid-auto-rows:max-content;align-content:start;gap:7px;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.ks-mobile-sheet-links a,.ks-mobile-sheet-links summary{display:block;height:auto;min-height:48px;white-space:normal;overflow-wrap:anywhere;box-sizing:border-box;padding:11px 14px;border:1px solid transparent;border-radius:12px;background:#ffffff0f;color:#fffffff0;font-size:16px;font-weight:600;line-height:1.7;text-align:start;text-decoration:none;cursor:pointer}
.ks-mobile-sheet-links summary{display:list-item;list-style-position:inside}
.ks-mobile-sheet-links details>details,.ks-mobile-sheet-links details>a{margin-top:7px;margin-inline-start:12px}
.ks-mobile-sheet-links :is(a,summary):hover,.ks-mobile-sheet-links :is(a,summary):focus-visible{border-color:#ffffff33;background:#ffffff21;color:#fff}
.ks-mobile-sheet :is(a,button,summary):focus-visible,.ks-mobile-nav :is(a,button):focus-visible{outline:3px solid #c7eaa9;outline-offset:-3px}
@keyframes ks-mobile-sheet-in{from{opacity:0;transform:translateY(18px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:767px){
  body.reference-site.ks-mobile-nav-ready{padding-bottom:calc(90px + env(safe-area-inset-bottom,0px))}
  html:has(.ks-mobile-nav-ready){scroll-padding-bottom:calc(90px + env(safe-area-inset-bottom,0px))}
  .reference-site.ks-mobile-nav-ready .mymenu{display:none}
  .ks-mobile-nav{position:fixed;inset-inline:0;bottom:0;z-index:1100;display:flex;direction:rtl;gap:0;box-sizing:border-box;height:calc(78px + env(safe-area-inset-bottom,0px));padding:6px max(8px,env(safe-area-inset-right,0px)) calc(6px + env(safe-area-inset-bottom,0px)) max(8px,env(safe-area-inset-left,0px));border:1px solid #ffffff1a;border-bottom:0;border-radius:16px 16px 0 0;background:#073e2edb;box-shadow:0 -12px 32px #092d2359;backdrop-filter:blur(20px) saturate(1.4);-webkit-backdrop-filter:blur(20px) saturate(1.4);overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
  .ks-mobile-nav::-webkit-scrollbar{display:none;width:0;height:0}
  .ks-mobile-nav>a,.ks-mobile-nav>button{flex:1 0 58px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;box-sizing:border-box;min-width:0;min-height:64px;margin:0;padding:6px 3px;border:0;border-radius:12px;background:transparent;color:#ffffffd9;font:inherit;font-size:12px;line-height:1.25;text-align:center;text-decoration:none;cursor:pointer}
  .ks-mobile-nav span{white-space:nowrap}
  .ks-mobile-nav svg{flex-shrink:0;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
  .ks-mobile-nav [aria-expanded=true],.ks-mobile-nav :is(a,button):hover{background:#ffffff1a;color:#fff}
  body.ks-mobile-sheet-open{overflow:hidden}
}
@media(prefers-reduced-motion:reduce){.ks-mobile-sheet[open]{animation:none}}
@media print{.ks-mobile-nav,.ks-mobile-sheet,.ks-mobile-backdrop{display:none!important}body.reference-site.ks-mobile-nav-ready{padding-bottom:0}}

/* Give the mobile landing page a taller hero and compact service rows. */
@media(max-width:767px){
  .home.reference-site .myslider #zone4 .advanced-slider{height:clamp(300px,75vw,420px)!important;min-height:300px;max-height:420px!important}
  .home.reference-site .myaccess.ks-services{padding:16px 0}
  .home.reference-site .ks-service-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .home.reference-site .ks-service-card{padding:12px 6px;gap:8px;border-radius:14px}
  .home.reference-site .ks-service-icon{width:40px;height:40px}
  .home.reference-site .ks-service-icon img{width:40px;height:40px}
  .home.reference-site .ks-service-label{font-size:13px;line-height:1.7;white-space:normal;overflow-wrap:anywhere}
  .home.reference-site .ks-service-arrow{width:24px;height:24px;margin:0}
}

/* Keep tablet navigation on one row and place arrows in the label flow. */
@media(min-width:768px){
  .reference-site .mymenu #zone3 .navbar-nav{flex-wrap:nowrap}
  .reference-site .mymenu #zone3 .navbar-nav>li>a{display:flex;align-items:center;justify-content:center;gap:7px;direction:rtl}
  .reference-site .mymenu #zone3 .navbar-nav>li>a>.reverse{float:none}
  .reference-site .mymenu #zone3 .navbar-nav>li>a>.caret{position:static!important;inset:auto!important;float:none!important;flex-shrink:0;margin:0!important;align-self:center}
}
.ks-menu-compact-label{display:none}
@media(min-width:768px) and (max-width:1199px){
  .reference-site .mymenu #zone3 .ks-menu-full-label{display:none}
  .reference-site .mymenu #zone3 .ks-menu-compact-label{display:inline}
  .reference-site .mymenu>.container{padding-inline:15px}
  .reference-site .mymenu #zone3 .navbar-nav{justify-content:space-between}
  .reference-site .mymenu #zone3 .navbar-inverse .navbar-nav>li>a{font-size:13px!important;padding:16px 4px!important;gap:4px;min-height:48px}
}

/* Search and Persian clock sit beside the two account shortcuts. */
.reference-site .ks-header-tools{flex-basis:500px;display:grid;grid-template-columns:minmax(0,1fr) 132px;align-items:center;gap:12px;direction:rtl}
.reference-site .ks-header-search-group{min-width:0;display:flex;flex-direction:column;gap:10px}
.reference-site .ks-header-clock{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 10px;color:#285442;font-size:13px;line-height:1.8;font-weight:600}
.reference-site .ks-header-cards{grid-template-columns:minmax(0,1fr);gap:8px}
.reference-site .ks-header-cards .ks-header-card{font-size:13px;padding:10px 6px;min-height:48px}
.reference-site .ks-header-cards .ks-header-card-panel{background:#005b3b;border-color:#005b3b;color:#fff}
.reference-site .ks-header-cards .ks-header-card-panel:hover{background:#074a33;border-color:#074a33;color:#fff}
@media(max-width:767px){.reference-site .ks-header-tools{flex:none;max-width:500px}}
@media(max-width:399px){.reference-site .ks-header-tools{grid-template-columns:minmax(0,1fr) 112px;gap:8px}.reference-site .ks-header-cards .ks-header-card{gap:4px;font-size:12px}.reference-site .ks-header-clock{font-size:12px}.reference-site .ks-header-search-field input{padding-inline-start:8px}}

.reference-site .ks-header-clock .ks-header-search-advanced{display:flex;align-items:center;justify-content:center;align-self:center;box-sizing:border-box;min-height:44px;padding:8px;border:1px solid #c7dbce;border-radius:10px;background:#edf5ef;color:#285442;font-size:12px;font-weight:600;line-height:1.6;white-space:nowrap;text-decoration:none}
.reference-site .ks-header-clock .ks-header-search-advanced:hover{background:#dfeee4;border-color:#86b49a}
/* Semantic page titles retain the captured layout outside news listings. */
.ks-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.reference-site .ks-page-heading{font-size:28px;line-height:1.7;color:#194f37;margin:24px 0;font-weight:700}

.ks-section-news { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ks-section-news .ks-news-card { display: flex; gap: 16px; align-items: center; padding: 16px; border: 1px solid #d5ded9; border-radius: 10px; font-size: 18px; line-height: 1.9; color: #16452f; }
.ks-section-news .ks-news-card img { width: 120px; height: 90px; object-fit: contain; }
.ks-section-pagination { display: flex; flex-wrap: wrap; gap: 12px; margin-block: 24px; }
.ks-section-pagination .page-numbers { padding: 12px 18px; min-height: 48px; border: 1px solid #c5d1cc; border-radius: 6px; }
@media (max-width: 767px) { .ks-section-news { grid-template-columns: 1fr; } .ks-section-news .ks-news-card img { width: 82px; height: 72px; } }

.reference-article video, .preview-content video { max-width: 100%; height: auto; }
.reference-article figure { max-width: 100%; margin-inline: 0; }
.reference-article figcaption { font-size: 16px; line-height: 1.9; color: #466050; text-align: center; }
.reference-article pre { white-space: pre-wrap; overflow-wrap: anywhere; direction: ltr; text-align: left; }
.reference-article .mce-pagebreak { break-after: page; }

.ks-request-notice { box-sizing: border-box; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; width: min(820px, calc(100% - 40px)); min-height: 360px; margin: 48px auto; padding: 48px 28px; border: 1px solid #dce6de; border-radius: 22px; background: linear-gradient(150deg, #f4f8f4, #fff 60%, #faf8ef); text-align: center; box-shadow: 0 12px 40px #1a493009; }
.ks-request-notice-icon { display: grid; place-items: center; width: 82px; height: 82px; border: 1px solid #d7e8dc; border-radius: 24px; background: #eaf3ec; color: #246244; }
.ks-request-notice-icon svg { display: block; width: 48px; height: 48px; }
.ks-request-notice-label { color: #677c6c; font-size: 16px; line-height: 1.8; }
.ks-request-notice h1 { margin: 0; color: #204a34; font-family: inherit; font-size: 30px; font-weight: 700; line-height: 1.9; }
.ks-request-notice-rule { width: 48px; height: 3px; border-radius: 3px; background: #c2a45d; }
@media (max-width: 600px) { .ks-request-notice { width: calc(100% - 28px); min-height: 320px; margin-block: 28px; padding: 32px 20px; gap: 16px; } .ks-request-notice h1 { font-size: 24px; } }

/* Keep visual dropdown state synchronized with the accessible click controls. */
.reference-site #Mega1.ks-controlled-menu li:not(.reference-open) > ul { display: none !important; }
.reference-site #Mega1.ks-controlled-menu li.reference-open > ul { display: block !important; }

.reference-site .reference-article .ks-article-featured { display: flex; align-items: center; justify-content: center; margin: 24px auto; padding: 0; width: 100%; }
.reference-site .reference-article .ks-article-featured img { display: block; float: none; width: auto; max-width: 100%; height: auto; margin: 0 auto; }
.reference-site .reference-article img:not(.alignleft):not(.alignright) { display: block; max-width: 100%; height: auto; margin-inline: auto; }
