/* ==========================================================================
   Refresh layer (2026-11): keeps the theme's look (IRANSans, teal #46bec7,
   navy #283848, card layout) and tidies spacing, cards, type and hover states.
   Loaded after the skin and portal CSS by HomePage05 / InsidePage*.ascx.
   Delete this file and its DnnCssInclude lines to roll back.
   ========================================================================== */
:root { --rf-teal: #1f7a80; --rf-teal-d: #156a70; --rf-teal-l: #e8f7f8; --rf-navy: #283848; --rf-ink: #33414d; --rf-text: #555; --rf-mute: #646d75; --rf-line: #e6e9ec; --rf-soft: #f5f7f9; --rf-r: 10px; --rf-shadow: 0 10px 26px rgba(40,56,72,.10); }

body, html { color: var(--rf-text); }
a { transition: color .2s; }

/* ---------- header ---------- */
#header3 .header-bottom { min-height: 84px; }
.dnngo_gomenu .primary_structure > li > a > span { position: relative; }
.dnngo_gomenu .primary_structure > li > a > span::after { content: ""; position: absolute; inset-inline: 0; bottom: -8px; height: 2px; background: var(--rf-teal); transform: scaleX(0); transition: transform .2s; }
.dnngo_gomenu .primary_structure > li:hover > a > span::after,
.dnngo_gomenu .primary_structure > li.current > a > span::after { transform: scaleX(1); }
.dnngo_gomenu .primary_structure > li.current > a > span { color: var(--rf-teal-d); }
.dnngo_menuslide .dnngo_slide_menu { border-radius: 0 0 var(--rf-r) var(--rf-r); box-shadow: var(--rf-shadow); }
header.header_bg { box-shadow: 0 2px 12px rgba(40,56,72,.06); }

/* ---------- section headings: teal bar + title ---------- */
.Home03-heading02, .Home05-heading01 { font-weight: bold; color: var(--rf-ink); }
.Home03-heading02 a { color: var(--rf-ink); }
.Home03-heading02 a:hover { color: var(--rf-teal-d); }

/* ---------- home: four pillar cards ---------- */
.home16-ibox .cont { background: #fff; border: 1px solid var(--rf-line) !important; border-radius: var(--rf-r) !important; transition: transform .25s, box-shadow .25s, border-color .25s; }
@media (hover: hover) { .home16-ibox .cont:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(40,56,72,.10); border-color: #d3eef0 !important; } }
.home16-ibox .icon { box-shadow: 0 0 0 7px #fff, 0 6px 18px rgba(70,190,199,.35); }
.home16-ibox h3 a { color: var(--rf-teal-d); }
.home16-ibox p { font-size: 14px; line-height: 2; color: var(--rf-text); }

/* ---------- home: latest-article columns (LatestArticles template) ---------- */
.newscontainer01 { background: #fff; border-radius: var(--rf-r); overflow: hidden; margin: 0 0 14px !important; box-shadow: 0 1px 3px rgba(0,0,0,.05); transition: box-shadow .2s; }
.newscontainer01:hover { box-shadow: var(--rf-shadow); }
.newscontainer01 .title a { color: var(--rf-ink); font-weight: bold; }
.newscontainer01 .title a:hover { color: var(--rf-teal-d); }
.newscontainer01 .summary { font-size: 13px; line-height: 1.9; color: var(--rf-mute); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* date as a compact teal tile beside the text, not a full-height bar */
.ImageTitleSummary .newscontainer01 { display: flex; align-items: flex-start; gap: 12px; padding: 12px !important; }
.ImageTitleSummary .newscontainer01 > .col-sm-2 { flex: 0 0 62px; width: 62px; height: auto !important; padding: 0; background: none !important; float: none; }
.ImageTitleSummary .newscontainer01 > .col-sm-10 { flex: 1; width: auto; padding: 0 !important; float: none; }
.ImageTitleSummary .newscontainer01 > .clear_float { display: none; }
.ImageTitleSummary .datepane01 { background: var(--rf-teal); border-radius: 8px; padding: 8px 0; font-size: 12px; line-height: 1.7; }
.newscontainer01 .title .fa-caret-left { display: none; }
.Home03-Container02 .Home03-heading02 { display: inline-flex; align-items: center; gap: 10px; }
.Home03-Container02 .Home03-heading02::before { content: ""; width: 4px; height: 22px; border-radius: 2px; background: var(--rf-teal); }

/* ---------- home: reflections list + special dossiers ---------- */
ul.linkStyle { background: #fff; border: 1px solid var(--rf-line); border-radius: var(--rf-r); padding: 6px 20px !important; }
ul.linkStyle li { border-bottom: 1px solid var(--rf-line); padding: 9px 0 !important; height: auto !important; }
ul.linkStyle li:last-child { border-bottom: 0; }
ul.linkStyle li a { color: var(--rf-ink); font-size: 14px; }
ul.linkStyle li a:hover { color: var(--rf-teal-d); }
.featurecontent { border-radius: var(--rf-r); border-color: transparent !important; transition: background-color .2s, box-shadow .2s; }
.featurecontent:hover { background-color: #fff !important; box-shadow: var(--rf-shadow); }
.featurecontent a span { color: var(--rf-ink); }

/* ---------- home: urban governance band ---------- */
.multimedia .Home05-Container01 > p { max-width: 960px; margin-inline: auto; line-height: 2.15; font-size: 14px; }
.multimedia .description-button { border-radius: 8px; transition: background-color .2s; }
.multimedia .description-button:hover { background-color: var(--rf-teal-d) !important; }

/* ---------- inner pages: news search box ---------- */
#articleSearchFormSmall { display: flex; justify-content: flex-end; margin: 18px 0 6px; }
#articleSearchFormSmall input[type=text] { border: 1px solid var(--rf-line); border-radius: 99px; padding: 6px 16px; height: 38px; min-width: 240px; }
#articleSearchFormSmall input[type=submit], #articleSearchFormSmall .button, #articleSearchFormSmall a { border: 0; border-radius: 99px; background: var(--rf-teal); color: #fff; padding: 0 18px; height: 38px; margin-inline-start: 6px; cursor: pointer; }

/* ---------- archive listing (NA Standard Listing.Item) ---------- */
.PageName { font-size: 24px; font-weight: bold; color: var(--rf-ink); display: flex; align-items: center; gap: 10px; }
.PageName::before { content: ""; width: 4px; height: 24px; background: var(--rf-teal); border-radius: 2px; }
.newscontainer { border: 1px solid var(--rf-line) !important; border-radius: var(--rf-r); margin-inline: 0 !important; transition: box-shadow .2s, border-color .2s; }
.newscontainer:hover { box-shadow: var(--rf-shadow); border-color: #d3eef0 !important; }
.newscontainer .image img { border-radius: 8px; }
.newscontainer .title a { color: var(--rf-ink); font-size: 16px; font-weight: bold; line-height: 1.8; }
.newscontainer .title a:hover { color: var(--rf-teal-d); }
.newscontainer .summary { font-size: 13.5px; line-height: 2; color: #555; }
.newscontainer .subtitle { color: var(--rf-teal-d); }
.newscontainer .date { border-radius: 8px; background: var(--rf-soft) !important; border-color: var(--rf-line) !important; }
.PagingTable { width: 100%; margin-top: 18px; }
.PagingTable a, .PagingTable span { display: inline-block; min-width: 34px; text-align: center; border: 1px solid var(--rf-line); border-radius: 8px; padding: 2px 8px; margin: 2px; }
.PagingTable a:hover { border-color: var(--rf-teal); color: var(--rf-teal-d); }

/* ---------- article view (NA Standard View.Item) ---------- */
.ArticleView .title { font-size: 26px; line-height: 1.6; color: var(--rf-ink); }
.ArticleView .subtitle { color: var(--rf-teal-d); font-size: 13.5px; }
.ArticleView .summary { font-size: 16px; line-height: 2.1; color: var(--rf-ink); background: var(--rf-teal-l); border-inline-start: 4px solid var(--rf-teal); border-radius: 8px 0 0 8px; padding: 14px 18px; margin: 12px 0 18px; }
.ArticleView .image img { border-radius: var(--rf-r); }
.ArticleView .description01 { font-size: 16px; line-height: 2.25; color: #444; text-align: justify; }
.ArticleView .description01 p { margin-bottom: 1em; }
.ArticleView .tags a { display: inline-block; background: var(--rf-teal-l); color: var(--rf-teal-d); border-radius: 99px; padding: 0 12px; margin: 2px; font-size: 13px; }
.ArticleView .section .headding { border-bottom: 1px solid var(--rf-line); }
.ArticleView .home04-social02 a span { border-radius: 8px; transition: transform .2s; }
@media (hover: hover) { .ArticleView .home04-social02 a:hover span { transform: translateY(-2px); } }
/* section headers: icon in a teal circle + title on one line */
.ArticleView .section::after { content: ""; display: table; clear: both; }
.ArticleView .section .headding { display: flex; align-items: center; gap: 10px; padding: 0 0 10px; margin: 28px 0 14px; border-bottom: 1px solid var(--rf-line); font-weight: bold; color: var(--rf-ink); font-size: 15px; }
.ArticleView .section .headding .faIcon { flex: 0 0 32px; height: 32px; border-radius: 50%; background: var(--rf-teal); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; float: none; margin: 0; }
.ArticleView .section .headding .faIcon .fa { color: #fff; }
.ArticleView .calendar .headding { margin-top: 0; font-weight: normal; color: var(--rf-mute); font-size: 13px; }
.ArticleView .calendar .headding .controls { margin-inline-start: auto; }
.ArticleView .home04-social02 { display: flex; gap: 8px; flex-wrap: wrap; }
/* related images */
ul.articleImages { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
ul.articleImages li { float: none !important; margin: 0 !important; }
ul.articleImages img { border-radius: 8px; display: block; transition: opacity .2s; }
ul.articleImages a:hover img { opacity: .85; }
/* rating: radios in one row */
.postRating .Normal { display: inline-flex; align-items: center; gap: 4px 10px; flex-wrap: wrap; direction: rtl; }
.postRating input[type=radio] { accent-color: var(--rf-teal); margin: 0 0 0 3px; }
/* comments */
.articleComments_bg { border-radius: var(--rf-r); }
.postComment > p, .postComment > .Normal { display: flex; flex-direction: column; gap: 4px; margin: 0 0 12px; max-width: 520px; }
.postComment > p > .Normal { order: -1; font-size: 13px; color: var(--rf-ink); }
.postComment input[type=text], .postComment textarea { border: 1px solid var(--rf-line); border-radius: 8px; padding: 8px 12px; width: 100% !important; max-width: 520px; background: #fff; }
.postComment input[type=text]:focus, .postComment textarea:focus { outline: 0; border-color: var(--rf-teal); box-shadow: 0 0 0 3px var(--rf-teal-l); }
.postComment > .Normal img { align-self: flex-start; border-radius: 6px; }
.postComment input[type=button] { background: var(--rf-teal); color: #fff; border: 0; border-radius: 8px; padding: 10px 28px; cursor: pointer; align-self: flex-start; }
.postComment input[type=button]:hover { background: var(--rf-teal-d); }
.postComment #Notify .Normal { display: flex; align-items: center; gap: 6px; }

/* ---------- sidebar boxes (Container0003: categories, tags) ---------- */
.Container0003 { border: 1px solid var(--rf-line); border-radius: var(--rf-r); overflow: hidden; margin-bottom: 22px !important; }
.Container0003 .dnntitle { border: 0 !important; }
.Container0003_icon { background: var(--rf-navy) !important; }
.Container0003 .title1 { color: var(--rf-ink); font-weight: bold; }
.listmeeting li { border-bottom: 1px dashed var(--rf-line) !important; }
.listmeeting li:last-child { border-bottom: 0 !important; }
.listmeeting li a { color: var(--rf-ink); }
.listmeeting li a:hover { color: var(--rf-teal-d); }
a.tag { border-radius: 4px; transition: background-color .2s; }
a.tag:hover { background: var(--rf-navy) !important; color: #fff !important; }

/* ---------- footer ---------- */
.footer_box a:hover { color: #6fd3db !important; }

/* ---------- small screens ---------- */
@media (max-width: 767px) {
  .ArticleView .description01, .home16-ibox p { text-align: start; }
  .ArticleView .title { font-size: 21px; }
  .ArticleView .summary { font-size: 15px; }
  #articleSearchFormSmall input[type=text] { min-width: 0; flex: 1; }
}
