/* E-marketing: native controls inside the supplied four source layouts. */
.dgks-original-e-marketing .animated{opacity:1;visibility:visible;transform:none;animation:none}
.dgks-original-e-marketing .dgks-em-navigation{padding:18px 0;background:#fff;color:#253f49}
.dgks-original-e-marketing .dgks-em-navigation>.container{display:flex;align-items:center;justify-content:space-between;gap:20px}
.dgks-original-e-marketing .dgks-shop-brand{font-size:20px;font-weight:700;line-height:1.4;color:inherit}
.dgks-original-e-marketing .dgks-shop-logo{display:block;width:auto;max-width:190px;max-height:64px}
.dgks-original-e-marketing .dgks-shop-navigation ul{display:flex;gap:20px;flex-wrap:wrap;margin:0;padding:0;list-style:none}
.dgks-original-e-marketing .dgks-shop-navigation a{color:#253f49;padding:10px 0;display:block}
.dgks-original-e-marketing h1{font-size:clamp(30px,4vw,48px);line-height:1.18}
.dgks-original-e-marketing .dgks-book-cover{display:block;object-fit:contain;width:auto;max-height:500px;margin:auto}
.dgks-original-e-marketing .dgks-cover-placeholder,.dgks-original-e-marketing .dgks-source-empty-cover{max-width:300px;min-height:280px;margin:20px auto;padding:30px;border:1px dashed currentColor;display:flex;flex-direction:column;justify-content:center;gap:20px;line-height:1.6}
.dgks-original-e-marketing .about-us .dgks-benefit-2{left:0;right:auto;top:140px}
.dgks-original-e-marketing .about-us .dgks-benefit-3{right:0;left:auto;top:0;text-align:right}
.dgks-original-e-marketing .about-us .dgks-benefit-4{right:0;left:auto;top:140px;text-align:right}
.dgks-original-e-marketing .about-us .about:nth-of-type(n+5){position:relative;display:inline-block;vertical-align:top;left:auto;right:auto;top:auto;margin:20px 2%;width:45%}
.dgks-original-e-marketing .about-us .about h5{color:#665500}
.dgks-original-e-marketing .our-books .book figure{min-height:265px;height:auto}
.dgks-original-e-marketing .our-books .book figcaption{position:absolute;inset:0;min-height:265px;padding:16px 14px 70px;background:rgba(255,203,0,.9);color:#253f49}
.dgks-original-e-marketing .our-books .book figcaption h5,.dgks-original-e-marketing .our-books .book figcaption p{color:inherit}
.dgks-original-e-marketing .our-books .book figcaption .chapter,.dgks-original-e-marketing .our-books .book figcaption .fa{color:#fff}
.dgks-original-e-marketing.demo3 .our-books .book figcaption{background:rgba(0,0,0,.8);color:#fff}
.dgks-original-e-marketing .testimonial .pad{padding-left:0}
.dgks-original-e-marketing .purchase .row>[class*="col-"]:only-child{float:none;margin-inline:auto;width:min(100%,620px)}
.dgks-original-e-marketing .purchase .package.style:after{display:none}
.dgks-original-e-marketing .purchase figure img{max-height:320px}
/* Gross and net HUF prices need several lines, not the source's 78px circle. */
.dgks-original-e-marketing .purchase figure figcaption{position:static;inset:auto;width:fit-content;max-width:100%;height:auto;margin:18px auto 0;padding:12px 18px;border-radius:12px;line-height:1.4;font-size:22px;color:#222;box-sizing:border-box}
.dgks-original-e-marketing .purchase figure figcaption .woocommerce-Price-amount{white-space:nowrap}
.dgks-original-e-marketing .purchase figure figcaption .dgks-net-price{display:block;font-size:15px;line-height:1.5}
.dgks-original-e-marketing .dgks-native-purchase{padding:12px 0;line-height:1.6}
.dgks-original-e-marketing .dgks-native-purchase form.cart{justify-content:center}
.dgks-original-e-marketing .dgks-native-purchase .single_add_to_cart_button{font:inherit;font-weight:700;background:#356b6f;color:#fff;border:1px solid #356b6f;padding:12px 22px;min-height:44px;white-space:normal}
.dgks-original-e-marketing .dgks-native-purchase input.qty,.dgks-original-e-marketing .dgks-native-purchase select{background:#fff;color:#222;border:1px solid #767676;min-height:44px;padding:8px}
.dgks-original-e-marketing .dgks-native-purchase a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.dgks-original-e-marketing #dgks-commerce{padding:50px 0;line-height:1.7}
.dgks-original-e-marketing #dgks-commerce h1{margin-bottom:30px}
.dgks-original-e-marketing footer .dgks-footer-content{line-height:1.8}
.dgks-original-e-marketing img[src=""]{display:none}
@media(max-width:991px){.dgks-original-e-marketing .dgks-em-navigation>.container{flex-wrap:wrap}.dgks-original-e-marketing .dgks-shop-navigation{flex-basis:100%}.dgks-original-e-marketing .about-us .about{position:relative;left:auto;right:auto;top:auto;width:auto;margin:18px 0;text-align:left}.dgks-original-e-marketing .about-us .about h5:before,.dgks-original-e-marketing .about-us .about h5:after{display:none}}

/* Demo 2/3 are boxed compositions in the source, with the texture visible outside. */
.dgks-original-e-marketing .dgks-em-frame{position:relative}
.dgks-original-e-marketing .dgks-em-frame .container{width:100%;max-width:100%}
.dgks-original-e-marketing .about-us :is(.dgks-benefit-3,.dgks-benefit-4) h5::before,
.dgks-original-e-marketing .about-us :is(.dgks-benefit-3,.dgks-benefit-4) h5::after{left:-100px;right:auto}

/* Keep the original cover-first composition; leave room for the buying action on phones. */
@media(max-width:600px){
 .dgks-original-e-marketing .doc-header .dgks-book-cover{max-height:min(320px,40svh)}
 .dgks-original-e-marketing .doc-header figure{margin-top:20px}
}
/* Preserve the cover-first source layout while keeping both reading and
 * purchase actions close to the title on phones. Desktop spacing is native. */
@media(max-width:575px){
 .dgks-original-e-marketing .doc-header{padding-top:32px;padding-bottom:40px}
}

/* Source gold, boxed, forest and photo compositions; layers use the actual cover. */
.dgks-original-e-marketing .dgks-em-navigation{position:relative;top:auto;padding:12px 0}
.dgks-original-e-marketing .dgks-em-navigation>.container{gap:12px 20px}
.dgks-original-e-marketing .dgks-shop-brand{min-width:0;overflow-wrap:anywhere}
.dgks-original-e-marketing :is(main,footer) :is(h1,h2,h3,h4,p,a){overflow-wrap:anywhere}
body.dgks-original-e-marketing.ebook .em-hero{position:relative;padding:clamp(24px,6vw,80px) 0;background-position:center}
body.dgks-original-e-marketing.ebook.demo2 .em-hero{padding-inline:clamp(16px,3vw,36px)}
.dgks-original-e-marketing .em-hero .em-hero-row{display:flex;flex-wrap:wrap;align-items:center;margin:0}
.dgks-original-e-marketing .em-hero figure{display:block;position:relative;margin:12px auto 24px}
.dgks-original-e-marketing .em-hero h1{margin:0 0 15px}
.dgks-original-e-marketing .em-hero-excerpt{font-size:18px;line-height:1.6;max-width:48ch}
.dgks-original-e-marketing .em-hero-excerpt p{color:inherit;margin:0}
.dgks-original-e-marketing .em-hero .em-hero-actions{margin-top:18px}
.dgks-original-e-marketing .em-hero [data-dgks-primary]{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 20px;margin-top:16px;white-space:normal;line-height:1.35;background:#ffcb00;color:#263047}
.dgks-original-e-marketing.demo3 .em-hero [data-dgks-primary]{background:#bfdf9a;color:#172922}
.dgks-original-e-marketing .em-hero [data-dgks-primary]:is(:hover,:focus-visible){background:#fff;color:#223044}
.dgks-original-e-marketing .em-hero .overlay,.dgks-original-e-marketing .em-sample-band::after{pointer-events:none}
.dgks-original-e-marketing .em-hero .em-hero-row,.dgks-original-e-marketing .em-hero .parallax_inner{position:relative;z-index:1}
.dgks-original-e-marketing.demo3 .em-hero,.dgks-original-e-marketing.demo4 .em-hero{color:#fff}
.dgks-original-e-marketing.demo3 .em-hero h1,.dgks-original-e-marketing.demo4 .em-hero h1{color:#fff}
.dgks-original-e-marketing.demo3 .em-hero .overlay{background:#172922bb}
.dgks-original-e-marketing.demo4 .em-hero{background-attachment:scroll}
.dgks-original-e-marketing :is(.em-index,.em-index-demo2) .dgks-hero-reading .dgks-sample-link{color:#222f46;border-color:currentColor}
.dgks-original-e-marketing :is(.em-index-demo3,.em-index-demo4) .dgks-hero-reading .dgks-sample-link{color:#fff;border-color:currentColor}
.dgks-original-e-marketing .dgks-em-stage{position:relative;display:grid;place-items:center;isolation:isolate;width:max-content;max-width:min(86%,340px);margin:auto;perspective:850px}
.dgks-original-e-marketing .dgks-em-stage:has(>img)::before,.dgks-original-e-marketing .dgks-em-stage:has(>img)::after{content:"";position:absolute;inset:3% 0 3% 0;border-radius:3px 7px 7px 3px;pointer-events:none}
.dgks-original-e-marketing .dgks-em-stage:has(>img)::before{z-index:-2;background:#cf9e2f;border:1px solid #765b25;transform:translate(10px,8px) rotate(9deg);box-shadow:11px 14px 23px #1c1c1c50}
.dgks-original-e-marketing .dgks-em-stage:has(>img)::after{z-index:-1;background:repeating-linear-gradient(90deg,#f8efcc 0 2px,#d9c99a 3px 4px);transform:translate(6px,4px) rotate(2deg);border:1px solid #c0a66c}
.dgks-original-e-marketing .em-hero .dgks-book-cover{max-height:clamp(182px,32vw,430px);width:auto;border-radius:3px 7px 7px 3px;transform:rotateY(-9deg) rotate(-3deg);box-shadow:5px 5px 14px #20252c38}
.dgks-original-e-marketing.demo3 .dgks-em-stage:has(>img)::before{background:#a6bd88;border-color:#66764d}
.dgks-original-e-marketing .em-band-content{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:12px 24px;padding:12px 0}
.dgks-original-e-marketing .em-band-content :is(h2,p){color:#fff;margin:0;font-size:17px;line-height:1.5}
.dgks-original-e-marketing .em-band-content h2{font-size:21px;margin-bottom:2px}
.dgks-original-e-marketing .em-band-content :is(.dgks-sample-link,.btn){display:inline-flex;align-items:center;min-height:44px;padding:10px 16px;background:#ffcb00;color:#263047;text-decoration:underline;text-underline-offset:3px;white-space:normal;border-radius:5px;line-height:1.4}
.dgks-original-e-marketing .em-sample-band::after{width:45%;opacity:.42}
.dgks-original-e-marketing.demo3 .em-band-content .dgks-sample-link{background:#bfdf9a;color:#172922}
.dgks-original-e-marketing .em-promo-band{padding:12px 0}
.dgks-original-e-marketing .em-description{max-width:72ch;margin:0 auto;text-align:left}
.dgks-original-e-marketing .em-benefit-layout{display:grid;grid-template-columns:1fr minmax(115px,.72fr) 1fr;gap:16px;align-items:center}
.dgks-original-e-marketing .em-benefit-layout .about{position:static;display:block;width:auto;margin:0;padding:15px;border:1px solid #ece1bc;border-radius:8px;background:#fffdf4;text-align:left}
.dgks-original-e-marketing .em-benefit-layout .about h3{font-size:19px;line-height:1.3;margin:0 0 7px;color:#5b480d}
.dgks-original-e-marketing .em-benefit-layout .about p{margin:0}
.dgks-original-e-marketing .em-benefit-cover{grid-column:2;grid-row:1/span 2;margin:0}
.dgks-original-e-marketing .em-benefit-cover img{max-height:270px}
.dgks-original-e-marketing .em-chapter-grid,.dgks-original-e-marketing .em-review-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(218px,100%),1fr));gap:16px;margin:0}
.dgks-original-e-marketing .em-chapter-grid::before,.dgks-original-e-marketing .em-chapter-grid::after{display:none}
.dgks-original-e-marketing .our-books .em-chapter{height:100%;overflow:hidden;border:1px solid #ded6bf;border-radius:9px;background:#fff}
.dgks-original-e-marketing .our-books .em-chapter figure{height:auto;min-height:160px;margin:0;background-position:center;background-size:cover;display:flex}
.dgks-original-e-marketing .our-books .em-chapter figcaption{position:relative;inset:auto;display:flex;flex-direction:column;justify-content:flex-end;min-height:160px;width:100%;padding:14px;background:linear-gradient(120deg,#fff0baf5,#ffcb00df);color:#273045}
.dgks-original-e-marketing .our-books .em-chapter figcaption h3{font-size:20px;line-height:1.27;color:inherit;margin:0 0 8px}
.dgks-original-e-marketing .our-books .em-chapter figcaption .chapter{position:static;color:inherit;font-weight:700;font-size:14px}
.dgks-original-e-marketing .our-books .em-chapter-description{margin:0;padding:13px 14px;color:#414b5b}
.dgks-original-e-marketing .our-books .em-chapter-description:empty{display:none}
.dgks-original-e-marketing.demo3 .our-books .em-chapter figcaption{background:linear-gradient(135deg,#253c2de8,#162922ed);color:#fff}
.dgks-original-e-marketing .em-editions>h3{font-size:23px;margin:10px 0 18px;color:#233c30}
.dgks-original-e-marketing .em-editions ul{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(185px,100%),1fr));gap:13px;margin:0;padding:0;list-style:none}
.dgks-original-e-marketing .em-editions .available{margin:0;padding:16px;background:#f3f8ef;border:1px solid #c5d3be;border-radius:8px}
.dgks-original-e-marketing .em-editions .available .fa{width:54px;height:54px;line-height:54px;background:#3c5b3c;color:#fff;font-size:24px}
.dgks-original-e-marketing .em-editions h4{font-size:18px;margin:11px 0 6px;color:#203729}
.dgks-original-e-marketing .em-editions a{display:inline-flex;align-items:center;min-height:44px;color:#254f3d;text-decoration:underline;text-underline-offset:3px}
.dgks-original-e-marketing .about-author .em-author-heading{font-size:25px;line-height:1.3;margin:0 0 16px;color:inherit}
.dgks-original-e-marketing .about-author .title{font-weight:700;color:inherit}
.dgks-original-e-marketing .about-author .em-author-portrait:empty,.dgks-original-e-marketing .em-review-rating:empty{display:none}
.dgks-original-e-marketing .about-author .em-author-portrait img{display:block;max-width:100%;height:auto;border-radius:8px}
.dgks-original-e-marketing .testimonial .em-review-author{font-size:17px;color:#31384d;margin-bottom:4px}
.dgks-original-e-marketing .testimonial .em-review-rating{color:#6c4c13;font-weight:700;margin-bottom:6px}
.dgks-original-e-marketing .em-review-grid .testimonial{height:100%;padding:18px;background:#fff;border:1px solid #ded6bf;border-radius:8px}
.dgks-original-e-marketing .em-review-grid .testimonial .pad{padding:0}
.dgks-original-e-marketing .purchase .container{position:relative;z-index:1}
.dgks-original-e-marketing .purchase .overlay{pointer-events:none}
.dgks-original-e-marketing .purchase figure{margin:20px auto 8px}
.dgks-original-e-marketing :is(#dgks-commerce,#dgks-journal) a:not(.button,.btn,.dgks-demo-action,.wp-element-button,.wc-block-components-button){color:#294a60;text-decoration:underline;text-underline-offset:3px}
.dgks-original-e-marketing :is(a,button):focus-visible{outline:3px solid #173f50;outline-offset:4px}
.dgks-original-e-marketing :is(.em-index-demo3,.em-index-demo4,.em-sample-band,.em-promo-band,footer) :is(a,button):focus-visible{outline-color:#fff}
@media(max-width:767px){
 .dgks-original-e-marketing .em-hero .em-hero-row{display:block}
 .dgks-original-e-marketing .em-hero .em-hero-row>div{padding-inline:10px}
 .dgks-original-e-marketing .em-hero .dgks-book-cover{max-height:min(245px,32svh)}
 .dgks-original-e-marketing .em-hero figure{margin:3px auto 15px}
 .dgks-original-e-marketing.demo4 .em-hero figure{display:block;margin-top:22px}
 .dgks-original-e-marketing .em-band-content{align-items:flex-start;flex-direction:column;gap:7px}
 .dgks-original-e-marketing .em-benefit-layout{grid-template-columns:repeat(auto-fit,minmax(min(145px,100%),1fr));gap:9px}
 .dgks-original-e-marketing .em-benefit-cover{grid-column:1/-1;grid-row:1}
 .dgks-original-e-marketing .em-benefit-cover img{max-height:205px}
}
.dgks-original-e-marketing :is(.em-description,.em-benefit-layout,.testimonial,.dgks-journal-entry,#dgks-commerce,.em-edition-price) :is(p,dd,dt,time,strong,span,small){color:#414b5b}
.dgks-original-e-marketing .testimonial .em-review-author strong{color:#263047}
.dgks-original-e-marketing .testimonial .em-review-rating{color:#6c4c13}
.dgks-original-e-marketing .testimonials .wrapper hr{max-width:100%}
.dgks-original-e-marketing .our-books .em-chapter figcaption .chapter{display:table;width:fit-content;max-width:100%;padding:5px 9px;border-radius:4px;color:#fff;background:#343a50}
.dgks-original-e-marketing.demo3 .our-books .em-chapter figcaption .chapter{background:#304c39}
.dgks-original-e-marketing .about-author .visual{padding:14px;border-radius:7px;background:#f7f3e2;color:#2b3146}
.dgks-original-e-marketing.demo3 .about-author .visual{background:#2b3f34;color:#fff}
.dgks-original-e-marketing .about-author .visual .em-author-portrait:not(:empty),.dgks-original-e-marketing.demo4 .about-author .em-author-portrait:not(:empty){display:block;width:min(100%,230px);height:auto;aspect-ratio:4/3;margin:14px auto;border-radius:9px;overflow:hidden}
.dgks-original-e-marketing .about-author .em-author-portrait img{width:100%;height:100%;object-fit:cover}
.dgks-original-e-marketing .about-author .detail{padding:20px;background:#3a3f55;color:#fff;border-radius:7px}
.dgks-original-e-marketing .about-author .detail :is(p,a){color:#fff}
.dgks-original-e-marketing .purchase .em-order-title{font-size:21px;color:#ffdc55}
.dgks-original-e-marketing.demo3 .purchase .em-order-title{color:#c1e099}
.dgks-original-e-marketing.ebook:not(.demo3,.demo4) footer :is(p,strong,a){color:#263047}
.dgks-original-e-marketing.ebook:not(.demo3,.demo4) footer :is(a,button):focus-visible{outline-color:#263047}
@media(max-width:360px){
 .dgks-original-e-marketing .em-hero .dgks-book-cover{max-height:min(160px,22svh)}
 .dgks-original-e-marketing .em-hero-excerpt{font-size:16px}
}
.dgks-original-e-marketing :is(.dgks-shop-info,.dgks-info-hosting) :is(p,dt,dd,strong){color:#414b5b}
