/* ==========================================================================
   Sacred Gold - beautifying layer for the Hindu Temple of Greater Cincinnati
   Added 26 Nov 2026. Styling only: delete this file (or its enqueue in
   functions.php) and the site looks exactly as it did before.
   ========================================================================== */

:root {
  --ct-maroon: #500809;
  --ct-maroon-deep: #2c0405;
  --ct-saffron: #c2571a;
  --ct-gold: #d9a233;
  --ct-gold-light: #f6d77a;
  --ct-gold-dark: #8a5a0a;
  --ct-ivory: #fffdf6;
  --ct-cream: #fbf1d9;
  --ct-ink: #3a2a1c;
  --ct-goldline: linear-gradient(90deg, #6d4300, #f6d77a 18%, #b8860b 50%, #f6d77a 82%, #6d4300);
  --ct-serif: "Cormorant Garamond", "Source Serif Pro", Georgia, serif;
  --ct-display: "Cinzel", "Cormorant Garamond", Georgia, serif;
  --ct-text: "Mukta", "Segoe UI", Arial, sans-serif;
}

::selection { background: #f3c552; color: #3b0506; }
html { scrollbar-color: #b8860b #2c0405; }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: #2c0405; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #f1cd6b, #a8740f); border-radius: 8px; border: 2px solid #2c0405; }

/* ---------- page frame ---------- */
#wrapper.container {
  box-shadow: 0 0 0 1px rgba(217, 162, 51, .35), 0 0 70px rgba(0, 0, 0, .65);
}

/* the content sheet: warm ivory with faint mandalas instead of flat white */
.contentclass {
  position: relative;
  background-color: var(--ct-ivory);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-110 -110 220 220'%3E%3Cg fill='none' stroke='%23b8860b' stroke-width='1.1' opacity='.2'%3E%3Ccircle r='104'/%3E%3Ccircle r='98'/%3E%3Ccircle r='58'/%3E%3Ccircle r='24'/%3E%3Ccircle r='9'/%3E%3Cg id='p'%3E%3Cpath d='M0-24C13-44 13-76 0-98C-13-76-13-44 0-24Z'/%3E%3Cpath d='M0-9C5-14 5-20 0-24C-5-20-5-14 0-9Z'/%3E%3C/g%3E%3Cuse href='%23p' transform='rotate(22.5)'/%3E%3Cuse href='%23p' transform='rotate(45)'/%3E%3Cuse href='%23p' transform='rotate(67.5)'/%3E%3Cuse href='%23p' transform='rotate(90)'/%3E%3Cuse href='%23p' transform='rotate(112.5)'/%3E%3Cuse href='%23p' transform='rotate(135)'/%3E%3Cuse href='%23p' transform='rotate(157.5)'/%3E%3Cuse href='%23p' transform='rotate(180)'/%3E%3Cuse href='%23p' transform='rotate(202.5)'/%3E%3Cuse href='%23p' transform='rotate(225)'/%3E%3Cuse href='%23p' transform='rotate(247.5)'/%3E%3Cuse href='%23p' transform='rotate(270)'/%3E%3Cuse href='%23p' transform='rotate(292.5)'/%3E%3Cuse href='%23p' transform='rotate(315)'/%3E%3Cuse href='%23p' transform='rotate(337.5)'/%3E%3C/g%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-110 -110 220 220'%3E%3Cg fill='none' stroke='%23b8860b' stroke-width='1.1' opacity='.16'%3E%3Ccircle r='104'/%3E%3Ccircle r='98'/%3E%3Ccircle r='58'/%3E%3Ccircle r='24'/%3E%3Ccircle r='9'/%3E%3Cg id='p'%3E%3Cpath d='M0-24C13-44 13-76 0-98C-13-76-13-44 0-24Z'/%3E%3Cpath d='M0-9C5-14 5-20 0-24C-5-20-5-14 0-9Z'/%3E%3C/g%3E%3Cuse href='%23p' transform='rotate(22.5)'/%3E%3Cuse href='%23p' transform='rotate(45)'/%3E%3Cuse href='%23p' transform='rotate(67.5)'/%3E%3Cuse href='%23p' transform='rotate(90)'/%3E%3Cuse href='%23p' transform='rotate(112.5)'/%3E%3Cuse href='%23p' transform='rotate(135)'/%3E%3Cuse href='%23p' transform='rotate(157.5)'/%3E%3Cuse href='%23p' transform='rotate(180)'/%3E%3Cuse href='%23p' transform='rotate(202.5)'/%3E%3Cuse href='%23p' transform='rotate(225)'/%3E%3Cuse href='%23p' transform='rotate(247.5)'/%3E%3Cuse href='%23p' transform='rotate(270)'/%3E%3Cuse href='%23p' transform='rotate(292.5)'/%3E%3Cuse href='%23p' transform='rotate(315)'/%3E%3Cuse href='%23p' transform='rotate(337.5)'/%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(180deg, #fffdf6 0%, #fdf6e4 55%, #fbf0d6 100%);
  background-repeat: no-repeat;
  background-position: right -150px top -150px, left -170px bottom -170px, center;
  background-size: 460px 460px, 520px 520px, cover;
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
  border-image: var(--ct-goldline) 1;
  border-left: 0;
  border-right: 0;
  color: var(--ct-ink);
}

/* ---------- header and menu ---------- */
#kad-banner.headerclass {
  background: linear-gradient(180deg, #5c090a 0%, #470607 60%, #360505 100%);
}
#thelogo img {
  border-radius: 6px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, .45);
}
.col-md-12 > #nav-main ul.sf-menu {
  background: linear-gradient(180deg, #3d0606, #2c0405);
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px rgba(217, 162, 51, .28);
}
#nav-main ul.sf-menu > li > a {
  border-radius: 9px;
  transition: transform .22s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
#nav-main ul.sf-menu > li > a:hover,
#nav-main ul.sf-menu > li.sfHover > a {
  transform: translateY(-2px);
}
#nav-main ul.sf-menu > li.current-menu-item > a,
#nav-main ul.sf-menu > li.current-menu-ancestor > a,
#nav-main ul.sf-menu > li.current_page_parent > a {
  border-color: var(--ct-gold-light);
  box-shadow: inset 0 0 12px rgba(255, 220, 120, .4), 0 0 14px rgba(255, 190, 55, .45);
}
/* drop-down panels: one gold frame, hairlines between the items */
#nav-main .sf-menu ul {
  border: 1px solid var(--ct-gold);
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(180deg, #4a0707, #2c0405);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .55);
  padding: 4px 0;
}
#nav-main .sf-menu ul ul { overflow: visible; }
#nav-main .sf-menu ul li { border: 0; }
#nav-main ul.sf-menu ul li a {
  border: 0;
  border-bottom: 1px solid rgba(217, 162, 51, .22);
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  text-align: left;
  color: #fbe9bd;
  transition: background .2s ease, color .2s ease, padding-left .2s ease;
}
#nav-main ul.sf-menu ul li:last-child > a { border-bottom: 0; }
#nav-main ul.sf-menu ul li a:hover {
  background: linear-gradient(90deg, rgba(217, 162, 51, .32), rgba(217, 162, 51, 0));
  color: #fff;
  box-shadow: none;
  padding-left: 16px;
}

/* ---------- page and post titles ---------- */
#pageheader .page-header {
  border: 0;
  margin: 22px 0 4px;
  padding-bottom: 0;
  text-align: center;
}
#pageheader .page-header h1,
.single-article h1.entry-title,
.postlist h1.entry-title {
  font-family: var(--ct-display);
  font-weight: 700;
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: .04em;
  color: var(--ct-maroon);
  text-shadow: 0 1px 0 #fff, 0 2px 10px rgba(217, 162, 51, .35);
  margin: 0;
}
.single-article h1.entry-title { text-align: center; padding-top: 14px; }
#pageheader .page-header::after,
.single-article h1.entry-title::after {
  content: "\0950";
  display: block;
  margin: 6px auto 0;
  max-width: 420px;
  text-align: center;
  font-family: "Nirmala UI", "Noto Sans Devanagari", "Mukta", sans-serif;
  font-weight: 400;
  letter-spacing: 0;
  text-shadow: none;
  font-size: 24px;
  line-height: 34px;
  color: #b8860b;
  background:
    linear-gradient(90deg, transparent, #c8962e 30%, #c8962e 100%) left center / calc(50% - 26px) 1px no-repeat,
    linear-gradient(270deg, transparent, #c8962e 30%, #c8962e 100%) right center / calc(50% - 26px) 1px no-repeat;
}
#pageheader .page-header p.subtitle,
#pageheader .page-header .subtitle {
  font-family: var(--ct-serif);
  font-style: italic;
  font-size: 20px;
  color: var(--ct-gold-dark);
}

/* ---------- reading text on pages and posts ---------- */
.main > .entry-content,
.single-article .entry-content,
.main .postclass > .entry-content {
  font-family: var(--ct-text);
  font-size: 16.5px;
  line-height: 1.72;
  color: var(--ct-ink);
}
.main .entry-content h1,
.main .entry-content h2,
.main .entry-content h3 {
  font-family: var(--ct-serif);
  font-weight: 700;
  color: var(--ct-maroon);
  line-height: 1.25;
}
.main .entry-content h2 { font-size: 28px; margin: 26px 0 10px; }
.main .entry-content h3 { font-size: 23px; margin: 22px 0 8px; }
.main .entry-content h4,
.main .entry-content h5 {
  font-family: var(--ct-serif);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
  color: #6a1a0c;
}
/* the old underlined bold sub-headings become maroon serif with a gold rule */
.main .entry-content p > span[style*="underline"] > strong,
.main .entry-content p > strong > span[style*="underline"],
.main .entry-content p > u > strong,
.main .entry-content p > strong > u {
  font-family: var(--ct-serif);
  font-size: 1.36em;
  font-weight: 700;
  color: var(--ct-maroon);
  letter-spacing: .01em;
}
.main .entry-content p > span[style*="underline"]:has(> strong),
.main .entry-content p > strong > span[style*="underline"],
.main .entry-content p > u:has(> strong),
.main .entry-content p > strong > u {
  text-decoration-color: #d0a03c !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 5px;
}
.main .entry-content a:not([class]):not(:has(img)) {
  color: #a23a0c;
  text-decoration: none;
  background: linear-gradient(#d9a233, #d9a233) left bottom / 100% 1px no-repeat;
  transition: color .2s ease, background-size .25s ease;
}
.main .entry-content a:not([class]):not(:has(img)):hover {
  color: var(--ct-maroon);
  background-size: 100% 2px;
}
.main .entry-content ol:not([class]) > li::marker,
.main .entry-content ul:not([class]) > li::marker { color: #b8860b; font-weight: 700; }
.main .entry-content hr,
.contentclass hr {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #c8962e 20%, #c8962e 80%, transparent);
  margin: 26px auto;
}
.main .entry-content blockquote {
  font-family: var(--ct-serif);
  font-style: italic;
  font-size: 1.22em;
  color: #5a2313;
  background: linear-gradient(90deg, rgba(217, 162, 51, .16), rgba(217, 162, 51, 0));
  border-left: 4px solid var(--ct-gold);
  border-radius: 0 10px 10px 0;
  padding: 14px 20px;
  margin: 22px 0;
}
.main .entry-content table:not([class]) {
  border-collapse: collapse;
  background: #fffdf8;
  box-shadow: 0 0 0 1px #e2c98c, 0 4px 14px rgba(80, 8, 9, .08);
  border-radius: 8px;
  overflow: hidden;
}
.main .entry-content table:not([class]) th {
  background: linear-gradient(180deg, #641010, #460707);
  color: #fbe6ac;
  font-family: var(--ct-serif);
  font-size: 1.08em;
  letter-spacing: .02em;
  border: 0;
  padding: 10px 12px;
}
.main .entry-content table:not([class]) td {
  border: 0;
  border-top: 1px solid #efdfb8;
  padding: 9px 12px;
}
.main .entry-content table:not([class]) tr:nth-child(even) td { background: rgba(217, 162, 51, .07); }

/* form fields glow gold when chosen */
.contentclass input[type="text"]:focus,
.contentclass input[type="email"]:focus,
.contentclass input[type="tel"]:focus,
.contentclass input[type="number"]:focus,
.contentclass input[type="search"]:focus,
.contentclass select:focus,
.contentclass textarea:focus {
  border-color: #c8962e !important;
  box-shadow: 0 0 0 3px rgba(217, 162, 51, .25) !important;
  outline: 0;
}

/* ---------- home page ---------- */
.ksp-slider-wrapper .kad-slider {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 0 2px #d9a233, 0 0 0 5px rgba(217, 162, 51, .22), 0 10px 26px rgba(60, 5, 5, .28);
}
.home-widget-box img,
.home .newsbanner img { border-radius: 8px; }
.home .newsbanner,
.home-widget-box .newsbanner {
  border-radius: 10px;
  background: linear-gradient(180deg, #641010, #430707);
  box-shadow: inset 0 0 0 1px rgba(217, 162, 51, .55), 0 6px 16px rgba(60, 5, 5, .22);
}

/* news cards */
.contentclass .kad_blog_item .blog_item,
.postlist .blog_item.grid_item {
  background: linear-gradient(180deg, #fffefa, #fdf5df);
  border: 1px solid #e3c98a;
  border-radius: 0 0 12px 12px; /* square top: Greg wants featured images with sharp corners */
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(80, 8, 9, .10);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.contentclass .kad_blog_item .blog_item:hover,
.postlist .blog_item.grid_item:hover {
  transform: translateY(-5px);
  border-color: #d9a233;
  box-shadow: 0 0 0 1px #d9a233, 0 14px 30px rgba(120, 60, 0, .28);
}
.contentclass .kad_blog_item .blog_item .imghoverclass { overflow: hidden; }
.contentclass .kad_blog_item .blog_item .imghoverclass img { transition: transform .7s ease; }
.contentclass .kad_blog_item .blog_item:hover .imghoverclass img { transform: scale(1.045); }
.contentclass .kad_blog_item .blog_item .postcontent { padding: 4px 12px 8px; }
.contentclass .kad_blog_item .blog_item h4.entry-title,
.postlist .blog_item h4.entry-title,
.postlist .blog_item h3.entry-title {
  font-family: var(--ct-serif);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.22;
  color: var(--ct-maroon);
  margin: 10px 0 6px;
  transition: color .2s ease;
}
.contentclass .kad_blog_item .blog_item:hover h4.entry-title { color: #a23a0c; }
.home .contentclass .kad_blog_item .blog_item .subhead { display: none; }
.contentclass .kad_blog_item .blog_item .entry-content { font-size: 14px; line-height: 1.5; color: #5b4633; }

/* archive lists (Events, News ...) */
.postlist article { border-radius: 0 0 12px 12px; }
/* featured images always keep sharp, square corners */
.contentclass .imghoverclass,
.contentclass .imghoverclass img,
.contentclass .kt-intrinsic-container,
.contentclass .postfeat img,
.contentclass .wp-post-image { border-radius: 0 !important; }
.postlist article .entry-title:not(h1) {
  font-family: var(--ct-serif);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.22;
  color: var(--ct-maroon);
}

/* sidebar */
#ktsidebar .sidebar .widget { margin-bottom: 18px; }
#ktsidebar .sidebar .widget_custom_gallery_widget .widget-inner,
#ktsidebar .sidebar .widget_media_image .widget-inner {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 0 1px #d9a233, 0 6px 16px rgba(60, 5, 5, .22);
  transition: transform .3s ease, box-shadow .3s ease;
}
#ktsidebar .sidebar .widget_custom_gallery_widget .widget-inner:hover,
#ktsidebar .sidebar .widget_media_image .widget-inner:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 0 1px #f0c865, 0 12px 26px rgba(120, 60, 0, .3);
}
#ktsidebar .sidebar .widget_custom_gallery_widget .widget-inner > div[style*="background"] {
  background: linear-gradient(180deg, #641010, #3d0606) !important;
}
/* date line under the widget title: flat, same colour the title bar ends on */
#ktsidebar .sidebar .widget_custom_gallery_widget .widget-inner > div[style*="font-size: 0.8em"] {
  background: #3d0606 !important;
}
#ktsidebar .sidebar .widget_custom_gallery_widget .widget-inner .view-images-link {
  color: #fbe6ac !important;
  letter-spacing: .04em;
}
#ktsidebar .sidebar .widget_custom_gallery_widget .widget-inner img { border: 0 !important; }
#ktsidebar .sidebar h3,
#ktsidebar .sidebar .widget-title {
  font-family: var(--ct-display);
  font-size: 15px;
  letter-spacing: .08em;
  color: var(--ct-maroon);
  text-align: center;
}

/* page numbers */
.wp-pagenavi { text-align: center; padding: 14px 0 22px; }
.wp-pagenavi a,
.wp-pagenavi span {
  display: inline-block;
  min-width: 38px;
  padding: 7px 12px;
  margin: 2px 3px;
  border: 1px solid #d9a233 !important;
  border-radius: 20px;
  background: #fffaf0;
  color: var(--ct-maroon);
  font-weight: 700;
  transition: all .2s ease;
}
.wp-pagenavi a:hover,
.wp-pagenavi span.current {
  background: linear-gradient(180deg, #6a1010, #430707);
  color: #fbe6ac;
  box-shadow: 0 4px 12px rgba(80, 8, 9, .3);
}

/* ---------- footer ---------- */
#containerfooter.footerclass {
  background: radial-gradient(ellipse at 50% 0%, #6a0c0c 0%, #4a0708 45%, #300405 100%);
  border-top: 3px solid transparent;
  border-image: var(--ct-goldline) 1;
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
}
.footercredits {
  background: linear-gradient(180deg, #2a0404, #1c0303);
  box-shadow: inset 0 1px 0 rgba(217, 162, 51, .45);
}
.footercredits p { letter-spacing: .03em; color: #f1dfb6; }
.footercredits a { color: #f6c860; }

/* back-to-top button, if shown */
#topcontrol > div, .kad-top-btn {
  border-radius: 50% !important;
  background: linear-gradient(180deg, #6a1010, #3d0606) !important;
  box-shadow: 0 0 0 2px #d9a233, 0 6px 16px rgba(0, 0, 0, .4);
}

/* ---------- phones ---------- */
@media (max-width: 767px) {
  #pageheader .page-header h1,
  .single-article h1.entry-title { font-size: 26px; }
  #pageheader .page-header::after { max-width: 260px; font-size: 21px; }
  .main > .entry-content,
  .single-article .entry-content { font-size: 16px; line-height: 1.65; }
  .main .entry-content p[style*="justify"] { text-align: left !important; }
  .contentclass { background-size: 300px 300px, 320px 320px, cover; background-position: right -110px top -110px, left -120px bottom -120px, center; }
  .contentclass .kad_blog_item .blog_item:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .contentclass .kad_blog_item .blog_item,
  .contentclass .kad_blog_item .blog_item .imghoverclass img,
  #nav-main ul.sf-menu > li > a,
  #ktsidebar .sidebar .widget-inner { transition: none !important; transform: none !important; }
}

@media print {
  .contentclass { background: #fff !important; border: 0 !important; }
}
