/*
Theme Name: Ciglar Osebni Magazin
Author: Ciglar.si
Description: Svetla kremna WordPress tema po potrjenem predlogu 2: Osebni magazin. Priložene so iste ilustrativne fotografije iz predloga.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: ciglar-magazin
License: GPL-2.0-or-later
*/
@font-face{font-family:CiglarRoman;src:url('assets/fonts/NimbusRoman-Regular.otf') format('opentype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:CiglarRoman;src:url('assets/fonts/NimbusRoman-Bold.otf') format('opentype');font-weight:700;font-style:normal;font-display:swap}
:root{--paper:#faf7ef;--ink:#11120f;--accent:#bd4409;--rule:#93928b;--muted:#494940}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:25px}body{margin:0;background:var(--paper);color:var(--ink);font-family:CiglarRoman,'Times New Roman',serif;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:5px}img{max-width:100%;height:auto}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:700;line-height:1.02;letter-spacing:-.035em}.cm-site{width:100%;max-width:1600px;margin:auto;container-type:inline-size;background:radial-gradient(ellipse at 45% 40%,#fffdf7 0%,#faf7ef 75%);overflow:hidden}.cm-wrap{width:89.53271%;margin:auto}.cm-header{height:11.028cqw;display:flex;align-items:center;justify-content:space-between}.cm-logo{display:flex;flex-direction:column;width:23cqw;flex-shrink:0}.cm-kicker{font:600 .84cqw/1 Arial,sans-serif;letter-spacing:.12em;margin-bottom:.65cqw}.cm-wordmark{font-size:6.16cqw;line-height:.82;letter-spacing:-.055em;font-weight:700;white-space:nowrap}.cm-wordmark>span{color:var(--accent)}.cm-tagline{font-size:1.34cqw;line-height:1.15;text-align:right;padding-right:.8cqw;margin-top:.4cqw}.cm-nav{display:flex;gap:2.95cqw;align-items:center;padding-top:.1cqw;font-size:1.31cqw;white-space:nowrap}.cm-nav a{padding:.8cqw 0;position:relative}.cm-nav .active,.cm-nav a:hover{color:var(--accent)}.cm-nav .active:after{content:'';height:1px;background:var(--accent);position:absolute;bottom:.15cqw;left:0;right:0}.cm-search-toggle{padding:.7cqw 0 .7cqw .5cqw;border:0;background:none;color:#0d1213;cursor:pointer;display:grid;place-items:center}.cm-search-toggle svg{width:1.7cqw;height:1.7cqw}.cm-search-panel{padding:0 0 2cqw}.cm-search-panel[hidden]{display:none!important}
.cm-hero{display:grid;grid-template-columns:63.64486% 36.35514%;min-height:33.458cqw}.cm-art{position:relative;display:block;overflow:hidden;background:#e9dfcd}.cm-art .cm-sprite{position:absolute;max-width:none!important;height:auto!important;display:block}.cm-art .cm-custom-art{display:block;width:100%;height:100%;position:absolute;inset:0;object-fit:cover}.cm-hero-copy{padding:2.55cqw 2.1cqw 2cqw 3.15cqw;position:relative;isolation:isolate}.cm-hero-copy h1{font-size:5.99cqw;line-height:.94;letter-spacing:-.045em;position:relative;z-index:2}.cm-hero-copy h1>span{font-size:5.4cqw;color:var(--accent);white-space:nowrap;letter-spacing:-.055em;line-height:1.08}.cm-short-rule{display:block;width:4cqw;background:#dd8b60;height:1px;margin:1.32cqw 0 1.75cqw}.cm-hero-copy p{font-size:2.09cqw;line-height:1.12;white-space:nowrap;position:relative;z-index:2;margin-bottom:1.9cqw}.cm-button{background:var(--accent);color:#fffdf5;display:inline-flex;gap:.55em;align-items:center;justify-content:center;padding:1.06cqw 1.96cqw;font-size:1.4cqw;line-height:1.15;border:0;cursor:pointer;position:relative;z-index:2}.cm-button:hover{background:#993b0b}.cm-mountains{position:absolute;right:0;bottom:0;width:55.3%;z-index:-1}.cm-mountains:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#faf7ef,transparent 25%);z-index:1}
.cm-categories{display:grid;grid-template-columns:repeat(5,1fr);height:4.86cqw;align-items:center;border-bottom:1px solid var(--rule);margin:0 0 2.24cqw;font-size:1.4cqw}.cm-categories a{position:relative;text-align:center;line-height:1.3}.cm-categories a:not(:last-child):after{content:'';position:absolute;right:0;height:1.6cqw;top:50%;transform:translateY(-50%);width:1px;background:var(--rule)}.cm-categories a.selected{color:var(--accent)}.cm-categories a.selected:before{content:'';position:absolute;bottom:-1.54cqw;left:30%;right:30%;height:2px;background:var(--accent)}.cm-categories a:hover{color:var(--accent)}
.cm-section-head{display:flex;align-items:center;gap:1.6cqw;margin-bottom:1.25cqw}.cm-section-head h2{font-size:3.92cqw;line-height:1;white-space:nowrap;letter-spacing:-.045em}.cm-head-rule{height:1px;background:#696961;flex:1}.cm-section-head>a{font:500 .79cqw/1.3 Arial,sans-serif;letter-spacing:.08em;color:var(--accent);white-space:nowrap;display:flex;gap:.6cqw;align-items:center}.cm-section-head>a>span{font-size:1.35cqw}.cm-stories{display:grid;grid-template-columns:396fr 269fr 259fr;gap:1.589cqw}.cm-story h3{font-size:2.65cqw;line-height:1.04;margin:1cqw 0 .45cqw;letter-spacing:-.04em}.cm-category-label{font:500 .88cqw/1.15 Arial,sans-serif;color:var(--accent);letter-spacing:.12em;display:block}.cm-tiny-rule{width:.85cqw;height:1px;background:#c34d15;display:block;margin:.7cqw 0 .7cqw .1cqw}.cm-story p,.cm-interest p{font-size:1.35cqw;line-height:1.17;color:var(--muted)}.cm-read{display:inline-block;color:var(--accent);font-size:1.4cqw;line-height:1.2;margin-top:.8cqw}.cm-read:hover{text-decoration:underline}.cm-read span{padding-left:.3em}.cm-picture-link{display:block}.cm-story h3 a:hover,.cm-interest h3 a:hover{color:var(--accent)}.cm-interests{padding-top:3.1cqw;padding-bottom:1.4cqw}.cm-interests .cm-section-head{margin-bottom:1.65cqw}.cm-interest-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.4cqw}.cm-interest h3{font-size:2.3cqw;line-height:1.05;margin:.85cqw 0 .25cqw;white-space:nowrap;letter-spacing:-.04em}.cm-interest .cm-tiny-rule{margin:.5cqw 0 .65cqw}.cm-interest .cm-read{margin-top:.85cqw}
.cm-footer{position:relative;min-height:11.87cqw;isolation:isolate;overflow:hidden}.cm-footer-art{position:absolute;inset:0;z-index:-2}.cm-footer-art .cm-art{width:100%;height:100%;aspect-ratio:auto!important}.cm-footer-live{position:relative;width:46%;margin:auto;min-height:11.87cqw;text-align:center;padding-top:1.65cqw;background:linear-gradient(180deg,rgba(254,212,161,.99),rgba(240,201,165,.98) 35%,rgba(191,161,143,.98) 80%,rgba(135,125,116,.85));mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent)}.cm-footer-live h2{font-size:2.65cqw;line-height:1.08;letter-spacing:-.025em}.cm-footer-live>span{display:block;height:1px;width:4.5cqw;background:var(--accent);margin:.55cqw auto .75cqw}.cm-footer-live>a{font-size:2.4cqw;font-weight:700;line-height:1;letter-spacing:-.05em}.cm-footer-live>a>span{color:var(--accent)}.cm-footer-live>p{font-size:1.1cqw;line-height:1;margin:.4cqw 0 0}.cm-footer small{position:absolute;right:4%;bottom:1.4cqw;background:#81786f;color:#ece7df;font-size:.7cqw;padding:.2cqw .3cqw}
.skip-link{position:absolute;left:15px;top:-100px;z-index:99999;background:var(--accent);color:#fff;padding:12px}.skip-link:focus{top:35px}.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.cm-inner{padding:4cqw 0 5cqw;min-height:60vh}.cm-entry{max-width:850px;margin:auto}.cm-inner h1{font-size:clamp(38px,5cqw,72px);line-height:1.05;margin:2cqw 0}.cm-meta{display:block;font:12px/1.6 Arial,sans-serif;color:#716e66;margin:15px 0}.cm-entry-content{font-size:20px;line-height:1.65;margin-top:30px}.cm-entry-content p,.cm-entry-content ul,.cm-entry-content ol,.cm-entry-content figure{margin-bottom:1.4em}.cm-entry-content h2,.cm-entry-content h3{margin:1.5em 0 .7em}.cm-entry-content a{color:var(--accent);text-decoration:underline}.cm-entry-content iframe{max-width:100%}.cm-entry-content .gallery{display:flex;flex-wrap:wrap;gap:12px}.cm-entry-content .gallery-item{flex:1 1 180px;margin:0}.cm-entry-content table{display:block;max-width:100%;overflow:auto}.cm-entry-cover{display:block;max-height:600px;width:100%;object-fit:cover}.cm-search-form{display:flex;gap:12px;margin:20px 0}.cm-search-form label{flex:1;max-width:450px;min-width:0}.cm-search-form input{width:100%;padding:12px 15px;font-size:18px;color:#222;border:1px solid #aaa59b;background:#fffdf7}.cm-search-form .cm-button{font-size:17px;padding:12px 24px}.cm-post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:35px;margin-top:40px}.cm-post-card{border-bottom:1px solid #b8b0a0;padding-bottom:25px}.cm-post-card h2{font-size:30px;line-height:1.07;margin:12px 0}.cm-post-card p{font-size:18px;line-height:1.45;color:var(--muted)}.cm-post-card img{width:100%;height:230px;object-fit:cover}.cm-inner .cm-read{font-size:17px}.cm-archive-heading>p{font-size:20px}.navigation.pagination{margin-top:35px}.page-numbers{display:inline-block;padding:8px 14px;border:1px solid #c5bcad}.page-numbers.current{background:var(--accent);color:#fff}.cm-comments{max-width:850px;margin:50px auto}.cm-comments h2,.cm-comments h3{margin:25px 0;font-size:28px}.cm-comments input:not([type=checkbox]),.cm-comments textarea{max-width:100%;background:#fffdf7;border:1px solid #a79f91;padding:10px;color:#222}.cm-comments label{display:block;margin:10px 0}.cm-comments input[type=submit]{background:var(--accent);color:white;cursor:pointer}.comment-body{margin:25px 0}.form-submit{margin-top:20px}
@media(max-width:700px){.cm-wrap{width:90%}.cm-header{height:auto;padding:22px 0 16px;display:block}.cm-logo{width:210px}.cm-kicker{font-size:8px;margin-bottom:6px}.cm-wordmark{font-size:58px}.cm-tagline{font-size:13px;margin-top:5px}.cm-nav{gap:0;justify-content:space-between;margin-top:18px;font-size:13px}.cm-nav a{padding:9px 0}.cm-nav .active:after{bottom:0}.cm-search-toggle{padding:8px}.cm-search-toggle svg{width:17px;height:17px}.cm-hero{grid-template-columns:1fr}.cm-hero-copy{padding:28px 6% 30px}.cm-hero-copy h1{font-size:52px;line-height:.97}.cm-hero-copy h1>span{font-size:46px}.cm-short-rule{width:42px;margin:14px 0 17px}.cm-hero-copy p{font-size:20px;white-space:normal;margin-bottom:20px}.cm-button{font-size:16px;padding:12px 23px}.cm-mountains{width:43%;opacity:.7}.cm-categories{height:auto;min-height:52px;margin-bottom:25px;font-size:12px;overflow-x:auto}.cm-categories a{padding:15px 7px;white-space:nowrap}.cm-categories a:not(:last-child):after{height:17px}.cm-categories a.selected:before{bottom:0;left:15%;right:15%}.cm-section-head{flex-wrap:wrap;gap:12px;margin-bottom:15px}.cm-section-head h2{font-size:33px;white-space:normal;max-width:100%}.cm-section-head>a{font-size:9px;gap:5px}.cm-section-head>a>span{font-size:16px}.cm-head-rule{min-width:15px}.cm-stories{grid-template-columns:1fr;gap:28px}.cm-story h3{font-size:30px;margin:12px 0 7px}.cm-category-label{font-size:10px}.cm-tiny-rule{width:10px;margin:8px 0}.cm-story p,.cm-interest p{font-size:17px;line-height:1.3}.cm-read{font-size:16px;margin-top:9px}.cm-interests{padding-top:35px;padding-bottom:25px}.cm-interests .cm-section-head{margin-bottom:18px}.cm-interest-grid{grid-template-columns:1fr;gap:26px}.cm-interest h3{font-size:28px;white-space:normal;margin:12px 0 7px}.cm-interest .cm-tiny-rule{margin:7px 0}.cm-interest .cm-read{margin-top:10px}.cm-interest p br{display:none}.cm-footer{min-height:180px}.cm-footer-art .cm-art{width:150%;margin-left:-25%}.cm-footer-live{width:94%;padding:25px 0 35px;min-height:180px}.cm-footer-live h2{font-size:26px}.cm-footer-live>span{width:40px;margin:10px auto}.cm-footer-live>a{font-size:27px}.cm-footer-live>p{font-size:13px;margin:7px 0}.cm-footer small{font-size:9px;bottom:8px;right:5%}.cm-post-grid{grid-template-columns:1fr}.cm-inner{padding:25px 0 40px}.cm-entry-content{font-size:18px}.cm-inner h1{margin:20px 0}.cm-search-form{gap:8px}.cm-search-form .cm-button{padding:12px 15px;font-size:15px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Keep the original footer landscape and lettering exactly aligned on desktop.
   Accessible, linked HTML stays available; mobile uses the responsive live text. */
@media(min-width:701px){.cm-footer.is-original .cm-footer-live{background:none;mask-image:none}.cm-footer.is-original .cm-footer-live h2,.cm-footer.is-original .cm-footer-live>span,.cm-footer.is-original .cm-footer-live>p{opacity:0}.cm-footer.is-original .cm-footer-live>a{color:transparent}.cm-footer.is-original .cm-footer-live>a>span{color:transparent}.cm-footer.is-original small{opacity:0}}
