/*
	Theme Name:   	Superfast Child Revista Kunst
	Theme URI:    	https://www.idtheme.com/superfast/
	Description: 	Superfast child theme for www.revistakunst.com — Revista Kunst identity (magazine red + editorial ink on paper). Includes fallback thumbnail, Table of Contents, Read Also, breadcrumb and reading-time badges.
	Author: 		Revista Kunst
	Version: 		1.0.0
	License: 		GNU General Public License v2 or later
	License URI: 	http://www.gnu.org/licenses/gpl-2.0.html
	Text Domain: 	superfast
	Template: 		superfast
*/

/* ---- Revista Kunst palette (from the original 2016 magazine logo) ----
   --rk-red:       #E01020  magazine red (logo circle)
   --rk-red-dark:  #A90D18
   --rk-ink:       #17130E  editorial ink
   --rk-paper:     #FAF6EF  warm paper background
*/

body {
    background-color: #FAF6EF;
    color: #262019;
}

a { color: #C00D19; }
a:hover, a:focus { color: #8F0A13; }

/* Keep header logo constrained; all other styling inherits from parent. */
.gmr-logo img,
.gmr-logomobile img,
.custom-logo-link img {
    max-height: 64px;
    width: auto;
    height: auto;
}

/* Secondary (top) menu bar: magazine red.
   !important + #primary-menu selectors: the parent customizer inline CSS
   is printed after this stylesheet and otherwise wins — same pattern as
   the garden child themes. */
.gmr-secondmenuwrap {
    background-color: #E01020 !important;
}
.gmr-secondmenu #primary-menu > li > a,
.gmr-secondmenuwrap a {
    color: #FFFFFF !important;
}
.gmr-secondmenu #primary-menu > li > a:hover,
.gmr-secondmenuwrap a:hover {
    color: #FFE1E3 !important;
}

/* Primary menu: editorial ink bar, magazine red on hover/active.
   .gmr-menuwrap paints the full-width bar; the parent customizer sets it
   red (#e74c3c) inline after this stylesheet, so !important is required. */
.gmr-menuwrap,
.gmr-mainmenu {
    background-color: #17130E !important;
}
.gmr-mainmenu #primary-menu > li > a {
    color: #FAF6EF !important;
}
.gmr-mainmenu #primary-menu > li:hover > a,
.gmr-mainmenu #primary-menu > li.current-menu-item > a,
.gmr-mainmenu #primary-menu > li.current-menu-ancestor > a {
    background-color: #E01020 !important;
    color: #FFFFFF !important;
}

/* Headings + titles. */
h1, h2, h3, h4, h5, h6 { color: #17130E; }
h2.entry-title a { color: #17130E; }
h2.entry-title a:hover { color: #C00D19; }
.gmr-box-content.gmr-single .entry-header h1.entry-title { color: #17130E; }
.entry-content-single h2 {
    border-left: 4px solid #E01020;
    padding-left: 12px;
}
.entry-content-single h3 {
    border-left: 3px solid #A90D18;
    padding-left: 10px;
}

/* Content cards on paper background. */
.gmr-box-content {
    background-color: #FFFFFF;
    border-radius: 10px;
}
.content-thumbnail img {
    border-radius: 10px;
}

/* ---- Breadcrumb ---- */
.rk-breadcrumb {
    font-size: 13px;
    color: #7A6F60;
    margin: 0 0 14px 0;
}
.rk-breadcrumb a { color: #C00D19; }
.rk-breadcrumb .rk-crumb-sep { margin: 0 6px; color: #D8CFC0; }
.rk-breadcrumb .rk-crumb-current { color: #17130E; }

/* ---- Reading time badge ---- */
.rk-minread {
    display: inline-block;
    background-color: #E01020;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    padding: 6px 10px;
    border-radius: 999px;
    margin: 0 0 12px 0;
}
.entry-meta .rk-minread { margin: 6px 0 0 8px; }

/* ---- Table of Contents ---- */
.rk-toc {
    background: #FFFFFF;
    border: 1px solid #EDE3D3;
    border-left: 4px solid #E01020;
    border-radius: 8px;
    padding: 16px 20px;
    margin: 0 0 22px 0;
}
.rk-toc-title {
    margin: 0 0 10px 0;
    font-size: 16px;
    font-weight: 700;
    color: #17130E;
}
.rk-toc ul {
    margin: 0;
    padding-left: 20px;
}
.rk-toc li { margin: 4px 0; }
.rk-toc a { color: #17130E; }
.rk-toc a:hover { color: #C00D19; }
.rk-toc .rk-toc-h3 { margin-left: 18px; }

/* ---- Read Also box ---- */
.rk-readalso {
    display: flex;
    gap: 14px;
    align-items: center;
    background: #FFFFFF;
    border: 1px solid #EDE3D3;
    border-left: 4px solid #A90D18;
    border-radius: 8px;
    padding: 14px 16px;
    margin: 24px 0;
}
.rk-readalso-thumb {
    flex: 0 0 120px;
}
.rk-readalso-thumb img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}
.rk-readalso-label {
    margin: 0 0 4px 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #C00D19;
}
.rk-readalso-title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
}
.rk-readalso-title a { color: #17130E; }
.rk-readalso-title a:hover { color: #C00D19; }
@media (max-width: 480px) {
    .rk-readalso-thumb { flex-basis: 84px; }
    .rk-readalso-thumb img { width: 84px; height: 60px; }
}

/* ---- Footer ---- */
.site-footer {
    background-color: #17130E;
    color: #EDE6DA;
}
.site-footer a { color: #F0A3A8; }
.site-footer a:hover { color: #FFFFFF; }
.site-info { color: #EDE6DA; }

/* Search + buttons accent. */
button, input[type="submit"], .button {
    background-color: #E01020;
}
button:hover, input[type="submit"]:hover, .button:hover {
    background-color: #A90D18;
}

/* Sidebar: archive list height-limited + scroll; empty latest-comments widget hidden. */
.widget-area .wp-block-archives-list { max-height: 300px; overflow-y: auto; padding-right: 6px; }
.widget_block:has(.wp-block-latest-comments) { display: none; }
